Initialize UltiSnips keymap manually
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
This commit is contained in:
@@ -3,3 +3,12 @@ vim.g.UltiSnipsJumpForwardTrigger = "<c-l>"
|
||||
vim.g.UltiSnipsJumpBackwardTrigger = "<c-h>"
|
||||
vim.g.UltiSnipsEditSplit = "vertical"
|
||||
vim.g.UltiSnipsSnippetDirectories = { "~/.config/nvim/UltiSnips" }
|
||||
|
||||
-- Keymaps
|
||||
vim.keymap.set({ "i", "s" }, "<c-l>", function()
|
||||
vim.fn["UltiSnips#JumpForwards"]()
|
||||
end)
|
||||
|
||||
vim.keymap.set({ "i", "s" }, "<c-h>", function()
|
||||
vim.fn["UltiSnips#JumpBackwards"]()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user