Advertisement
rjlth

vimrc

Jul 10th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 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=110
  13. "highlight ColorColumn ctermbg=darkgray
  14. set lines=45
  15. set columns=80
  16. set showmatch
  17. set hlsearch
  18. set incsearch
  19. set ignorecase
  20. set backspace=2
  21. set backspace=indent,eol,start
  22. set sm
  23. set nocompatible
  24.  
  25.  
  26. set makeprg=g++\ %\ -o\ %<\ -Wall\ -O2
  27. nmap <F1> :cn<cr>
  28. nmap <F2> :w<cr>:make<cr>
  29. nmap <F3> :grep<cr>
  30. nmap <F4> :make test<cr>
  31. nmap <F5> :make run<cr>
  32. nmap <F8> :SCCompileRun
  33. nmap <F9> :SCCompile
  34. imap <F2> <ESC>/START<cr>O
  35. imap <F3> <ESC>/return<cr>kA
  36.  
  37. nmap :W :w
  38. nmap :Q :q
  39. nmap :WQ :wq
  40. nmap :Wq :wq
  41. nmap :Q! :q!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement