Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

"s" in visual mode doesn't work #9

Open
AlexPl292 opened this issue Nov 17, 2020 · 10 comments
Open

"s" in visual mode doesn't work #9

AlexPl292 opened this issue Nov 17, 2020 · 10 comments
Labels
bug Something isn't working

Comments

@AlexPl292
Copy link
Contributor

s and S don't work in visual move with plugin enabled

@Mishkun Mishkun added the bug Something isn't working label Nov 17, 2020
@Mishkun
Copy link
Owner

Mishkun commented Nov 17, 2020

It also conflicts with surround plugin binding in visual mode

@strikerlulu
Copy link

Ya S conflicts can't we just use s for forward search ?

@Mishkun
Copy link
Owner

Mishkun commented Nov 19, 2020

@strikerlulu Okay, I'll fix it by enabling s in visual mode and providing instructions on how to change S binding to override surround mode

@dimsuz
Copy link

dimsuz commented Nov 22, 2020

What should I do if I want to leave S to surround plugin in visual mode?

@strikerlulu
Copy link

@dimsuz Didn't you read the previous comments ?
By default you can use S for surround plugin however you can also override it for sneak with the instructions...

@dimsuz
Copy link

dimsuz commented Nov 23, 2020

Hmm, somehow it didn't work, but now I've tried and it worked 🤷‍♂️

@PiotrBosak
Copy link

Is this issue resolved? It doesn't work for me, but based on the comments in this thread it seems like maybe it does for other people. I might want to take a crack at it myself if it's not implemented yet.

@Spirarel
Copy link

Is this issue resolved? It doesn't work for me, but based on the comments in this thread it seems like maybe it does for other people. I might want to take a crack at it myself if it's not implemented yet.

Visual mode does not work for me. The cursor moves as it should, but the visual selection remains at the point sneak is invoked.

@PiotrBosak
Copy link

I figured it out eventually, after you've jumped using sneak in visual mode, move the cursor to the left or right(h or l) and then the area will be selected. It is a little annoying but I think it's good enough.

@Spirarel
Copy link

Thanks for chiming in, Piotr. Frankly, if I need to use 1-2 more keys every visual selection, I might as well just stick to / and ? seeing as that's only 4 keys compared to the 5 needed here to jiggle the cursor. I'll stay subscribed to the issue. Hopefully, the author will address this, until then it's not really a viable plugin in my mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants