diff --git a/users/josh/programs/zsh.nix b/users/josh/programs/zsh.nix index 5cbae87..f0cf74f 100644 --- a/users/josh/programs/zsh.nix +++ b/users/josh/programs/zsh.nix @@ -6,7 +6,16 @@ shellAliases = { }; + defaultKeymap = "emacs"; + profileExtra = '' + # Make home/end and ctrl + left/right nav how I expect them to like in bash + bindkey "\e[1~" beginning-of-line + bindkey "\e[4~" end-of-line + bindkey '^[[1;5D' emacs-backward-word + bindkey '^[[1;5C' emacs-forward-word + + # Auto completion/suggestions/and case insensitivity autoload -Uz compinit && compinit setopt correct setopt extendedglob diff --git a/users/josh/theme/gnome.nix b/users/josh/theme/gnome.nix index c693708..f4ecf38 100644 --- a/users/josh/theme/gnome.nix +++ b/users/josh/theme/gnome.nix @@ -1,7 +1,9 @@ { pkgs, ... }: { home.packages = with pkgs; [ - # use `dump dconf /` before and after and diff the files for easy editing of dconf below + # use `dconf dump /` before and after and diff the files for easy editing of dconf below + # > `dconf dump / > /tmp/dconf_dump_start && watch -n0.5 'dconf dump / > /tmp/dconf_dump_current && diff --color /tmp/dconf_dump_start /tmp/dconf_dump_current -U12'` + # OR (Must be logged into user directly, no SU to user will work): `dconf watch /` gnome.dconf-editor gnomeExtensions.workspace-switch-wraparound #gnomeExtensions.forge # probably don't need on this on tiny laptop but may explore this instead of sway for my desktop