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

vim using "cscope find s" command and open result in new tab instead of window

I use cscope command :cs find s someFunction and i see the long list with this function appearance, I find that I'm interested in list and open it, vim opens a file in a new window, I want to open file in a new tab. I found several similar…
Ivan Ivanovich
  • 880
  • 1
  • 6
  • 15
3
votes
1 answer

Save the file explorer panel in vim session

When I have netrw and some files open in vim, only the file panels are displayed when I restore the session using .mksession. Is it possible to restore the netrw file browser panel from a saved session?
Bas Peeters
  • 3,269
  • 4
  • 33
  • 49
3
votes
1 answer

Focus temporal buffer in vim

I would like to have the following functionality in the vim editor. Select a certain text (e.g. paragraph) Open a temporal buffer with only the selecting text (on full screen). The purpose here is to remove all the distractions and focus only on…
xralf
  • 3,312
  • 45
  • 129
  • 200
3
votes
1 answer

How do I get rid of this message in Vim when I'm working with golang files with Janus vim?

I use Vim to open up a hello.go file (using the nerdTree plugin included with janus vim distro) and get "vim-go: could not find 'gotags'. Run :GoInstallBinaries to fix it.". I'm using gvm. I can get golang to run with gvm. How do I install…
Nona
  • 5,302
  • 7
  • 41
  • 79
3
votes
1 answer

Is there a way to insert the current search pattern into commandline?

After installing Ag.vim I've had a frequent need to copy a search from * or / into the command line to search across all files in a codebase. Example use case: I find a string of text user_profile_uri and use * to select it. I press : to enter…
Javon Harper
  • 176
  • 7
3
votes
2 answers

vim - UltiSnips not working with YCM

when I use YouCompleteMe and UltiSnips together, I encounter 2 errors: I can type a snip pattern and the YCM dropdown menu recognizes it, however when I tab down to the snip in the menu, I cannot expand it. I have tried remapping …
3
votes
1 answer

Scroll down in vim omni completion popup

Using a combination of Omni Completion and SuperTab, I'm able to do something like: import random random. in Insert mode, then press Tab and have all of the options come up. Additionally, a popup window appears with documentation on the particular…
Ryan
  • 3,555
  • 1
  • 22
  • 36
3
votes
1 answer

Indicate operator-pending mode in vim-airline

I am using airline with basic settings. Is there a way to indicate operator-pending mode in the airline status line? In regular, vim default statusline (:set statusline) there is always displayed first letter of a command, whenever vim enters…
qiubix
  • 1,302
  • 13
  • 22
3
votes
1 answer

Vim: w move by subword

What's the best way to remap w/W to stop in the middle of sub_words and subWords? I have some text objects installed but I mapping w to vav (select next subword and deselect) doesn't get me anywhere. Help.
firedev
  • 20,898
  • 20
  • 64
  • 94
3
votes
1 answer

Tern Autocomplete with Express

I'm using the tern_for_vim plugin for developing node applications. Currently various functions aren't displaying and I'm unsure why. For example: none of the html verb functions appear in the autocompletion list app.get (after assigning var app =…
tjenks
  • 236
  • 4
  • 12
3
votes
1 answer

Vim snippets, without snippet/templating addon

I use vim a lot, but my workflow usually forces me to interact with other IDE's, so I am not a god-like vim poweruser, nor am I trying to be anytime soon. Vim is not an IDE for me, nor do I want it to be. It is a fast and light editor that doesn't…
user2097818
  • 1,821
  • 3
  • 16
  • 34
3
votes
2 answers

Navigating through a huge project with vim and unite.vim plugin

I've been reading great things about Shougo's "Unite" plugin for Vim for a long time, so I finally decided to give it a try. If you're not already…
Lucky Mike
  • 779
  • 2
  • 6
  • 17
3
votes
2 answers

vim plugin for node.js programming and syntax highlighting? (and how)

in the case of javascript syntax highlighting, I just had to download javascript.vim file and place the file in the corresponding folder, and vim would automatically make syntax highlighting when I open .js files. But how does node.vim work??…
Sardonic
  • 441
  • 3
  • 8
  • 19
3
votes
1 answer

How to get list of files which are currently being diffed in vim

I am writing a vim plugin in which i need to determine all those files which are currently being diffed. That is the ones for which diff is set. I have been going through the manual but could not find much. Is it possible to do this. This question…
Yogesh Arora
  • 2,216
  • 2
  • 25
  • 35
3
votes
2 answers

Vimscript: how pass variable/float into string?

After reading the manuals about Vimscript, I wanted to creating my own Vim script. I thought it would be nice to have splitted windows in Vim with golden ratio from Wikipedia. When you're switching to another window in vsplit, you will get the…
Julius Martin
  • 159
  • 2
  • 8