summaryrefslogtreecommitdiff
path: root/nvim/lua/keymaps.lua
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2024-01-20 01:29:51 -0500
committerottjk <joshott16@gmail.com>2024-01-20 01:29:51 -0500
commitea9a749bd6238334ff9e92a0a31fdeaf5223619b (patch)
tree6036539f3e49427483fb2dc388da377d5e5c7397 /nvim/lua/keymaps.lua
parent9b78e39e9cca329acc160399e46bb8d1c9b33955 (diff)
downloaddotfiles-ea9a749bd6238334ff9e92a0a31fdeaf5223619b.tar.gz
dotfiles-ea9a749bd6238334ff9e92a0a31fdeaf5223619b.zip
many such updates
Diffstat (limited to 'nvim/lua/keymaps.lua')
-rw-r--r--nvim/lua/keymaps.lua6
1 files changed, 4 insertions, 2 deletions
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', '<leader>vc', ':VimtexClean!<CR>')
map('i', '<C-f>', [[<Esc>: silent exec '.!inkscape-figures create "'.getline('.').'" "'.b:vimtex.root.'/figures/"'<CR><CR>:w<CR>]], opts)
map('n', '<C-f>', [[: silent exec '!inkscape-figures edit "'.b:vimtex.root.'/figures/" > /dev/null 2>&1 &'<CR><CR>:redraw!<CR>]], opts)
+map('i', '<C-x>', [[<Esc>: silent exec '.!xoppdog shake "'.getline('.').'" "'.b:vimtex.root.'/figures/"'<CR><CR>:w<CR>]], opts)
+map('n', '<C-x>', [[: silent exec '!xoppdog fetch "'.b:vimtex.root.'/figures/" > /dev/null 2>&1 &'<CR><CR>:redraw!<CR>]], opts)
+
vim.cmd([[
" press <Tab> to expand or jump in a snippet. These can also be mapped separately
" via <Plug>luasnip-expand-snippet and <Plug>luasnip-jump-next.
@@ -84,5 +87,4 @@ map('i', '<S-Tab>', [[<cmd>lua require'luasnip'.jump(-1)<Cr>]], opts)
map('s', '<Tab>', [[<cmd>lua require('luasnip').jump(1)<Cr>]], opts)
map('s', '<Tab>', [[<cmd>lua require('luasnip').jump(-1)<Cr>]], opts)
-map('', '<Plug>', '<Plug>Markdown_NewLineAbove', opts)
-map('', '<Plug>', '<Plug>Markdown_NewLineBelow', opts)
+map('n', '<leader>xx', function() require('trouble').toggle() end)