mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 05:11:45 +00:00
Compare commits
2 Commits
bc12b707c2
...
bc4cd2a521
Author | SHA1 | Date | |
---|---|---|---|
bc4cd2a521 | |||
8f5efc66f6 |
@ -53,6 +53,14 @@ vim.keymap.set('n', '<leader>lo', '<cmd>copen<cr>', { desc = 'Quickfix [L]ist [O
|
|||||||
vim.keymap.set('n', '<C-S-j>', '<cmd>cnext<cr>')
|
vim.keymap.set('n', '<C-S-j>', '<cmd>cnext<cr>')
|
||||||
vim.keymap.set('n', '<C-S-k>', '<cmd>cprev<cr>')
|
vim.keymap.set('n', '<C-S-k>', '<cmd>cprev<cr>')
|
||||||
|
|
||||||
|
if vim.g.neovide then
|
||||||
|
-- System clipboard keybinds in normal and visual mode
|
||||||
|
vim.keymap.set({ 'n', 'v' }, '<C-S-C>', '"+y', { desc = 'Yank to System clipboard' })
|
||||||
|
vim.keymap.set({ 'n', 'v' }, '<C-S-V>', '"+p', { desc = 'Paste from System clipboard' })
|
||||||
|
-- Clipboard for command mode
|
||||||
|
vim.keymap.set('c', '<C-S-V>', '<C-R>+', { desc = 'Paste from System clipboard' })
|
||||||
|
end
|
||||||
|
|
||||||
-- [[ Basic Autocommands ]]
|
-- [[ Basic Autocommands ]]
|
||||||
-- See `:help lua-guide-autocommands`
|
-- See `:help lua-guide-autocommands`
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ return {
|
|||||||
['<leader>h'] = { name = 'Git [H]unk/[H]arpoon', _ = 'which_key_ignore' },
|
['<leader>h'] = { name = 'Git [H]unk/[H]arpoon', _ = 'which_key_ignore' },
|
||||||
['<leader>t'] = { name = '[T]oggle', _ = 'which_key_ignore' },
|
['<leader>t'] = { name = '[T]oggle', _ = 'which_key_ignore' },
|
||||||
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
||||||
|
['<leader>l'] = { name = '[L]ist', _ = 'which_key_ignore' },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- register which-key VISUAL mode
|
-- register which-key VISUAL mode
|
||||||
@ -45,6 +46,7 @@ return {
|
|||||||
['<leader>t'] = { name = '[T]oggle', _ = 'which_key_ignore' },
|
['<leader>t'] = { name = '[T]oggle', _ = 'which_key_ignore' },
|
||||||
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
||||||
['<leader>pn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
['<leader>pn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
||||||
|
['<leader>l'] = { name = '[L]ist', _ = 'which_key_ignore' },
|
||||||
}, { mode = 'v' })
|
}, { mode = 'v' })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user