diff options
author | j-james | 2020-11-15 09:12:11 +0000 |
---|---|---|
committer | j-james | 2020-11-15 09:12:11 +0000 |
commit | bfd3af815521f43fed4f51d032c0e2937085ca99 (patch) | |
tree | 1bd44e988c425210fad3b97f9da5a993929c74dc /autoload | |
parent | 8f087f7d8b5490d96baacabbb62ac57354a3ca24 (diff) |
Create vim-plug shortcuts
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/heresy.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/autoload/heresy.vim b/autoload/heresy.vim index 57fa852..8af72f9 100644 --- a/autoload/heresy.vim +++ b/autoload/heresy.vim @@ -126,6 +126,14 @@ function! g:SetShortcuts() snoremap <silent> <C-Y> <Esc><C-O><C-R> endif + if g:heresy_plugin_shortcuts == 1 + " Update plugins + inoremap <C-U> <C-O>:PlugUpdate<CR> + " Install plugins + " TODO: The tab key outputs CTRL+I instead of Tab -_- + " inoremap <C-I> <C-O>:PlugInstall<CR> + endif + if g:heresy_find_shortcuts == 1 " Find inoremap <C-F> <C-O>/ |