FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Switching between files in Vim without fuzzy-finding everything
How-ToTools

Switching between files in Vim without fuzzy-finding everything

via Dev.toVimtricks.wiki1mo ago

Most of the time, fuzzy-finding isn't what you need. You already know which file you want — you were just there. The real problem is getting back to it fast. Here's a progression from the fastest built-ins to a full fuzzy picker, ordered by how much setup each requires. 1) <C-^> — toggle the file you were just in If you're jumping between exactly two files — say, auth.go and auth_test.go — this is the only command you need. < C - ^ > Why it matters <C-^> switches to the alternate file , which is simply the last buffer you had open. No filename to type, no fuzzy search, no menu. Just one keystroke back where you were. Real scenario You jump to a test file with gd to look up an interface definition. You've read what you need. <C-^> lands you back at your implementation file, cursor exactly where you left it. Caveat This only remembers one previous file. The moment you open a third buffer, the earlier one is no longer the alternate. For two-file back-and-forth it's unbeatable; for broader

Continue reading on Dev.to

Opens in a new tab

Read Full Article
30 views

Related Articles

Android Remote Compose:讓 Android UI 不用發版也能更新
How-To

Android Remote Compose:讓 Android UI 不用發版也能更新

Medium Programming • 3d ago

How-To

Learn Something Old Every Day, Part XVIII: How Does FPU Detection Work?

Lobsters • 3d ago

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 3d ago

How-To

How One File Makes Claude Code Actually Follow Your Instructions

Medium Programming • 3d ago

LeetCode Solution: 121. Best Time to Buy and Sell Stock
How-To

LeetCode Solution: 121. Best Time to Buy and Sell Stock

Dev.to Tutorial • 3d ago

Discover More Articles