How do I keep scroll and cursor view when moving through jumplist history?
:set jumpoptions+=stack,view
When you jump around large files with and , the default behavior can feel disorienting because your cursor position may return but your viewport context does no
category:
config
tags:
#config
#navigation
#jumplist
#workflow
How do I make Ctrl-O and Ctrl-I behave like browser back and forward in Vim?
By default, Vim's jumplist can feel surprising: if you jump backward and then make a new jump, the old forward path is not always discarded like a browser histo
category:
config
tags:
#config
#navigation
#jumplist
#workflow
#motions
How do I jump back several entries in the jumplist with a single command?
Most Vim users know jumps backward in the jumplist, but fewer use a count with it.
category:
navigation
tags:
#navigation
#jumplist
#motions
#workflow
How do I jump back in the jumplist and automatically reveal and center the destination?
Jumping backward with is fast, but in folded or dense files it can land you in a collapsed section or near the edge of the screen, forcing extra cleanup keystro
category:
navigation
tags:
#navigation
#jumplist
#folding
#normal-mode
How do I jump to a literal search target without adding jump-list noise?
:keepjumps normal! /\Vtarget\<CR>
Repeated navigational searches can pollute the jump list, especially when you are doing targeted inspections before returning to your main edit location.
category:
navigation
tags:
#navigation
#search
#jumplist
#normal-mode
#workflow
How do I jump to the top of a file without creating a new jumplist entry?
Sometimes you need to make a quick structural move (for example, jump to top, inspect context, then return) without polluting jump navigation history.
category:
navigation
tags:
#navigation
#jumplist
#command-line
#workflow
How do I jump back to the previous context line without preserving exact column?
When you jump around a file, Vim tracks prior locations.
category:
navigation
tags:
#navigation
#motions
#marks
#jumplist
#normal-mode
How do I make Neovim restore the scroll position when navigating back through the jump list?
By default, when you navigate the jump list with (older) or (newer), Neovim restores the cursor's line and column but does NOT restore where the window was scro
category:
navigation
tags:
#neovim
#navigation
#jumplist
#config
How do I jump back and forth between my two most recent cursor positions?
Vim maintains a jumplist — a history of every "jump" you make (searches, marks, gg, G, %, etc.
category:
navigation
tags:
#navigation
#jumplist
#motions
#workflow