mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
more fixes, more or less have this as i want
This commit is contained in:
parent
93af38f154
commit
b6d778201b
4 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
# Changing/making/removing directory
|
# Changing/making/removing directory
|
||||||
setopt auto_name_dirs
|
setopt auto_name_dirs
|
||||||
|
setopt auto_pushd
|
||||||
|
setopt pushd_ignore_dups
|
||||||
|
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias cd..='cd ..'
|
alias cd..='cd ..'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
## fixme, i duplicated this in xterms - oops
|
||||||
function title {
|
function title {
|
||||||
if [[ $TERM == "screen" ]]; then
|
if [[ $TERM == "screen" ]]; then
|
||||||
# Use these two for GNU Screen:
|
# Use these two for GNU Screen:
|
||||||
|
|
|
@ -9,6 +9,11 @@ bindkey -s '\e.' "..\n"
|
||||||
bindkey '^r' history-incremental-search-backward
|
bindkey '^r' history-incremental-search-backward
|
||||||
bindkey "^[[5~" up-line-or-history
|
bindkey "^[[5~" up-line-or-history
|
||||||
bindkey "^[[6~" down-line-or-history
|
bindkey "^[[6~" down-line-or-history
|
||||||
|
|
||||||
|
# make search up and down work, so partially type and hit up/down to find relevant stuff
|
||||||
|
bindkey '^[[A' up-line-or-search
|
||||||
|
bindkey '^[[B' down-line-or-search
|
||||||
|
|
||||||
bindkey "^[[H" beginning-of-line
|
bindkey "^[[H" beginning-of-line
|
||||||
bindkey "^[[1~" beginning-of-line
|
bindkey "^[[1~" beginning-of-line
|
||||||
bindkey "^[[F" end-of-line
|
bindkey "^[[F" end-of-line
|
||||||
|
|
3
misc.zsh
3
misc.zsh
|
@ -4,3 +4,6 @@ zle -N self-insert url-quote-magic
|
||||||
|
|
||||||
## file rename magick
|
## file rename magick
|
||||||
bindkey "^[m" copy-prev-shell-word
|
bindkey "^[m" copy-prev-shell-word
|
||||||
|
|
||||||
|
## jobs
|
||||||
|
setopt long_list_jobs
|
Loading…
Reference in a new issue