diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-02-23 20:35:42 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-02-23 20:35:42 +0200 |
| commit | 6c2077e466646c156e9372e6c53d926750751f6c (patch) | |
| tree | 0fa78b6a9a6f95cbf4e9c0b8569e89f1128639fd | |
| parent | fe82974e85098b87ba23b728a0fb6fb4fbad24f8 (diff) | |
| download | dotfiles-6c2077e466646c156e9372e6c53d926750751f6c.tar.gz dotfiles-6c2077e466646c156e9372e6c53d926750751f6c.zip | |
Add dashboard mapping
| -rw-r--r-- | lua/user/keys.lua | 4 |
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>") |
