Skip to content

Instantly share code, notes, and snippets.

@sjl
Created October 2, 2013 16:00
Show Gist options
  • Save sjl/6796051 to your computer and use it in GitHub Desktop.
Save sjl/6796051 to your computer and use it in GitHub Desktop.

I need a key to move the cursor to the space before the current WORD. Here's my use case:

.
                                   cursor --v
$ java -jar foo.jar run /some/long/path/here#
<c-magic>
$ java -jar foo.jar run#/some/long/path/here
              cursor --^

That way I can c-w to kill that run command and then type out a different one, but preserving the path.

Any ideas?

@grota
Copy link

grota commented Oct 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment