Skip to content

Instantly share code, notes, and snippets.

@RWOverdijk
Last active March 5, 2018 09:06
Show Gist options
  • Select an option

  • Save RWOverdijk/6831155 to your computer and use it in GitHub Desktop.

Select an option

Save RWOverdijk/6831155 to your computer and use it in GitHub Desktop.
if has("syntax")
syntax on
endif
nnoremap tt :tabprevious<CR>
nnoremap tr :tabnext<CR>
nnoremap <C-t> :tabnew .<CR>
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
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