Skip to content

Instantly share code, notes, and snippets.

@chriswessells
Created October 27, 2017 03:47
Show Gist options
  • Save chriswessells/9c2aed83003df41e7665d8a8d9471d99 to your computer and use it in GitHub Desktop.
Save chriswessells/9c2aed83003df41e7665d8a8d9471d99 to your computer and use it in GitHub Desktop.
Setting up a vim IDE
#
# add this command to your .profile or .bash_profile
alias vim='tmux new-session -d 'vim' \; split-window -v \; resize-pane -D 13 \; split-window -h \; resize-pane -R 13 \; attach'
execute pathogen#infect()
syntax enable
filetype plugin indent on
set background=dark
let g:solarized_termcolors=256
colorscheme solarized
set tabstop=2 shiftwidth=2 expandtab
map <C-n> :NERDTreeToggle<CR>
if exists('+colorcolumn')
set colorcolumn=120
else
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>120v.\+', -1)
endif
set number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment