Improve emacs configuration
This commit is contained in:
parent
e8a9d45a76
commit
9fbcd61b14
3 changed files with 16 additions and 3 deletions
|
|
@ -79,3 +79,7 @@ NOTE: wayland only."
|
|||
(let* ((fpath (telega--tl-get dfile :local :path)))
|
||||
(shell-command (format "wl-copy < \"%s\"" fpath))
|
||||
(message (format "File saved to clipboard: %s" fpath))))))))
|
||||
|
||||
(map! :map global-map
|
||||
"C-c n"
|
||||
#'helm-nixos-options)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
;;layout ; auie,ctsrnm is the superior home row
|
||||
|
||||
:completion
|
||||
;;company ; the ultimate code completion backend
|
||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||
(company +childframe) ; the ultimate code completion backend
|
||||
;;(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||
;;helm ; the *other* search engine for love and life
|
||||
;;ido ; the other *other* search engine...
|
||||
;;ivy ; a search engine for love and life
|
||||
|
|
|
|||
|
|
@ -2,10 +2,18 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.david.programs.doom;
|
||||
|
||||
inherit (inputs) emacs-overlay nixpkgs;
|
||||
inherit (pkgs) system;
|
||||
pkgs' = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ emacs-overlay.overlays.default ];
|
||||
};
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
|
@ -18,10 +26,11 @@ in
|
|||
services.emacs.enable = true;
|
||||
programs.doom-emacs = {
|
||||
enable = true;
|
||||
emacs = pkgs.emacs-pgtk;
|
||||
emacs = pkgs'.emacs-igc-pgtk;
|
||||
extraPackages =
|
||||
ep: with ep; [
|
||||
melpaPackages.telega
|
||||
melpaPackages.nixos-options
|
||||
];
|
||||
extraBinPackages = with pkgs; [
|
||||
editor-runtime
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue