Answer by Efi for Swap values "true" and "false" via ctrl+a, ctrl+x
change the mapping to what you want to usethe undo is in case you use it on top of a space, since ciw will edit the space instead of the word (and there's no easy way to get to the right word...
View ArticleAnswer by Hotschke for Swap values "true" and "false" via ctrl+a, ctrl+x
Plethora of PluginsToggling true/false and similar has been implemented by many plugin authors. Two of them have already been mentioned:switch.vim by Andrew Radev (#4172, github) and toggle-bool by...
View ArticleAnswer by Sagar Rakshe for Swap values "true" and "false" via ctrl+a, ctrl+x
I wrote a plugin (toggle-bool) to toggle the boolean values you can try it. It supports the following boolean values:true<->falseyes<->noon<->off0<->1
View ArticleAnswer by VanLaser for Swap values "true" and "false" via ctrl+a, ctrl+x
There is switch.vim, and it's customizable.The main entry point of the plugin is a single command, :Switch. When the command is executed, the plugin looks for one of a few specific patterns under the...
View ArticleSwap values "true" and "false" via ctrl+a, ctrl+x
I think it would be useful to have possibility to swap true and false values in the code rapidly, with combination ctrl+a or ctrl+x. Is there some plugin for that or something else?
View Article
More Pages to Explore .....