aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-05-13 09:10:13 -0600
committerCody Hiar <codyfh@gmail.com>2017-05-13 09:10:13 -0600
commit3552858ed0dfbc4f4d55ecd8475e4f3660c7bd7e (patch)
tree6567d823b97691ab38735accc577810dbeab4e13 /plugin/vim-options.vim
parent7b8b624589bf8b3420ded888b263fae3d7fb1e41 (diff)
Adding back quick save funciton
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 180dba7..7b49be5 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -139,6 +139,8 @@ endfunction
inoremap <Tab> <C-R>=CleverTab()<CR>
" type jj to get out of insert mode
inoremap jj <ESC>
+" Quick saving
+nnoremap <leader>w :w<CR>
" Ctags for python project
command! MakeTagsPython !ctags --languages=python --python-kinds=-i -R .
" Command for figuring out highlight group