Guest User

Untitled

a guest
Jan 19th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. set encoding=utf-8
  2. scriptencoding utf-8
  3. set fileencoding=utf-8
  4. set fileencodings=ucs-boms,utf-8,euc-jp,cp932
  5. set fileformats=unix,dos,mac
  6. set ambiwidth=double
  7. set autoread
  8. set showcmd
  9. set number
  10. set cursorline
  11. set cursorcolumn
  12. set virtualedit=onemore
  13. set autoindent
  14. set smartindent
  15. set showmatch
  16. source $VIMRUNTIME/macros/matchit.vim
  17. set laststatus=2
  18. set wildmode=list:longest
  19. nnoremap j gj
  20. nnoremap k gk
  21. set expandtab
  22. set tabstop=2
  23. set softtabstop=2
  24. set shiftwidth=2
  25. set incsearch
  26. set wrapscan
  27. set hlsearch
  28. nmap <Esc><Esc> :nohlsearch<CR><Esc>
  29. set lines=55
  30. set columns=180
  31. colorscheme koehler
  32. set background=dark
  33.  
  34.  
  35. if &term =~ "xterm"
  36. let &t_SI .= "\e[?2004h"
  37. let &t_EI .= "\e[?2004l"
  38. let &pastetoggle = "\e[201~"
  39.  
  40. function XTermPasteBegin(ret)
  41. set paste
  42. return a:ret
  43. endfunction
  44.  
  45. inoremap <special> <expr> <Esc>[200~ XTermPasteBegin("")
  46. endif
Add Comment
Please, Sign In to add comment