diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-09 13:36:05 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-09 13:36:05 +0100 |
| commit | f84cf1868f917437357006929ac4a1447494a76b (patch) | |
| tree | 56467a91c845aab5b1bfa2f29f457f94c12253ea /lua/user/keymaps.lua | |
| parent | 6f6e018915ffec09e034cca2d7ca05e3ccd567c1 (diff) | |
Minor changes
Diffstat (limited to 'lua/user/keymaps.lua')
| -rw-r--r-- | lua/user/keymaps.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 5b94186..9909142 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -70,3 +70,10 @@ keymap("n", "<leader>f", ":Format<cr>", opts) keymap("n", "<leader>f", "<cmd>lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))<cr>", opts) keymap("n", "<c-t>", "<cmd>Telescope live_grep<cr>", opts) +-- Magma +keymap("n", "<localleader>r", "nvim_exec('MagmaEvalutateOperator',v:true)", opts) +keymap("n", "<localleader>rr", ":MagmaEvalutateLine<cr>", opts) +keymap("x", "<localleader>r", ":<C-u>MagmaEvalutateVisual<cr>", opts) +keymap("n", "<localleader>rc", ":MagmaReevalutateCell<cr>", opts) +keymap("n", "<localleader>rd", ":MagmaDelete<cr>", opts) +keymap("n", "<localleader>ro", ":MagmaShowOutput<cr>", opts) |
