add mapping for leader g d to do a diff, and dont add terminals
This commit is contained in:
parent
8a56de017a
commit
6aef27028f
4
init.lua
4
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', '<leader>gd', ':Gitsigns diffthis<CR>', {noremap = true, silent = true})
|
||||
|
||||
|
@ -329,19 +329,19 @@ M.nvterm = {
|
||||
},
|
||||
|
||||
-- new
|
||||
["<leader>h"] = {
|
||||
function()
|
||||
require("nvterm.terminal").new "horizontal"
|
||||
end,
|
||||
"new horizontal term",
|
||||
},
|
||||
--["<leader>h"] = {
|
||||
-- function()
|
||||
-- require("nvterm.terminal").new "horizontal"
|
||||
-- end,
|
||||
-- "new horizontal term",
|
||||
--},
|
||||
|
||||
["<leader>v"] = {
|
||||
function()
|
||||
require("nvterm.terminal").new "vertical"
|
||||
end,
|
||||
"new vertical term",
|
||||
},
|
||||
--["<leader>v"] = {
|
||||
-- function()
|
||||
-- require("nvterm.terminal").new "vertical"
|
||||
-- end,
|
||||
-- "new vertical term",
|
||||
--},
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user