gabrielgio.lua @ dfe730b889915e33af1d3da810b13aa9d1d4253c

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