aboutsummaryrefslogtreecommitdiff
path: root/lua/user
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-02-23 20:35:42 +0200
committersrdusr <trevorgray@srdusr.com>2023-02-23 20:35:42 +0200
commit6c2077e466646c156e9372e6c53d926750751f6c (patch)
tree0fa78b6a9a6f95cbf4e9c0b8569e89f1128639fd /lua/user
parentfe82974e85098b87ba23b728a0fb6fb4fbad24f8 (diff)
downloaddotfiles-6c2077e466646c156e9372e6c53d926750751f6c.tar.gz
dotfiles-6c2077e466646c156e9372e6c53d926750751f6c.zip
Add dashboard mapping
Diffstat (limited to 'lua/user')
-rw-r--r--lua/user/keys.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/keys.lua b/lua/user/keys.lua
index 0d275d2..c957e05 100644
--- a/lua/user/keys.lua
+++ b/lua/user/keys.lua
@@ -297,6 +297,7 @@ map("n", "gR", "<CMD>TroubleToggle lsp_references<CR>")
-- Replacer
map('n', '<Leader>qr', ':lua require("replacer").run()<CR>')
+-- Quickfix
map("n", "<leader>q", function()
if vim.fn.getqflist({ winid = 0 }).winid ~= 0 then
require('plugins.quickfix').close()
@@ -305,3 +306,6 @@ map("n", "<leader>q", function()
--require("quickfix").open()
end
end, { desc = "Toggle quickfix window" })
+
+-- Dashboard
+map("n", "<leader>db", "<CMD>Dashboard<CR>")