1 *unimpaired.txt* Pairs of handy bracket mappings
3 Author: Tim Pope <http://tpo.pe/>
4 License: Same terms as Vim itself (see |license|)
6 This plugin is only available if 'compatible' is not set.
8 INTRODUCTION *unimpaired*
10 This plugin provides several pairs of bracket maps.
12 NEXT AND PREVIOUS *unimpaired-next*
14 The following maps all correspond to normal mode commands. If a count is
15 given, it becomes an argument to the command. A mnemonic for the "a" commands
16 is "args" and for the "q" commands is "quickfix".
40 [o Go to the file preceding the current one
41 alphabetically in the current file's directory.
44 ]o Go to the file succeeding the current one
45 alphabetically in the current file's directory.
47 LINE OPERATIONS *unimpaired-lines*
50 [<Space> Add [count] blank lines above the cursor.
53 ]<Space> Add [count] blank lines below the cursor.
56 [e Exchange the current line with [count] lines above it.
59 ]e Exchange the current line with [count] lines below it.
61 ENCODING AND DECODING *unimpaired-encoding*
63 Each of these operations has a map that takes a motion, a map that
64 targets [count] lines, and a visual mode map. The linewise variant integrates
67 Mnenomic: encoding always comes before decoding; "[" always comes before "]".
70 [x{motion} XML encode.
71 [xx <foo bar="baz"> => <foo bar="baz">
75 ]x{motion} XML decode. HTML entities are handled as well.
80 [u{motion} URL encode.
81 [uu foo bar => foo%20bar
85 ]u{motion} URL decode.
90 [y{motion} C String encode. Backslash escape control
91 [yy characters, quotation marks, and backslashes.
95 ]y{motion} C String decode.
99 TODO *unimpaired-todo*
101 Avoid munging null characters when encoding and decoding.
103 vim:tw=78:et:ft=help:norl: