mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Keymap layout is now Lazy-centric
This commit is contained in:
@@ -1,5 +1,31 @@
|
||||
return {
|
||||
-- floating terminal to toggle
|
||||
"numtostr/fterm.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>tt",
|
||||
function()
|
||||
require("FTerm").toggle()
|
||||
end,
|
||||
mode = "n",
|
||||
desc = "Terminal: open",
|
||||
},
|
||||
{
|
||||
"<leader>gt",
|
||||
function()
|
||||
require("FTerm"):new({ cmd = "lazygit" }):toggle()
|
||||
end,
|
||||
mode = "n",
|
||||
desc = "Git: open lazygit",
|
||||
},
|
||||
{
|
||||
"<leader>tg",
|
||||
function()
|
||||
require("FTerm"):new({ cmd = "lazygit" }):toggle()
|
||||
end,
|
||||
mode = "n",
|
||||
desc = "Terminal: open lazygit",
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user