From 3efd97e5ada5ed8ccfe1ba624a5d346e55cafcb2 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Wed, 28 Feb 2024 17:34:59 +0100 Subject: some zsh and kitty stuff --- profiles/core/home.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'profiles') diff --git a/profiles/core/home.nix b/profiles/core/home.nix index c27ee4a..4763bca 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -110,7 +110,8 @@ zsh = { enable = true; completionInit = '' - autoload -U compinit + autoload -U compinit select-word-style select-word-style + select-word-style bash zstyle ':completion:*' menu select zmodload zsh/complist compinit @@ -122,6 +123,8 @@ bindkey -M menuselect 'k' vi-up-line-or-history bindkey -M menuselect 'l' vi-forward-char bindkey -M menuselect 'j' vi-down-line-or-history + + # Use lf to switch directories and bind it to ctrl-o lfcd () { tmp="$(mktemp -uq)" -- cgit v1.2.3