mirror of
https://github.com/machakann/vim-sandwich.git
synced 2026-05-28 00:26:34 +02:00
39673fb3ce
Textobj-auto has elected text by wrapped text excluding surroundings. However, this method works unintentionally, for example, reported at #127. This commit changes the election algorithm to use representative lengths; it is the length of wrapped text excluding surroundings if the cursor inside or including surroundings if the cursor is on either one of the surroundings.
Use themis.vim (https://github.com/thinca/vim-themis) 1. git clone https://github.com/thinca/vim-themis.git 2. cd path/to/vim-sandwich 3. path/to/vim-themis/bin/themis (Linux) path/to/vim-themis/bin/themis.bat (Windows)