≡ Buffer
Keymap
In this Momentary Layer (≡), every core movement means:
change focus to <movement> buffer.
Buffers can be either marked or un-marked: each marked file gets its own tab on the tab bar, however only one the very rightmost end of the tabs on the tab bar show the open buffers.
When using coarse movements like >> and << you can only visit navigate to marked files.
Opened but non-marked files can be navigated-to through fine-movements like > and <.
Notably, when doing << on the left-most marked-file, the focus lands "warps" or cycles to
the rightmost file.
Besides the core movements based actions, a few other common actions are also sheltered in the ≡ Buffer these are:
- Closing the current file.
- Unmarking all files except the current one.
- Alternating between the current file and previously visited file.
Files on the tab bar have indicators for Marked/Unmarked status of a file and Saved/Unsaved status of a file. A note about the indicators is as follows:
marked , saved : [-]
marked , unsaved: [÷]
unmarked, saved : [ ]
unmarked, unsaved: [:]
Here the horizontal dash in a symbol represents that the file is marked. The colon symbol represents there are unsaved changes in the buffer. Thus something like the divide symbol combines both the horizontal dash and the colon, correspondingly meaning a file with the divide symbol is marked on the tab bar and has unsaved changes.
Examples
Workflow Overview
This workflow is designed to streamline your editing process by allowing quick access to your primary files.
During an editing session, you often work on primary files while occasionally referring to other less important files. Using ≡ Buffer, you can quickly jump back to your main files, enhancing your productivity and focus.
By utilizing file marking, you can efficiently navigate your editing environment and maintain your workflow's momentum.