File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[ ![ GitHub version] ( https://badge.fury.io/gh/andrewradev%2Fswitch.vim.svg )] ( https://badge.fury.io/gh/andrewradev%2Fswitch.vim )
2- [ ![ Build Status] ( https://secure.travis-ci.org/AndrewRadev/switch.vim.svg?branch=master )] ( http://travis-ci.org/AndrewRadev/switch.vim )
32
4- ## Screencast!
5-
6- This plugin is easier to demonstrate than explain. You can find a screencast
7- [ here] ( http://youtu.be/zIOOLZJb87U ) .
3+ ![ Demo] ( http://i.andrewradev.com/116a3b7f45b48186627def8662ffb133.gif )
84
95## Usage
106
11- The main entry point of the plugin is a single command, ` :Switch ` . When the
7+ Demo screencast: < https://www.youtube.com/watch?v=zIOOLZJb87U >
8+
9+ The purpose of the plugin is to switch some text under the cursor based on
10+ regex patterns. The main entry point is a single command, ` :Switch ` . When the
1211command is executed, the plugin looks for one of a few specific patterns under
13- the cursor and performs a substitution depending on the pattern . For example, if
14- the cursor is on the "true" in the following code:
12+ the cursor and performs a substitution depending on it . For example, if the
13+ cursor is on the "true" in the following code:
1514
1615``` ruby
1716flag = true
You can’t perform that action at this time.
0 commit comments