4 [][1]
5 [][2]
7 Quickly display your quick side notes in quick side window.
9 Side notes live in a plain text file, called `notes.txt` by default, in
10 the current directory or any higher directory in the current hierarchy.
11 i.e. When locating notes, we first look for a `notes.txt` file in the
12 current directory, then one directory up, then two directories up, and
15 Side notes are displayed in a side window with the command
16 `side-notes-toggle-notes`.
18 The filename is defined by user option `side-notes-file`.
20 To really mix things up, there's the user option
21 `side-notes-secondary-file`, which defaults to `notes-2.txt`, and will
22 display a separate notes file in a lower side window when the command
23 `side-notes-toggle-notes` is prefixed with an argument (`C-u`).
25 By default, having a notes file in any parent directory will locate that
26 file rather than visit a non-existing file in the current directory, but
27 you can override this by prefixing `side-notes-toggle-notes` with...
29 - `C-u C-u` to force visiting `side-notes-file` within the current
31 - `C-u C-u C-u` to force visiting `side-notes-secondary-file` within
32 the current directory.
34 Of course, you can use Markdown or Org Mode formatting by changing the
35 file extensions of `side-notes-file` and/or `side-notes-secondary-file`.
37 For more information on how to change the way the side window is
38 displayed, see `(info "(elisp) Side Windows")`
44 Install from [MELPA stable][1] then add something like the following to
47 (define-key (current-global-map) (kbd "M-s n") #'side-notes-toggle-notes)
49 [1]: https://stable.melpa.org/#/side-notes
50 [2]: https://melpa.org/#/side-notes