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

Configuring Vim/Neovim ALE plugin to support :ALEGoToDefinition in JavaScript files

I installed the ALE plugin for Vim using vim-plug: Plug 'dense-analysis/ale' The plugin seems to have been installed correctly. I can use ALE to automatically format files with Prettier, for example. But I can't seem to get anything that uses the…
John Karahalis
  • 3,369
  • 2
  • 15
  • 20
10
votes
2 answers

Initial window split in termdebug vim

I am new to vim and recently came to know that we can use Termdebug to debug code in vim with gdb. I liked this very much as i was searching for a good vim integration with gdb. When i launch Termdebug window is split horizontally in gdb window,…
Sumit Kumar
  • 492
  • 6
  • 13
10
votes
1 answer

How to correctly enable pylint with ALE in Vim?

I want to set up python linting in Vim using the ALE Vim-package. So far it works well in Atom using the Atom-Plugin, but in Vim it somehow is not working. I installed pylint using pip3, Vim 8.1 and ALE using the Vundle Plugin-Manager. In my…
avermaet
  • 1,543
  • 12
  • 33
10
votes
2 answers

How to disable ale plugin by default in Vim?

I'm using https://github.com/w0rp/ale plugin. But it makes vim less responsive... I have a bind for ALETooggle on l. It would be nice to have it disabled by default and enable by keyboard shortcut when wanted, I tried to put ALEDisable on my…
geckos
  • 5,687
  • 1
  • 41
  • 53
10
votes
3 answers

How to install vim plugin under cygwin?

I installed a cygwin on my windows machine. There isn't a .vim directory in my cygwin home directory. How to install vim plugin in this case? By the way, what plugins are suggested for HTML/CSS/JavaScript development? Thanks!
wqfeng
  • 1,461
  • 3
  • 11
  • 11
10
votes
1 answer

Can Visual Studio Code `quick fix` interact with keyboard?

I am using VS Code with the excellent vscodevim extension. When I navigate to a code that has a Quick Action available I can ctrl + . to activate the drop down context menu. Is there a way to select toggle through the list of available items using…
THBBFT
  • 1,161
  • 1
  • 13
  • 29
10
votes
3 answers

vim-rmarkdown plugin configuration

I've just installed vim-rmarkdown, vim-pandoc, and vim-pandoc-syntax plugins in conjunction with Vundle (latest github versions). When I open an RMarkdown file (.Rmd) in vim, as expected it detects the filetype as rmarkdown; it marks the start of an…
doctorG
  • 1,681
  • 1
  • 11
  • 27
10
votes
2 answers

Vim: how do I disable the default LogiPat plugin?

In Vim 7.4 there's a default plugin called "LogiPat". A command this plugin exposes is :ELP, which is shadowing another command I use a lot :Explore. For that last command I always use :E but since LogiPat exposes :ELP I need to type in :Ex which is…
Niels Bom
  • 8,728
  • 11
  • 46
  • 62
10
votes
3 answers

ImportError ropevim using ropevim plugin in vim

According to the documentation of rope-vim plugin I install python-rope and python-ropemode mode packages. However when I try to open some file using vim I get following ImportError: Error detected while processing function LoadRope: line 4: …
PaulWebbster
  • 1,480
  • 2
  • 14
  • 27
10
votes
2 answers

How to go back to the results of :Gblame after selecting a particular commit?

From the README of the fugitive plugin for vim: :Gblame brings up an interactive vertical split with git blame output. Press enter on a line to edit the commit where the line changed, or o to open it in a split. Is it possible to go back to…
planetp
  • 14,248
  • 20
  • 86
  • 160
10
votes
1 answer

YCM does not find my headers?

I have the following folder structure: . ├── include │   └── ctset │   ├── hashtable.h │   └── set.h └── src └── hashtable └── hashtable.c And in hashtable.c the include #include "ctset/hashtable.h", but YCM keeps telling me…
musicmatze
  • 4,124
  • 7
  • 33
  • 48
10
votes
5 answers

Jump to the errors in the quickfix or location list for the current line in Vim (with Syntastic)

I started using the Syntastic plugin for Vim, which will run a syntax checker on the current buffer and then indicate any lines which have errors. I can open up the list of errors as as a location list using :Errors, and then jump to the line of a…
gotgenes
  • 38,661
  • 28
  • 100
  • 128
10
votes
2 answers

How to find out a certain color value the current colorscheme is using for certain stuff?

I need this in order to finish a plugin I'm making in order to change the colors of the statusline depending on the mode. However I've run across an obvious problem, how would I know what theme the user is using? And even if I knew I can't make…
greduan
  • 4,770
  • 6
  • 45
  • 73
10
votes
3 answers

Installing pathogen vim plugin on Windows

I was going to install the pathogen plugin in GVIM for windows but the instructions say to install in the \vimfiles\autoload folder which I don't have. How would I install pathogen?
user1452370
  • 103
  • 1
  • 1
  • 5
9
votes
4 answers

Chronic ripgrep / vim Plugin Error on Load: "-complete Used Without -nargs"?

I recently added ripgrep to my list of vim plugins and, immediately after installation, I began receiving this error message whenever I loaded up vim: Error detected while processing…
iamthelabhras
  • 351
  • 2
  • 12