mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-06-18 19:04:26 +00:00
nvim: stylua
This commit is contained in:
parent
8f55e5d525
commit
8b0c9631bd
1 changed files with 2 additions and 2 deletions
|
|
@ -184,8 +184,8 @@ vim.keymap.set('n', '<leader>l', '<C-i>', { desc = 'Forward' })
|
|||
-- Copy'n'Paste
|
||||
vim.keymap.set('v', '<leader>y', '"+y', { desc = 'Cop[y] selection to system clipboard' })
|
||||
vim.keymap.set('n', '<leader>y', function()
|
||||
vim.fn.setreg('+', vim.fn.getreg('"'))
|
||||
print('Copied to system clipboard')
|
||||
vim.fn.setreg('+', vim.fn.getreg '"')
|
||||
print 'Copied to system clipboard'
|
||||
end, {
|
||||
silent = true,
|
||||
desc = 'Copy last [y]anked or deleted text to system clipboard',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue