forked from extern/nix-config
fix(neovim): Manually toggle git blame
This fixes an issue where git blame would still show a single fixed line in zen mode previously.
This commit is contained in:
parent
6991587294
commit
5f629bf0d6
@ -138,6 +138,7 @@ in
|
||||
let mapleader = ' '
|
||||
nnoremap <silent> <leader>e :set nu!<CR>
|
||||
nnoremap <silent> <leader>t :OverCommandLine<CR>%s/
|
||||
nnoremap <silent> <leader>o :GitBlameToggle<CR>
|
||||
nnoremap <silent> <leader>a <C-w>w
|
||||
nnoremap <silent> <leader>s :Alpha<CR>
|
||||
nnoremap <silent> <leader>d :Bdelete<CR>
|
||||
@ -322,11 +323,9 @@ in
|
||||
},
|
||||
},
|
||||
on_open = function(win)
|
||||
vim.cmd("GitBlameDisable")
|
||||
vim.cmd("ScrollbarHide")
|
||||
end,
|
||||
on_close = function()
|
||||
vim.cmd("GitBlameEnable")
|
||||
vim.cmd("ScrollbarShow")
|
||||
end,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user