mappings: Don't yank the text after pasting in visual mode

This commit is contained in:
Akianonymus 2021-07-17 16:48:41 +05:30
parent dbc4979ebd
commit 1d7602e3e4

View file

@ -20,6 +20,9 @@ map("v", "x", [=[ "_x ]=], opt)
vim.api.nvim_set_keymap("i", "jk", "<esc>", {})
-- Don't copy the replaced text after pasting in visual mode
map("v", "p", '"_dP', opt)
-- OPEN TERMINALS --
map("n", "<C-l>", [[<Cmd>vnew term://bash <CR>]], opt) -- term over right
map("n", "<C-x>", [[<Cmd> split term://bash | resize 10 <CR>]], opt) -- term bottom