vim: add vim-fugitive
This commit is contained in:
parent
8c530d5d2d
commit
34a4debbce
2 changed files with 7 additions and 0 deletions
|
@ -62,6 +62,10 @@ register {
|
|||
-- quickly change background
|
||||
M('n', '<leader>bg', [[:let &background = &background ==? 'light' ? 'dark' : 'light'<cr>]]),
|
||||
|
||||
-- use fugitive
|
||||
M('n', '<leader>gg', ':G<cr>'),
|
||||
M('n', '<leader>g<space>', ':G '),
|
||||
|
||||
-- disable highlight until next search
|
||||
M('n', '<leader>h', ':nohlsearch<cr>'),
|
||||
|
||||
|
|
|
@ -22,6 +22,9 @@ local plugins = function(use)
|
|||
use 'godlygeek/tabular'
|
||||
use 'tpope/vim-commentary'
|
||||
|
||||
-- git ----------------------------------------------------------------
|
||||
use 'tpope/vim-fugitive'
|
||||
|
||||
-- Filetypes --------------------------------------------------------------
|
||||
|
||||
use 'elzr/vim-json'
|
||||
|
|
Loading…
Add table
Reference in a new issue