diff --git a/home/common/terminal.nix b/home/common/terminal.nix index 544b18f..edbffa3 100644 --- a/home/common/terminal.nix +++ b/home/common/terminal.nix @@ -71,6 +71,8 @@ in { }; programs.urxvt = { # default shell can't be changed... I can create a wrapper, but fuck that + # symbols nerd font mono doesnt seem to work anyway, so theres no point + # in switching from bash to zsh in this case enable = supportTerminal "urxvt"; package = pkgs.rxvt-unicode-emoji; keybindings = { @@ -80,9 +82,13 @@ in { extraConfig = { depth = 32; inheritPixmap = true; + # letterSpace = -1; }; scroll.bar.enable = false; - fonts = [ "xft:Noto Sans Mono:size=16" "xft:Symbols Nerd Font Mono:size=16" ]; + fonts = [ + "xft:Noto Sans Mono:size=16" + "xft:Symbols Nerd Font Mono:size=16" + ]; }; programs.foot = { enable = supportTerminal "foot"; diff --git a/home/common/zsh.nix b/home/common/zsh.nix index a4eb384..97591fe 100644 --- a/home/common/zsh.nix +++ b/home/common/zsh.nix @@ -12,6 +12,10 @@ history.path = "${config.xdg.dataHome}/zsh/zsh_history"; shellAliases.s = "sudo -A"; shellAliases.se = "sudo -AE"; + # I dont want to remap the up key, so only map this, setting ATUIN_NOBIND to true + initExtra = '' + bindkey '^r' _atuin_search_widget + ''; localVariables = { POWERLEVEL9K_LEFT_PROMPT_ELEMENTS = [ # "os_icon" # os identifier @@ -101,6 +105,9 @@ POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND = "3"; POWERLEVEL9K_NIX_SHELL_FOREGROUND = "15"; SHELL = "zsh"; + ATUIN_NOBIND = "true"; + # to allow rebinding ^r + ZVM_INIT_MODE = "sourcing"; }; plugins = with pkgs; [ { name = "zsh-vi-mode";