diff --git a/.config/nvim/lua/sheldonmlee/remap.lua b/.config/nvim/lua/sheldonmlee/remap.lua index f46c290..66bc01f 100644 --- a/.config/nvim/lua/sheldonmlee/remap.lua +++ b/.config/nvim/lua/sheldonmlee/remap.lua @@ -56,6 +56,8 @@ vim.keymap.set("n", "r", function() vim.cmd('lua require("harpoon.ui").n vim.keymap.set("n", "s", function() vim.cmd('lua require("harpoon.ui").nav_file(3)') end) vim.keymap.set("n", "t", function() vim.cmd('lua require("harpoon.ui").nav_file(4)') end) + +-- Ltex local function ltex_append_dictionary(word) if not word or word == "\n" or word == "" then print("Word empty:", word) @@ -102,3 +104,6 @@ end vim.keymap.set("v", "zz", ltex_selection_add_word) vim.keymap.set("n", "zz", ltex_add_word) vim.keymap.set("n", "zd", function() vim.cmd.edit(LTEX_DICT) end) + +-- Lsp stuff +vim.keymap.set("n", "e", vim.diagnostic.open_float)