Skip to content

Instantly share code, notes, and snippets.

@subfuzion
Created February 4, 2015 18:15
Show Gist options
  • Save subfuzion/5d96821e9c24392f0acb to your computer and use it in GitHub Desktop.
Save subfuzion/5d96821e9c24392f0acb to your computer and use it in GitHub Desktop.
vimrc file
syntax on
set nowrap
set nonumber
set ruler
set shiftwidth=2
set showmode
set ai sw=2
set vb t_vb=
" http://vim.wikia.com/wiki/Easier_buffer_switching
set hidden
set confirm
set autowriteall
set wildmenu wildmode=full
set scrolloff=9999
" https://github.com/kien/ctrlp.vim
set runtimepath^=~/.vim/bundle/ctrlp.vim
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_working_path_mode = ''
:nnoremap <F5> :buffers<CR>:buffer<Space>
" awesome tip; use jj for escape
" http://vim.wikia.com/wiki/Avoid_the_escape_key
:imap jj <Esc>
:map <C-J> <C-E>
:map <C-K> <C-Y>
" thanks to appcelerator :-(
" set ts=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment