Questions tagged [vim-plugins]

Package of files providing add-on functionality to the Vi IMproved (VIM) Editor.

Package of files providing add-on functionality to the Vi IMproved (VIM) Editor. The package may include one or more of the following: vim script files (.vim), help files to add to the VIM documentation (.txt), and possibly other executables to support functionality (tied in via vim script).

107 questions
84
votes
11 answers

Vim: How to synchronize NERDTree with current opened tab file path?

When I open a new tab with different path from the previous file in VIM, NERDTree will still remains the same directory hierarchy of the previous file. Is there a sync shortcut to change the current root directory to the new opened file's directory?
Jichao
  • 7,940
51
votes
3 answers

installing plugins in vim

I had a real difficulty installing vim plugins on mac. I know for a plugin to be installed it has to be seen by runtimepath. According to vim docs, this is Macintosh: "$VIM:vimfiles, $VIMRUNTIME, $VIM:vimfiles:after" First off, what does…
Ying
  • 845
31
votes
3 answers

Vim - dynamic list of open buffers in a window

I've investigated a few ways to maintain a list of open buffers in Vim, and some of them are very good, but none of them seem to behave the way I'd like. It's very possible that nothing like what I want exists, and it can't hurt to ask. I've been…
asfallows
  • 1,061
19
votes
8 answers

Vim: How to Install Airline?

I'm just getting started with Vim. It's a fun experience, but I've found it to be kind of overwhelming. I'm trying to get this plugin installed, vim-airline, but I'm having a lot of trouble. The Installation section on the Github page simply…
18
votes
2 answers

How to open the doc file for a vim plugin?

I just downloaded the Rails vim plugin from here. One of the file that it contain is a doc file that will be extracted to ~/.vim/doc/rails.txt How do I open the content of this help file in vim ? I tried :help rails to no avail.
ryanprayogo
  • 1,995
11
votes
3 answers

How can I get a navigable (editable?) buffer with vim's `messages`?

So, if I get an error from a plugin, I'd like to be able to report that error on GitHub or similar. Unfortunately, it's not mouse-selectable; and after appearing and asking me to hit RETURN, it seems gone forever. I've discovered that I can cause…
ELLIOTTCABLE
  • 2,708
9
votes
3 answers

Vim plugin presenting a list of open tabs

I've looked around and couldn't seem to find what I need. Basically, when I have many open tabs, it becomes difficult to realize what file is open in a specific tab. Is there a plugin that would present a list of all open tabs? Of course, there's…
user67834
8
votes
1 answer

Vundle - Plugins installed but not loading

I've installed vundle on my ubuntu box but when I load vim none of the plugins load. My vimrc: runtime! debian.vim set nocompatible " be iMproved, required filetype off " required " set the runtime path to include…
8
votes
3 answers

Vim slow at rendering the buffer with LaTeX syntax highlighting

After fixing a hard-drive failure, I am installing GVIM on my Thinkpad X230T laptop running Windows 10. Things are working well except for the rending speed of buffers for *.tex files. The problem is: with syntax on, the buffer of latex renders…
llinfeng
  • 1,368
7
votes
1 answer

How can I check if the cursor is at the end of a line?

Gentleman, Simple question about Vim! How can I check if the cursor is at the end of a line using a function in vimrc? []'s
7
votes
1 answer

How do you install plugins for MacVim?

Specifically, I'm trying to install NERDtree. I downloaded the 4.10 package from github, unzipped it into ~/.vim/, and restarted MacVim (version 7.3). Typing :nerdtree results in the following error: E492: Not an editor command: nerdtree In…
6
votes
1 answer

Vim: Close and return to last tab, repeat

I find myself in this situation very often: Open gVim with NERDTree from current working directory. Open a file from NERDTree using so it grabs a new tab. :tabprevious to return to NERDTree. Explore directories and open a second file using…
StanAngeloff
  • 135
  • 1
  • 7
5
votes
1 answer

Vim doesn't show plugin documentation

When I put a symbolic link to a .txt documentation plugin, vim doesn't show me the help Example: I have in ~/.vim/doc $ ls -al NERD_tree.txt NERD_tree.txt -> PATH/nerdtree/doc/NERD_tree.txt in vim: :h NERDtree This command doesn't show the…
juanpablo
  • 7,424
5
votes
3 answers

Vim plugin to open a shell in a split window

Are there any vim plugins for creating a split window with a shell inside? Almost like a split window with the :sh command contained inside. I also can't use something like screen becuase this is in MacVim (gvim for Mac OS X).
Wuffers
  • 19,619
4
votes
2 answers

Turn off vim's `filetype indent` for a specific filetype

In my .vimrc I have filetype indent on Now, the way it attempts to auto-indent yaml files is very confusing for me, so I want to turn filetype indent off, but only for yaml files, not for other files. How do I tell it so in my .vimrc?
1
2 3 4 5 6 7 8