blob: 0172fbe9ef95fd557e5be61b57f0f245b7ec9f5c (
plain)
1
2
3
4
5
6
7
|
local key = require("gabrielgio.key")
key.nnoremap("<C-n>", ":Neogit kind=replace<cr>")
key.nnoremap("<C-p>", ":ToggleTerminal<cr>")
key.tnoremap("<C-p>", "<C-\\><C-n>:ToggleTerminal<cr>")
key.tnoremap("<Esc>", "<C-\\><C-n>")
key.tnoremap("<C-n>", "<C-\\><C-n>:Neogit kind=replace<cr>")
|