From 0623db7802ae6f799d7141f259c7950ff3262786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Thu, 16 Feb 2017 14:48:40 +0100 Subject: [PATCH] Vim: OCaml bindings, disallow arrows --- files/.vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/files/.vimrc b/files/.vimrc index f66093a..6dbf412 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -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 i xnoremap x :'<,'>:w !xclip -selection clipboard set tw=79 + +" Disable arrow keys - use hjkl, ffs. +noremap +noremap +noremap +noremap