Chapter 9: Navigate Between Files with Jumps

Chapter Overview

Part III: Getting Around Faster | Tips 55-61

Jumps let you move between files and positions quickly.

Tips in This Chapter

Tip Title Mastered

55

Traverse the Jump List

[ ]

56

Traverse the Change List

[ ]

57

Jump to the Filename Under the Cursor

[ ]

58

Snap Between Files Using Global Marks

[ ]

Jump Commands

Command Effect

Ctrl-o

Jump back

Ctrl-i

Jump forward

g;

Previous change

g,

Next change

gf

Go to file under cursor

Ctrl-]

Jump to tag definition

Mark Commands

Command Effect

m{a-z}

Set local mark

m{A-Z}

Set global mark

'{mark}

Jump to line of mark

`{mark}

Jump to exact position

Commands Learned

Command Description Notes

Practice

Commands I tried while reading:

" (Add commands you practiced)

Questions

Things I want to explore further.

Chapter Complete

  • Read entire chapter

  • Tried all tips

  • Noted key learnings

Date completed: _