nvim: modules: floaterm: Add key mapping to open lazygit directly
This commit is contained in:
parent
f14d8c6630
commit
8b8b7ec139
1 changed files with 3 additions and 2 deletions
|
@ -7,5 +7,6 @@ vim.g.floaterm_height = 0.8
|
|||
vim.g.floaterm_winblend = 0
|
||||
vim.g.floaterm_borderchars = {'─', '│', '─', '│', '╭', '╮', '╯', '╰'}
|
||||
|
||||
remap('n', '<C-z>', ':FloatermToggle<Enter>', { noremap = true, silent = true })
|
||||
remap('t', '<C-z>', '<C-\\><C-n>:FloatermToggle<Enter>', { noremap = true, silent = true })
|
||||
remap('n', '<C-z>', ':FloatermToggle<CR>', { noremap = true, silent = true })
|
||||
remap('t', '<C-z>', '<C-\\><C-n>:FloatermToggle<CR>', { noremap = true, silent = true })
|
||||
remap('n', '<Leader>G', ':FloatermNew lazygit -ucd ~/.config/lazygit<CR>', {noremap = true, silent = true})
|
||||
|
|
Loading…
Reference in a new issue