aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 8a9e0d7..c14c35b 100644
--- a/vimrc
+++ b/vimrc
@@ -247,6 +247,9 @@
" 2014.07.06:
" * Ignore `node_modules/` directory from Command-T.
"
+" 2014.09.10:
+" * Add <leader>r mapping to reload the current file.
+"
" Pathogen
@@ -545,6 +548,9 @@ nnoremap <leader>of :execute '!open "' . expand('%:p:h') . '"'<cr>
" literally (as in "\<lt>cr>"), which is of course not what I wanted.
nnoremap <leader>hs $F<i<cr><esc>k0f>a<cr><tab><esc>
+" Reload current file (reopen to see changed made outside of vim)
+nnoremap <leader>r :edit!<cr>
+
" Commands