mirror of
https://github.com/notwa/rc
synced 2024-10-31 17:04:35 -07:00
Compare commits
2 commits
79029eb4fc
...
9273a8b2ad
Author | SHA1 | Date | |
---|---|---|---|
9273a8b2ad | |||
2509e818c0 |
2 changed files with 8 additions and 10 deletions
16
home/zshrc
16
home/zshrc
|
@ -92,16 +92,14 @@ bindkey '^[[B' history-beginning-search-forward-end # down
|
|||
bindkey '^[OA' history-beginning-search-backward-end # up
|
||||
bindkey '^[OB' history-beginning-search-forward-end # down
|
||||
|
||||
bindkey '^[[3~' delete-char
|
||||
bindkey '^[[3~' delete-char # del
|
||||
|
||||
bindkey ';5D' emacs-backward-word # ctrl+left
|
||||
bindkey ';5C' emacs-forward-word # ctrl+right
|
||||
#bindkey '^[[D' emacs-backward-word # ctrl+left
|
||||
#bindkey '^[[D' emacs-forward-word # ctrl+right
|
||||
bindkey ';3D' dirprev # alt+left
|
||||
bindkey ';3C' dirnext # alt+right
|
||||
bindkey ';3A' dirup # alt+up
|
||||
bindkey ';3B' dirview # alt+down
|
||||
bindkey '^[[1;5D' emacs-backward-word # ctrl+left
|
||||
bindkey '^[[1;5C' emacs-forward-word # ctrl+right
|
||||
bindkey '^[[1;3D' dirprev # alt+left
|
||||
bindkey '^[[1;3C' dirnext # alt+right
|
||||
bindkey '^[[1;3A' dirup # alt+up
|
||||
bindkey '^[[1;3B' dirview # alt+down
|
||||
bindkey -s '^[s' '^Asudo ^E' # alt+s
|
||||
|
||||
bindkey -s '^[[6;2~' '\a' # shift+PgDn, do nothing, already at bottom (tmux)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
__setup_clang_ubuntu() {
|
||||
local site="http://apt.llvm.org"
|
||||
local name="$(lsb_release -c | cut -f2)"
|
||||
local version=8 # NOTE: no longer decimal-based
|
||||
local version=10 # NOTE: no longer decimal-based
|
||||
local priority=$(( version * 100 ))
|
||||
# TODO: use https? this is sketchy
|
||||
echo wget -O - "$site/llvm-snapshot.gpg.key" \| apt-key add -
|
||||
|
|
Loading…
Reference in a new issue