diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-03-31 19:52:02 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-03-31 19:52:02 +0200 |
| commit | 549c32b7488c4fc4a32546d6943a0b28db214c93 (patch) | |
| tree | 3b17c95a3d46982cd8501d8391fdfac45f5e1398 /lua/pml68 | |
| parent | feat: add Elixir LSP (diff) | |
| download | nvim-549c32b7488c4fc4a32546d6943a0b28db214c93.tar.gz | |
feat: Silicon shortcut works now, added C-x to exit terminal insert mode
Diffstat (limited to 'lua/pml68')
| -rw-r--r-- | lua/pml68/configs/toggleterm.lua | 2 | ||||
| -rw-r--r-- | lua/pml68/remap.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/pml68/configs/toggleterm.lua b/lua/pml68/configs/toggleterm.lua index ada288c..4bc4390 100644 --- a/lua/pml68/configs/toggleterm.lua +++ b/lua/pml68/configs/toggleterm.lua @@ -16,7 +16,7 @@ vim.keymap.set("n", "<leader>g", "<cmd> lua _lazygit_toggle() <CR>", {noremap = function _G.set_terminal_keymaps() local opts = {buffer = 0} vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts) - vim.keymap.set('t', 'jk', [[<C-\><C-n>]], opts) + vim.keymap.set('t', '<C-x>', [[<C-\><C-n>]], opts) vim.keymap.set('t', '<C-h>', [[<Cmd>wincmd h<CR>]], opts) vim.keymap.set('t', '<C-j>', [[<Cmd>wincmd j<CR>]], opts) vim.keymap.set('t', '<C-k>', [[<Cmd>wincmd k<CR>]], opts) diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua index 36fed29..3400a67 100644 --- a/lua/pml68/remap.lua +++ b/lua/pml68/remap.lua @@ -1,7 +1,7 @@ vim.g.mapleader = " " vim.keymap.set("n", "<leader>e", vim.cmd.Ex) vim.keymap.set("n", "<leader>gB", "<cmd> Git blame <CR>") -vim.keymap.set("v", "<leader>cs", "<cmd> Silicon <CR>") +vim.keymap.set("v", "<leader>cs", ":Silicon<CR>") vim.keymap.set("n", "<leader>cp", ":!xclip -sel clip -target image/png -i 2024*.png && rm 2024*.png <CR>") vim.keymap.set("n", "<leader>u", "<cmd>UndotreeToggle<CR>") vim.keymap.set("n", "<leader>n", "<cmd> set nu! <CR>") |
