Skip to content

Geertsky/smart-toggle.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smart Toggle

A minimal, context-aware Neovim plugin that extends the ~ key to smartly toggle common values such as:

  • Booleans: true ⇄ false, on ⇄ off, yes ⇄ no (all case variants)
  • Quotes: ' ⇄ "
  • Operators: + ⇄ -

Supports both Normal and Visual modes.

✨ Features

  • 🧠 Context-aware toggle under the cursor
  • πŸ“š Visual mode support β€” toggles all matching items in the selection
  • πŸ›  Simple and dependency-free
  • 🐒 Lazy-loadable with lazy.nvim

πŸ”§ Installation

{
  "Geertsky/smart-toggle.nvim",
  config = function()
    require("smart_toggle").setup()
  end,
}

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages