From 7941729efc10d1cf4a481d062d6c0a7b6921f90f Mon Sep 17 00:00:00 2001 From: cspark Date: Thu, 5 Feb 2026 01:20:37 +0000 Subject: [PATCH] Small styling changes and add magit --- init.el | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index ffe8481..9fa309a 100644 --- a/init.el +++ b/init.el @@ -244,14 +244,22 @@ :ensure t :bind (("" . keyboard-escape-quit)) :init + (setq evil-want-keybinding nil) (evil-mode 1) :config (define-key evil-insert-state-map (kbd "C-g") 'evil-force-normal-state) (define-key evil-motion-state-map [remap evil-search-forward] 'consult-line) ) +; Evil Collection, configs evil bindings for more packages +(use-package evil-collection + :after evil + :ensure t + :config + (evil-collection-init) +) ;; Eshell config -;; Like zoxide +; Like zoxide (use-package eshell-z :ensure t :config @@ -259,7 +267,7 @@ (defun my-eshell-mode-hook () (require 'eshell-z))) ) -;; Bash completion commands in eshell +; Bash completion commands in eshell (use-package bash-completion :ensure t :init @@ -273,7 +281,7 @@ (add-hook 'completion-at-point-functions 'bash-completion-capf-nonexclusive nil t))) ) -;; Eat is a terminal emulator that can integrate nicely with eshell, allows us to run full ncurses applications inside eshell. +; Eat is a terminal emulator that can integrate nicely with eshell, allows us to run full ncurses applications inside eshell. (use-package eat :straight '(eat :type git :host codeberg @@ -291,7 +299,7 @@ ;; For `eat-eshell-visual-command-mode'. (add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode) ) -;; New create new eshell instance +; New create new eshell instance (defun eshell/new () (interactive) (eshell t)) @@ -304,6 +312,10 @@ ) (setq tramp-auto-save-directory "~/.emacs.d/tramp-autosave") +;; Magit +(use-package magit + :ensure t) + ;; TRAMP ;TRAMP edit files over SSH configuration