evil icon indicating copy to clipboard operation
evil copied to clipboard

evil-jump-forward does not seem to work

Open nipunarora opened this issue 5 years ago • 10 comments

I use evil mode in spacemacs in the terminal mode and I've observed that evil-jump-forward does not seem to work. There are multiple issues here:

  1. :jumps seems to show all the positions, but not where you are similar to what vi is supposed to sho w with a > to denote current position
  2. c-o seems to work fine with going backwards
  3. neither c-i which indents, and evil-jump-forward seems to work as suggested

nipunarora avatar Mar 04 '19 15:03 nipunarora

Also see my comments about even more issues with the jumplist implementation in https://github.com/emacs-evil/evil/issues/732#issuecomment-454289474.

nnicandro avatar Mar 04 '19 17:03 nnicandro

@dzop is there an alternative? how can I get evil-jump-forward kind of feature?

nipunarora avatar Mar 05 '19 20:03 nipunarora

I have a branch containing my re-implementation of jumplists that fixes the problems that I mentioned and also has the correct behavior of :jumps here if you are comfortable with pulling in those changes in your own version of evil.

nnicandro avatar Mar 05 '19 23:03 nnicandro

Any news here? I do have the same problem

usq avatar Nov 22 '19 14:11 usq

I plan on submitting an issue to discuss a possible transition to my branch for evil-jumps. I'm not sure if there have been any fixes to the current implementation though.

nnicandro avatar Apr 09 '20 19:04 nnicandro

Hello, is there update on this?

kiennq avatar Nov 16 '20 00:11 kiennq

same issue here

tshu-w avatar Jan 19 '21 11:01 tshu-w

There's another implementation of jumplist https://github.com/gilbertw1/better-jumper. It integrates with evil and works fairly well. Also, it's bundled in doom-emacs. https://github.com/hlissner/doom-emacs/blob/19fa5e2559df406c3116400e7755b86e46ca217b/core/core-editor.el#L427

tomtomjhj avatar Sep 12 '21 04:09 tomtomjhj

"If you want to jump forwards with C-i in Spacemacs, like it does in Vim, then you have to set the dotspacemacs-distinguish-gui-tab variable to t, in .spacemacs. It's nil by default, and that makes it behave like TAB."- Direct excerpt from here https://github.com/syl20bnr/spacemacs/issues/9451#issuecomment-323514998.

This will not solve the problem of evil-jump-backward not working at all.

pradraju avatar Feb 24 '22 18:02 pradraju

@deep-calm "set the dotspacemacs-distinguish-gui-tab variable to t" it's not work for me.

wolfand11 avatar Oct 27 '23 03:10 wolfand11