diff --git a/init.lua b/init.lua index 9ad6b12..ae8c3a9 100644 --- a/init.lua +++ b/init.lua @@ -73,3 +73,7 @@ vim.cmd('set shiftwidth=4') vim.cmd('set expandtab') vim.o.hidden = true + +-- Git diffthis +vim.api.nvim_set_keymap('n', 'gd', ':Gitsigns diffthis', {noremap = true, silent = true}) + diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 36f18a5..cf08429 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -329,19 +329,19 @@ M.nvterm = { }, -- new - ["h"] = { - function() - require("nvterm.terminal").new "horizontal" - end, - "new horizontal term", - }, + --["h"] = { + -- function() + -- require("nvterm.terminal").new "horizontal" + -- end, + -- "new horizontal term", + --}, - ["v"] = { - function() - require("nvterm.terminal").new "vertical" - end, - "new vertical term", - }, + --["v"] = { + -- function() + -- require("nvterm.terminal").new "vertical" + -- end, + -- "new vertical term", + --}, }, }