Use a single keybind to toggle between wrapping modes ๐
Packer/Lazy/etc:
use { 'derektata/wrap-toggle.nvim' }
Vim-Plug:
Plug 'derektata/wrap-toggle.nvim'
init.lua
require("wrap-toggle").setup()
init.vim
lua <<EOF
require("wrap-toggle").setup()
EOF
Lua:
use {
'derektata/wrap-toggle.nvim',
config = function()
require('wrap-toggle').setup()
end
}
Binding | Mode | Description |
---|---|---|
Alt + z | normal | toggle wrap mode on/off |
Lua:
require('wrap-toggle').setup({ keybind = "<C-a>" })