echo "bindkey '^]' fzf_completion" >> ~/.zshrc # 使用ctrl + ]触发fzf补全 参考:github fzf-tab-completion 安装并配置fzf-history-search curl https://raw.githubusercontent.com/joshskidmore/zsh-fzf-history-search/master/zsh-fzf-history-search.zsh > ~/zsh-fzf-history-search.zsh echo "source...
让你的效率飞起——zsh+fzf极致体验 首先安装zsh,执行下面的命令(有点慢,耐心等一下) sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" 1 这个脚本会自动安装zsh,不用单独再去装zsh了,安装完后会有一个很漂亮的初始主题: 我们可以在vscode里配置一下默认...
这个脚本会自动安装zsh,不用单独再去装zsh了,安装完后会有一个很漂亮的初始主题: 我们可以在vscode里配置一下默认终端为zsh,这样在新建终端的时候就会默认进入zsh。 然后安装fzf,输入以下命令: git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf 克隆完成后执行: ~/.fzf/install 这样fzf会默...
然后按方向键,进入后可以yy复制,然后到指定地方p粘贴【Esc可退出】 Shift+v进入行选择模式,然后按方...
oh-my-zsh Clone the repository inside your oh-my-zsh repo: git clone https://github.com/joshskidmore/zsh-fzf-history-search${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-fzf-history-search Enable it in your.zshrcby adding it to your plugin list: ...
Repository files navigation README MIT license zsh-fzf A simple mirror of oh-my-zsh's fzf plugin. This plugin was not created by me. I'm simply hosting it here for use outside of oh-my-zsh.AboutA simple repository for hosting oh-my-zsh's fzf plugin. github...
Fuzzy auto-completion (bash, zsh) Vim/Neovim plugin You candownload fzf executablealone if you don't need the extra stuff. Using Homebrew You can useHomebrew(on macOS or Linux) to install fzf. brew install fzf# To install useful key bindings and fuzzy completion:$(brew --prefix)/opt/fzf...
使用FZF_DEFAULT_COMMAND将上述代码添加到.fzf.zsh(然后需要通过[ -f ~/.fzf.zsh ] && source ~/...
zsh-fzy是一个插件,使用进行某些模糊匹配操作。 该插件定义了以下Zle小部件: fzy-file-widget :启动递归文件选择,并将所选文件路径插入命令行。 fzy-cd-widget :开始子目录选择,并使用cd切换到所选目录。 fzy-history-widget :使用现有输入(如果有)作为初始搜索查询,开始选择命令历史记录,并将命令行替换为所选的...
1.安装fzf brew install fzf 2.安装插件 在~/.oh-my-zsh/plugins下面创建文件夹fzf, 在fzf创建文件fzf.plugin.zsh。 添加如下脚本: # Exit if fzf is not installed if ! builtin type fzf >/dev/null 2>&1; then return fi # Setup fzf if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]...