We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df67d32 commit b280ea3Copy full SHA for b280ea3
1 file changed
modules/home/emacs/default.nix
@@ -823,15 +823,18 @@ in
823
};
824
825
826
- envrc = {
+ ben = {
827
enable = true;
828
- defer = 1;
829
- # package = _epkgs: pkgs.emacs.pkgs.envrc;
830
- command = [ "envrc-global-mode" ];
+ hook = [ "(after-init . ben-global-mode)" ];
+ bind = {
+ "C-c E" = "ben-command-map";
831
+ };
832
config = ''
- (setq envrc-remote t)
833
+ ;; There is a bug in doom-modeline where some squares appear if the icon is
834
+ ;; propertized.
835
+ (setq ben-indicator `(,(substring-no-properties (nerd-icons-faicon "nf-fa-cubes"))
836
+ "[" (:eval (ben--status)) "]"))
837
'';
- hook = [ "(after-init . envrc-global-mode)" ];
838
839
840
# dockerfile-mode.enable = true;
0 commit comments