home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 645319837abdae3d7946ae5f15f9f8adc17370e0
parent 018d7d78f8b4f75b0ee4b5a985c338a9bb105194
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sun, 21 Jun 2020 19:28:38 +0200

tools/emacs: clean some unused packages

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-misc.el | 10----------
Dtools/emacs/config/setup-multiple-cursors.el | 39---------------------------------------
Musers/vincent/dev/emacs.nix | 69++++++++++++++++++++++++++++++---------------------------------------
3 files changed, 30 insertions(+), 88 deletions(-)

diff --git a/tools/emacs/config/config-misc.el b/tools/emacs/config/config-misc.el @@ -15,15 +15,5 @@ ("C-h C" . helpful-command))) ;; -UseHelpful -;; UseSSHConfig -(use-package ssh-config-mode - :commands (ssh-config-mode - ssh-authorized-keys-mode) - :mode ((".ssh/config\\'" . ssh-config-mode) - ("sshd?_config\\'" . ssh-config-mode) - ("known_hosts\\'" . ssh-known-hosts-mode) - ("authorized_keys2?\\'" . ssh-authorized-keys-mode))) -;; -UseSSHConfig - (provide 'config-misc) ;;; config-misc.el ends here diff --git a/tools/emacs/config/setup-multiple-cursors.el b/tools/emacs/config/setup-multiple-cursors.el @@ -1,39 +0,0 @@ -(use-package region-bindings-mode - :disabled - :config - ;; Do not activate `region-bindings-mode' in Special modes like `dired' and - ;; `ibuffer'. Single-key bindings like 'm' are useful in those modes even - ;; when a region is selected. - (setq region-bindings-mode-disabled-modes '(dired-mode ibuffer-mode)) - - (region-bindings-mode-enable) - - (defun vde/disable-rbm-deactivate-mark () - "Disable `region-bindings-mode' and deactivate mark." - (interactive) - (region-bindings-mode -1) - (deactivate-mark) - (message "Mark deactivated")) - - (bind-keys - :map region-bindings-mode-map - ("<C-SPC>" . vde/disable-rbm-deactivate-mark))) - -(use-package multiple-cursor - :disabled - :bind (:map region-bindings-mode-map - ("a" . mc/mark-all-like-this) - ("p" . mc/mark-previous-like-this) - ("n" . mc/mark-next-like-this) - ("P" . mc/unmark-previous-like-this) - ("N" . mc/unmark-next-like-this) - ("[" . mc/cycle-backward) - ("]" . mc/cycle-forward) - ("m" . mc/mark-more-like-this-extended) - ("h" . mc-hide-unmatched-lines-mode) - ("\\" . mc/vertical-align-with-space) - ("#" . mc/insert-numbers) ; use num prefix to set the starting number - ("^" . mc/edit-beginnings-of-lines) - ("$" . mc/edit-ends-of-lines))) - -(provide 'setup-multiple-cursors) diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -34,7 +34,6 @@ in avy bbdb beginend - pkgs.bookmark-plus company company-emoji company-go @@ -42,24 +41,28 @@ in delight dired-collapse dired-git-info - dired-quick-sort dired-narrow + dired-quick-sort dired-rsync - pkgs.dired-plus - dumb-jump direnv dockerfile-mode + dumb-jump easy-kill + esh-autosuggest + eshell-prompt-extras esup expand-region + flimenu flycheck flycheck-golangci-lint git-annex git-commit gitattributes-mode gitconfig-mode - gitignore-mode github-review + gitignore-mode + go-mode + gotest goto-last-change hardhat helpful @@ -70,70 +73,58 @@ in icomplete-vertical iedit json-mode + magit + magit-annex + magit-popup + magit-todos markdown-mode - mpdel - multiple-cursors + minions + moody + mwim + nix-buffer + nix-mode nixpkgs-fmt no-littering ob-async ob-go ob-http orderless - orgit - org-plus-contrib org-capture-pop-frame org-gcal org-journal + org-plus-contrib org-ql org-ref org-roam org-super-agenda + org-super-agenda + org-tree-slide org-web-tools + orgit ox-pandoc pandoc-mode - projectile - projectile-ripgrep pdf-tools + pkgs.bookmark-plus + pkgs.dired-plus + projectile python-mode rainbow-delimiters rainbow-mode - region-bindings-mode - ripgrep rg + ripgrep + smartparens + symbol-overlay try + undo-tree + use-package visual-fill-column visual-regexp + vterm web-mode wgrep with-editor xterm-color yaml-mode - darkroom - eshell-prompt-extras - esh-autosuggest - flimenu - forge - go-mode - magit - magit-annex - magit-popup - magit-todos - minions - moody - mwim - nix-buffer - nix-mode - org-super-agenda - org-tree-slide - shr-tag-pre-highlight - ssh-config-mode - smartparens - symbol-overlay - undo-tree - use-package - # Highly experimental - vterm - gotest ]; }; services.emacs-server = {