aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-02-22 16:22:05 -0700
committerCody Hiar <codyfh@gmail.com>2017-02-22 16:22:05 -0700
commitd9d2f3e3e0ef9bbc428790c9178a00fedaf0d556 (patch)
treee4f663f5e4702a8caa8de8d312a7aa80db9dc4c6 /plugin/vim-options.vim
parentaf98fd089b65f3c432320d2fb8dbcd1288bb2561 (diff)
Adding the git diff command
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index a9b23ce..bdeba08 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -198,6 +198,7 @@ if !empty(glob(EditorDir.'plugged/vim-fugitive/plugin/fugitive.vim'))
command ToggleGStatus :call ToggleGStatus()
nnoremap <leader>gs :ToggleGStatus<CR>
nnoremap <leader>gc :Gcommit --verbose<CR>
+ nnoremap <leader>gd :Gdiff --verbose<CR>
endif
"-----------------------------------------------------------------------------------------------------------------------