aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-01-24 13:23:29 +0000
committerYann Herklotz <git@yannherklotz.com>2020-01-24 13:23:29 +0000
commit94a10f58e629c87e0a81e7a984264350e7379d3e (patch)
tree214593aff53fa1e2cf336e76d5baa14ee5c8f817
parent68be31ef3b5e2ff1a6fac7d20d104b4f114b7050 (diff)
downloaddotfiles-94a10f58e629c87e0a81e7a984264350e7379d3e.tar.gz
dotfiles-94a10f58e629c87e0a81e7a984264350e7379d3e.zip
Changes to keybindings
-rw-r--r--sxhkd/sxhkdrc2
-rw-r--r--zsh/.zshrc4
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