Skip to content

v4.4.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@pit-ray pit-ray released this 24 Feb 02:24
· 411 commits to master since this release

Minor

New

  • Add the following word-motion which behave almost exactly like Vim. (#57, #75)

    ID Feature Emulation
    move_fwd_word words forward for normal mode. w
    move_fwd_word_simple words forward for visual mode. w
    move_bck_word words backward for normal mode. b
    move_bck_word_simple words backward for visual mode. b
    move_fwd_bigword WORDS forward. W
    move_bck_bigword WORDS backward. B
    move_end_word Forward to the end of words. e
    move_end_bigword Forward to the end of WORDS. E
    move_bckend_word Backward to the end of words. ge
    move_bckend_bigword Backward to the end of WORDS. gE

    These functions do not work in visual mode except for w and b, because they copy the text once and retrieve the text via the clipboard. iskeyword option is fixed to the default value of Vim in Windows and cannot change it currently.
    There is an option charbreak to set the criteria for considering a Unicode character as a single character.

    ID Type Default Note
    charbreak str grapheme Mode for how to split a single Unicode character. The grapheme mode treats a combination character as a single character. The codepoint mode processes the combination character for each codepoint.