[nvim] feat: smart pasting in visual mode
This commit is contained in:
parent
d122b1d842
commit
b66dcdcec7
@ -35,6 +35,11 @@ vim.keymap.set("n", "<leader>p",
|
||||
"\"+P",
|
||||
{ desc = "Copy from clipboard"}
|
||||
)
|
||||
vim.keymap.set("x", "<leader>p",
|
||||
"\"_dP",
|
||||
{ desc = "Send selection to void register and paste from clipboard" }
|
||||
)
|
||||
|
||||
vim.keymap.set("n", "<leader><enter>",
|
||||
"<cmd>w! | !compiler %<CR>",
|
||||
{ desc = "Compile current file using ~/.local/bin/compiler"}
|
||||
|
Reference in New Issue
Block a user