mlippert / vim-dotfiles

My configuration files for vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-dotfiles

My configuration files for vim.

Manual config

A few things may need to be done the first time these dot files are installed to make sure vim finds them and doesn't have any issues.

Create links

  • .vimrc -> .vim/rc/vimrc
  • .gvimrc -> .vim/rc/gvimrc

Make sure that the directory .vim/tmp exists for storing backup files

Notes on the vim configuration

uses pathogen to install plugins located in .vim/bundle. These plugins are git submodules as recommended on Vim Cast #27.

  • buffet : A buffer management plugin, It replaced LustyJuggler. LustyJuggler doesn't handle a lot of buffers well, and doesn't have a way to delete them. One mention in stack overflow w/ sample config.
  • UltiSnips : the original snipmate author Marc Weber recommends this snippet plugin now. It has become a staple, I rely on it every day.
  • vim-snippets : Ultisnips extracted the standard snippets they supplied to this plugin.
  • supertab
  • surround : This article describes it.
  • vim-colors-solarized
  • vim-jsbeautify
  • taglist
  • Tagbar : may be better for me particularly w/ javascript than taglist. The wiki has information on getting support for specific filetypes. If I can get jsctags installed and working it should improve javascript tag info. However there are issues.
  • NERDTree
  • vim-markdown : plasticboy's version sounds more useful than tpope's.
  • vim-session : turns out I'm not using this plugin that much. I think it works well, it just turned out my workflow didn't really need sessions.

I have edited the .vim/javascript.vim file I originally got from http://vadconf.googlecode.com/svn/trunk/vim/syntax/javascript.vim in order to add some jsdoc tags (interface, implements, typedef, todo etc.).

Uses the solarized color scheme with a few minor adjustments in .gvimrc.

I've put a bunch of color schemes into the .vim/colors directory, including one named lippert that I created using vivify, but I ended up not loving any of them and realizing that all I needed was a couple of adjustments I could make in .gvimrc.

Key mappings

Command mode

  • <F8> - toggle the taglist window
  • cp{motion} - Change by putting whats in the default("") yank buffer.
  • <leader>d - :NERDTreeToggle (File explorer)
  • <F12> - :Bufferlistsw (open buffer list)

Future investigation

Plugins

  • vim-jsdoc plugin
  • fugitive article : I've read the article, and for now anyway, I don't think I need this plugin.
  • TagmaBufMgr : I want a visual list of buffers that I can use to close buffers, this may work, not sure if I'd replace lustyjuggler since that's working pretty well for me.

syntax files

color schemes

other people's vim configurations

The perfect .vimrc vim config file last updated May 2011

Installation Notes

MS Windows

Vim 7.3 for MS Windows has issues w/ ruby plugins, namely they crash gvim. Googling turned up others describing this problem as well as someone who has kindly recompiled vim for windows so it works and posted it. Thank you Wu Yongwei. The version I downloaded May 2013 worked like a charm.

About

My configuration files for vim


Languages

Language:Vim Script 100.0%