diff --git a/lua/autocommands.lua b/lua/autocommands.lua index a0d547c..e196280 100644 --- a/lua/autocommands.lua +++ b/lua/autocommands.lua @@ -52,7 +52,8 @@ vim.api.nvim_create_autocmd("FileType", { vim.g.vimtex_view_general_viewer = 'zathura' vim.g.maplocalleader = ' ' -- Legacy shortcut from my vim-latexsuite days - vim.api.nvim_set_keymap("n", "ls", ":VimtexView", + -- FIX: doesn’t seem to work… + vim.keymap.set("n", "ls", ":VimtexView", { noremap = true, silent = true, desc = 'View [L]atex Document' }) vim.o.foldmethod = 'expr'