Browse files

some animals are more equal than others

  • Loading branch information...
epower committed Jan 27, 2016
1 parent 72230aa commit c9f416502251e322bfa7827fd5f9ad6c598cf68d
Showing with 10 additions and 2 deletions.
  1. +10 −2 vimrc
12 vimrc
@@ -8,21 +8,29 @@ set wildmenu
set incsearch
set hlsearch
set autoindent
-set softtabstop=4
-set shiftwidth=4
+set softtabstop=2
+set shiftwidth=2
set expandtab
set number
set linebreak
+set nofoldenable
+" 4 spaces for Python
+autocmd Filetype py setlocal ts=4 sw=4
" Tab shortcuts
:map tn :tabnew<CR>
:map tj :tabprevious<CR>
:map tk :tabnext<CR>
:map ts :setlocal spell spelllang=en_gb<CR>
:map td :setlocal nospell<CR>
+:map tg :NERDTreeToggle<CR>
" Paste Toggle
set pastetoggle=<F2>
+" OSX Clipboard copy
+:map ty :w !pbcopy<CR>
" Tag Auto Close
:iabbrev <// </<C-X><C-O>

0 comments on commit c9f4165

Please sign in to comment.