All Questions
377
questions
336
votes
6
answers
152k
views
How do I list loaded plugins in Vim?
Does anybody know of a way to list up the "loaded plugins" in Vim?
I know I should be keeping track of this kind of stuff myself but
it would always be nice to be able to check the current status.
166
votes
5
answers
36k
views
VIM ctrlp.vim plugin: how to rescan files?
I have come across the awesome ctrlp.vim plugin. It is a good alternative to the Command-T plugin which I have used before. What I did not like about Command-T is that it would take about 20-30 ...
111
votes
4
answers
107k
views
How do I "source" something in my .vimrc file?
I've been working on expanding my vim-foo lately and I've run across a couple of plugins (autotag.vim for example) that require them to be "sourced" in my .vimrc file. What exactly does this mean and ...
99
votes
5
answers
18k
views
Temporarily disable some plugins using pathogen in vim.
I think I have a bug in one plugin. I would like to load only this plugin, without having to delete all the other bundles in my pathogen's bundle folder, to debug.
Is it possible?
92
votes
4
answers
54k
views
VIM: How can i open a file at right side as vsplit from a left side NerdTree panel?
I installed NerdTree plugin.
How can i open a file at right side as vsplit from a left side NerdTree panel ?
78
votes
4
answers
102k
views
Is there vim plugin for notepad++? [closed]
There are a lot of questions and answers about vim and notepad++ but it's not definitely clear, what is best way to make notepad++ act like a vim (if it is possible at all).
update
It seems than this ...
65
votes
9
answers
49k
views
Useful Vim plugins for web development and design (php, html, css, javascript)? [closed]
Right now I'm using surround.vim to enclose text in HTML tags, and a plugin that highlights text according to the hex value in the CSS file (e.g. #888 will have gray background in the CSS file).
Are ...
64
votes
10
answers
26k
views
Painless integration of Eclipse with Vim?
Has anyone managed to get Vim integrated into Eclipse painlessly? I just want to use Vim for the editor while retaining the general Eclipse interface. I have tried using Eclim plugin but the editor ...
61
votes
10
answers
16k
views
Vim Command-T plugin error: could not load the C extension
I'm trying to install the Command-T plugin.
I compiled vim following the instructions in this comment: Installing vim with ruby support (+ruby)
So now there's the +ruby flag, but still when I try to ...
57
votes
6
answers
17k
views
In vim, is there a plugin to use % to match the corresponding double quote (")?
The % key is one of the best features of vim: it lets you jump from { to }, [ to ], and so on.
However, it does not work by default with quotes: Either " or ', probably because the opening and ...
54
votes
7
answers
65k
views
Is it possible to display indentation guides in Vim?
I'm a longtime Vim user (3 or 4 years) who has recently started dealing with some deeply nested code. This code is indented with spaces, not tabs. I would like some clean and non-distracting ...
49
votes
5
answers
33k
views
Latex and Vim usage
How can I use Latex effectively in VIM?
Is there a way to configure compile errors by highlighting the line in vim?
I have syntax highlight. What are other recommended add-ons? Is a makefile the ...
47
votes
10
answers
20k
views
Align text on an equals sign in vim
I tend to align code on equal signs for better readability. From this:
$ = jQuery.sub()
Survey = App.Survey
Sidebar = App.Sidebar
Main = App.Main
To this:
$ = jQuery.sub()
Survey = App....
47
votes
8
answers
26k
views
Managing Vim plugins [closed]
What's the best way to manage Vim plugins? Some plugins use Vimball, but I read somewhere that it was seriously broken, and manually dropping each plugin into ~/.vim/ results in a mess of files that ...
41
votes
3
answers
29k
views
How to turn-off a plugin in Vim temporarily?
I have multiple plugins in Vim and some of them modify the default behavior of Vim. For example I use Vimacs plugin, which makes Vim behave like emacs in the insert mode alone. Sometime I want to turn ...
39
votes
2
answers
19k
views
Elegant way to check if a global plugin variable is set in a vim plugin
I used to use vim during the last years for editing configs and scripts on remote servers. A couple of weeks ago I decided to take the next step and try to use (Mac)vim as my regular editor besides ...
36
votes
1
answer
6k
views
Disable Scrollbar in NERDtree with MacVim
I have been able to fully disable scrollbars in MacVim. However, when I startup NERDtree, NERDtree brings up a scrollbar of its on the left. How can I disable NERDtree's scrollbar?
Thank you in ...
30
votes
4
answers
44k
views
How can I reset Vim back to a plain vanilla install?
I have mismatched plugin files floating around ~/.vim; I am experiencing a corrupted behavior within vim itself, and both my .vimrc and .gvimrc are filled with things I don't understand.
Examples: ...
26
votes
6
answers
38k
views
how to work with csv files in vim
I want csv file to be opened in vim in the same way it opens in microsoft office . Data should be in column format and commas should not be seen and its should be traversed easily. Is it possible in ...
26
votes
6
answers
13k
views
ViM: minibufexpl versus bufexplorer plugins
I am thinking of installing a buffer explorer for vim. Both minibufexpl and bufexplorer have very good rating. Can anyone explain the differences or the pros and cons between them. Or is only a matter ...
25
votes
5
answers
10k
views
How to delete bookmarks in NERDTree (Vim)?
I checked the documentation but couldn't find it. Does anybody knows?
25
votes
5
answers
4k
views
How can I achieve project specific indentation in vim?
I'm working on several projects, each of which uses different indentation style (for various filetypes). For example 1 tab per indentation level, 2 or 4 spaces etc. How can I automate switching ...
21
votes
1
answer
11k
views
Vim: Remove mapping created by vim-plugin
I use the Vimwiki-Plugin a lot, but remapping <Backspace> and <CR> is just anoying. If I use :nmap, the mapping is shown:
n <CR> @<Plug>VimwikiFollowLink
n <...
20
votes
3
answers
8k
views
How to uninstall Janus?
I can't figure out how to uninstall Janus. I'd really like to just go back to plain VIM and MacVim. I could try to just remove the ~/.janus directory, but since Janus took a while to install I imagine ...
20
votes
6
answers
25k
views
How to efficiently "make" with Vim
What I am trying to do seems a very basic stuff, but I can't find anything about it. I am working on a project built as usual:
project
|-- bin
|-- inc
`-- src
I would like to make my project using ...
18
votes
3
answers
18k
views
Is there a Vim plugin for Highlighting Hex, Rgb, Colors
I've been settling myself into Vim these days, I kind of like the HexHighlight Plugin, But I kind of need something that's even better, for example highlighting color names, Hex Codes, rgb color etc. ...
18
votes
1
answer
6k
views
Is it possible to change settings for vrapper as you do for .vim? [closed]
Is it possible to change settings for Vrapper as you can do for .vim (e.g., add key mappings, change editor settings, etc.)?
18
votes
1
answer
9k
views
What is the L9 vim plugin for?
I recently bumped into this weird plugin for Vim and could not figure out what is its use.
It is almost not documented and nobdy really talks about it, but it seems important for some other plugins.
...
17
votes
7
answers
24k
views
Vundle for VIM is not working on Ubuntu
I installed Vundle via the instructions given at this blog http://web.archive.org/web/20120731003342/http://www.charlietanksley.net/philtex/sane-vim-plugin-management
but when trying to run :...
17
votes
3
answers
12k
views
How to make vim pathogen to reload plugins?
Is it possible to make vim to reload pathogen plugins without restarting vim?
I have opened vim with many files, then I add plugin to:
~/.vim/bundle
Since now I'd like to force vim to use the new ...
16
votes
5
answers
15k
views
Vim plugin for 'auto-closed' parenthesis?
I've searched near and far, and not found a plugin that can simply auto-close a set of parenthesis like Textmate. For example:
Vim : (*manually close parens* → )
Textmate: (*Auto closes parens*)
...
15
votes
3
answers
2k
views
Generating tags to different location by pathogen
I use pathogen for organizing my vim plugins. I git clone the plugins from github into the vimbundles directory. This way it is simple to update them.
I have problem with the tags generated by ...
15
votes
5
answers
17k
views
How to manually load an ftplugin after startup in Vim?
Say I load a .txt file into Vim. Then I want to change the filetype=html but I also want an associated ftplugin loaded. How can I do this?
I've tried stuff like: :set filetype plugin on and :set ...
15
votes
2
answers
21k
views
How to install plugins in vim using vundle?
I am using Vundle to install YouCompleteMe (YCM). However, I am unable to install it (the installation guide just says running :PluginInstall, but not what to do once the following page opens):
I ...
14
votes
2
answers
2k
views
Vim plugin for better XML/HTML navigation?
I'm wondering if anybody knows of a Vim plugin that can handle cursor movement between parent/child/sibling elements on either HTML or XML files (preferably both).
13
votes
6
answers
22k
views
switching between tabs in vim with vim-airline
I am using vim-airline plugin which works pretty good however, the only way to switch between tabs is to user :bp or :bn which is shortcuts for :bprevious or :bnext. The problem with this is that if I ...
13
votes
2
answers
6k
views
I just can't figure out Project Plugin in VIM
I am trying to use VIM for some programming. I am a total beginner in VIM. Could you guys please help me figure out Project Plugin
I can't understand the documentation. If you have used this plugin, ...
13
votes
6
answers
15k
views
Is there a nice subversion plugin for Vim?
I have been using IDEs like NetBeans for quite sometime. NetBeans has a good versioning control plugin. When I have multiple projects and work on them simutanously, I can choose specific projects to ...
13
votes
2
answers
5k
views
How to jump to Javascript function definition in vim?
I'm using vim with the tagbar, jsctags and taglist-plus plugins. They all seem to work correctly, but I cannot jump to a function/variable declaration. I tried ctrl+] but it doesn't work. Is it ...
13
votes
5
answers
3k
views
Vim: undefined variables are unmarked
Lately I've been making a couple of mistakes when refactoring in Vim, the result was undefined and unused variables. Any decent IDE (like NetBeans) would mark them as such, but I've yet to come across ...
12
votes
3
answers
17k
views
How to create my custom vim snippets?
I want to create some snippets when writting c++.
for example:
create a file, cpp.snippets.
priority -1
snippet exam
This is an example!
endsnippet
and put it in ~/.vim/my-snippets/snippets/.
then,...
12
votes
6
answers
5k
views
Problem with Vim's Ruby plugin
I have just installed Vim and when ever I go to open in ruby file I get these errors:
Error detected while processing C:\Program files (x86)\Vim\vimfiles\ftplugin\ruby.vim
line: 76
Encoding::...
12
votes
3
answers
2k
views
Running R inside a buffer in Vim
I have used Stata and gVim on Windows for a while now. Recently I have switched to Linux, and I am planning to also change from Stata to R.
A friend of mine is using R and Emacs ESS which seems to ...
12
votes
5
answers
5k
views
How do I get vim to autocomplete my jQuery code?
I'm using vim to write my jQuery code. Is there a plugin that I can use to autocomplete parts of the code?
Edit
i found this Snippet for jquery javascript-jquery Snippet
11
votes
3
answers
6k
views
Resolving a vim plugin mapping conflict - mapping already exists for \t
I followed http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide#intro to install a bunch of plugins for Python programming in gvim (installed on a Windows 8 machine). It appears that ...
10
votes
4
answers
8k
views
wrapping sections with HTML tags in vim
I want to be able to quickly wrap entire sections of my HTML with other tags. I run into this a lot when I realize I need an outer div around my other divs, like so:
Original HTML:
<div id='a'>...
10
votes
3
answers
10k
views
python 2 support in vim
I am trying to set up YouCompleteMe, a code-completion plugin for vim. When I run vim, it gives me this error message: "YouCompleteMe unavailable: requires python 2.x". I have the correct version of ...
10
votes
3
answers
4k
views
VimL Script language: are there any implementations in other languages? [closed]
Problem: One of my favorite aspects of Vim is its flexibility. One of my least favorite is the VimL script language itself. I know everyone has his or her own preference for languages and editors, so ...
10
votes
2
answers
7k
views
My YouCompleteMe Vim plugin doesn't support STL
I just compiled and installed Vim, Vundle and YouCompleteMe plugin according to the introduction on Github.
But the YouCompleteMe plugin doesn't work well in my Vim. It can auto complete the variable'...
9
votes
1
answer
3k
views
How can I display the function name in vim-airline?
I'm using the ctags vim plugin to have the name of the current C function (=where the cursor is) displayed in the status line.
Today I installed the vim-airline plugin. Fancy, but the C function name ...