A plugin for fern.vim which provides simple bookmark feature.
First of all, open fern for any scheme and hit B
to save selected nodes to bookmarks.
Then, execute the following command to open a bookmark tree.
:Fern bookmark:///
In bookmark tree, you can manually create a new bookmark with N
or edit with e
.
Or, hit <Return>
to open the bookmark, x
to open the bookmark with a system
program, or execute cd/lcd/tcd
action to change current directory.
Addition to the builtin mappings/actions, the followings are available for bookmark scheme.
Mapping | Action | Description |
---|---|---|
N |
new-leaf |
Add new bookmark |
K |
new-branch |
Add new bookmark folder |
D |
remove |
Remove bookmark or folder |
x |
open:system |
Open the bookmark with a system program |
cd |
Change directory with cd command |
|
lcd |
Change directory with lcd command |
|
tcd |
Change directory with tcd command |
And the followings are available for ANY scheme.
Mapping | Action | Description |
---|---|---|
B |
save-as-bookmark |
Save selected nodes as bookmarks (node must has bufname ) |
See :help fern-bookmark-variable
.
The code in fern-bookmark.vim follows MIT license texted in LICENSE. Contributors need to agree that any modifications sent in this repository follow the license.