add mapping for leader g d to do a diff, and dont add terminals

This commit is contained in:
Paul Trowbridge 2023-04-25 15:02:27 -04:00
parent 8a56de017a
commit 6aef27028f
2 changed files with 16 additions and 12 deletions

View File

@ -73,3 +73,7 @@ vim.cmd('set shiftwidth=4')
vim.cmd('set expandtab') vim.cmd('set expandtab')
vim.o.hidden = true vim.o.hidden = true
-- Git diffthis
vim.api.nvim_set_keymap('n', '<leader>gd', ':Gitsigns diffthis<CR>', {noremap = true, silent = true})

View File

@ -329,19 +329,19 @@ M.nvterm = {
}, },
-- new -- new
["<leader>h"] = { --["<leader>h"] = {
function() -- function()
require("nvterm.terminal").new "horizontal" -- require("nvterm.terminal").new "horizontal"
end, -- end,
"new horizontal term", -- "new horizontal term",
}, --},
["<leader>v"] = { --["<leader>v"] = {
function() -- function()
require("nvterm.terminal").new "vertical" -- require("nvterm.terminal").new "vertical"
end, -- end,
"new vertical term", -- "new vertical term",
}, --},
}, },
} }