Skip to content

Flip two comparands around a comparison operator in Vim

Notifications You must be signed in to change notification settings

spktklr/vim-flip-comparands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vim Flip Comparands

Vim Flip Comparands is a plugin that allows you to flip two comparands around a comparison operator.

Usage

Place the cursor over a comparison operator and call

:FlipC

Installation

I recommend installation via Plug.

Plug 'spktklr/vim-flip-comparands'

Limitations

The plugin only works if there are spaces surrounding the comparison in the braces and the comparison is on the same line. Other issues may also exist if using exotic comparison syntax, like OR & AND for example.

Project Author

Niko Myllynen

License

GPLv2

About

Flip two comparands around a comparison operator in Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published