feat: add base config
This commit is contained in:
parent
66e2a5a425
commit
71d5792e45
2 changed files with 25 additions and 8 deletions
6
lua/custom/mappings.lua
Normal file
6
lua/custom/mappings.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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')
|
||||
Loading…
Add table
Add a link
Reference in a new issue