Skip to content

aaronzipp/toggle-bool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toggle-bool

Code Checks

Vim plugin to toggle boolean values.

List of boolean values supported

  • true ↔ false
  • yes ↔ no
  • on ↔ off
  • 0 ↔ 1

Installation

Use your plugin manager of choice.

  • Pathogen
    • git clone https://github.com/aaronzipp/toggle-bool ~/.vim/bundle/toggle-bool
  • Vundle
    • Add Bundle 'https://github.com/sagarrakshe/toggle-bool' to .vimrc
    • Run :BundleInstall
  • NeoBundle
    • Add NeoBundle 'https://github.com/aaronzipp/toggle-bool' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug
    • Add Plug 'https://github.com/aaronzipp/toggle-bool' to .vimrc
    • Run :PlugInstall

Usage

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

noremap <leader>r :ToggleBool<CR>

About

vim plugin to toggle the boolean values

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 52.6%
  • Python 47.4%