Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- " allow backspacing over everything in insert mode
- set backspace=indent,eol,start
- set history=50 " keep 50 lines of command line history
- set ruler " show the cursor position all the time
- set showcmd " display incomplete commands
- set incsearch " do incremental searching
- set mouse=a
- set noswapfile
- set nobackup
- set title " xterm-title
- set encoding=utf-8
- set fileencoding=utf-8
- execute pathogen#infect()
- syntax on
- filetype plugin indent on
- let g:syntastic_javascript_jshint_args = '--config /home/lorizean/.jshintrc'
- let g:ycm_confirm_extra_conf = 0
- augroup vimrcEx
- au!
- " When editing a file, always jump to the last known cursor position.
- " Don't do it when the position is invalid or when inside an event handler
- " Also don't do it when the mark is in the first line, that is the default
- " position when opening a file.
- autocmd BufReadPost *
- \ if line("'\"") > 1 && line("'\"") <= line("$") |
- \ exe "normal! g`\"" |
- \ endif
- augroup END
- "Colemak bindings
- noremap n j
- noremap e k
- noremap i l
- noremap s d
- noremap f e
- noremap t f
- noremap d g
- noremap dd gg
- noremap u i
- noremap k n
- noremap y o
- noremap p r
- noremap r s
- noremap g t
- noremap l u
- noremap j y
- noremap S D
- noremap F E
- noremap T F
- noremap D G
- noremap N J
- noremap U I
- noremap E J
- noremap I L
- noremap K N
- noremap Y O
- noremap P R
- noremap R S
- noremap G T
- noremap L U
- noremap J Y
- noremap o ;
- noremap O :
- noremap ; p
- noremap : P
- noremap <C-w>n <C-w>j
- noremap <C-w>e <C-w>k
- noremap <C-w>i <C-w>l
- noremap <C-w>k <C-w>n
Advertisement
Add Comment
Please, Sign In to add comment