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
89
votes
1 answer

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

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…
alexchenco
  • 53,565
  • 76
  • 241
  • 413
83
votes
7 answers

Package(Plugin) Management for Vim

Emacs 24 looks like it will have a package manager. What package management options are there for Vim?
ntimes
  • 1,269
  • 2
  • 12
  • 10
80
votes
1 answer

Execute commands in vim

I've recently found a vim plugin using something called . For example there is a command abc_def which I would like to execute. I've tried everything like :abc_def and similar. Nothing worked. And :help gave no…
Tarrasch
  • 10,199
  • 6
  • 41
  • 57
79
votes
6 answers

set vim background transparent

I am using the Matrix colorscheme along with CSApprox for my terminal vim. I can not seem to be able to set the background as transparent. I have tried editing the matrix.vim file but it doesn't make it any better. here is the matrix.vim " vim:set…
codingninja
  • 1,360
  • 2
  • 13
  • 24
79
votes
6 answers

Automatic closing brackets for Vim

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…
Dago
  • 1,349
  • 1
  • 11
  • 19
68
votes
4 answers

vim: Open tag in new tab

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…
Paul Tarjan
  • 48,968
  • 59
  • 172
  • 213
65
votes
11 answers

Add GoLang syntax highlighting for VIM

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…
rocketas
  • 1,679
  • 3
  • 18
  • 30
63
votes
7 answers

Is better way to zoom windows in Vim than ZoomWin?

I used to use ZoomWin: https://github.com/vim-scripts/ZoomWin for toggle between one and multiple windows in Vim. But this plugin has one big issue. When I`m trying to restore multiple windows(vertical split) there is about 2-4 sec delay. Do you…
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
60
votes
2 answers

Vim color scheme overriding the background settings in Gnome Terminal

I have set my gnome-terminal's background to dark-blue, with a bit of transparency so I can see the underlying webpages or other documents when I code. I've been using the smyck color scheme, which appears to be my terminal background as its…
alxyzc
  • 1,021
  • 3
  • 12
  • 17
55
votes
3 answers

How to use vim (key-bindings) with Visual Studio Code vim extension

I just started using Visual Studio Code and think it's really great. Also installed the vim extension, but I'm struggling with mapping esc to a another key. Normally I have this: :imap jj And I can see that VS Code has a keybindings.json…
ganjan
  • 7,356
  • 24
  • 82
  • 133
50
votes
19 answers

Pathogen does not load plugins

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…
skalee
  • 12,331
  • 6
  • 55
  • 57
44
votes
1 answer

Two basic questions with NERDTree — switching windows and finding files

I am using vim with NERDTree to develop, but not good at it. I have two questions with NERDTree: How to move cursor between nav window and edit window without mouse? How to go to one special file node (named xxx) in nav window directly by…
why
  • 23,923
  • 29
  • 97
  • 142
43
votes
5 answers

How can I use vim plugins with Ideavim?

I would like to use Tim Pope's vim surround plugin in my Pycharm IDE. I've been using the IdeaVim plugin for Pycharm to use vim motions and commands. I know I can use ~/.ideavimrc like my normal .vimrc but I cannot find information about how to use…
Sebastian Wozny
  • 16,943
  • 7
  • 52
  • 69
40
votes
4 answers

how to scroll faster in vim

Scrolling while keeping j or k pressed is too slow. Doing 10j multiple times isn't ideal either. How can I go faster while keeping a key pressed ? I'm using vim for vscode but I imagine the solution probably applies there too.
Lev
  • 13,856
  • 14
  • 52
  • 84
38
votes
5 answers

How to write a VIM color scheme?

I have been looking around for VIM color schemes and found some great ones out there (esp. by using http://code.google.com/p/vimcolorschemetest/), but I always want to change a few aspects of each one I find. So I've decided now that what I really…
mindthief
  • 12,755
  • 14
  • 57
  • 61
1
2 3
82 83