add (unused) pure

there's a literal second of delay when escaping from insert mode,
need to look into it later.
This commit is contained in:
LavaDesu 2021-05-30 23:01:14 +07:00
parent db2e5da84d
commit 28437cb713
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -73,6 +73,10 @@ let
direnv = '' direnv = ''
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
''; '';
pure = ''
autoload -U promptinit; promptinit
prompt pure
'';
viExtraNav = '' viExtraNav = ''
bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history bindkey -M menuselect 'k' vi-up-line-or-history
@ -135,6 +139,7 @@ in rec {
autoload -U colors && colors autoload -U colors && colors
''; '';
initExtra = lib.concatStringsSep "\n" [ initExtra = lib.concatStringsSep "\n" [
# pure
cursorShape cursorShape
direnv direnv
genAbbrs genAbbrs
@ -169,6 +174,15 @@ in rec {
sha256 = "0m102makrfz1ibxq8rx77nngjyhdqrm8hsrr9342zzhq1nf4wxxc"; sha256 = "0m102makrfz1ibxq8rx77nngjyhdqrm8hsrr9342zzhq1nf4wxxc";
}; };
} }
# {
# name = "pure";
# src = pkgs.fetchFromGitHub {
# owner = "sindresorhus";
# repo = "pure";
# rev = "43aafe0b4dc05174c57ee623c03c64400e832ece";
# sha256 = "0dadhbmq9ijk9nvkg936axgp12x2v2wppxqvlzn095d6v9nikc9p";
# };
# }
]; ];
}; };
} }