Crates.io | bookit |
lib.rs | bookit |
version | 2.0.0 |
source | src |
created_at | 2022-12-31 07:20:26.945759 |
updated_at | 2023-01-30 08:48:10.527734 |
description | Fast and simple bookmark manager for your operating system. |
homepage | https://github.com/Nate-Wilkins/bookit |
repository | https://github.com/Nate-Wilkins/bookit |
max_upload_size | |
id | 748287 |
size | 71,994 |
Fast and simple bookmark manager for your operating system.
cargo install bookit
To setup bookit
you need to run:
bookit config create
This will create a configuration file for where your bookmarks will be stored.
You can put this in your .zshrc
file (just make sure $HOME/.zsh_functions/
is in your
fpath
):
if [[ ! -f "$HOME/.zsh_functions/_bookit" ]]; then
bookit completions --type zsh > "$HOME/.zsh_functions/_bookit"
fi
Or you can generate yours with:
bookit completions --type $SHELL # Where $SHELL is zsh,bash,fish,elvish,powershell
To configure bookit you can update the following variables.
$BOOKIT_LOG_LEVEL
(unset): Sets the log level for the program.
$BOOKIT_CONFIG_PATH
(~/.bookit
):
Configuration file path where bookit stores bookmarks.
$BOOKIT_EDIT_COMMAND
($EDITOR "$BOOKIT_CONFIG_PATH" "+/$VIM_BOOKIT_BOOKMARK_NAME"
):
Process command to run to edit a bookmark. Available variables are:
$BOOKIT_CONFIG_PATH
: Path to the configuration.$BOOKIT_BOOKMARK_NAME
: Name of the bookmark to edit.$VIM_BOOKIT_BOOKMARK_NAME
: $BOOKIT_BOOKMARK_NAME
with proper escaping for searching in vim.Written in rust. Workflows are defined in .envrc.sh
.