Toogle comma(,), semicolon(;) or other character in neovim end of line from anywhere in the line
Neovim >= 0.5.0
[lazy.nvim]:
{
'saifulapm/chartoggle.nvim',
opts = {
leader = '<LocalLeader>', -- you can use any key as Leader
keys = {',', ';' } -- Which keys will be toggle end of the line
},
keys = {'<LocalLeader>,', '<LocalLeader>;'} -- Lazy loaded
}
Press <Localleader>key
= Toogle key
end of line
Example press <localleader>,
to toogle ,
Thank you