Compare commits
2 commits
a2eefa6f70
...
3f81a7a4a5
Author | SHA1 | Date | |
---|---|---|---|
3f81a7a4a5 | |||
9d6066380d |
2 changed files with 16 additions and 1 deletions
15
.inputrc
Normal file
15
.inputrc
Normal file
|
@ -0,0 +1,15 @@
|
|||
set input-meta on
|
||||
set output-meta on
|
||||
|
||||
$if mode=emacs
|
||||
"\e[1~": beginning-of-line
|
||||
"\e[4~": end-of-line
|
||||
"\e[3~": delete-char
|
||||
"\e[2~": quoted-insert
|
||||
"\e[1;5C": forward-word
|
||||
"\e[1;5D": backward-word
|
||||
"\e[5C": forward-word
|
||||
"\e[5D": backward-word
|
||||
"\e\e[C": forward-word
|
||||
"\e\e[D": backward-word
|
||||
$endif
|
|
@ -12,7 +12,7 @@ cattle-slay-reaper() {
|
|||
|
||||
cd() {
|
||||
command cd "$@"
|
||||
printf '\e[]1337;CurrentDir=%s\G' "$PWD"
|
||||
printf '\033]1337;CurrentDir=%s\007' "$PWD"
|
||||
printf %s "$PWD" > /tmp/iterm2-prev-dir.txt
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue