From 43276e049401b83ec97f51cf27a1bea1c2cc4b13 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 21 Jun 2024 11:15:38 +0200 Subject: up --- .config/zsh/.zshrc | 2 ++ .config/zsh/alias.zsh | 12 ++++++------ .local/bin/kb | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 4e2e20a..4f09b46 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -67,6 +67,8 @@ bindkey -v "^[[A" history-beginning-search-backward bindkey -v "^[[B" history-beginning-search-forward bindkey -M vicmd "k" history-beginning-search-backward bindkey -M vicmd "j" history-beginning-search-forward +bindkey -v "^P" history-beginning-search-backward +bindkey -v "^N" history-beginning-search-forward autoload edit-command-line && zle -N edit-command-line bindkey "^e" edit-command-line diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 7379742..307ec9f 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -223,12 +223,12 @@ update() { doas apt update && doas apt dist-upgrade nix-channel --update nix-env -u - git -C $HOME/.local/packs/neovim checkout master - git -C $HOME/.local/packs/neovim pull - git -C $HOME/.local/packs/neovim fetch --tags --all --force - git -C $HOME/.local/packs/neovim checkout nightly - make -C $HOME/.local/packs/neovim CMAKE_BUILD_TYPE=Release - doas make -C $HOME/.local/packs/neovim install distclean + # git -C $HOME/.local/packs/neovim checkout master + # git -C $HOME/.local/packs/neovim pull + # git -C $HOME/.local/packs/neovim fetch --tags --all --force + # git -C $HOME/.local/packs/neovim checkout stable + # make -C $HOME/.local/packs/neovim CMAKE_BUILD_TYPE=Release + # doas make -C $HOME/.local/packs/neovim install distclean ;; mars) doas pkg update && doas pkg upgrade diff --git a/.local/bin/kb b/.local/bin/kb index 6391df1..29ba370 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -47,7 +47,7 @@ xset r rate 200 150 setxkbmap -option setxkbmap -layout us -variant intl -if [ "$(hostname -s)" = "motherqwe" ]; then +if [ "$(hostname -s)" = "mother" ]; then setxkbmap -option ctrl:swapcaps setxkbmap -option caps:none xmodmap -e 'keycode 9 = Tab' -- cgit v1.2.3