Autoupdate VIM Plugins?
Is it possible to update vim plugins automatically? ...
Is it possible to update vim plugins automatically? ...
I'm a novice user to vim and I haven't been able to find in the internet how to collapse functions and I've figured out how to collapse the argument list in C with zfa} and zfa). but I can't figure out how to collapse the comments sections. How do I do that? Second question but related, is there a way to collapse all functions/argument...
I am recieving the following error when trying to use MacVim: ~$mvim index.php dyld: Library not loaded: /usr/lib/libruby.1.dylib Referenced from: /Applications/MacVim.app/Contents/MacOS/Vim Reason: no suitable image found. Did find: /usr/lib/libruby.1.dylib: mach-o, but wrong architecture /usr/lib/libruby.1.dylib: mach-o,...
Is it possible to have a Python interpreter open in a Vim buffer? Something like: ________________________ | | | | | my python script | | | | | ------------------------ | | | python interpreter | ------------------------ Rig...
I'm a pretty new Vim user and I've found that its learning curve is quite steep (at least for me). I just installed this vim script for JavaScriptLint error checking, which shows errors in vim's quickfix window once I save a buffer. However, I don't know what to do next.. How do I 'scroll' through all the errors? How do I close the quic...
I want to be able to start up vim in an arbitrary subdirectory in my project and have it search up to the project root for the tags file, and then to search in an unrelated directory outside the project tree. For example let's say I have the following: ~/projects/foo/bar/baz.c ~/projects/foo/tags ~/some/arbitrary/path/tags I want to ...
I'd like to dynamically create syntax rules inside a function. For example, something like: fun! DoStuff(word) syntax match Error '\<'.word.'\>' contained ... other stuff ... endf But, apparently* that doesn't work. So… How can I do it? *: Vim script is still voodoo, as far as I'm concerned ...
Are there any IDEs that can embed gvim as its editor? I found PIDA for linux, I'm wondering if there are any windows equivalent for this. I'm not looking for Vi emulation, I am looking for IDEs that can fully embed gVim (so I can use all the Vim plugins). ...
I'm looking for a way to highlight the code block currently under the cursor while in normal mode. This would work kinda like the set showmatch config options does, but the detection and highlighting would stretch over the entire block. Any way to achieve this functionality either with config options or a (preferably existing) script ...
Hi! I want to comment out lines in some code I have. I have different kinds of codes, and they use different comment leaders. E.g. in latex: '%', in Fortran 90: '!' and in python: '#'. I want to do a substitute command that looks something like this: :g/<search-string>/s/^/<add-comment-leader-here>/ If this is possible, I could al...
Has anyone created a vim syntax file for the go language? ...
There are several commands that do something and then enter insert mode. Are there also commands that leave insert mode and do things? For example, I frequently do this... control[ : w return Before I create a mapping, is there already Vim command that does that? ...
Is there a way to take an existing window (split) and put it into a new tab? ...
Good day. Does someone know how to force .vimrc to auto-open NERDTree each time vim is invoked? The operation system is *nix. Thanks. ...
In normal text editors, you select the block of text and then press Tab to entab and Shift + Tab to detab. How do I entab or detab a selected block of text in VIM? ...
I see <leader> in many .vimrc files, and I am wondering what the meaning of it is? What is it used for? Just a general overview of the purpose and usage. Thanks! ...
I know there is a way to list mappings via :map (or :imap, :cmap etc.), but I can't find a way to list macros I have stored in my vimrc file (as in let @a = 'blahblah'). Is there a way to do this without having to manually looking inside it (via :split [myvimrcfile] or whatever way)? Also, if it is possible, is there a way to attach so...
I used to be a huge fan of Intelli-J and there is a fantastic VI plugin for Idea. Now I'm shifting to the Spring Source Tool Suite for my primary IDE and need to find a VI plugin that will allow me to work just as effectively. What plugin are people using? ...
I want to use the expand function in an autocmd. In particular, I am adapting a tip by Paul Biggar and I wanted to use the following auto command in my .gvimrc: autocmd FileType tex set makeprg=rubber-info\ expand("%:t:r").log – Which of course doesn’t work. So what I actually want this to mean is that upon opening a tex file, the mak...
I often use gq to wrap code… But it isn't very smart when it comes to strings. For example, wrapping: foo = bar("a b c d e f") Might result in: foo = bar("a b c d e f") Which, obviously, isn't nearly as useful as: foo = bar("a b c " + "d e f") would be. Is there any way to wrap text which takes this into acc...