diff options
| author | Aotrix <[email protected]> | 2026-05-23 11:48:44 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-05-23 11:48:44 +0200 |
| commit | b82ab96e3768522a0d6f99a91e3e17b229a25f96 (patch) | |
| tree | 2dc4ffd6c771222d86e10fd3465e2afcc6f8fa2a /lua/aotrix/remap.lua | |
| parent | 0c6cead7d78d4895b7ceb1d37a910886d70d80f4 (diff) | |
Move shortcuts to remap
Diffstat (limited to 'lua/aotrix/remap.lua')
| -rw-r--r-- | lua/aotrix/remap.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/aotrix/remap.lua b/lua/aotrix/remap.lua index dbb777b..c12617d 100644 --- a/lua/aotrix/remap.lua +++ b/lua/aotrix/remap.lua @@ -19,3 +19,9 @@ vim.keymap.set({"n", "i", "v"}, '<C-c>', '<nop>') vim.keymap.del("n", "grx") vim.keymap.set("n", "<leader>pv", "<cmd>Oil<cr>") + +if vim.g.neovide then + local function paste() vim.api.nvim_paste(vim.fn.getreg("+"), true, -1) end + vim.keymap.set({"n", "i", "v", "c", "t"}, "<C-S-v>", paste, + {silent = true, desc = "Paste"}) +end |
