1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-10-31 17:04:35 -07:00

Compare commits

..

2 commits

Author SHA1 Message Date
9273a8b2ad update clang 2020-06-25 08:19:56 -07:00
2509e818c0 attempt to fix arrow keys, etc. once more 2020-06-25 08:16:54 -07:00
2 changed files with 8 additions and 10 deletions

View file

@ -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)

View file

@ -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 -