Skip to content

Arkham/vimfiles-old

 
 

Repository files navigation

Arkham's vim configuration

Thanks to these guys:

My configuration uses Pathogen and git submodules. (But you don't need to care about any of that.)

Installation:

Prerequisites: ruby, git.

  1. Move your existing configuration somewhere else: mv ~/.vim* ~/.gvim* my_backup
  2. Clone this repo into ".vim": git clone https://github.com/Arkham/vimfiles ~/.vim
  3. 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:

  • For vim:
    • use pathogen as plugin environment
    • sane defaults: nocompatible mode, utf8, advanced syntax highlighting
    • 2 spaces, no tabs, uses bash-alike autocompletion for files and directories
    • tabs are displayed as , end of lines as ¬, trailing spaces as .
    • incremental, case-insensitive search
    • handful hard wrapping for text and markdown
    • follow style conventions for ruby, python and makefiles
    • reopen files in the same spot where you closed them
    • 'Leader' character mapped to "," (comma)
    • pressing enter in normal mode resets search highlighting
    • %% is expanded to the current directory in command mode
    • ,e edits a file in the same directory of the current
    • ,f opens file search via :CommandT plugin
    • ,, switches between two last buffers
    • ,cf jumps to the first conflict marker
    • ,l toggles list mode
    • ,p copies the path of the current file
    • :KillWhitespace removes all trailing spaces
    • <C-j/k/h/l> switches between windows (no need to prepend <C-w>)
    • cursor keys for movement disabled!
    • nice looking status line
    • awesome configurations for Ack, CommandT, Nerdtree and more..

Plugins:

  • ack
  • coffee-script
  • command-t
  • commentary
  • endwise
  • fugitive
  • gundo
  • haml
  • markdown
  • nerdtree
  • rails
  • ruby
  • supertab
  • tabular
  • vim-abolish
  • vim-airline
  • vim-eunuch
  • vim-jade
  • vim-javascript
  • vim-python-pep8-indent
  • vim-quickfixdo
  • vim-repeat
  • vim-rspec
  • vim-ruby-refactoring
  • vim-slim
  • vim-stylus
  • vim-surround
  • vim-tango
  • vim-visualstar
  • vim-vividchalk
  • yankring.vim

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 85.2%
  • Ruby 14.3%
  • Shell 0.5%