Remap to open neogit interface: <leader>g

This commit is contained in:
Haak Saxberg 2023-01-28 22:37:41 -08:00
parent c782fff1fc
commit 6da45dc7bd
2 changed files with 6 additions and 4 deletions

View file

@ -68,7 +68,12 @@ with builtins;
'';
}
vim-surround
neogit
{
plugin = neogit;
config = ''
noremap <leader>g :Neogit<CR>
'';
}
vinegar
{
plugin = gitsigns-nvim;

View file

@ -46,9 +46,6 @@ autocmd BufWritePre * :%s/\s\+$//e
""" Handy remaps
noremap ; :
inoremap jj <Esc>
map <silent> <leader>V :source ~/.config/nvim/init.vim<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR>
map \q :q<CR>
map \w :w<CR>
noremap Q <nop>
""" Esperanto digraphs (for use with ctrl-k)