aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2020-08-11 13:27:45 -0600
committerCody Hiar <cody@hiar.ca>2020-08-11 13:27:45 -0600
commiteb76b890bd78e737477fe47436b23d612e1c86a0 (patch)
tree67da2db5e7d4f285a99bba014219c40469fb73d7 /plugin
parent732574d9af23e3a7913ac8c7ed350e3ef2db764b (diff)
Add shortcut to for reloading file
Diffstat (limited to 'plugin')
-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 919ddb5..7646a91 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -121,6 +121,8 @@ nnoremap <C-w><C-t> <C-w>v<C-w>T
noremap <leader>ei :!isort %<CR>
" Run black on file
noremap <leader>eb :!black %<CR>
+" Reload a file
+noremap <leader>ee :e!<CR>
" Session saving
function! SaveSession()
:mksession! ./session.vim