Compare commits
4 Commits
2c189c87e6
...
da44e5f457
Author | SHA1 | Date | |
---|---|---|---|
da44e5f457 | |||
db5adc8117 | |||
657276af6d | |||
479d59f0d0 |
5
zshrc
5
zshrc
@ -55,7 +55,7 @@ bindkey -M vicmd 'gcc' vi-pound-insert
|
|||||||
# TODO: vi-pipe???
|
# TODO: vi-pipe???
|
||||||
|
|
||||||
# Enable accepting autosuggestions
|
# Enable accepting autosuggestions
|
||||||
bindkey '^O' forward-word
|
bindkey '^O' forward-work
|
||||||
bindkey '^P' autosuggest-accept
|
bindkey '^P' autosuggest-accept
|
||||||
|
|
||||||
# Enable substring history search with 'j' and 'k'
|
# Enable substring history search with 'j' and 'k'
|
||||||
@ -77,9 +77,6 @@ autoload -U edit-command-line
|
|||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
bindkey -M vicmd '^V' edit-command-line
|
bindkey -M vicmd '^V' edit-command-line
|
||||||
|
|
||||||
# Get the shells parent process name.
|
|
||||||
ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) }
|
|
||||||
|
|
||||||
# Enable changing cursor shape based on vi mode
|
# Enable changing cursor shape based on vi mode
|
||||||
if [ "$ITERM_PROFILE" != "" ] && [ "$TMUX" = "" ]; then
|
if [ "$ITERM_PROFILE" != "" ] && [ "$TMUX" = "" ]; then
|
||||||
# iTerm2 cursor shape escape sequences outside tmux
|
# iTerm2 cursor shape escape sequences outside tmux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user