aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/keybinds.lua
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-04-10 19:43:30 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-04-10 19:43:30 +0000
commitc35810e74dab73c7eef14322cebbc9405037c3b0 (patch)
tree3577765706f2c471c4da9d0503f94d3d010902ad /.config/nvim/lua/keybinds.lua
parenta8b325d57a8a1084bf6f2bd660773873d174abae (diff)
downloaddotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.tar
dotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.tar.gz
dotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.tar.bz2
dotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.tar.lz
dotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.tar.xz
dotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.tar.zst
dotfiles-c35810e74dab73c7eef14322cebbc9405037c3b0.zip
Bump neovim config to 0.9 and add undotree and test related commands
Diffstat (limited to '')
-rw-r--r--.config/nvim/lua/keybinds.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua
index b017716..6f6351f 100644
--- a/.config/nvim/lua/keybinds.lua
+++ b/.config/nvim/lua/keybinds.lua
@@ -25,6 +25,7 @@ vim.keymap.set("n", "<Leader><TAB>", telescope.buffers)
vim.keymap.set("n", "<Leader>D", telescope.lsp_definitions)
vim.keymap.set("n", "<Leader>R", telescope.lsp_references)
vim.keymap.set("n", "<Leader>S", telescope.lsp_document_symbols)
+vim.keymap.set("n", "<Leader>U", vim.cmd.UndotreeToggle)
vim.keymap.set("n", "<Leader>m", ":MinimapToggle<CR>")
vim.keymap.set("n", "<Leader>b", ":Gitsigns blame_line<CR>")
@@ -67,5 +68,6 @@ wk.register({
["q"] = "Quit";
["R"] = "Show References";
["J"] = "Signature help";
+ ["U"] = "Undo tree";
}, { prefix = "<leader>" });