Created
October 27, 2017 03:47
-
-
Save chriswessells/9c2aed83003df41e7665d8a8d9471d99 to your computer and use it in GitHub Desktop.
Setting up a vim IDE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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