Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: shortcut for negative jump #6

Open
igorcafe opened this issue Mar 4, 2022 · 3 comments
Open

Feature: shortcut for negative jump #6

igorcafe opened this issue Mar 4, 2022 · 3 comments

Comments

@igorcafe
Copy link

igorcafe commented Mar 4, 2022

I know that by default I can press alt + G and type -10 to jump 10 lines up, but pressing a shortcut than minus is a lot of work.
Is there some way I could just press alt + shift + G and press 10 to jump ten linus up.

@Manokii
Copy link

Manokii commented Sep 19, 2022

I know that by default I can press alt + G and type -10 to jump 10 lines up, but pressing a shortcut than minus is a lot of work. Is there some way I could just press alt + shift + G and press 10 to jump ten linus up.

this could also be ctrl + enter when jumping into line just like opening file in a new tab group

@DanielBreiner
Copy link

Since this extension seems abandoned, I decided to create a new one inspired by it, which implements this feature (that I also wanted) and a few more QoL improvements: https://marketplace.visualstudio.com/items?itemName=DanielBreiner.go-to-relative

@Jaimeloeuf
Copy link
Owner

Hey @DanielBreiner ! Thanks alot for creating a new one, life got in the way and just didn't follow up with anything, so really appreciate you doing the good work!

Some context for everyone else that will ever come across this obscure thread.

I was actually able to make quite a few improvements to the extension after the one that is available on the marketplace, which I use as a local plugin. I am now unable to push any new changes to the marketplace or push new ones to the same organisation due to an azure outage in the past. I am now completely locked out of my azure account and Organisation which I used to publish this and other extensions, and have no way of getting it back despite contacting azure support for quite abit.

That and life just got in the way and didn't realise how many people actually use this plugin until I just went to check!

I spent almost a year sometime in 2022 ish using neovim and the awesome leap.nvim plugin which allows you to jump to words directly without requiring me to jump to a line before navigating to the position.

I got so used to the workflow that when I came back to VS Code, I found and now fully adopt the use of this extension. Although there are still times where I still use this extension for things like highlight over a few lines to cut, it is becoming very rare as all my "movements" now use the vscode-easymotion plugin.

Thanks for reading and I hope you give the vscode-easymotion plugin a try too! Might improve your workflow lots too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants