Questions tagged [vim-plugin]

The Vim text editor is extensible through plugins, which can be categorized into general utilities, color schemes, file type-specific settings, and syntax definitions.

If your question is not about programming, consider posting Vim related questions at the dedicated Vim Stack Exchange site.

The Vim editor can be extended through plugins, which are (at least partly) implemented in Vimscript.

Plugins may add a new color scheme, syntax highlighting for a new language, or settings and commands specific to a particular file type. But most plugins offer general add-on functionality that either enhance the use (like the various buffer and file explorers), or integrate with related tools (like revision control systems).

The main repository of Vim plugins is at vim.org. There's a prolific community of plugin authors and a wealth of different plugins. Some plugins are only available on sites like Github or Bitbucket.

1236 questions
13
votes
3 answers

Installing ctrlp in VIM using vundle

I'm using vundle as my plugin manager for vim. However I'm having trouble installing ctrlp plugin. When I execute :BundleInstall ctrlp, it outputs the following log with a fatal error: [131003 09:39:27] Bundle kien/ctrlp [131003 09:39:27] $ git…
rfc1484
  • 9,441
  • 16
  • 72
  • 123
13
votes
4 answers

Easiest way to test vim regex?

I'm trying to write a vim syntax file, one problem I'm dealing with is vim's regex syntax is different from most other languages(I think the one called "perl compatible regex", Python, JavaScript etc. uses mostly the same regex syntax) and so I…
sinan
  • 6,809
  • 6
  • 38
  • 67
13
votes
2 answers

vim indent: align function arguments

The default alignment in vim (using "=") aligns my code as: void my_loooong_function (int arg1, int arg2, int arg3 ) However, I wish to align with all arguments starting at same line, as: void my_loooong_function (int arg1, …
m.divya.mohan
  • 2,261
  • 4
  • 24
  • 34
12
votes
1 answer

Moving multiple lines in vim visual mode

After pressing v and entering visual mode in vim, I would like to move those lines up a few rows. The solution discussed here does not suit me as I would like to move lines visually, i.e. I don't want to be typing m:+n as I don't know the value of…
Konrad
  • 17,740
  • 16
  • 106
  • 167
12
votes
2 answers

Make NERDtree not be the default window when VIM starts?

I just started playing around with NERDtree and VIM and can't figure out how to make NERDtree NOT be the default window when it opens. I'd like to open NERDTree in one pane and the relevant file in another but instead of having the NERDTree tab take…
jmreicha
  • 3,155
  • 7
  • 32
  • 39
12
votes
2 answers

Vim Python indentation not working?

I have Vim 7 (enhanced) on CentOS 5, and it comes with all the usual Vim plugins/scripts ready to go. $ find /usr/share/vim/vim70/ -name…
CarpeNoctem
  • 5,540
  • 8
  • 30
  • 33
12
votes
2 answers

Change location of vim yankring history file

The yankring plugin for Vim creates a file in my home directory called yankring_history_v2.txt. How do I tell the plugin to store this file in another location?
cydonian
  • 1,686
  • 14
  • 22
12
votes
3 answers

Which jade.vim plugin to use?

Github has modules produced by statianzo, vim-scripts, and digitaltoad. None of the three are related by forking And google finds this: http://www.vim.org/scripts/script.php?script_id=3192 Which one is best? Copying from below (vote those guys up…
Dave Dopson
  • 41,600
  • 19
  • 95
  • 85
11
votes
2 answers

How to jump upwards in easymotion plugin for VIM?

How to jump to the lines above the cursor while using the easymotion plugin in vim?
Rishabh Sagar
  • 1,744
  • 2
  • 17
  • 27
11
votes
1 answer

How to override color scheme in neovim lua config file?

how can I override some color scheme value in neovim lua config file? I am trying to use .lua instead of .vim. Previously in my init.vim file I have this to override some settings I want to enable these settings for init.lua file also. How I can…
monzim
  • 526
  • 2
  • 4
  • 13
11
votes
1 answer

How to Install Vim Plugins in a Windows Environment

I am just getting started with Vim and setting up the environment with some of the plugins recommended by http://vimawesome.com/. I downloaded and placed plug.vim in C:\Program Files\Vim\vim74\autoload and in C:\Program Files\Vim\vimfiles\plugin I…
noumenal
  • 1,077
  • 2
  • 16
  • 36
11
votes
1 answer

Vim Supertab plugin reverses the direction when navigating completion menu

When I loop through the list of completion alternatives via supertab (i.e. activated by pressing ), the selection starts at the end of the list and cycles upwards when repeatedly pressing or . Pressing or cycles…
Patrick
  • 1,829
  • 19
  • 32
11
votes
3 answers

Vim search text in folder

Is there a way to search for some text in a folder and to display search results in a separate buffer in Vim? (Like Sublime Text Ctrl + Shift + F results)
Just_Mad
  • 4,029
  • 3
  • 22
  • 30
10
votes
5 answers

Favourite places in vim

Is there a command in vim that can bookmark a place (path to the file, line number in that file), so that I can go to that place easily later? It would be similar as NERDTree :Bookmark command. You can open your file with NERDTreeFromBookmark. I'm…
xralf
  • 3,312
  • 45
  • 129
  • 200
10
votes
4 answers

How to trigger autocomplete suggestion box in vim or neovim (Plugin neoclide/coc.vim)

I'm Neovim user and I use Plugin neoclide/coc.vim for autocompletion but when my cursor focus out, I can not get suggestion box again (How can I call this box? suggest box or hint box? I want to know this box name) I want to trigger it and see…
devstefancho
  • 2,072
  • 4
  • 17
  • 34