-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keybindings seem to conflict with fzf's #24
Comments
Hi @sktrinh12 I think you can read here. Also, you can refer to #4. Thanks and regards |
Thanks so much for providing that info. I didn't see that it was already addressed. Sorry to duplicate the issue. So I just append to the end of my
Excuse my ignorance, not experienced at the command line. :) |
Yes, just append the code as you showed to the end of your |
ok, i tried that, but it didn't work. I don't know where this |
You can check your |
i put the two original source lines inside:
Looks kinda ugly and long, but it works for now. Thanks for the help. |
Hi @sktrinh12 😃 I'm glad to hear that you have settled down this issue. And Welcome to star this project for further updates in the future. For better code style, I think you can use below one: # The plugin will auto execute this zvm_after_init function
zvm_after_init() {
source /usr/share/doc/fzf/examples/key-bindings.zsh
source /usr/share/doc/fzf/examples/completion.zsh
} Alternatively, you can "git clone" this repository to any directory and run install script. git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install After installation, just use below one: zvm_after_init_commands+=('[ -f ~/.fzf ] && source ~/.fzf') Thanks and regards |
thanks for the suggestion! i starred your repo! |
This seems like more of a work-around than a good final solution. For example, if you configure fzf using oh-my-repl, there is already a nice script that hunts down the location of fzf keybindings and calls Isn't there some way to not overwrite existing bindings, and/or record them and re-establish them for insert mode? |
An example use case: my dotfiles are designed to be portable, so they work on multiple environments. I don't want to specify machine specific folders in my .zshrc file because they need to work generically over several different machines (macOS, ubuntu and WSL 2). |
Hi @haberdashPI Actually, there is another option for you to config the mode of initialization, and the feature is in progress. As we know, most of plugins do their initialization when they are sourced. However, this plugin's initialization is postponed to a new command line started, it caused the overwriting issues that you have met. Thanks and regards. |
Hi @haberdashPI Now this plugin has provided an option called Thanks and regards |
Thanks for the fast response @jeffreytse! From what I can tell, placing |
Hi @haberdashPI Has your issue been settled? Don't hesitate to tell me the result. Thanks and Regards |
Hi @jeffreytse: the plugin is working well for me, I haven't had issues since implementing the fix. |
Hey there, i.e
|
This did not work for me i tried
As well as
|
hi, thanks for creating this wonderful plugin. I am having trouble getting it working with fzf. My
.zshrc
file looks like this:if I comment out ZVM, fzf will work, and if I comment out fzf, ZVM will work. I also tried switching order and same situation. Any ideas how to get these two plugins working in harmony? Thanks.
The text was updated successfully, but these errors were encountered: