Skip to content
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

Document CTRL+X binding #16

Merged
merged 7 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@ Options to supercharge your zsh experience
- Auto Color LS<BR>
![2022-11-10-22:00:31](https://user-images.githubusercontent.com/696094/201253556-cd469d4b-1ce1-412d-8ba7-da234c1e79cc.png)

- <kbd>CTRL</kbd>+<kbd>x</kbd> reload your `.zshrc` file.<BR>If you wish to disable that feature run the following command. Also consider express your thought to [#15](https://github.com/zap-zsh/supercharge/issues/15)
```zsh
sed -i '52 s/^/#/' $ZAP_PLUGIN_DIR/supercharge/supercharge.plugin.zsh
```


### ⚠️ Note:
If you wish to use also [zap-zsh/exa](https://github.com/zap-zsh/exa) make sure **exa** is loaded **after** this plugin. Take a look at [this issue](https://github.com/zap-zsh/exa/issues/3)
2 changes: 1 addition & 1 deletion supercharge.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ autoload -Uz colors && colors
export PATH="$HOME/.local/bin:$PATH"

# bindings
bindkey -s '^x' '^usource ${ZDOTDIR:-$HOME}/.zshrc\n'
bindkey -s '^x' '^usource $ZSHRC\n'
bindkey -M menuselect '?' history-incremental-search-forward
bindkey -M menuselect '/' history-incremental-search-backward

Expand Down