Skip to content

Commit

Permalink
Remove omz plugin bindkey for browse (#134)
Browse files Browse the repository at this point in the history
The ctrl-b key is used for fundamental navigation in default emacs-style
zsh, and it isn't clear that wd is rebinding it.

Instead of guessing at what keybind would be suited, it's just removed
and the docs are made clearer.
  • Loading branch information
altschuler authored Sep 10, 2024
1 parent 759cd29 commit c32db81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,11 @@ rm -f ~/.zcompdump; compinit
## Browse
If you want to make use of the `fzf`-powered browse feature to fuzzy search through all your warp points, set up a keybind in your `.zshrc`:
`wd` comes with an `fzf`-powered browse feature to fuzzy search through all your warp points. It's available through the `wd browse` command. For quick access you can set up an alias or keybind in your `.zshrc`:
```zsh
bindkey ${FZF_WD_BINDKEY:-'^B'} fuzzy_wd_widget
# ctrl-b to open the fzf browser
bindkey ${FZF_WD_BINDKEY:-'^B'} wd_browse_widget
```
## Usage
Expand Down
1 change: 0 additions & 1 deletion wd.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ zle -N wd_browse_widget
zle -N wd_restore_buffer
autoload -Uz add-zle-hook-widget
add-zle-hook-widget line-init wd_restore_buffer
bindkey ${FZF_WD_BINDKEY:-'^B'} wd_browse_widget

0 comments on commit c32db81

Please sign in to comment.