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
2 answers

NeoVim: vimspector unavailable: Requires Vim compiled with +python3

After installing vimspector with Plug.vim, when I reopen neovim, I met the problem as described in the title.
Zhehao Li
  • 189
  • 9
4
votes
2 answers

Vim plugins overwrite line numbers

After upgrading vim plugins. It appears that some Plugins (Ace, Gitgutter, Coc) overwrite the line numbers. The following screenshot shows the problem at line 20. A '+' has overwritten the line number instead of being placed just before it. Do you…
Uggla
  • 51
  • 4
4
votes
1 answer

How use sleep in vimscript just for command-line bar?

I'm trying to write a plugin for vim with vimscript and I want to show some log for specefic time. like: echo 'some log' sleep 2 redraw! When I use sleep and redraw, all of current window freezing for a while but I want sleep just for logs, not all…
mo1ein
  • 535
  • 4
  • 18
4
votes
1 answer

Error detected while processing vimrc: - how to take pugins in vim

Today I was making my custom vimrc, but it gives me this error. It is not allowing me to use any plugins. Can somebody help by telling what I am doing wrong? These lines are the error that it is showing: E117: Unknown function: plug#begin line …
Aryan Agrawal
  • 51
  • 1
  • 2
4
votes
1 answer

Vim completely broken, can not use

Upon opening vim in my terminal, I receive this error Error detected while processing CursorMoved Autocommands for "*"..function 6_Highlight_Matching_Pair: It repeats multiple times upon launch vim, then I can access vim however any movement…
ReillyC52
  • 55
  • 4
4
votes
1 answer

Vim:E523: Not allowed here

I received this error when i tab in vim. Traceback (most recent call last): File "< string >", line 1, in < module > File "utils.py", line 15, in write current_buffer.append('some text') vim.error: Vim:E523: Not allowed here I have the…
Tiki
  • 760
  • 1
  • 8
  • 16
4
votes
3 answers

gvim pathogen issues

I downloaded pathogen.vim from github and put it in "autoload" directory under ~/.vim. However now when I fire up gvim, and do :helptags, it says "Argument required". The contents of my ~/.vimrc file are: call…
Andy
  • 328
  • 3
  • 13
4
votes
1 answer

Render space if it have multi space in Vim

I used: set listchars=tab:→\ ,trail:·,precedes:←,extends:→,nbsp:·,space:· to render space and tab character. But I want to show only >=2 space, I don't want to display if It has one space between other characters. (It is the same of…
hong4rc
  • 3,999
  • 4
  • 21
  • 40
4
votes
2 answers

Python Not Enabled In Vim

I am trying to get the Xdebug vim plugin to work which depends on python. Here is my environment: Windows 7 Professional 64bit, Vim 7.3. I got everything set up for this plugin, but when I hit F5 nothing happens. I found some blogs describing some…
still_dreaming_1
  • 8,661
  • 6
  • 39
  • 56
4
votes
1 answer

Replacement for vim-vinegar in VS Code?

I've been using Vim for a while now and I'm trying out Visual Studio Code. One thing I have been missing a lot is the ability to navigate between files in the way that vim-vinegar enables. Using this plugin in Vim, I can press - and be taken into a…
Joe Lencioni
  • 10,231
  • 18
  • 55
  • 66
4
votes
2 answers

How to install cscope_maps with vim-plug?

I'm using vim-plug to manage my vim (version 7) plugin dependencies and trying to leverage these cscope key mappings per this tutorial. Is this something I have to install outside of the plugin system by just copying and pasting it to the…
tarabyte
  • 17,837
  • 15
  • 76
  • 117
4
votes
1 answer

Vim syntastic shows import error for Python VirtualEnv libraries

I have scrooloose/syntastic Plugin install on my vim. And I have installed pylint library globally. sudo python -m pip install pylint However for my project I have VirtualEnv and all the necessary libraries for that project is installed in…
Gaurang Shah
  • 11,764
  • 9
  • 74
  • 137
4
votes
2 answers

Latex/VIM : change all $$ .. $$ to \begin{equation} .... \end{equation}

I received a 100 page Latex document with all equations between $$...$$ and I need to change them all to \begin{equation}...\end{equation} Is there some clever way to do this in Latex (some built in functionality) or in Vim? In Vim I am…
PMM
  • 43
  • 2
4
votes
1 answer

vim 8.1 - garbage printing on screen

Often when I open vim some garbage gets printed on the screen of the below sort: ^[[2;2R^[]10;rgb:ffff/ffff/ffff^G^[]11;rgb:0000/0000/0000^G I'm unable to figure out why. Sometimes, it's on the statusline, sometimes it's above or below it. Also,…
helix
  • 1,017
  • 3
  • 12
  • 30
4
votes
2 answers

Is it possible to use VSCode language-server-protocol engine along with the Vim or NeoVim?

I have tried different code-analysis engines and tools (like tern_for_vim) for Vim, but they do not provide such a great autocompletion, goto and rename functionality as in VSCode. As I know VSCode uses language-server-protocol technology to provide…