From ea9a749bd6238334ff9e92a0a31fdeaf5223619b Mon Sep 17 00:00:00 2001 From: ottjk Date: Sat, 20 Jan 2024 01:29:51 -0500 Subject: many such updates --- nvim/lua/keymaps.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nvim/lua/keymaps.lua') diff --git a/nvim/lua/keymaps.lua b/nvim/lua/keymaps.lua index f491651..18b379d 100644 --- a/nvim/lua/keymaps.lua +++ b/nvim/lua/keymaps.lua @@ -74,6 +74,9 @@ map('n', 'vc', ':VimtexClean!') map('i', '', [[: silent exec '.!inkscape-figures create "'.getline('.').'" "'.b:vimtex.root.'/figures/"':w]], opts) map('n', '', [[: silent exec '!inkscape-figures edit "'.b:vimtex.root.'/figures/" > /dev/null 2>&1 &':redraw!]], opts) +map('i', '', [[: silent exec '.!xoppdog shake "'.getline('.').'" "'.b:vimtex.root.'/figures/"':w]], opts) +map('n', '', [[: silent exec '!xoppdog fetch "'.b:vimtex.root.'/figures/" > /dev/null 2>&1 &':redraw!]], opts) + vim.cmd([[ " press to expand or jump in a snippet. These can also be mapped separately " via luasnip-expand-snippet and luasnip-jump-next. @@ -84,5 +87,4 @@ map('i', '', [[lua require'luasnip'.jump(-1)]], opts) map('s', '', [[lua require('luasnip').jump(1)]], opts) map('s', '', [[lua require('luasnip').jump(-1)]], opts) -map('', '', 'Markdown_NewLineAbove', opts) -map('', '', 'Markdown_NewLineBelow', opts) +map('n', 'xx', function() require('trouble').toggle() end) -- cgit v1.3