Update keymaps and add more entries to dashboard
This commit is contained in:
parent
aacbb35a8d
commit
29cbb48650
|
@ -10,16 +10,24 @@ return {
|
||||||
icon = " ",
|
icon = " ",
|
||||||
icon_hl = "@variable",
|
icon_hl = "@variable",
|
||||||
desc = "Files",
|
desc = "Files",
|
||||||
group = "Label",
|
group = "Files",
|
||||||
action = "Telescope find_files",
|
action = "Telescope find_files",
|
||||||
key = "f",
|
key = "f",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
icon = " ",
|
||||||
|
icon_hl = "@variable",
|
||||||
|
desc = "Terminal",
|
||||||
|
group = "Files",
|
||||||
|
action = "ToggleTerm",
|
||||||
|
key = "|",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon = " ",
|
icon = " ",
|
||||||
desc = "Neotree",
|
desc = "Neotree",
|
||||||
group = "Files",
|
group = "Files",
|
||||||
action = "Neotree",
|
action = "Neotree float reveal reveal_force_cwd",
|
||||||
key = "n",
|
key = "/",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon = " ",
|
icon = " ",
|
||||||
|
|
|
@ -8,7 +8,7 @@ vim.keymap.set("n", "<leader>gg", "<cmd>Neogit kind=split<CR>")
|
||||||
vim.keymap.set("n", "<leader>cc", "<cmd>Neogit commit<CR>")
|
vim.keymap.set("n", "<leader>cc", "<cmd>Neogit commit<CR>")
|
||||||
vim.keymap.set("n", "<leader>gp", "<cmd>Neogit kind=split pull<CR>")
|
vim.keymap.set("n", "<leader>gp", "<cmd>Neogit kind=split pull<CR>")
|
||||||
vim.keymap.set("n", "<leader>gP", "<cmd>Neogit kind=split push<CR>")
|
vim.keymap.set("n", "<leader>gP", "<cmd>Neogit kind=split push<CR>")
|
||||||
vim.keymap.set("n", "<leader>/", "<cmd>ToggleTerm<CR>")
|
vim.keymap.set("n", "<leader>|", "<cmd>ToggleTerm<CR>")
|
||||||
vim.keymap.set("n", "<leader>tt", "<cmd>ToggleTerm direction=float<CR>")
|
vim.keymap.set("n", "<leader>tt", "<cmd>ToggleTerm direction=float<CR>")
|
||||||
vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>")
|
vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>")
|
||||||
vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>")
|
vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>")
|
||||||
|
@ -28,8 +28,9 @@ vim.keymap.set("n", "<leader>fz", "<cmd>Telescope current_buffer_fuzzy_find<cr>"
|
||||||
vim.keymap.set("n", "<leader>fp", "<cmd>Telescope projects<cr>")
|
vim.keymap.set("n", "<leader>fp", "<cmd>Telescope projects<cr>")
|
||||||
|
|
||||||
-- Neotree
|
-- Neotree
|
||||||
vim.keymap.set("n", "<leader>n", "<cmd>Neotree toggle<cr>")
|
vim.keymap.set("n", "/", "<cmd>Neotree float reveal reveal_force_cwd<cr>")
|
||||||
vim.keymap.set("n", "<leader>\\", "<cmd>Neotree reveal<cr>")
|
vim.keymap.set("n", "<leader>nb", "<cmd>Neotree toggle show buffers right<cr>")
|
||||||
|
vim.keymap.set("n", "<leader>ns", "<cmd>Neotree float git_status<cr>")
|
||||||
|
|
||||||
-- Aerial
|
-- Aerial
|
||||||
vim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
|
vim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
|
||||||
|
|
Loading…
Reference in a new issue