Skip to content

casonadams/skim.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

skim.zsh

This plugin tries to find skim based on where it's been installed, and enables its fuzzy auto-completion and key bindings.

This plugin will not install skim for you. This needs to be done before using.

To use it, add skim.zsh to the plugins in your zshrc file. The following is an example using zinit:

zinit wait lucid light-mode for \
  OMZL::key-bindings.zsh \
  OMZL::history.zsh \
  OMZP::git \
  casonadams/alacritty-shell \
  casonadams/skim.zsh \
  ;

Settings

All these settings should go in your zshrc file, before the plugin is loaded.

SKIM_BASE

Set to skim installation directory path:

export SKIM_BASE=/path/to/skim/install/dir

SKIM_DEFAULT_COMMAND

Set default command to use when input is tty:

export SKIM_DEFAULT_COMMAND='<your skim default command>'

If not set, the plugin will try to set it to these, in the order in which they're found:

The plugin default settings lets one toggle the preview window using ?

DISABLE_SKIM_AUTO_COMPLETION

Set whether to load skim auto-completion:

DISABLE_SKIM_AUTO_COMPLETION="true"

DISABLE_SKIM_KEY_BINDINGS

Set whether to disable key bindings (CTRL-T, CTRL-R, ALT-C):

DISABLE_SKIM_KEY_BINDINGS="true"

About

zsh plugin to setup skim shortcuts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages