summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-02-28 17:34:59 +0100
committerMike Vink <mike@pionative.com>2024-02-28 17:34:59 +0100
commit3efd97e5ada5ed8ccfe1ba624a5d346e55cafcb2 (patch)
tree79efca52eeb36e6dabc611fb3b3b2c4c18b7cafc /profiles
parentb9775e104fc278e77d8bd6b4a5fffc119c438c72 (diff)
some zsh and kitty stuff
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core/home.nix5
1 files changed, 4 insertions, 1 deletions
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)"