From c35810e74dab73c7eef14322cebbc9405037c3b0 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 10 Apr 2023 21:43:30 +0200 Subject: Bump neovim config to 0.9 and add undotree and test related commands --- .config/nvim/lua/keybinds.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/nvim/lua/keybinds.lua') 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", "", telescope.buffers) vim.keymap.set("n", "D", telescope.lsp_definitions) vim.keymap.set("n", "R", telescope.lsp_references) vim.keymap.set("n", "S", telescope.lsp_document_symbols) +vim.keymap.set("n", "U", vim.cmd.UndotreeToggle) vim.keymap.set("n", "m", ":MinimapToggle") vim.keymap.set("n", "b", ":Gitsigns blame_line") @@ -67,5 +68,6 @@ wk.register({ ["q"] = "Quit"; ["R"] = "Show References"; ["J"] = "Signature help"; + ["U"] = "Undo tree"; }, { prefix = "" }); -- cgit v1.2.3