Tabs and windows
A Markdown editor with tabs lets you keep several notes open and move between them the way you move between pages in a browser. Separate windows go one step further: two notes side by side on screen, or two folders open at once. Both change only how you see the files. Every note is still its own .md file, saved on its own.
A typical working set might be three tabs from the same folder:
Notes/
plan.md tab 1
meeting-11-26.md tab 2
research/
sources.md tab 3
When are tabs better than switching from a file list?
When you keep going back and forth. Writing a plan while checking meeting notes, or drafting a document while copying from a source note, means many switches in a few minutes. A tab keeps each note one keystroke away, with no searching in between.
A file list is better for finding something you have not opened yet. Most editors give you both: a sidebar for finding, tabs for working.
When do you need a second window?
- To see two notes at once. Put the windows side by side to compare versions or copy between them.
- To work in two folders. Keep a work folder in one window and a personal folder in another.
- To give one note a whole screen. Move a long draft to a second monitor and keep the rest in the first window.
What should a Markdown editor with tabs let you do?
- Open a new tab and close one from the keyboard
- Reopen a tab you closed by mistake
- Jump to a tab by number, and cycle through tabs
- Reorder tabs by dragging
- Restore the open tabs when the app starts again
Tabs and windows in Noteline
Tabs work in the Noteline desktop app. Windows, and dragging a tab out into its own window, are in the desktop app. The shortcuts below are the desktop ones.
| To do this | Mac | Windows and Linux |
|---|---|---|
| New tab (a new note) | Cmd+T | Ctrl+T |
| Close tab | Cmd+W | Ctrl+W |
| Reopen closed tab | Cmd+Shift+T | Ctrl+Shift+T |
| Next or previous tab | Ctrl+Tab, Ctrl+Shift+Tab | Ctrl+Tab, Ctrl+Shift+Tab |
| Next or previous tab (alternate) | Cmd+Option+Right or Left | Ctrl+Alt+Right or Left |
| Go to tab 1 to 8 | Control+1 to 8 | Ctrl+1 to 8 |
| Go to the last tab | Control+9 | Ctrl+9 |
| New window | Cmd+Shift+N | Ctrl+Shift+N |
| Close window | Cmd+Shift+W | Ctrl+Shift+W |
On Windows and Linux, Ctrl+1 to Ctrl+6 set headings while the cursor is in a note, so they switch tabs only when the note text is not focused.
The same commands are in the File menu as New Tab, Reopen Closed Tab, New Window, Close Tab and Close Window.
- Reorder: drag a tab left or right along the tab bar.
- Move a tab to a new window: with a folder open, drag it down into the note area, or to the edge of the window. When the hint "Release to open in a new window" appears, let go. The note opens in a new window and leaves the old one.
- Rename: with a folder open, click the active tab once more to rename the note's file.
- Reopen: Noteline remembers the last 25 tabs you closed in a session.
- Restore: the first window reopens the tabs you had open in each folder. Extra windows start with a new note.
- One folder per window: choose File > Open Folder… in any window to show a different folder there.
On a Mac, a .md file opened from Finder goes to the window that already shows its folder, or to a new window if none does. Closing the last tab in a window closes the window.
Common questions
What happens to a tab when its file is deleted outside Noteline?
The tab closes. Noteline watches the folder, so a note deleted by another app, a sync service or Git disappears from the sidebar and its tab closes without a restart.
What happens to my text when I close a tab?
Noteline saves the note before the tab closes. In the desktop app, if the save fails, the tab stays open so nothing is lost.
Can a PDF open in a tab?
Yes. PDF files in the notes folder open in a tab in the built-in PDF viewer.