Skip to content

RDavies8/vimsetup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omar's vim setup

This is my vimrc with a script to install everything :) Enjoy.

Thanks to @Frew on StackOverflow for a big list of nice .vimrc tools.

Requirements

  • A terminal that supports 256 colors
  • Python-enabled vim. On Mac, you can install vim with Python by running brew install macvim --override-system-vim
  • A Powerline font (I like DejaVu Sans Mono for Powerline most)

Vim Features

Plugins

  • Syntastic - Syntax checking and linting with external tools
  • NERD commenter - Toggle comments on code easily (leader (default is backslash), then c, then space to toggle comments)
  • vim-autoformat - Formats code automatically with a button press! (F7)

... all installed with...

Vim color scheme

  • Luna - Pretty colors :)

... and a huge .vimrc full of goodies.

Extra: iTerm2 configuration

It contains...

  • My color scheme, modified from Solarized Dark
  • cmd-left/right jump words
  • option-left/right jump to beginning and end of line
  • cmd-delete deletes words
  • option-delete removes lines (undoable with cmd-Y)
  • cmd-option-left/right is next/prev tab
  • cmd-shift-leftright is to move tabs forward/backwards

Installation of iTerm2 config

  1. Make sure you have iTerm2 installed
  2. Go to Preferences... (cmd-,)
  3. General -> At the bottom, "Load Preferences from a custom folder or URL..."
  4. Enter the cloned repository directory (don't delete the repo if you plan on using this!

If it asks you to overwrite with your current profile, don't let it do that; and if you restart iTerm2 and it still shows your old profiles, then checkout the iterm2 config in the repo, and close iTerm2. It will prompt you for if you are okay with losing your old profile (If you're not, back it up!). You know what to do.

About

My vim setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 85.7%
  • Shell 14.3%