mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 21:01:45 +00:00
resize window keymaps
This commit is contained in:
parent
d315af770e
commit
34882dc55f
@ -53,6 +53,12 @@ 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>')
|
||||||
|
|
||||||
|
-- Resizing windows
|
||||||
|
vim.keymap.set({ 'n', 'v' }, '<M-,>', '<C-W><')
|
||||||
|
vim.keymap.set({ 'n', 'v' }, '<M-.>', '<C-W>>')
|
||||||
|
vim.keymap.set({ 'n', 'v' }, '<M-=>', '<C-W>+')
|
||||||
|
vim.keymap.set({ 'n', 'v' }, '<M-->', '<C-W>-')
|
||||||
|
|
||||||
if vim.g.neovide then
|
if vim.g.neovide then
|
||||||
-- System clipboard keybinds in normal and visual mode
|
-- 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-C>', '"+y', { desc = 'Yank to System clipboard' })
|
||||||
|
Loading…
Reference in New Issue
Block a user