straightforward - chimay/wheel GitHub Wiki

<!-- vim: set filetype=markdown: -->

Navigation

Next

  • location : <M-w><PageDown>
  • circle : <M-w><C-PageDown>
  • torus : <M-w><S-PageDown>

Previous

  • location : <M-w><PageUp>
  • circle : <M-w><C-PageUp>
  • torus : <M-w><S-PageUp>

Switch

  • older location in history : <M-w><Home>
  • newer location in history : <M-w><End>
  • older location in same circle : <M-w><C-Home>
  • newer location in same circle : <M-w><C-End>
  • older location in same torus : <M-w><S-Home>
  • newer location in same torus : <M-w><S-End>

Info

Display a dashboard indicating the wheel state :

current torus > current circle > current location

Default mapping : <M-w>i

Sync

Sync down : wheel -> vim state

The jump function loads the current file & position of the wheel in the current window. If the file is already displayed in another window, jump to it instead.

This sync-down process is automatically run by every navigation map that deals with elements in the wheel.

Sometimes however, you want to quickly edit a file that has nothing to do with your usual groups. You can then go back by manually launching the sync-down. The default binding is :

<M-w>$

Sync up : current file & position -> wheel

The follow function try to find the closest location in the wheel that matches the current file & position. If found, the wheel current location is synced with the current file.

Let's say you edit a file, load a buffer or go to a tab or window without using a wheel map. The wheel state will then be distinct from your current file. You can ask the wheel to follow the current file by manually launch the sync-up process. The default mapping is :

<M-w><M-$>

This process can be partly automated, see :

Sync up : update current location line & column

The update function updates the current location to match cursor line & column. It is called by the follow routine, so you can also use <M-w><M-$> to launch it.

This process can be partly automated, see :

⚠️ **GitHub.com Fallback** ⚠️