diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-10-08 11:57:32 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-10-08 11:57:32 +0100 |
| commit | ab8abc7f22d2345690b469a5e3bde9f3d63ac180 (patch) | |
| tree | 8034ed8a16e9712f9f244a3d0ffc26466defa2de /lua/user/keymaps.lua | |
| parent | 02af2c0299b923946092a49cdbae20ba837cb4be (diff) | |
Fixed orgmode error message relating to treesitter. Added another latex
template. Tidied up a number of other files
Diffstat (limited to 'lua/user/keymaps.lua')
| -rw-r--r-- | lua/user/keymaps.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index a1388d7..04987a4 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -64,6 +64,7 @@ keymap("t", "<C-h>", "<C-\\><C-N><C-w>h", term_opts) keymap("t", "<C-j>", "<C-\\><C-N><C-w>j", term_opts) keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts) keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts) +keymap("t", "<C-p>", ":ToggleTermSendVisualSelection", term_opts) -- Open corresponding .pdf/.html or preview keymap("n","<leader>p", ":!opout <C-r>%<CR><CR>", opts) @@ -104,3 +105,10 @@ keymap("n", "<leader>P", ":<cmd>lua require('nabla').popup()<CR>", opts) keymap("n", "<leader><A-e><A-p>", ":<cmd>lua require('pandoc').equation.show()<CR>", opts) keymap("n", "<leader><A-p><A-r>", ":<cmd>lua require('pandoc').render.init()<CR>", opts) keymap("n", "<leader><A-p><A-s>", ":<cmd>lua require('pandoc').render.build({ input = vim.api.nvim_get_buf_name(0), args = {{'--standalone'},{'toc'},{'--filter','pandoc-crossref'},{'--pdf-engine','xelatex'}}, output = 'pandoc.pdf' })<CR>", opts) + +--Jaq +keymap("n", "<m-r>", ":silent only | Jaq<cr>", opts) + +--Zen Mode +keymap("n", "<localleader>zm", ":ZenMode<cr>", opts) + |
