From 94a10f58e629c87e0a81e7a984264350e7379d3e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 24 Jan 2020 13:23:29 +0000 Subject: Changes to keybindings --- sxhkd/sxhkdrc | 2 +- zsh/.zshrc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 3e162bc..fe883df 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -92,7 +92,7 @@ super + alt + {_,shift + }{1-9,0} # # preselect the direction -super + ctrl + {h,j,k,l} +super + ctrl + {n,e,u,i} bspc node -p {west,south,north,east} # preselect the ratio diff --git a/zsh/.zshrc b/zsh/.zshrc index 08aef70..86b9a54 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,5 @@ +[[ $TERM == "dumb" ]] && unsetopt zle && PS1=$ && return + # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=100000 @@ -37,7 +39,7 @@ source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down bindkey -M emacs '^P' history-substring-search-up -bindkey -M emacs '^N' history-substring-search-down +bindkey -M emacs ^N history-substring-search-down # opam configuration test -r /home/yannherklotz/.opam/opam-init/init.zsh && . /home/yannherklotz/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true -- cgit