diff --git a/config/nvim/lua/config/dashboard.lua b/config/nvim/lua/config/dashboard.lua index 37af4ec0..baf816be 100644 --- a/config/nvim/lua/config/dashboard.lua +++ b/config/nvim/lua/config/dashboard.lua @@ -10,16 +10,24 @@ return { icon = " ", icon_hl = "@variable", desc = "Files", - group = "Label", + group = "Files", action = "Telescope find_files", key = "f", }, + { + icon = " ", + icon_hl = "@variable", + desc = "Terminal", + group = "Files", + action = "ToggleTerm", + key = "|", + }, { icon = " ", desc = "Neotree", group = "Files", - action = "Neotree", - key = "n", + action = "Neotree float reveal reveal_force_cwd", + key = "/", }, { icon = " ", diff --git a/config/nvim/lua/config/keymaps.lua b/config/nvim/lua/config/keymaps.lua index 2941ff84..c475c69e 100644 --- a/config/nvim/lua/config/keymaps.lua +++ b/config/nvim/lua/config/keymaps.lua @@ -8,7 +8,7 @@ vim.keymap.set("n", "gg", "Neogit kind=split") vim.keymap.set("n", "cc", "Neogit commit") vim.keymap.set("n", "gp", "Neogit kind=split pull") vim.keymap.set("n", "gP", "Neogit kind=split push") -vim.keymap.set("n", "/", "ToggleTerm") +vim.keymap.set("n", "|", "ToggleTerm") vim.keymap.set("n", "tt", "ToggleTerm direction=float") vim.keymap.set({ "n", "t" }, "", "NavigatorLeft") vim.keymap.set({ "n", "t" }, "", "NavigatorRight") @@ -28,8 +28,9 @@ vim.keymap.set("n", "fz", "Telescope current_buffer_fuzzy_find" vim.keymap.set("n", "fp", "Telescope projects") -- Neotree -vim.keymap.set("n", "n", "Neotree toggle") -vim.keymap.set("n", "\\", "Neotree reveal") +vim.keymap.set("n", "/", "Neotree float reveal reveal_force_cwd") +vim.keymap.set("n", "nb", "Neotree toggle show buffers right") +vim.keymap.set("n", "ns", "Neotree float git_status") -- Aerial vim.keymap.set("n", "a", "AerialToggle!")