/mah-vimrc

My .vimrc file for Ruby development

Primary LanguageVim Script

Mah-vimrc

My .vimrc file for Ruby development

Screenshot

Setup

Install iTerm2 Material Design (Option)

  • Requirement: iTerm2

  • Clone the repo or download the file iTerm2 Material Design

  • iTerm2 > Preferences > Profiles > Colors Tab

  • Click Color Presets...

  • Click Import...

  • Select the material-design-colors.itermcolors file

  • Select the material-design-colors from Load Presets...

Implement mah-vimrc

$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
$ git clone https://github.com/SFzxc/mah-vimrc.git

$ cp mah-vimrc/vimrc ~/.vimrc

$ vim
    :PluginInstall
    :q!

General Mappings

  • I map leader to comma, because it is much easier on OS-X.
  • Disable arrows key, it will help us to avoid habbit of using arrows to do things
  • By pressing jj i can escape to normal mode any time instead of pressing ESC
  • Move to beginning/end of line with B/E
  • ... Check vimrcfile for more mapping informations

Plugins