Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lambdalisue/vim-fern-bookmark
🌿 fern.vim plugin which add bookmark scheme
https://github.com/lambdalisue/vim-fern-bookmark
fern-vim-plugin
Last synced: 22 days ago
JSON representation
🌿 fern.vim plugin which add bookmark scheme
- Host: GitHub
- URL: https://github.com/lambdalisue/vim-fern-bookmark
- Owner: lambdalisue
- License: mit
- Created: 2020-01-26T14:53:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-23T07:34:43.000Z (over 2 years ago)
- Last Synced: 2024-10-04T13:39:21.853Z (about 1 month ago)
- Topics: fern-vim-plugin
- Language: Vim script
- Homepage:
- Size: 53.7 KB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌿 fern-bookmark.vim
[![fern plugin](https://img.shields.io/badge/🌿%20fern-plugin-yellowgreen)](https://github.com/lambdalisue/fern.vim)
A plugin for [fern.vim](https://github.com/lambdalisue/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 `` 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](./LICENSE).
Contributors need to agree that any modifications sent in this repository follow the license.