try adding completion in emacs

This commit is contained in:
Cyryl Płotnicki 2022-09-04 13:22:34 +01:00
parent 1fc2ef3c05
commit 31cbe61168
2 changed files with 16 additions and 7 deletions

View file

@ -3,13 +3,18 @@ let
myEmacs = pkgs.emacs-nox; myEmacs = pkgs.emacs-nox;
inherit ((pkgs.emacsPackagesFor myEmacs)) emacsWithPackages; inherit ((pkgs.emacsPackagesFor myEmacs)) emacsWithPackages;
in emacsWithPackages (epkgs: in emacsWithPackages (epkgs:
(with epkgs.melpaStablePackages; [ (with epkgs.melpaStablePackages; [ ]) ++ (with epkgs.melpaPackages; [
magit color-theme-sanityinc-solarized
solarized-theme
evil evil
evil-collection evil-collection
]) ++ (with epkgs.melpaPackages; [ xterm-color nix-mode ]) helm
++ (with epkgs.elpaPackages; [ helm-projectile
helm-rg
magit
nix-mode
projectile
xterm-color
]) ++ (with epkgs.elpaPackages; [
beacon # ; highlight my cursor when scrolling beacon # ; highlight my cursor when scrolling
nameless # ; hide current package name everywhere in elisp code nameless # ; hide current package name everywhere in elisp code
]) ++ [ ]) ++ [

View file

@ -14,6 +14,8 @@
(set-terminal-parameter nil 'background-mode 'dark) (set-terminal-parameter nil 'background-mode 'dark)
(xterm-mouse-mode 1) (xterm-mouse-mode 1)
(setq custom-tab-width 2)
(setq indent-tabs-mode nil)
(setq evil-want-integration t) (setq evil-want-integration t)
(setq evil-want-keybinding nil) (setq evil-want-keybinding nil)
@ -21,9 +23,11 @@
(when (require 'evil-collection nil t) (when (require 'evil-collection nil t)
(evil-collection-init)) (evil-collection-init))
(evil-mode 1) (evil-mode 1)
(setq custom-tab-width 2)
(setq indent-tabs-mode nil)
(require 'helm)
(require 'helm-config)
(require 'color-theme-sanityinc-solarized)
''; '';
programs.emacs = { programs.emacs = {
enable = true; enable = true;