Changed from emacs to vim bindings. Made notes
This commit is contained in:
parent
3ccd51e70f
commit
0ec4d135bd
1 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
# Set up the prompt
|
# Set up the prompt
|
||||||
|
# Note: Check the zsh underlying engine on the system
|
||||||
|
# Manjaro uses Prezto
|
||||||
|
|
||||||
autoload -Uz promptinit
|
autoload -Uz promptinit
|
||||||
promptinit
|
promptinit
|
||||||
|
|
@ -14,7 +16,7 @@ bindkey '^H' backward-kill-word
|
||||||
bindkey '^F' forward-word
|
bindkey '^F' forward-word
|
||||||
bindkey '^B' backward-word
|
bindkey '^B' backward-word
|
||||||
# Use emacs keybindings even if our EDITOR is set to vi
|
# Use emacs keybindings even if our EDITOR is set to vi
|
||||||
bindkey -e
|
# bindkey -e
|
||||||
|
|
||||||
# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
|
# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
|
|
@ -52,9 +54,13 @@ else
|
||||||
print "404: ~/.zsh/zshalias not found."
|
print "404: ~/.zsh/zshalias not found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Note: Only use this if keyagent is not installed / available
|
||||||
eval `ssh-agent -s` && ssh-agent
|
eval `ssh-agent -s` && ssh-agent
|
||||||
ssh-add .ssh/tlc_gitlab
|
ssh-add .ssh/tlc_gitlab
|
||||||
|
|
||||||
|
# Export key file to agent keychain
|
||||||
|
#keychain --agents ssh --quick --quiet --noask /home/tracey/.ssh/*.pub
|
||||||
|
|
||||||
#-------------------------------------------------------------
|
#-------------------------------------------------------------
|
||||||
# Prompt bits
|
# Prompt bits
|
||||||
#-------------------------------------------------------------
|
#-------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue