Add old dotfiles

This commit is contained in:
venomade committed 2025-02-27 17:06:42 +00:00
commit 1cace80e48
192 files changed
+13538

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
;; Avy keybinds superfast cursor movement
;;; https://github.com/abo-abo/avy
(use-package avy)
(setq avy-keys '(?a ?r ?s ?t ?n ?e ?i ?o)
avy-all-windows nil)
(bind-key* "C-q" 'avy-goto-char)
+11
View File
@@ -0,0 +1,11 @@
;; Cape adds setting what completions are used where
;;; https://github.com/minad/cape
(use-package cape)
(keymap-global-set "C-c c" 'cape-prefix-map)
;; Fall back to dabbrev without other completions
(setq dabbrev-case-fold-search t)
;;(add-to-list 'completion-at-point-functions #'cape-dabbrev)
(add-hook 'completion-at-point-functions #'cape-dabbrev)
(add-hook 'completion-at-point-functions #'cape-file)
(add-hook 'completion-at-point-functions #'cape-elisp-block)
+7
View File
@@ -0,0 +1,7 @@
;; Corfu enables in-text-buffer completion
;;; https://github.com/minad/corfu
(use-package corfu)
(keymap-unset corfu-map "RET")
(setq corfu-auto t)
(global-corfu-mode 1)
(add-hook 'prog-mode-hook 'corfu-popupinfo-mode)
+11
View File
@@ -0,0 +1,11 @@
;; Counsel improves Emacs' minibuffer in many ways
;;; https://github.com/abo-abo/swiper
(use-package counsel)
(counsel-mode 1)
(ivy-mode 1)
(keymap-global-set "C-c f r" 'counsel-buffer-or-recentf)
(keymap-global-set "C-c f f" 'counsel-fzf)
(keymap-global-set "C-c f g" 'counsel-rg)
(keymap-global-set "C-c s" 'swiper)
+5
View File
@@ -0,0 +1,5 @@
;; Devdocs provides documentation browsing within Emacs
;;; https://github.com/astoff/devdocs.el
(use-package devdocs)
;; TODO: Automatically installed documentation if not installed
(keymap-global-set "C-c d" 'devdocs-lookup)
+6
View File
@@ -0,0 +1,6 @@
;; Flycheck shows syntax errors for many languages
;;; https://github.com/flycheck/flycheck
(use-package flycheck)
(add-hook 'prog-mode-hook 'flycheck-mode)
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
(setq flycheck-indication-mode nil)
+13
View File
@@ -0,0 +1,13 @@
;; LSP Mode adds LSP Support to Emacs
;;; https://github.com/emacs-lsp/lsp-mode
(use-package lsp-mode)
(setq lsp-keymap-prefix "C-c l")
(setq gc-cons-threshold 100000000)
(setq read-process-output-max (* 1024 1024))
(setq lsp-headerline-breadcrumb-enable nil)
(use-package lsp-ui)
;; Dependency for LSP Completion
(use-package yasnippet)
(yas-global-mode 1)
+3
View File
@@ -0,0 +1,3 @@
;; Magit is a fast GIT GUI in Elisp
;;; https://github.com/magit/magit
(use-package magit)
+4
View File
@@ -0,0 +1,4 @@
;; Move Text up and down easily
(use-package move-text)
(keymap-global-set "M-p" 'move-text-up)
(keymap-global-set "M-n" 'move-text-down)
+6
View File
@@ -0,0 +1,6 @@
;; Multi Cursors enable easier editing than built in rectangles
;;; https://github.com/magnars/multiple-cursors.el
(use-package multiple-cursors)
(keymap-global-set "C-c m" 'mc/edit-lines)
;; TODO: Find out more ways to use multicursors
+4
View File
@@ -0,0 +1,4 @@
;; Rainbow Delimiters colours parentheses and other delimiters for visual matching
;;; https://github.com/Fanael/rainbow-delimiters
(use-package rainbow-delimiters)
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode)
+15
View File
@@ -0,0 +1,15 @@
;; Simple Modeline replaces the default modeline with a minimal one
;;; https://github.com/gexplorer/simple-modeline
(use-package simple-modeline)
(setq simple-modeline-segments
'((;;simple-modeline-segment-modified
simple-modeline-segment-buffer-name
simple-modeline-segment-position)
(simple-modeline-segment-vc
;;simple-modeline-segment-minor-modes
simple-modeline-segment-misc-info
simple-modeline-segment-process
simple-modeline-segment-major-mode)))
(simple-modeline-mode 1)
+5
View File
@@ -0,0 +1,5 @@
;; Smartparens is a package for LISP editing that helps with parentheses paralysis
;;; https://github.com/Fuco1/smartparens
(use-package smartparens)
(require 'smartparens-config)
(add-hook 'prog-mode-hook 'smartparens-mode)
+6
View File
@@ -0,0 +1,6 @@
;; Undo-Tree replaces the normal undo with advanced Undo Control
;;; https://gitlab.com/tsc25/undo-tree
(use-package undo-tree)
(global-undo-tree-mode 1)
(setq undo-tree-history-directory-alist
`(("." . ,(concat user-emacs-directory "undo"))))
+5
View File
@@ -0,0 +1,5 @@
(use-package which-key)
(setq which-key-show-early-on-C-h t)
(setq which-key-idle-delay 10000)
(setq which-key-idle-secondary-delay 0.05)
(which-key-mode 1)