I want to do something like let colors = execute(":highlight") This is obviously incorrect; all I can do is execute(":highlight") which will open a window, but what I really need
When I open some bash script files with vim it sometimes identifies them as conf files, that\'s okay, I can just correct that by setting the 开发者_如何学JAVAfiletype to sh with :setf sh.
I do this for opening help pages in vertical window: cabbrev help vert botright help this way, it is ok, but a bit disturbing, and it is spamming my :history 开发者_如何学Pythona bit too.
I\'ve just started running Vim under cygwin via puttycyg. I find this much better than gVim under windows ;)
My data is of the form: id|name|things that I don\'t care So for each line I want to delete text after the second | symbol.
I\'m a big fan of JSLint and I use a plugin for VIM to开发者_StackOverflow中文版 display Lint output in the quickfix window: http://www.vim.org/scripts/script.php?script_id=2578.
I would like to put something into my vimrc so that if I open 2 files they automatically open in separate split windows. I don\'t want to start it with -o because I sometimes open a lot of files at on
I\'m new to Vim (almost new) and have some questions. The problem came from the following: I have NERDTree and MiniBufExplorer plugins (I like them very much!).
I have the following Ruby code: if some_cond && another foo_bar end and I want to change it to: foo_bar if some_cond && another
I realize that Vim\'s main author is Dutch, so I\'ll settle for those as well. I\'m interested, do Vim\'s \"control keys\" have equivalents in the english language? You know, Ctrl-O for Open, Ctrl-N f