-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Fix marks jumping #356
Fix marks jumping #356
Conversation
BTW, I noticed that you use something like nnoremap <silent> <C-o> :<C-u>call <SID>jump(0)<CR> This can be done in more convenient syntax: nnoremap <C-o> <Cmd>call <SID>jump(0)<CR> Let me know if you like the idea, I will send a PR. |
I like, but |
vim/vscode-jumplist.vim
Outdated
@@ -23,6 +29,7 @@ augroup VscodeJumplist | |||
augroup END | |||
|
|||
|
|||
onoremap <C-o> <Cmd>call <SID>jumpToMark()<CR> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why <C-o>
here? What about jumping with `A
and 'A
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omg, sorry, just a stupid typo after merge. Fixed.
function s:jump(forward) | ||
function! s:jumpToMark() abort | ||
let g:isJumping = 1 | ||
normal! ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about 'A
?
Hm... The shortcut is working, but |
Do |
Yes I just tried PR, it doesn't work. But changing these to:
then |
This is strange. What I have tried:
Of course. But for me even any jumping do not works between two files. |
Jumplist is each own separate por editor column and not being inherited by split commands (see readme) 😄 open another file in the same column, switch between them and use |
Still not works for me. What I tried
I also updated this branch to the latest master just to be sure. Also this was done without any settings. |
Oh, got it. The problem was in If
Another issue I noticed:
Is it possible to improve jumping system? I think this should be done before fixing marks. |
I noticed this problem too, for some reason neovim sends
There are limitations with jumping. Opening a buffer doesn't create a jumppoint. Not easy to solve |
Maybe use VSCode jumping for |
Unfortunately vscode jumping is completely broken because setting vscode cursor is creating vscode jumppoint for each cursor move |
Yes :( |
Probably can be workarounded by using vscode's |
Nope. |
Closed after #461. |
Closes #228.