|
| 1 | +# 1.1.0: This release is all for better `f` by making it tunable |
| 2 | +- New: [Summary] Now `f` is **tunable**. #852. |
| 3 | + - Inspired pure-vim's plugins: `clever-f`, `vim-seek`, `vim-sneak`. |
| 4 | + - Highlighting find-char. It help you to pre-determine consequence of repeat by `;`, `,` and `.`. |
| 5 | + - Aiming to get both benefit of two-char-find(`vim-seek`, `vim-sneak`) and one-char-find( vim's default ). |
| 6 | + - Even after two-char-find was enabled, you can auto-confirm one-char input by specified timeout. |
| 7 | + - Can reuse `f`, `F`, `t`, `T` as `repeat-find` like `clever-f`. |
| 8 | +- Config: [Detail] Following configuration option is available to **tune** `f`. |
| 9 | + - `keymapSemicolonToConfirmFind`: default `false`. |
| 10 | + - See explanation for `findByTwoChars`. |
| 11 | + - `ignoreCaseForFind`: default `false` |
| 12 | + - `useSmartcaseForFind`: default `false` |
| 13 | + - `highlightFindChar`: default `true` |
| 14 | + - Highlight find char, fadeout automatically( this auto-disappearing behavior/duration is not configurable ). |
| 15 | + - Fadeout in 2 second when used as motion. |
| 16 | + - Fadeout in 4 second when used as operator-target. |
| 17 | + - `findByTwoChars`: default `false` |
| 18 | + - When enabled, `f` accept TWO chars. |
| 19 | + - Pros. Greatly reduces possible matches, avoid being stopped at earlier spot than where you aimed. |
| 20 | + - Cons. Require explicit **confirmation** by `enter` for single char-input. You might mitigate frustration by. |
| 21 | + - Confirm by `;`, easier to type and well blend to forwarding `repeat-find`( `;` ). |
| 22 | + - Enable "keymap `;` to confirm `find` motion"( `keymapSemicolonToConfirmFind` ) configuration. |
| 23 | + - e.g. `f a ;` to move to `a`( better than `f a enter`?). `f a ; ;` to move to 2nd `a`(well blended to default repeat-find(`;`)). |
| 24 | + - Enable auto confirm by timeout( See. `findByTwoCharsAutoConfirmTimeout` ) |
| 25 | + - `findByTwoCharsAutoConfirmTimeout`: default `0`. |
| 26 | + - "When `findByTwoChars` was enabled, automatically confirm single-char input on timeout( msec ). |
| 27 | + - `0` means no timeout. |
| 28 | + - `reuseFindForRepeatFind`: default `false` |
| 29 | + - When `true` you can repeat last-find by `f` and `F`(also `t` and `T`). |
| 30 | + - You still can use `,` and `;`. |
| 31 | + - e.g. `f a f` move cursor to 2nd `a`. |
| 32 | + - My configuration( I'm still in-eval phase, don't take this as recommendation ). |
| 33 | + ```coffeescript |
| 34 | + keymapSemicolonToConfirmFind: true |
| 35 | + findByTwoChars: true |
| 36 | + findByTwoCharsAutoConfirmTimeout: 500 |
| 37 | + reuseFindForRepeatFind: true |
| 38 | + useSmartcaseForFind: true |
| 39 | + ``` |
| 40 | + |
1 | 41 | # 1.0.0: New default `stayOn` all `true`. |
2 | 42 | - Version: Decided to bump major version. |
3 | 43 | - Breaking: Default config change/Renamed config name. |
4 | 44 | - Summary: |
5 | | - - Now all `stayOn` prefixed configuration have new default `true`. |
| 45 | + - Now all `stayOn` prefixed configuration have new default `false`. |
6 | 46 | - New default behavior is NOT compatible with pure-Vim. |
7 | 47 | - Set all `stayOn` prefixed configuration to `false` to revert to previous behavior. |
8 | 48 | - Some configuration parameter name is renamed to have `stayOn` prefix. |
|
0 commit comments