feat: add more mappings

This commit is contained in:
tsorabel-pc 2024-03-06 23:02:01 +01:00
parent 71d5792e45
commit 3a53db9eb0
3 changed files with 22 additions and 7 deletions

View file

@ -1,6 +0,0 @@
local map = vim.keymap.set
map({ 'n' }, '<leader>cw', ':%s/\\<<C-r><C-w>\\>/<C-r><C-w>/gI<Left><Left><Left>', { desc = '[C]ut [W]orld' })
map({ 'n' }, '<leader>x', '<cmd>bd<CR>', { desc = 'Close buffer' })
map('n', 'n', 'nzzzv')
map('n', 'N', 'Nzzzv')