Update .config/nvim/lazy-lock.json
Update .config/nvim/lua/config/20_keymaps.lua Update .config/nvim/lua/plugin/10_hop.lua Update .config/nvim/lua/plugin/20_completion.lua Add .config/nvim/snippets/lua.json Add .config/nvim/snippets/package.json
This commit is contained in:
parent
9c23f65869
commit
1f04e09b4f
6 changed files with 31 additions and 5 deletions
|
|
@ -7,6 +7,9 @@ end
|
|||
local nmap_leader = function(lhs, rhs, desc)
|
||||
vim.keymap.set('n', '<Leader>' .. lhs, rhs, { desc = desc })
|
||||
end
|
||||
local unmap = function(lhs, rhs)
|
||||
vim.keymap.del(lhs, rhs)
|
||||
end
|
||||
-- Keymaps ====================================================
|
||||
nmap('[p', '<Cmd>exe "put! " . v:register<CR>', 'Paste above')
|
||||
nmap(']p', '<Cmd>exe "put " . v:register<Cr>', 'Paste below')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue