diff options
| author | ottjk <joshott16@gmail.com> | 2024-01-20 01:29:51 -0500 |
|---|---|---|
| committer | ottjk <joshott16@gmail.com> | 2024-01-20 01:29:51 -0500 |
| commit | ea9a749bd6238334ff9e92a0a31fdeaf5223619b (patch) | |
| tree | 6036539f3e49427483fb2dc388da377d5e5c7397 /nvim/lua | |
| parent | 9b78e39e9cca329acc160399e46bb8d1c9b33955 (diff) | |
| download | dotfiles-ea9a749bd6238334ff9e92a0a31fdeaf5223619b.tar.gz dotfiles-ea9a749bd6238334ff9e92a0a31fdeaf5223619b.zip | |
many such updates
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/keymaps.lua | 6 | ||||
| -rw-r--r-- | nvim/lua/plugins.lua | 4 |
2 files changed, 8 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) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 2fb9566..49532d3 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -71,4 +71,8 @@ require("lazy").setup({ require("hop").setup({ keys = "tnseridhaofuwyplcqxz" }) end, }, + { + 'folke/trouble.nvim', + dependencies = { "nvim-tree/nvim-web-devicons" }, + }, }) |