add keymapping to toggle word wrapping on/off
This commit is contained in:
parent
905efed668
commit
42da8e2330
|
@ -32,4 +32,7 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
|
|||
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
||||
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
||||
|
||||
-- Toggling word wrap on/off
|
||||
vim.keymap.set('n', '<leader>tw', '<Cmd>set wrap!<CR>', { desc = 'Toggle: [W]ord wrapping' })
|
||||
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
|
Loading…
Reference in a new issue