Skip to content

Instantly share code, notes, and snippets.

@tastycode
Created August 16, 2011 14:12
Show Gist options
  • Save tastycode/1149179 to your computer and use it in GitHub Desktop.
Save tastycode/1149179 to your computer and use it in GitHub Desktop.
development_tools
"pathogen is a plugin manager
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
"save my position / view next time ai load the file
au BufWinLeave * mkview
au BufWinEnter * silent loadview
"highlight column/linee
if &bg == 'dark'
hi CursorLine gui=NONE guibg=#333333
else
hi CursorLine gui=NONE guibg=#CCCCCC
endif
hi! link CursorColumn CursorLine "
" disable arrow keys
map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>
"enable filetype detection
if has("autocmd")
filetype plugin indent on
endif
syntax on
set t_Co=256
set number
set autoindent
set smartindent
set sw=2
set ts=2
set expandtab
set magic
"set mouse=a
"set ttymouse=xterm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment