Skip to content

vim plugin to toggle words like true<->false, enabled<->disabled etc.

Notifications You must be signed in to change notification settings

vayw/vim-logic-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

toggle-bool

Vim plugin to toggle boolean values.

List of boolean values supported

  • true <-> false
  • yes <-> no
  • on <-> off
  • 0 <-> 1
  • enable(d) <-> disable(d)
  • first <-> last
  • before <-> after

Installation

Use your plugin manager of choice.

  • vim-plug
    • Add Plug 'vayw/vim-logic-toggle' to .vimrc
    • Run :PlugInstall

Usage

To invoke you need to call :ToggleBool. You can map accordingly. For example, to map to <leader>t you need to add following to your .vimrc

noremap <leader>t :ToggleBool<CR>

About

vim plugin to toggle words like true<->false, enabled<->disabled etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published