Skip to content

lambdalisue/vim-fern-bookmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌿 fern-bookmark.vim

fern plugin

A plugin for fern.vim which provides simple bookmark feature.

Usage

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.

Mapping/Action

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)

Config

See :help fern-bookmark-variable.

License

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.

About

🌿 fern.vim plugin which add bookmark scheme

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published