Advertisement
rjlth

vimrc_1

Jul 14th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. set langmap=ёйцукенгшщзхъфывапролджэячсмитьбюЙЦУКЕHГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ;`qwertyuiop[]asdfghjkl\\;'zxcvbnm\\,.QWERTYUIOP{}ASDFGHJKL:\\"ZXCVBNM<>
  2. set tabstop=4 " tab width is 4 spaces
  3. set shiftwidth=4 " indent also with 4 spaces
  4. set expandtab
  5. set cin
  6. set number
  7. color darkblue
  8. set grepprg=./%<
  9. se guioptions-=T
  10. set autoindent
  11. syntax on
  12. set colorcolumn=200
  13. "highlight ColorColumn ctermbg=darkgray
  14. set lines=45
  15. set columns=80
  16. set hlsearch
  17. set incsearch
  18. set ignorecase
  19. set backspace=2
  20. set backspace=indent,eol,start
  21. set sm
  22. set nocompatible
  23. set noswapfile
  24. set autoread
  25.  
  26. set makeprg=g++\ %\ -o\ %<\ -Wall\ -O2
  27. "nmap <F1> :cn<cr>
  28. nmap <F1> :tabnew output.txt<bar>:new input.txt<cr>
  29. nmap <F2> :w<cr>:make<cr>
  30. nmap <F3> :grep<cr>
  31. nmap <F4> :make test<cr>
  32. nmap <F5> :make run<cr>
  33. nmap <F8> :SCCompileRun
  34. nmap <F9> :SCCompile
  35. imap <F2> <ESC>/START<cr>O
  36. imap <F3> <ESC>/return<cr>kA
  37. nmap <C-w> :tabclose<cr>
  38. nmap <C-Tab> :tabnext <cr>
  39. nmap <C-S-Tab> :tabprevious <cr>
  40.  
  41. nmap :W :w
  42. nmap :Q :q
  43. nmap :WQ :wq
  44. nmap :Wq :wq
  45. nmap :Q! :q!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement