vim-plugin

Vim completion with YouCompleteMe on windows

最后都变了- 提交于 2019-11-30 00:59:47
I am desperately trying to get YouCompletMe working on windows, the author clearly says that there is no official support for windows so that's fair enough. Though there is a wiki to build it on windows and you find 1/2 people online claiming they succeded in building it on windows without semantic support for C/C++... I was wondering if I could use the compiled ycm_core.pyd from someone else or if for obvious reasons that would not work. I am using vim7.4 (I have both 32/64 bit versions) + python2.7 + python3.2 Alexander Shukaev You can download archives of drop-in YCM plugin containing

Add GoLang syntax highlighting for VIM

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 20:25:45
I'm trying to add Go language syntax highlighting to VIM on ubuntu with resources and direction supplied here http://go-lang.cat-v.org/text-editors/vim/ . Go comes with a go.vim file that contains syntax settings for VIM and the above page offers the following instructions Place $GOROOT/misc/vim/syntax/go.vim in ~/.vim/syntax/ and put the following in ~/.vim/ftdetect/go.vim: au BufRead,BufNewFile *.go set filetype=go This is more or less the same vein of procedure for customizing vim syntax I've seen elsewhere ( Vim 7.3 on Ubuntu 12.10 doesn't have 'ftplugin' directory anywhere and https:/

vim: Open tag in new tab

蹲街弑〆低调 提交于 2019-11-29 19:42:49
Is there a plugin or script to open ctags entries in a new tab? I'd like to put my cursor over a function, press ctrl+] and have the entry open in another tab. I'd also like if I visually select an entry, for ctrl+] to still work and open in a new vim tab. You can C-w C-] C-w T To achieve that effect Then you can also map that: :nnoremap <silent><Leader><C-]> <C-w><C-]><C-w>T Edit: also, depending on what you actually want, don't forget you can open tags in preview ( :ptag ) with e.g. C-w } . Just mentioning it in case... dorserg Here are two pretty ad-hoc mappings (in case your tags are

Vim completion with YouCompleteMe on windows

一笑奈何 提交于 2019-11-28 22:33:26
问题 I am desperately trying to get YouCompletMe working on windows, the author clearly says that there is no official support for windows so that's fair enough. Though there is a wiki to build it on windows and you find 1/2 people online claiming they succeded in building it on windows without semantic support for C/C++... I was wondering if I could use the compiled ycm_core.pyd from someone else or if for obvious reasons that would not work. I am using vim7.4 (I have both 32/64 bit versions) +

How to install a Vimball plugin (with .vba extension)?

不羁的心 提交于 2019-11-28 15:35:59
问题 How to install a Vimball plugin (with .vba extension)? The documentation just says: install details Edit the vba file and type: :so % The vimball documentation says: All a user needs to do with a vimball is: vim someplugin.vba :so % :q Do I have to write that in normal mode (inside Vim) or in the _vimrc file? Do I have to write the full path of the .vba file? I can't write vim someplugin in normal mode. Do I have to write :vim plugin ? 回答1: Open the vba file with vim, and type the :source %

Pathogen does not load plugins

一笑奈何 提交于 2019-11-27 11:12:11
Pathogen does not work for me. I am following Adam Lowe's hints posted here (and few more) without any success... My vimrc: filetype off call pathogen#runtime_append_all_bundles() filetype plugin indent on set nocompatible syntax on set tabstop=2 set smarttab set shiftwidth=2 set autoindent set expandtab set number colorscheme darkblue Contents of .vim - ls .vim/* : .vim/autoload: pathogen.vim .vim/bundle: nerdcommenter/ vim-haml/ vim-surround/ vim-endwise/ vim-rails/ vim-vividchalk/ All plugins in bundle were installed by cloning them from GitHub into bundle directory. I have tried with

Automatic closing brackets for Vim [closed]

大兔子大兔子 提交于 2019-11-27 06:37:40
Is there any WORKING plugin for Vim 7.4 that would automatically close brackets ('{}', '[]', '()') and maybe insert some carriage returns (for '{}' at least)? I know this question has been asked quite a few times but none of the answers either do not seem to work in vim 7.4 or the plugin has not been updated or something. So far I've tried vim-smartinput, autoclose and delimitmate and NONE of these have managed to insert any closing characters even though I have enabled the plugins and they otherwise seem to be active. I don't know if there has been some changes in vim that somehow breaks

Pathogen does not load plugins

大兔子大兔子 提交于 2019-11-26 22:20:22
问题 Pathogen does not work for me. I am following Adam Lowe's hints posted here (and few more) without any success... My vimrc: filetype off call pathogen#runtime_append_all_bundles() filetype plugin indent on set nocompatible syntax on set tabstop=2 set smarttab set shiftwidth=2 set autoindent set expandtab set number colorscheme darkblue Contents of .vim - ls .vim/* : .vim/autoload: pathogen.vim .vim/bundle: nerdcommenter/ vim-haml/ vim-surround/ vim-endwise/ vim-rails/ vim-vividchalk/ All