Keybindings

Vim commands, conventional chords, and the leader palette — all first-class.

Noteside is keyboard-first: drive it with full vim, or with the conventional chords you already know. The chords are always on, so they work even with vim enabled. Every command below comes from one table, so the three ways to reach it — ex-command, chord, and leader key — never drift apart.

Three places to search

These are easy to mix up:

  • ⌘Pfind files & content across the notebook (fuzzy)
  • ⌘⇧Fsearch note contents (grep, with a preview pane)
  • ⌘Ffind in the current note (toggles the in-note search bar)

See Search for the difference.

Conventional chords

Don't use vim? Turn it off (set vim = off in your ~/.notesiderc, or the settings panel) and these are all you need. They stay available with vim on, too.

ChordCommand
⌘PFind files & content
⌘⇧PCommand palette (searchable)
⌘⇧FSearch note contents (grep)
⌘FFind in the current note (toggle)
F3 / ⇧F3Next / previous search match
⌘NNew note
⌘SSave note
⌘WClose note
⌘⇧TReopen closed note
⌘J / ⌘KNext / previous note
⌘OSwitch notebook
⌥↵Open URL under cursor
⌘BToggle the sidebar
⌘EToggle inline live-preview
⌘= / ⌘-Editor font larger / smaller
⌘0Editor font reset
⌘⇧= / ⌘⇧-Interface larger / smaller
⌘,Settings panel
⌘/Keyboard cheatsheet

is Cmd on macOS, Ctrl elsewhere. Forgot one? ⌘/ opens the cheatsheet — which also edits them (see Editing shortcuts below). Or remap with bind <chord> <command> in ~/.notesiderc — see Configuration.

Vim commands

Standard vim throughout. On top of that, these ex-commands and motions are wired to the app:

CommandDoes
:w :q :wqSave · close note · save & close (:x too)
:find (:files)Fuzzy file & content finder
:grepSearch note contents
gx / :followOpen the URL under the cursor in the browser
:new / :rmNew note · delete note (asks to confirm)
:dup · :renameDuplicate · rename the current note
:revealReveal the note's file in the OS file manager
:notebook (:nb)Switch, open, or create a notebook
:previewToggle inline live-preview
:themeTheme picker (also vim's :colorscheme/:colo)
:navToggle the sidebar
:commandsOpen the searchable command palette
:settings :configSettings panel · edit ~/.notesiderc
:helpKeyboard cheatsheet
:set …CodeMirror-vim options (e.g. :set hlsearch)

Insert-escape (e.g. jj) and your own nmap/imap/vmap mappings live in ~/.notesiderc and apply on :w.

Right-click a note

A right-click on a note in the sidebar opens a native menu — Open, Reveal in Finder/Explorer, Duplicate, Rename…, and Delete — the same actions as the commands above. Delete and Rename open a small confirmation / input dialog.

The <Space> leader palette

Tap <Space> in normal mode to open a which-key menu, then a single key:

KeyCommand
<Space> fFind files & content
<Space> gSearch note contents
<Space> nNew note
<Space> qClose note
<Space> dDelete note
<Space> oSwitch notebook
<Space> bToggle the sidebar
<Space> pToggle live-preview
<Space> tTheme picker
<Space> ,Settings
<Space> cEdit ~/.notesiderc

Discovering commands

Three surfaces help you find your way:

  • ⌘⇧P — command palette. A searchable list of every command (also :commands).
  • <Space> — which-key menu. In vim normal mode, shows the leader keys above as you start typing.
  • ⌘/ — cheatsheet. A searchable list of every chord and command — type to filter it down.

Editing shortcuts

The ⌘/ cheatsheet doubles as a live keymap editor — no config file needed. Open it (or Settings → Keys → Edit keys). It leads with a search box: type to filter the list (by command name or :ex-command), then / to pick a command and:

  • Enter — record a new chord (press the keys; a clash is flagged inline, with Replace / Cancel). While recording, Backspace unbinds the command instead.
  • on the selected row resets that command to its default; Reset all keys (footer) restores every default.

Changes apply instantly and persist to ~/.notesiderc as bind lines, so the file and the editor never drift.

On this page