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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages