Colorschemes

Light

  • autumn
  • solarized (works well with org-mode in 256-color console)

Dark

  • wombat works fine with solarized

Old stuff

Plugins

surround.vim

Get it here. It will allow you to enclose selected text in several ways: using parentheses () {} [], quotes "" '', functions (programming), and even xml tags

VCSCommand

Integration with several VCS programs, including subversion and Git. The :VCSVimDiff command is what I use the most; it shows the uncommited changes of the current file. Get it here

Vim-LaTeX

Allows creating/renaming LaTeX commands and environments quickly, compilation and error checking directly from within Vim, bibliography and label completion. Link

supertab

Allows you to do insert-mode completion with the Tab key (word completion, omni completion, file completion). Link

bufgrep

With it you can search for a pattern in all the open buffers and get a listing of all the matches in the quickfix window.

Get it here

General

Windows

Force a window to go to the bottom of the screen, and use all the available horizontal space: ^W J

diff view without diff highlighting

From Andy Wokula

Diff highlighting is overlayed to normal syntax highlighting, thus
just "clearing" the colors should do it, e.g. with the 'highlight' option
    :h 'hl
    :set hl+=A:none,C:none,D:none,T:none

get normal diff colors back:
    :set hl&

see error window

:cwindow

Useful for :vimgrep and :make

scroll simultaneously on two windows

:set scrollbind on both windows

Scripting

Useful functions

  • expand: get filenames of current buffer, word under the cursor, etc.

RSS Feed