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

Surround Visual Text with more than 1 character

How would you surround the following text with 3 backticks ``` using tpope's Vim Surround. All I can is 1 backtick using S` in visual mode:
Mick
  • 30,759
  • 16
  • 111
  • 130
5
votes
1 answer

What are the different Ruby debugging plugins for VIM?

I've tried a few Vim debugging tools for Ruby, but they are littered with bugs (as far as i can tell). Anyone know of a really stable debugger for Ruby & Vim?
btelles
  • 5,390
  • 7
  • 46
  • 78
5
votes
4 answers

How to stage all modified and new files with vim-fugitive

I know that you can use GWrite to stage current file. You can also use GStatus and - to stage the file you are selecting. Is there a way to GWrite all the files or do git add . without using GStatus ?
CodeCrack
  • 5,253
  • 11
  • 44
  • 72
5
votes
1 answer

Vim - How to identify plugin raising errors

As per the title, is there any way to know which vim plugin is raising error messages (apart from disabling/enabling one by one of course)? I'm continuously getting the error message below Error detected while processing function 59_clear: line…
tigerjack
  • 1,158
  • 3
  • 21
  • 39
5
votes
1 answer

Adding new filetype to NERD Commenter

I'm using NERD Commenter. I want to add a new filetype to it. In the latest version, the filetypes definitions start in line 69. I want to add delimiters for .pde (Arduino). Since .pde files follow the same style as C++, I'm just copying the C++…
Sparragus
  • 883
  • 1
  • 9
  • 24
5
votes
2 answers

How do I get the EasyClip vim plugin like functionality in Ideavim plugin of Jetbrains?

I want the following features of EasyClip vim plugin to incorporate in ideavim plugin: dd - Delete the line and do not change clipboard D - Delete from cursor to the end of the line and do not change clipboard dD - Delete the contents of line…
Vikrant Singh
  • 669
  • 1
  • 6
  • 18
5
votes
2 answers

YouCompleteme unavailable : no module named future

i am trying to install the YouCompleteMe Plugin in vim using Vundle but i get this error message : YouCompleteme unavailable : no module named future i have vim 7.4.1910 and python 3.5.2 but i don't know if vim was built to support python3
Kadhem Ouerghi
  • 103
  • 1
  • 5
5
votes
2 answers

syntax.vim file is missing

I jumped on to a colleague's computer and tried opening a C++ file in vim, and got the following error - E484: Can't open file /usr/local/share/vim/syntax/syntax.vim Interestingly, the location /usr/local/share/vim/ does not even exist. It looks…
Gumbly jr.
  • 729
  • 2
  • 9
  • 18
5
votes
2 answers

Vim (vim + nvim) sources files multiple times

When investigating the vim startup time with --startup option, I see lots of files are sourced multiple times. Could anyone explain to me why? After vim --startuptime vim-startup then sort -k 4 vim-startup, scroll to end of output. There are many…
Sang
  • 4,049
  • 3
  • 37
  • 47
5
votes
1 answer

How to assign text with in braces into variable in vim

Is there any way to get data with in braces, before a certain latex command (\body) and assign that content (long text) to a variable. eg: \text{just a text before body} \body{contains lot of paragraphs etc etc etc, and that paragraphs also…
Zam
  • 367
  • 2
  • 17
5
votes
3 answers

Vim: Jump to last non-whitespace character of a file

I have an ora file that is 200,000 lines long but the last 60,000 some lines are all blank carriage returns/whitespace. I know G jumps to the end of a file, but I do I configure vim to jump to the last line or character that is non-whitespace and…
luxon
  • 417
  • 5
  • 14
5
votes
2 answers

Error running ':ConqueTerm bash'

I have installed Conque with vundle using the following line: Bundle 'Conque-Shell' However, when I run :ConqueTerm bash I get the folowing error: Error detected while processing function…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
5
votes
1 answer

VIM - Reformatting indentation and braces

When working with blocks of code in VIM, I'm able to easily re-indent blocks of code via selecting a region in visual mode (SHIFT+v), then just hit =. This re-tabs lines of code, uses the correct indentation depths, hard-tabs vs spaces, etc. I have…
Cloud
  • 18,753
  • 15
  • 79
  • 153
5
votes
1 answer

having buffers list as quickfix window in vim editor?

Using vim editor, a common task is to browse buffers. I now use standard commands like :ls or a :cnext I would like to browse buffers as list in quickfix window, in the simple (=excellent) way MRU plugin (https://github.com/yegappan/mru)…
Giorgio Robino
  • 2,148
  • 6
  • 38
  • 59
5
votes
1 answer

Vim plugin to auto complete across multiple open buffers

Is there a vim plugin that does auto completion across multiple files? Example: Open files are a.txt and b.txt. While using vim to edit b.txt, I want to be able to receive auto completion results from a.txt and b.txt I already use the…
applejuiceteaching
  • 1,473
  • 3
  • 13
  • 25