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
4
votes
3 answers

Is it possible to display grid in Vim?

I am using DrawIt plugin in Vim 7 to draw some ASCII diagrams. This might be too much, but still— Is there any plugin which can display a grid in background, to make the drawing easier?
m.divya.mohan
  • 2,261
  • 4
  • 24
  • 34
4
votes
3 answers

Vim SQL omnicomplete

I'm trying to use the dynamic SQL auto completion (omni menu) feature in vim, but it's not working. I'm using the Yakuake terminal on Linux Mint, and the DBext vim plugin is working. I can do C-xC-o, but it only shows tables and I need columns too.…
Ali
  • 448
  • 6
  • 25
4
votes
1 answer

Problems in saving sessions with some vim plugins

Trying to put together a Vim setup using NERDTree, session and tabbar. Unfortunately tabbar (which is based on minibufexpl) does not go well with the session plugin. Is there a workaround/alternative for this? Or do I have to give up one of these…
mihai
  • 37,072
  • 9
  • 60
  • 86
3
votes
2 answers

How can I use Neovim regex to make a separated selection (of two characters not following one another)?

I'm attempting to replace all strings in a text file surrounded by single quotes and ending with an @ first followed by any number and then any mix of any other letter(s) or #(s) like…
eyeseaevan
  • 121
  • 7
3
votes
1 answer

Auto-indent javascript in vim, from one-liner to fully indented code

I am using vim to code, namely in javascript. I would love to be able to auto-indent javascript code. My main use case is being able to automatically jump from a one-liner javascript code to a fully indented pretty-printed code (just as…
AlexTorx
  • 753
  • 4
  • 9
3
votes
5 answers

When I open the nvim init.vim file, this error comes for Neoclide coc.vim

I get this error when I try to open the init.vim file for neovim, for neoclide coc.vim. Any solutions? in WSL(Ubuntu) [coc.nvim] Error on execute :pyx command, ultisnips feature of coc-snippets requires pyx support on vim. use :CocOpenLog for…
Agrock
  • 59
  • 1
  • 4
3
votes
1 answer

How can Vims conceal feature be used to simplify code?

After much Googling I have been unable to make Vim's code conceal feature work with Javascript and Typescript (without requiring a plugin). I have been trying to use lines like the following in my .vimrc to conceal my code but without any…
Alex Mckay
  • 3,463
  • 16
  • 27
3
votes
1 answer

Name file based on date and time in Vimwiki

I'm not a programmer and I use vim just for taking notes. Now I'm trying to use the Vimwiki plugin. It allows creating a daily entry. If we type the command ww, the diary-file based on the current date will be created. I want this…
3
votes
2 answers

How to scroll the hover area in Vim when showing documentation with coc.nvim

I can use K to show the man pages in Vim before I install the coc.nvim. And when I using the coc.nvim to do the same thing, instead of man pages, the documentation was in a hover are. But sometimes, the text cannot be displayed at one time, like…
3
votes
1 answer

native vim plugin load order

Sometimes Vim plugins suggest a load order, but Vim nowaday natively supports loading plugins with no plugin manager. You just put a submodule in a folder such as ~/.vim/pack/vendor/start and it'll automatically load. So, my question is how do you…
3
votes
1 answer

How to repeat a remapped command thats starts with a leader key in VIM?

i have made a macro that reformat a word that example apple to be .apple(apple) and i have saved that macro to be remapped with the z combination as follows nnoremap z 0yiwI.a(hpA),j0 the problem is when i type a…
Ramy Osama
  • 98
  • 1
  • 9
3
votes
0 answers

How do I set up a vertically split terminal for the vim-slime plugin?

For the vim-slime plugin, these are my settings: let g:slime_target = "vimterminal" let g:slime_paste_file = "$HOME/.slime_paste" let g:slime_vimterminal_cmd = "sbcl --noinform --load " . @% let g:slime_vimterminal_config = {"term_opencmd": "vert…
Caspian Ahlberg
  • 934
  • 10
  • 19
3
votes
1 answer

NeoVim Plugin not getting installed. (Using vim-plug)

Please help me I am facing this weird issue while setting up my init.vim for my NeoVim. So the following is my init.vim file. That does not show any errors. But when I want to install the plugins. After I run :PlugInstall only vim-code-dark is…
imharjyotbagga
  • 199
  • 4
  • 17
3
votes
1 answer

Is there a way to mock Vimscript/VimL functions?

I'm interested to know if there is any way to mock Vimscript functions for testing. I know there are frameworks like vader.vim, but nothing is said about mocking.
boechat107
  • 1,654
  • 14
  • 24
3
votes
1 answer

Unable to Run YouCompleteMe in neovim

I use Manjaro (5.6.7 Kernel), I am trying to install YCM on neovim. I did it before, but it was vim, and I used vundle, this time I am using vim-plug. I get this message when I launch newvim. YouCompleteMe unavailable: requires Vim compiled with…
Hatem Saadallah
  • 130
  • 2
  • 10