no evil
This commit is contained in:
@@ -191,6 +191,7 @@ These programs require a full desktop environment:
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
google-chrome
|
google-chrome
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
|
nerd-fonts.symbols-only
|
||||||
(iosevka-bin.override { variant = "Aile"; })
|
(iosevka-bin.override { variant = "Aile"; })
|
||||||
(iosevka-bin.override { variant = "Etoile"; })
|
(iosevka-bin.override { variant = "Etoile"; })
|
||||||
(iosevka-bin.override { variant = "SGr-IosevkaTerm"; })
|
(iosevka-bin.override { variant = "SGr-IosevkaTerm"; })
|
||||||
@@ -314,6 +315,7 @@ We all know what ~git~ does.
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.user.name = "Joe Frikker";
|
settings.user.name = "Joe Frikker";
|
||||||
settings.user.email = "joe@redbookcattle.com";
|
settings.user.email = "joe@redbookcattle.com";
|
||||||
|
settings.github.user = "joe@redbookcattle.com";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.delta = {
|
programs.delta = {
|
||||||
@@ -1051,9 +1053,9 @@ This configuration affects general text editing, across all modes. First, some p
|
|||||||
avy
|
avy
|
||||||
edit-indirect
|
edit-indirect
|
||||||
embark
|
embark
|
||||||
evil
|
# evil
|
||||||
evil-collection
|
# evil-collection
|
||||||
evil-org
|
# evil-org
|
||||||
string-inflection
|
string-inflection
|
||||||
];
|
];
|
||||||
extraConfig = builtins.readFile ./emacs-editing.el;
|
extraConfig = builtins.readFile ./emacs-editing.el;
|
||||||
@@ -1073,17 +1075,17 @@ cancel them more frequently). In the end, I opted for Devil mode. It avoids modi
|
|||||||
its own devil-mode-only repeat maps that don't interfere when using normal modifier key sequences.
|
its own devil-mode-only repeat maps that don't interfere when using normal modifier key sequences.
|
||||||
|
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(setopt evil-want-keybinding nil)
|
;; (setopt evil-want-keybinding nil)
|
||||||
(require 'evil)
|
;; (require 'evil)
|
||||||
(evil-mode 1)
|
;; (evil-mode 1)
|
||||||
(require 'evil-collection)
|
;; (require 'evil-collection)
|
||||||
(evil-collection-init)
|
;; (evil-collection-init)
|
||||||
|
|
||||||
(require 'evil-org)
|
;; (require 'evil-org)
|
||||||
(add-hook 'org-mode-hook 'evil-org-mode)
|
;; (add-hook 'org-mode-hook 'evil-org-mode)
|
||||||
(evil-org-set-key-theme '(navigation insert textobjects additional calendar))
|
;; (evil-org-set-key-theme '(navigation insert textobjects additional calendar))
|
||||||
(require 'evil-org-agenda)
|
;; (require 'evil-org-agenda)
|
||||||
(evil-org-agenda-set-keys)
|
;; (evil-org-agenda-set-keys)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Avy allows jumping to any place on the screen with just a few keystrokes. I've stolen most of these
|
Avy allows jumping to any place on the screen with just a few keystrokes. I've stolen most of these
|
||||||
@@ -1161,7 +1163,7 @@ Just "silently" wrap when searching at the bottom of a document.
|
|||||||
];
|
];
|
||||||
ignoreCompilationError = true;
|
ignoreCompilationError = true;
|
||||||
})
|
})
|
||||||
lispyville
|
# lispyville
|
||||||
lua-mode
|
lua-mode
|
||||||
nix-mode
|
nix-mode
|
||||||
rust-mode
|
rust-mode
|
||||||
@@ -1339,18 +1341,18 @@ for completion. That makes it really annoying to use; don't use yasnippet with e
|
|||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(setopt inferior-lisp-program "sbcl")
|
(setopt inferior-lisp-program "sbcl")
|
||||||
|
|
||||||
(setopt lispy-compat '(god-mode edebug))
|
;; (setopt lispy-compat '(god-mode edebug))
|
||||||
(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1)))
|
(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1)))
|
||||||
(add-hook 'lisp-mode-hook (lambda () (lispy-mode 1)))
|
(add-hook 'lisp-mode-hook (lambda () (lispy-mode 1)))
|
||||||
(with-eval-after-load 'lispy
|
;; (with-eval-after-load 'lispy
|
||||||
(require 'lispyville)
|
;; (require 'lispyville)
|
||||||
(add-hook 'lispy-mode-hook #'lispyville-mode)
|
;; (add-hook 'lispy-mode-hook #'lispyville-mode)
|
||||||
(bind-keys :map lispy-mode-map
|
;; (bind-keys :map lispy-mode-map
|
||||||
("i" . (lambda ()
|
;; ("i" . (lambda ()
|
||||||
(interactive)
|
;; (interactive)
|
||||||
(if (and (featurep 'god-mode) god-global-mode)
|
;; (if (and (featurep 'god-mode) god-global-mode)
|
||||||
(god-mode-all -1)
|
;; (god-mode-all -1)
|
||||||
(special-lispy-tab))))))
|
;; (special-lispy-tab))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Typescript
|
*** Typescript
|
||||||
|
|||||||
Reference in New Issue
Block a user