Comments (5)
Thanks for the information! I'll later take a closer look at them.
from ble.sh.
@dgudim Sorry for the delay. I've checked your configuration.
ble-import -d integration/fzf-completion ble-import -d integration/fzf-key-bindings
Those -d
flags specify that the loading of those configurations should be delayed, i.e., the loading of the settings will be deferred until the shell becomes idle. If you would like to add keybindings after integration/fzf-key-bindings
is loaded, you need to omit -d
from the above lines. Or another way is to make the Atuin initialization another module and load it with -d
(such as ble-import -d my/atuin
).
ble-bind -m emacs -x C-r - ble-bind -m vi_imap -x C-r -
Those lines are unnecessary.
from ble.sh.
This also doesn't work
bind -x '"\C-r": __atuin_history'
I think this should work as far as the ordering of the settings is correctly set up. You need to put the above setting after the fzf
configuration. If the fzf
configuration comes after it, the fzf
configuration will overwrite the setting you specified.
You wrote "does not work" but what does that mean? Does it mean the bind command produces an error? Does it mean fzf
is still called on pressing C-r? Or does it mean it produces an error message on C-r? Or does it mean nothing seems to happen on pressing C-r?
from ble.sh.
Does it mean fzf is still called on pressing C-r
Yes, fzf is still called
Here are a stripped-down versions of configs where this issue happens
#
# ~/.bashrc
#
source /usr/share/blesh/ble.sh --noattach --rcfile $HOME/.config/blerc
eval "$(atuin init bash --disable-up-arrow --disable-ctrl-r)"
[[ ${BLE_VERSION-} ]] && ble-attach
bind -x '"\C-r": __atuin_history'
#
# ~/.config/blerc
#
ble-import -d integration/fzf-completion
ble-import -d integration/fzf-key-bindings
ble-bind -m emacs -x C-r -
ble-bind -m vi_imap -x C-r -
from ble.sh.
Thank you very much, I changed it and several other things to a module and now everything loads correctly end even my shell startup feels faster. :)
from ble.sh.
Related Issues (20)
- highlighted text no longer deleted HOT 4
- Don't automatically trigger completions for certain directories HOT 2
- Notify users when overwriting options? HOT 8
- [wezterm, vim-airline] lualine over cursor HOT 4
- yy copies a newline in front of the line HOT 2
- Recent versions have cache update status presistently showing up HOT 12
- [macOS, iTerm2] Ctrl+d does not exit, disables backspace HOT 3
- [ncurses 6.1] ctrl+l and clear not working properly HOT 12
- Unable to set ble-face `syntax_function_name` HOT 7
- Source ble.sh each time when restart a console will increase the time cost. HOT 15
- expanding abbreviations that are the results of completions HOT 1
- [SUSE /etc/inputrc] issues sourcing ble.sh HOT 16
- [WSL] ble.sh breaks on start and does not let me type in the console HOT 38
- Several questions about ble.sh usage HOT 8
- Exit status 1 when using pipe and grep HOT 6
- [Alacritty v0.7.0-0.13.1] Newlines inserted when scrolling up HOT 16
- Sabbrev expansions not working HOT 8
- Disable option completion HOT 4
- [WINCH in ble/prompt/update] Cyclic dependency error HOT 13
- Moving down through history gets stuck in multiline HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ble.sh.