Home

Awesome

chartoggle.nvim

Toogle comma(,), semicolon(;) or other character in neovim end of line from anywhere in the line

Requirements

Neovim >= 0.5.0

Installation

[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
}

how it work

Press <Localleader>key = Toogle key end of line

Example press <localleader>, to toogle ,

Thank you