aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2016-12-23 12:33:06 -0700
committerCody Hiar <codyfh@gmail.com>2016-12-23 12:33:06 -0700
commit6504ac201e6e0f86c4db200b244e0ffaeb474aa4 (patch)
tree80ce9dfeb569a589ad19bbbb44293fb27298cd2e /plugin/vim-options.vim
parent1a0e3f6c87131697067a5823dd1c429d98d4703f (diff)
Trying out vim hardcore mode.
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 73c1e2e..88075a0 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -42,7 +42,17 @@ set statusline+=%2*\ %=\ %l/%L\ (%02p%%)\ "Rownumber/total (%)
"-----------------------------------------------------------------------------------------------------------------------
" Custom Mappings
"-----------------------------------------------------------------------------------------------------------------------
-:vmap y ygv<ESC> " Highlighting in vim leaves your cursor wherever you ended at
+" Hardcore Mode
+noremap <Up> <NOP>
+noremap <Down> <NOP>
+noremap <Left> <NOP>
+noremap <Right> <NOP>
+noremap h <NOP>
+noremap j <NOP>
+noremap k <NOP>
+noremap l <NOP>
+" Highlighting in vim leaves your cursor wherever you ended at
+:vmap y ygv<ESC>
" Formating a json file
com! Formatjson %!python -m json.tool
" Command for figuring out highlight group