Guest User

Untitled

a guest
Jul 3rd, 2015
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. set nocompatible
  2.  
  3. " allow backspacing over everything in insert mode
  4. set backspace=indent,eol,start
  5.  
  6. set history=50 " keep 50 lines of command line history
  7. set ruler " show the cursor position all the time
  8. set showcmd " display incomplete commands
  9. set incsearch " do incremental searching
  10.  
  11. set mouse=a
  12. set noswapfile
  13. set nobackup
  14. set title " xterm-title
  15.  
  16. set encoding=utf-8
  17. set fileencoding=utf-8
  18.  
  19. execute pathogen#infect()
  20.  
  21. syntax on
  22. filetype plugin indent on
  23.  
  24. let g:syntastic_javascript_jshint_args = '--config /home/lorizean/.jshintrc'
  25. let g:ycm_confirm_extra_conf = 0
  26.  
  27. augroup vimrcEx
  28. au!
  29.  
  30. " When editing a file, always jump to the last known cursor position.
  31. " Don't do it when the position is invalid or when inside an event handler
  32. " Also don't do it when the mark is in the first line, that is the default
  33. " position when opening a file.
  34. autocmd BufReadPost *
  35. \ if line("'\"") > 1 && line("'\"") <= line("$") |
  36. \ exe "normal! g`\"" |
  37. \ endif
  38.  
  39. augroup END
  40.  
  41. "Colemak bindings
  42. noremap n j
  43. noremap e k
  44. noremap i l
  45. noremap s d
  46. noremap f e
  47. noremap t f
  48. noremap d g
  49. noremap dd gg
  50. noremap u i
  51. noremap k n
  52. noremap y o
  53. noremap p r
  54. noremap r s
  55. noremap g t
  56. noremap l u
  57. noremap j y
  58. noremap S D
  59. noremap F E
  60. noremap T F
  61. noremap D G
  62. noremap N J
  63. noremap U I
  64. noremap E J
  65. noremap I L
  66. noremap K N
  67. noremap Y O
  68. noremap P R
  69. noremap R S
  70. noremap G T
  71. noremap L U
  72. noremap J Y
  73. noremap o ;
  74. noremap O :
  75. noremap ; p
  76. noremap : P
  77.  
  78. noremap <C-w>n <C-w>j
  79. noremap <C-w>e <C-w>k
  80. noremap <C-w>i <C-w>l
  81. noremap <C-w>k <C-w>n
Advertisement
Add Comment
Please, Sign In to add comment