ap / vim-buftabline

Forget Vim tabs – now you can have buffer tabs
http://www.vim.org/scripts/script.php?script_id=5057
MIT License
791 stars 72 forks source link

Question regarding global manul installation #63

Closed buttjake closed 5 years ago

buttjake commented 5 years ago

I'm making my own custom neovim package and and I'm trying to install this globally. It should be as simple as putting "https://raw.githubusercontent.com/ap/vim-buftabline/master/plugin/buftabline.vim" in usr/share/nvim/runtime/autoload/ right ? Because I can't seem to get it to work. It works without problems when I use something like vim-plug.

ap commented 5 years ago

No. You are putting plugin/buftabline.vim in autoload/buftabline.vim. Scripts in <runtimedir>/plugin/ are always sourced on startup. Scripts in <runtimedir>/autoload/ only get sourced when any of their functions are called from another script.