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

learn more… | top users | synonyms

0
votes
2answers
33 views

Disable vim plugins for large files

I have a custom Vim configuration that I've been putting together. There's a number of cool plugins and features that aid in PHP development. However, when I open a large file (couple thousand lines) ...
2
votes
1answer
32 views

gVim: Pathogen not loading plugins properly (Windows)

I'm using gVim 7.4 on Windows 7 x64. When I place a plugin in the bundle folder, the plugin's commands don't seem to be registered. My setup is as follows: gVim is installed at C:\Program Files ...
0
votes
0answers
25 views

My dot files are version controlled. Can I add sub-modules with Vundle or Pathogen?

I have my .dotfiles version controlled. With symbolic links to .vimrc, .bashrc and .vim. I have recently needed to add some VIM plug ins, command-t and YouCompleteMe. Having looked in to Pathogen and ...
1
vote
1answer
25 views

`vim` and `YouCompleteMe`

I installed vim with python support from source. Then I used Vundle to install YouCompleteMe with the option --clang-completer. No other plugin is additionally installed by me and the clanglib is up ...
0
votes
3answers
19 views

gVim closes automatically when opening python file

I'm using gVim 7.4 , it was running smoothly before installing Plugins after installing pathogen gVim window closes automatically when opening python files. It's working fine for other files except ...
1
vote
2answers
88 views

vim: library of common substitutions without plugins?

I would be wanting to perform thinks like :'<,'>s/^\ \ \ \ // in an abbreviated form, like :'<,'>s_lw (no matter what would actually be that s_lw) using vim base functionality, initially ...
0
votes
1answer
93 views

Vim airline plugin bad characters

I'm having issue to display correctly the vim-airline plugin. Here's what it's supposed to look like Here's what it currently looks like. Note the >, which is not displayed properly. I tried ...
1
vote
1answer
75 views

Vim - How Recognize Spaces as Tabs (set listchars=tab)

I wonder if it is possible to use a configuration for that command "set listchars=tab:▒░,trail:·" to "see" 4 spaces as tabs and get the effect of the picture below (using real tabs)... I use the ...
0
votes
1answer
43 views

Vim conceal feature is applied to active line

I am using MacVim with the vim-latex plugin. There is a conceal feature turned on by default that converts LaTeX symbols to unicode in vim itself so the source is easier to read. I think this is ...
2
votes
1answer
21 views

Plugins cause gVim window to move (become “unsnapped”) in Windows

I have a couple of Vim plugins that seem to cause aero-snapped windows in Windows 7 (Aero windows, not Vim windows) to pop out of their "snapped" position when certain events occur. I don't know ...
0
votes
1answer
32 views

How can I edit the identical part of multiple files at once?

I have multiple HTML files that form a small website. Several lines of code are duplicated at the top of the files (although the <title> differs), and a few lines are duplicated at the bottom. ...
0
votes
1answer
52 views

Vim Color Scheme Overwritten by a Plugin

I’m trying to set up some prettier highlighting for Vdebug. I had a look at the source, and it says I need to target a DbgBreakptLine (I don’t know what they are called, but it’s the thing you put ...
1
vote
1answer
327 views

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 ...
0
votes
1answer
156 views

Vim YouCompleteMe

I see that the vim plugin YouCompleteMe is a great autocompletion tool but is there a way to get it to complete not just from a file I am working on but external files as well? Like, if I go to type ...
0
votes
1answer
349 views

trouble installing powerline pre-patched fonts on mavericks 10.9.2

I have already installed vim-powerline in vim using vundle, but I am having trouble installing any of the pre-patched powerline fonts in the Lokaltog/powerline-fonts github repo. When I download one ...
0
votes
1answer
83 views

Vim experts: how to find a number within a range based on two numbers? Eg “777” matches “667:888”

I need to search for numbers in a text with Vim. The numbers I need to find are often within a range based on two numbers and I need to match that range based on a single number. For example, in my ...
0
votes
1answer
43 views

Can I change a Vim setting persistently using a shortcut?

Can I change a Vim setting persistently using a shortcut? Hypothetical Example: nnoremap <script> <F7> :call ChangeConfig()<cr> function! ChangeConfig() set virtualedit=all ...
0
votes
3answers
77 views

Does ultisnips support html?

Ultisnips works fine with python and c, but when edit html files, it never insert the snippet at all. While youcomplete me suggest there is a snippet by the prompt. Does ultisnips support other ...
0
votes
0answers
301 views

Does vim's youcompleteme plugin require clang to auto complete?

From the youcompleteme's documentation, it's quite ambiguous what clang has done for it. Does it do syntax check? Semantics check? Or it's necessary to do auto completion? Actually, youcompleteme ...
1
vote
1answer
456 views

how to install a color scheme with yadr

someone advised me to use yadr, which is supposed to make installing dotfiles etc much easier for vim however I just couldn't figure out a way to install base16 through yadr.. before I had to ...
0
votes
3answers
68 views

Vim - Visual Mode - Improve Word Selection

Gentlemen/Ladies, I do not understand why vim is exhibiting the following behavior when I trigger the shortcut below on visual mode (.vimrc): vmap <script> <C-LEFT> :call ...
1
vote
1answer
54 views

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
0
votes
1answer
50 views

Vim completion based on language

Right now if I hit ctrl + n it will complete words that are in the current document. I've also found a way to define a dictionary. I'm just unsure how to get vim to complete based on keywords in a ...
-3
votes
1answer
58 views

VIM - Detect Whether a Plugin is Active/Running/Open?

I would like to do some tricks with VIM and so I ask the help of you guys! It is possible to detect whether a plugin is active/running/open? You can close a plugin by its name? You can close a ...
0
votes
4answers
80 views

Word highlighting in vim (plugin)

Given a list of words, I want to highlight all those words in the current buffer. I'm writing a vim plugin so I expect some yak shaving. Is this possible in a sane manner?
0
votes
0answers
17 views

vim-supertab no results behavior

I would like for vim-supertab to revert to the normal behavior of Tab if the autocomplete command returns no results. This is especially useful as I often find myself hitting Tab at the end of ...
1
vote
1answer
129 views

Make Vim's Vundle autoupdate?

Is there a way to make Vundle automatically update? I'd like Vim to run BundleUpdate every so often, ideally in the background.
0
votes
1answer
82 views

SingleCompile plugin Installation in vim

I'm using debian wheezy. I've downloaded SingleCompile plugin and I installed in vim 7.4. As there's no directory like ~/.vim I created one using mkdir ~/.vim and move the extracted plugins to ...
0
votes
3answers
356 views

Emacs IDO (Interactively Do Things) for vim

Is there a vim equivalent of Emacs' ido mode (video)? What I mean is that I want to type :e a and it should show me a shortened list of files starting with 'a'. When I type b, it would ...
3
votes
7answers
5k views

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 ...
1
vote
1answer
64 views

How can I use a '#' character in a git command?

I'm trying to close an issue on Bitbucket from a commit message through fugitive.vim's Gcommit command: :Gcommit -m "Fixes #1" When I check the commit message, #1 has been replaced with index.html ...
2
votes
1answer
86 views

Set imap depending on filetype

I'm using the xml and omnicppcompl plugins for Vim, and making use of two insert mappings these plugins define for the '>' key. My problem is that while the omnicppcompl plugin will happily imap the ...
0
votes
2answers
52 views

xml.vim corrupts '\' paste

I am using vim on Linux. I have xml.vim plugin loaded. If I do a paste of a string like "\." what I get is ">". If I do an insert, and pause, I can type "\." Apparently this is due to insert mode ...
0
votes
1answer
59 views

Vim highlighting stuck messed up for specific file

I am using JSLint and Syntastic plugins for Vim, and I am having an issue where a specific file is stuck having broken highlighting and JSLinting, foo/bar.js. However, if I change the path such that ...
3
votes
1answer
252 views

How to set syntax highlighting by default when I open *.tt file in Vim?

I use Vim for edit files. When I open file with .tt extension I have to use command set filetype=html in order to set syntax highlighting on for this file. How can I use this command by default ...
1
vote
1answer
286 views

Make vim plugin Syntastic mark more than the first error in php

I'm using vim on mac (both command line & MacVim) and installed the syntastic plugin for syntax error checking. I'm now using it and its standard php syntax_checker for php coding, but if there's ...
1
vote
2answers
74 views

How to make vim change a date when a section of a file was edited?

I'm using latex as a diary with sections for each subject. I manually add date of creation and modification to each element of text (section, subsection, subsubsection, ...). Is there a way to make it ...
2
votes
2answers
923 views

Building Vim with rbenv and Command-T on OSX

dyld: lazy symbol binding failed: Symbol not found: _rb_encdb_declare Referenced from: /Users/sa125/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin10.8.0/enc/encdb.bundle Expected in: flat ...
3
votes
1answer
332 views

How to insert a real tab with Vim SuperTab plugin if completion fails

I really like vim SuperTab plugin. But there is a little problem I have. When there is no keyword to complete the plugin doesn't insert a real tab but instead it tries to complete the word with ...
1
vote
1answer
166 views

Vim - web Preview files in Browser

I have been toying around with vim. I have too many plugins and unknown things in my vim rc. Going to start again with it basic. Wanting to get back into vim and use it as a web editor. One thing I ...
2
votes
3answers
217 views

VIM edit directory like BBEdit for Mac

I've recently started to really appreciate the power of VIM. Once you learn how to use it, coding and editing go a lot quicker. My main holdup is that I can't open a directory like a project in VIM, ...
3
votes
1answer
194 views

Anyone know how I can use the same keys to move between Vim windows as well as Tmux (or tiling WM) panes?

Anyone know how I can use the same keys to move between Vim windows as well as Tmux (or tiling WM) panes? For example when I use my key combination to move to the right pane within VIM, VIM should ...
0
votes
2answers
133 views

How do I get syntax elements to be automatically inserted on the next line in vim?

In vim, many syntax elements automatically get inserted on the next line when I start a newline. For example, if I am inside a vim file editing a comment in insert mode, when I go to the next line, I ...
0
votes
1answer
84 views

pathogen plugin installation alternative syntax

I was looking for some syntax highlighting goodness for handlebars in vim and the installation instructions say to do this... cd ~/.vim/ git submodule add git://github.com/nono/vim-handlebars.git ...
2
votes
2answers
128 views

Detect filetype in narrowed region

I am using the terrific NrrwRgn plugin. I often edit XML files with PHP in CDATA sections, so in the narrowed buffer I get this: <![CDATA[ $foo='bar'; doSomething($foo); ...
1
vote
1answer
656 views

MacVim, Command-T: SEGV

Details: OSX 10.7.4 I installed the latest MacVim via Homebrew: $ command-t brew install macvim ==> Downloading https://github.com/b4winckler/macvim/tarball/snapshot-64 Already downloaded: ...
1
vote
3answers
2k views

How to setup VIM for php development?

I have been trying a lot (but not smartly) to figure out setting up VIM, ctags, omnicomple for PHP development. On Googling I found this file. But have no clue how to use it. What have I done until ...
1
vote
1answer
301 views

How can I jump to signs in vim?

There are a couple of plugins that add signs (see :h sign) marking syntax errors in various files. In particular, the Vim-Latex-Suite adds syntax error signs in latex files, and the Drupal Vim plugin ...
3
votes
2answers
277 views

in Vim, how can i select enclosing block or paragraph

I want to select a current block recursively . for example i have this ruby code 1 def function 2 if true 3 if also_true 4 do this 5 end 6 end 7 end for example im in the 4th ...
1
vote
1answer
732 views

How to move previous opened file in NERDTree?

Does NERDTree have a stack to track opened files? I want to go back to previous file easily(As like ctags does by Ctrl+T). But I can't find the feature in it's manual. Is it even possible?