03Neovim plugin

radar.nvim

Jump between your working files with two keystrokes.

Most of a day happens in about ten files. radar keeps them in a small HUD at the bottom of the pane, each one key after space: locks on the home row, recent files on the numbers, the alternative file on o. Your fuzzy finder keeps the rest. Kept per project and git branch.

  • Neovim
  • MIT
01

The keys

  1. Lock what you work on

    space l locks the current file to the next free slot on the home row.

  2. Jump with two keys

    space a opens the first lock, space 1 the most recent file, space o the alternative file.

  3. Rearrange as text

    space e opens the locks as lines. Delete, reorder, :w, and the keys follow.

  4. Tabs too

    space t shows every tab and its buffers where the HUD sits.

After space
asdfg

locks

12345

recent files

o

alternative file

leth?

lock · edit · tabs · toggle HUD · help

Eleven files, two keys each, left hand on the home row. The prefix is yours to change.

  • %src/app.ts
  • osrc/app.test.ts
  • asrc/router.ts
  • ssrc/store.ts
  • dREADME.md
  • 1src/api/client.ts
  • 2package.json
  • 3src/ui/list.ts
02

See it

Jump

Two keys to any file in view

Lock, alternative, recent: the HUD shows the key next to every file.

Jumping from the Lock HUD to a lock, the alternative file and a recent file

Splits

Follows the active pane

The HUD moves with the split you're in and flips to the top when the cursor runs under it.

The HUD following the active split and moving out of the cursor's way

Editor

Locks are just lines

Reorder with the editing you already know, write, done.

Reordering locks in the lock editor

Tabs

Every tab at a glance

Tabs and their buffers, with git and LSP state, where the HUD sits.

The Tab HUD listing tabs and their buffers
03

Details

  • Per project and branch

    Switch branches and your locks and recent files switch with you.

  • Out of the way

    The HUD dodges the cursor line, or stays put at the bottom if you prefer scrolloff.

  • Survives restarts

    Locks and recent files are saved with atomic writes. :RadarCleanup clears out deleted branches.

  • Open it your way

    From the lock editor, open a file in the window, a split, a tab or a float.

  • Directories too

    Oil directory buffers work as locks and recent files.

  • Your theme

    The HUD uses your colourscheme's own highlight groups.

04

Install

{ 'black-atom-industries/radar.nvim', opts = {},}

Other plugin managers: call require('radar').setup() yourself.

05

Changelog

Live from GitHub

Releases

GitHub couldn't be reached right now. Every release and commit is on GitHub.

Recent commits

GitHub couldn't be reached right now. Every release and commit is on GitHub.