Compare commits
No commits in common. "657276af6d45d3bab48cf129587965388a845e17" and "4fce36e27b5122d6e2c13e6d9517887937fb68ce" have entirely different histories.
657276af6d
...
4fce36e27b
@ -17,7 +17,6 @@
|
|||||||
src: prompt_fresh_setup
|
src: prompt_fresh_setup
|
||||||
dst: ~/.local/share/zsh/site-functions/prompt_fresh_setup
|
dst: ~/.local/share/zsh/site-functions/prompt_fresh_setup
|
||||||
- repo:
|
- repo:
|
||||||
- https://github.com/zsh-users/zsh-autosuggestions.git
|
|
||||||
- https://github.com/zsh-users/zsh-history-substring-search.git
|
|
||||||
- https://github.com/zsh-users/zsh-syntax-highlighting.git
|
- https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||||
|
- https://github.com/zsh-users/zsh-history-substring-search.git
|
||||||
- message: zsh will be the default prompt after next login
|
- message: zsh will be the default prompt after next login
|
||||||
|
13
zshrc
13
zshrc
@ -3,12 +3,8 @@
|
|||||||
|
|
||||||
# Load plugin scripts
|
# Load plugin scripts
|
||||||
plugin-load() { source ~/.config/zsh/$1/$1.plugin.zsh }
|
plugin-load() { source ~/.config/zsh/$1/$1.plugin.zsh }
|
||||||
plugin-load zsh-autosuggestions
|
|
||||||
plugin-load zsh-history-substring-search
|
|
||||||
plugin-load zsh-syntax-highlighting
|
plugin-load zsh-syntax-highlighting
|
||||||
|
plugin-load zsh-history-substring-search
|
||||||
# Disable non end-of-line autosuggest accept widgets
|
|
||||||
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)
|
|
||||||
|
|
||||||
# Remove duplicates from history
|
# Remove duplicates from history
|
||||||
setopt hist_ignore_all_dups
|
setopt hist_ignore_all_dups
|
||||||
@ -54,10 +50,6 @@ bindkey -M vicmd 'gcc' vi-pound-insert
|
|||||||
|
|
||||||
# TODO: vi-pipe???
|
# TODO: vi-pipe???
|
||||||
|
|
||||||
# Enable accepting autosuggestions
|
|
||||||
bindkey '^O' forward-work
|
|
||||||
bindkey '^P' autosuggest-accept
|
|
||||||
|
|
||||||
# Enable substring history search with 'j' and 'k'
|
# Enable substring history search with 'j' and 'k'
|
||||||
bindkey -M vicmd 'k' history-substring-search-up
|
bindkey -M vicmd 'k' history-substring-search-up
|
||||||
bindkey -M vicmd 'j' history-substring-search-down
|
bindkey -M vicmd 'j' history-substring-search-down
|
||||||
@ -69,9 +61,6 @@ bindkey -M vicmd 'K' run-help
|
|||||||
# Disable Ex mode with ':'
|
# Disable Ex mode with ':'
|
||||||
bindkey -rM vicmd ':'
|
bindkey -rM vicmd ':'
|
||||||
|
|
||||||
# Enable '<Shirt><Tab>' reverse order completions
|
|
||||||
bindkey '^[[Z' reverse-menu-complete
|
|
||||||
|
|
||||||
# Use editor to edit command line with '<Ctrl>V'
|
# Use editor to edit command line with '<Ctrl>V'
|
||||||
autoload -U edit-command-line
|
autoload -U edit-command-line
|
||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user