Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 3.17 KB

bookmarks.org

File metadata and controls

81 lines (59 loc) · 3.17 KB

❮ Back to Casual

Casual Bookmarks

An opinionated Transient-based user interface for the Emacs Bookmark list.

images/casual-bookmarks-screenshot.png

Install

If installed via MELPA then add these lines to your Emacs initialization file with your binding of preference.

(require 'casual-bookmarks) ; optional if using autoloaded menu
(keymap-set bookmark-bmenu-mode-map "C-o" #'casual-bookmarks-tmenu)

Configuration

Use these keybindings to configure bookmark list to be consistent with keybindings used by Casual Bookmarks.

(keymap-set bookmark-bmenu-mode-map "J" #'bookmark-jump)

Casual Bookmarks also includes the keymap casual-bookmarks-main-menu which inserts a Bookmarks menu into the main menu bar as shown below.

images/bookmarks-main-menu.png

To enable this, add the following configuration to your initialization file.

(require 'casual-bookmarks)
(easy-menu-add-item global-map '(menu-bar)
                    casual-bookmarks-main-menu
                    "Tools")

While not necessary, having the current bookmark highlighted is convenient. Enable hl-line-mode for the bookmark list as shown below.

(require 'hl-line)
(add-hook 'bookmark-bmenu-mode-hook #'hl-line-mode)

Finally, customize the variable bookmark-save-flag to the value 1 to ensure that your bookmark changes are always saved.

The above guidance largely extends the work done in the blog post Using Bookmarks in Emacs like you do in Web Browsers.

Usage

Unicode Symbol Support

images/casual-bookmarks-unicode-screenshot.png

By enabling “Use Unicode Symbols” from the Settings menu, Casual Bookmarks will use Unicode symbols as appropriate in its menus. The following mapping is shown in the table below:

NamePlainUnicode
:previousPrevious
:nextNext
:jumpJump🚀
:beginning-of-bufferBeginning
:end-of-bufferEnd
:backwardBackward
:forwardForward
:narrowNarrow→←
:widenWiden←→

Sponsorship

If you enjoy using Casual Bookmarks, consider making a modest financial contribution to help support its development and maintenance.

images/default-yellow.png

See Also