Vim: OCaml bindings, disallow arrows
This commit is contained in:
parent
2e37faa774
commit
0623db7802
1 changed files with 7 additions and 1 deletions
|
@ -12,6 +12,7 @@ set smartindent
|
|||
set incsearch
|
||||
set ttimeoutlen=100
|
||||
set scrolloff=5
|
||||
set tw=79
|
||||
|
||||
set exrc
|
||||
set secure
|
||||
|
@ -74,7 +75,6 @@ let g:syntastic_ocaml_checkers = ['merlin']
|
|||
"""" Ocp-indent (OCaml indentation)
|
||||
set rtp^=g:opamshare."/ocp-indent/vim"
|
||||
|
||||
|
||||
""""""""""""""""" Trailing whitespaces
|
||||
fun! TrimWhitespace()
|
||||
let l:save_cursor = getpos('.')
|
||||
|
@ -99,3 +99,9 @@ nnoremap K <Esc>i<CR><Esc>
|
|||
xnoremap <Leader>x <esc>:'<,'>:w !xclip -selection clipboard<CR><esc>
|
||||
|
||||
set tw=79
|
||||
|
||||
" Disable arrow keys - use hjkl, ffs.
|
||||
noremap <Up> <NOP>
|
||||
noremap <Down> <NOP>
|
||||
noremap <Left> <NOP>
|
||||
noremap <Right> <NOP>
|
||||
|
|
Loading…
Reference in a new issue