Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Last active March 18, 2020 15:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexclifford/8f427d12252776c94f178c530426cb08 to your computer and use it in GitHub Desktop.
Save alexclifford/8f427d12252776c94f178c530426cb08 to your computer and use it in GitHub Desktop.
My old .vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
set noexpandtab
set copyindent
set preserveindent
set softtabstop=0
set shiftwidth=8
set tabstop=8
set hlsearch
let &t_SI .= "\<Esc>[?2004h"
let &t_EI .= "\<Esc>[?2004l"
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()
function! XTermPasteBegin()
set pastetoggle=<Esc>[201~
set paste
return ""
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment