Skip to content

Instantly share code, notes, and snippets.

@vagmi
Created June 23, 2011 13:12
Show Gist options
  • Select an option

  • Save vagmi/1042509 to your computer and use it in GitHub Desktop.

Select an option

Save vagmi/1042509 to your computer and use it in GitHub Desktop.
put it in ~
filetype plugin on
"filetype off
call pathogen#helptags()
call pathogen#runtime_append_all_bundles()
set vb
set autoindent
set smarttab
set expandtab
set tabstop=2
set shiftwidth=2
set ic
set guifont=Monaco:h14
set foldmethod=syntax
set foldcolumn=2
set linebreak
" i really need the long lines mode
nnoremap j gj
nnoremap k gk
vnoremap j gj
vnoremap k gk
nnoremap <Down> gj
nnoremap <Up> gk
vnoremap <Down> gj
vnoremap <Up> gk
inoremap <Down> <C-o>gj
inoremap <Up> <C-o>gk
set statusline=%F%m%r%h%w\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]\ %{fugitive#statusline()}
set laststatus=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment