refactor(all): replace vim.api.nvim_set_keymap
with vim.keymap.set
This commit is contained in:
parent
d0cbb36a44
commit
ba9775b108
@ -52,7 +52,8 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||||||
vim.g.vimtex_view_general_viewer = 'zathura'
|
vim.g.vimtex_view_general_viewer = 'zathura'
|
||||||
vim.g.maplocalleader = ' '
|
vim.g.maplocalleader = ' '
|
||||||
-- Legacy shortcut from my vim-latexsuite days
|
-- Legacy shortcut from my vim-latexsuite days
|
||||||
vim.api.nvim_set_keymap("n", "<Leader>ls", ":VimtexView<CR>",
|
-- FIX: doesn’t seem to work…
|
||||||
|
vim.keymap.set("n", "<Leader>ls", ":VimtexView<CR>",
|
||||||
{ noremap = true, silent = true, desc = 'View [L]atex Document' })
|
{ noremap = true, silent = true, desc = 'View [L]atex Document' })
|
||||||
|
|
||||||
vim.o.foldmethod = 'expr'
|
vim.o.foldmethod = 'expr'
|
||||||
|
Loading…
Reference in New Issue
Block a user