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)))
|
(let* ((fpath (telega--tl-get dfile :local :path)))
|
||||||
(shell-command (format "wl-copy < \"%s\"" fpath))
|
(shell-command (format "wl-copy < \"%s\"" fpath))
|
||||||
(message (format "File saved to clipboard: %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
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
|
|
||||||
:completion
|
:completion
|
||||||
;;company ; the ultimate code completion backend
|
(company +childframe) ; the ultimate code completion backend
|
||||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
;;(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
;;ivy ; a search engine for love and life
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,18 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.david.programs.doom;
|
cfg = config.david.programs.doom;
|
||||||
|
|
||||||
|
inherit (inputs) emacs-overlay nixpkgs;
|
||||||
|
inherit (pkgs) system;
|
||||||
|
pkgs' = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [ emacs-overlay.overlays.default ];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
|
|
@ -18,10 +26,11 @@ in
|
||||||
services.emacs.enable = true;
|
services.emacs.enable = true;
|
||||||
programs.doom-emacs = {
|
programs.doom-emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
emacs = pkgs.emacs-pgtk;
|
emacs = pkgs'.emacs-igc-pgtk;
|
||||||
extraPackages =
|
extraPackages =
|
||||||
ep: with ep; [
|
ep: with ep; [
|
||||||
melpaPackages.telega
|
melpaPackages.telega
|
||||||
|
melpaPackages.nixos-options
|
||||||
];
|
];
|
||||||
extraBinPackages = with pkgs; [
|
extraBinPackages = with pkgs; [
|
||||||
editor-runtime
|
editor-runtime
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue