|
| 1 | +*textobj-symbols.txt* For Vim version 8.1 Last change: 2018 December 24 |
| 2 | + |
| 3 | + _____ _ _____ _ _ ~ |
| 4 | + |_ _| | | | _ | | (_) ~ |
| 5 | + | | _____ _| |_| | | | |__ _ ~ |
| 6 | + | |/ _ \ \/ / __| | | | '_ \| | ~ |
| 7 | + | | __/> <| |_\ \_/ / |_) | | ~ |
| 8 | + \_/\___/_/\_\\__|\___/|_.__/| | ~ |
| 9 | + _____ _ _/ | _ ~ |
| 10 | + / ___| | | |__/ | | ~ |
| 11 | + \ `--. _ _ _ __ ___ | |__ ___ | |___ ~ |
| 12 | + `--. \ | | | '_ ` _ \| '_ \ / _ \| / __| ~ |
| 13 | + /\__/ / |_| | | | | | | |_) | (_) | \__ \ ~ |
| 14 | + \____/ \__, |_| |_| |_|_.__/ \___/|_|___/ ~ |
| 15 | + __/ | ~ |
| 16 | + |___/ ~ |
| 17 | + |
| 18 | + A Vim plugin that adds various symbols as ~ |
| 19 | + surrounding text objects. ~ |
| 20 | + |
| 21 | + |
| 22 | + Reference Manual ~ |
| 23 | + |
| 24 | + |
| 25 | +============================================================================== |
| 26 | +CONTENTS *textobj-symbols-contents* |
| 27 | + |
| 28 | + 1. Intro....................................|textobj-symbols-intro| |
| 29 | + 2. Symbols..................................|textobj-symbols-symbols| |
| 30 | + 3. Usage....................................|textobj-symbols-usage| |
| 31 | + 4. About....................................|textobj-symbols-about| |
| 32 | + |
| 33 | +============================================================================== |
| 34 | +1. Intro *textobj-symbols-intro* |
| 35 | + |
| 36 | +TODO |
| 37 | +============================================================================== |
| 38 | +2. Symbols *textobj-symbols-symbols* |
| 39 | + |
| 40 | +$ |
| 41 | +% |
| 42 | +* |
| 43 | +| |
| 44 | ++ |
| 45 | +- |
| 46 | +_ |
| 47 | +\ |
| 48 | +/ |
| 49 | + |
| 50 | +TODO description |
| 51 | + |
| 52 | + |
| 53 | +============================================================================== |
| 54 | +3. Usage *textobj-symbols-usage* |
| 55 | + |
| 56 | +TODO elaborate on others |
| 57 | + |
| 58 | +The textobj-symbols plugin provides two new |text-objects| which are triggered |
| 59 | +by `a|` and `i|` respectively. You can use them when writing Vim help |
| 60 | +documentation (Wow, how meta), or markdown tables. |
| 61 | + |
| 62 | +For example, suppose you have the following markdown table: > |
| 63 | +
|
| 64 | + | Cats | Dogs | |
| 65 | + |:------------:|:--------:| |
| 66 | + | Mr. Whiskers | Snuffles | |
| 67 | + | Oscar | Bella | |
| 68 | +< |
| 69 | +If you want to change 'Mr. Whiskers' to 'Tigger', you can do the following |
| 70 | +(cursor position marked by *): |
| 71 | + |
| 72 | +`| Mr. Wh*iskers |` and type `ci|` to get `|*|`, where you can make your |
| 73 | +replacement `| Tigger |` . |
| 74 | + |
| 75 | +Another example is if you are writing Vim help documentation and have |
| 76 | +a hot-link, which is a word surrounded with pipes as such: > |
| 77 | +
|
| 78 | + |bad tag| |
| 79 | +< |
| 80 | +If you want to delete the hot-link, you can do the following (cursor position |
| 81 | +marked by *): |
| 82 | + |
| 83 | +`|bad*tag|` and type `da|`, which will delete the hot-link. |
| 84 | + |
| 85 | +============================================================================== |
| 86 | +4. About *textobj-symbols-about* |
| 87 | + |
| 88 | +You can find the most updated version of the plugin from: |
| 89 | + |
| 90 | + http://github.com/EvanQuan/vim-textobj-symbols |
| 91 | + |
| 92 | +vim:tw=78:ts=8:ft=help:norl: |
0 commit comments