FlipLR : Flips left hand side and right hand side.
| script karma |
Rating 7/4,
Downloaded by 2447 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Shuhei Kubota |
| |
| script type |
| utility |
| |
| description |
This script flips left hand side and right hand side.
'lhs {operator} rhs' => 'rhs {operator} lhs'
Usage:
1. In visual mode, select left hand side, operator and right hand side.
2. execute ':FlipLR operator'
2'. execute ':FlipLR /operator/' to flip with regexp
This mapping may help you.
noremap \f :call g:FlipLR_startHighlightingPivot()<CR><ESC>:FlipLR <C-R>=g:FlipLR_detectPivot()<CR>
Screencast:
http://bitbucket.org/shu/fliplr/downloads/fliplr.htm
Repository:
http://bitbucket.org/shu/fliplr/ |
| |
| install details |
| Just source this file. (Put this file into the plugin directory.) |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.208
|