vim-sneak : motion improved
| script karma
Downloaded by 349
Comments, bugs, improvements
script versions (upload new version)
|Sneak is a Vim plugin that enables you to move to any location specified by two characters. It works across multiple lines; with operators (including repeat .); and in visual mode. Move to the next or previous match via ; or ,. Move to the nth match by prefixing ; or , with a [count].
The plugin chooses sane defaults, which are easily changed via <Plug> mappings. See :help sneak for options and details.
Latest version and full details are here:
Click on the package to download.
ip used for rating: 22.214.171.124
- support for mbyte/lang keymaps
- new option to disable "clever-s": `g:sneak#s_next`
- "clever-s" (g:sneak#s_next) is now disabled by default
**New features for *streak-mode*:**
- intuitive, reliable support for operators
- intuitive, reliable support for dot-repeat (requires repeat.vim)
- handle ctrl-c like <esc>
- allow S/Z/f/F/t/T in target labels
- put 's' at the start of target_labels
- provide sneak#is_sneaking() function to allow flexible mappings, for example:
nmap <expr> s sneak#is_sneaking() ? '<Plug>SneakNext' : 's'
- provide <Plug>(SneakStreak*) in visual-mode and operator-pending mode
- handle operator-pending on ; , and [count]
- indentLine compatibility / don't highlight concealed characters in other windows
- fixed inclusive (f), exclusive (t) behavior
- fixed <Plug>(SneakStreak) mapping
- handle very long wrapped lines
- don't highlight same buffer in other windows
- more robust dot-repeat after streak-mode operation