Skip to content

davedesro/vimfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dave's Vim Configuration

Originally forked from Mislav motivated by his blog post. I routinely cherry pick his checkins.

The configuration uses Vundle.

The decision to use plugins are driven by my development requirements. Ruby on Rails, Javascript/CoffeeScript, HAML, SASS, C, and BASH.

I put effort in making sure all plugins play nicely and are consistent indepenedent of language.

Please let me know if there's a must have that I haven't found.

Installation:

Prerequisites: ruby, git, vim compiled with Ruby and Python.

  1. Manually git clone vundle and put it in the bundle directory
  2. Move your existing configuration somewhere else: mv ~/.vim* ~/.gvim* my_backup
  3. Clone this repo into ".vim": git clone https://github.com/Pliny/vimfiles.git ~/.vim
  4. Go into ".vim" and run "rake": cd ~/.vim && rake

This will install "/.vimrc" and "/.gvimrc" symlinks that point to files inside the ".vim" directory.

Features:

  • 2 spaces, no tabs
  • incremental, case-insensitive search
  • 'Leader' character mapped to "," (comma)
  • ,f opens file search via :CommandT plugin
  • ,, switches between two last buffers
  • <C-j/k/h/l> switches between windows (no need to prepend <C-w>)
  • cursor keys for movement disabled!
  • run rspec tests in editor
  • handy autocomplete features for brackets and blocks
  • <M-l/h> pushes/pops the tag stack
  • Different color schemes for different languages
  • Basic shell support
  • ,h toggles between source and header files

Plugins:

  • ack
  • command-t
  • commentary
  • endwise
  • fugitive
  • markdown
  • rails
  • haml
  • scss
  • coffee-script
  • conque
  • vim-ruby-conque
  • delimitmate
  • gundo
  • javascript
  • json
  • matchit
  • surround
  • tcomment
  • vim-pasta
  • mustache
  • ruby
  • taglist
  • markdown-folding
  • eunuch
  • clang_complete
  • supertab
  • FSwitch

About

vim configuration – Ruby, Rails, Markdown, SCSS, CoffeeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 87.6%
  • Lua 8.7%
  • Ruby 3.7%