aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2016-12-23 12:38:39 -0700
committerCody Hiar <codyfh@gmail.com>2016-12-23 12:38:39 -0700
commit5674cce2dd25ce6a99b511b14766900329d03502 (patch)
tree849f4bbae810be3a4da18dd4e869af3690a199bc
parent6504ac201e6e0f86c4db200b244e0ffaeb474aa4 (diff)
Changing highlight command to not interfere with comma
-rw-r--r--plugin/vim-options.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 88075a0..425d376 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -56,7 +56,7 @@ noremap l <NOP>
" Formating a json file
com! Formatjson %!python -m json.tool
" Command for figuring out highlight group
-map ,hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" . " FG:" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#")<CR>
+map <leader>hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" . " FG:" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#")<CR>
" Faster saving
noremap <leader>w :update<CR>
" Faster quiting