Last Updated on April 8, 2023 by mishou

I. What is Nb


II. Setting Neovim for the editor used by “nb”

Open the terminal and run the following commands:

nb set editor

You will see the currently used editor in the terminal like this:

EDITOR is currently set to /usr/bin/micro

Pt the follwoing and run it:

Value: /usr/bin/nvim

III. Setting Brave Browser as default browser

When I ran ‘nb browse‘ , I saw the error message ‘Firefox can’t establish a connection to the server at localhost:6789‘ on FireDragon, which is installed by default on Garuda Linux. Despite the error, I will continue to use FireDragon, which is opened by pressing Super + F1). However, I set Brave Browser as my default browser for browsing my notes by adding the following line to the ‘~/.profile’ file: “

IV. Journal

NB doesn’t have a journal, but you can use notes as a journal because ‘nb add‘ uses the current date and time as the filename if no filename is specified.

nb ls in the terminal

You can edit the note with your editor by running the code:

nb edit journal:2

V. Inline images

Import an image from Wikipedia

nb thoughts:import

Create a new note nemed “wittgenstein” in the notebook named “thoughts”.

nb thoughts:add --title "wittgenstein"

Type the following in your editor opened:

# wittgenstein

26 April 1889 – 29 April 1951) was an Austrian philosopher who worked primarily in logic, the philosophy of mathematics, the philosophy of mind, and the philosophy of language. He is considered by some to be the greatest philosopher of the 20th century.

If your editor is Neorim, save the file with the following command:


Show the list:

Show the note in your browser:

nb browse thoughts:3

By mishou

Leave a Reply

Your email address will not be published. Required fields are marked *