terryma / vim-expand-region

Vim plugin that allows you to visually select increasingly larger regions of text using the same key combination.
MIT License
1.1k stars 46 forks source link

keep jumplist unchanged #12

Open Konfekt opened 9 years ago

Konfekt commented 9 years ago

Avoid that the visual expansion mapping <Plug>(expand_region_expand) adds a mark to the jump list.

Konfekt commented 8 years ago

:h jumplist shows

You can explicitly add a jump by setting the ' mark with "m'".  
Note that calling setpos() does not do this.