Comments (4)
The function you need is __resh_widget_control_R_compat
. Bind it to a hotkey.
Example for people who use zsh-vi-mode
plugin:
if [[ -f ~/.resh/shellrc ]]; then
source ~/.resh/shellrc
function ak_zvm_resh() {
zvm_define_widget ak_run_resh __resh_widget_control_R_compat
zvm_bindkey vicmd '^S' ak_run_resh
zvm_bindkey viins '^S' ak_run_resh
}
zvm_after_init_commands+=(ak_zvm_resh)
fi
from resh.
Is there a way to launch RESH by a command (e.g. resh
or history
instead of a keybinding?
from resh.
Sorry nvm answered my own question, hadn't installed yet. resh
is a command to launch. Not sure how to un-keybind it yet, but working on that now.
from resh.
Answer to this is modify the config file and set BindControlR = false
from resh.
Related Issues (20)
- Bad UX when `.resh_history.json` is corrupted HOT 3
- Often crash on open terminal HOT 3
- vi bindings?
- resh messes with my starship prompt: it adds plus (+) to the start of it HOT 2
- Incomplete or incorrect text in install info block HOT 1
- Windows Support (MSYS2/git bash) HOT 5
- use of internal package github.com/curusarn/resh/internal/record not allowed HOT 1
- Release v3 HOT 1
- Don't enable RESH in old shells HOT 1
- Use `eval $(resh-init)` instead of `. ~/.resh/shellrc` HOT 3
- Bundle `bash-preexec` with Resh shell files
- Test v3 installation HOT 2
- Install using Brew HOT 1
- Unable to install it with sh HOT 3
- Bash-preexec use bash_preexec_imported
- Accessing history in multiuser environment HOT 2
- MacOS installation problems HOT 1
- broken fzf Ctrl + t feature. HOT 2
- Resh overrides behaviour of zsh-autosuggestions HOT 1
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 resh.