Small styling changes and add magit

This commit is contained in:
Curt Spark 2026-02-05 01:20:37 +00:00
parent 3f8a09c845
commit 7941729efc
1 changed files with 16 additions and 4 deletions

20
init.el
View File

@ -244,14 +244,22 @@
:ensure t
:bind (("<escape>" . 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