1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Clear Out The Jump List as a vim til

This commit is contained in:
jbranchaud
2019-02-18 11:25:09 -06:00
parent 2a1eec818d
commit 96c05f59ed
2 changed files with 14 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_767 TILs and counting..._
_768 TILs and counting..._
---
@@ -759,6 +759,7 @@ _767 TILs and counting..._
- [Center The Cursor](vim/center-the-cursor.md)
- [Check For An Executable](vim/check-for-an-executable.md)
- [Check Your Current Color Scheme](vim/check-your-current-color-scheme.md)
- [Clear Out The Jump List](vim/clear-out-the-jump-list.md)
- [Close All Other Splits](vim/close-all-other-splits.md)
- [Close All Other Windows](vim/close-all-other-windows.md)
- [Close the Current Buffer](vim/close-the-current-buffer.md)

View File

@@ -0,0 +1,12 @@
# Clear Out The Jump List
Vim uses a jump list to track all they jumps you've made during a session.
Vim can even be configured to keep a record of those jumps between sessions.
This is really handy for a long-lived project, but what if you want those
jumps cleared out?
You can clear them out for the current and subsequent windows using
`:clearjumps`. The jump list for existing windows will be unchanged and once
you start a new session, the full jump list will be restored.
See `:h :clearjumps` for more details.