You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When in buffer there is another line of which the current line is a sub-string, running swiper (C-s) makes the cursor jumping to that line, instead of staying in the current one.
To reproduce in the scratch buffer:
Enter the following 10 lines, note the leading spaces in the last two lines:
zero
one two three
one
two
one two
three
one two three
one three
two
two
Move the cursor to any of the 3rd, 4th, 5th, 6th and 7th line.
Press C-s anywhere on that line. Watch the cursor jumping to column 0 of the 2nd line.
Move the cursor to the 8th line.
Press C-s anywhere on that line. The cursor does not move.
The most interesting part happens when the cursor is in the 9th line, press C-s makes the cursor jumping to the 10th line.
Press RET to select the 10th line and exit from swiper.
Then press C-s when in 10th line, watch the cursor jumping to the 4th line.
The text was updated successfully, but these errors were encountered:
zhaojiangbin
changed the title
swiper: point jumps to the first line of that the current line is a substring of
swiper: point jumps to the first line of that the current line is a substring
Nov 15, 2015
When in buffer there is another line of which the current line is a sub-string, running
swiper
(C-s) makes the cursor jumping to that line, instead of staying in the current one.To reproduce in the scratch buffer:
swiper
.The text was updated successfully, but these errors were encountered: