Skip to main content
ref
Source Link
Ehvince
  • 1.1k
  • 10
  • 14

if you use evil-mode, the vim layer, then C-o and C-i will work the same.

They run the commands evil-jump-backward / forward. C-o jumps to the older position in the jump list, which is set automatically (marks are set on motion commands). C-i goes in reverse. We can also use TAB after a C-o instead of C-i. So using both functions will take you back and forth in your current buffer.

If you want this feature to be cross-buffers, check out evil-jumpers: http://melpa.org/#/evil-jumper

«
evil-jumper is an add-on for evil-mode which replaces the implementation of the jump list such that it mimics more closely with Vim's behavior. Specifically, it will jump across buffer boundaries and revive dead buffers if necessary. The jump list can also be persisted to a file and restored between sessions. »

Note: I learnt it on this wiki

if you use evil-mode, the vim layer, then C-o and C-i will work the same.

if you use evil-mode, the vim layer, then C-o and C-i will work the same.

They run the commands evil-jump-backward / forward. C-o jumps to the older position in the jump list, which is set automatically (marks are set on motion commands). C-i goes in reverse. We can also use TAB after a C-o instead of C-i. So using both functions will take you back and forth in your current buffer.

If you want this feature to be cross-buffers, check out evil-jumpers: http://melpa.org/#/evil-jumper

«
evil-jumper is an add-on for evil-mode which replaces the implementation of the jump list such that it mimics more closely with Vim's behavior. Specifically, it will jump across buffer boundaries and revive dead buffers if necessary. The jump list can also be persisted to a file and restored between sessions. »

Note: I learnt it on this wiki

Source Link
Ehvince
  • 1.1k
  • 10
  • 14

if you use evil-mode, the vim layer, then C-o and C-i will work the same.