Small styling changes and add magit
This commit is contained in:
parent
3f8a09c845
commit
7941729efc
20
init.el
20
init.el
|
|
@ -244,14 +244,22 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind (("<escape>" . keyboard-escape-quit))
|
:bind (("<escape>" . keyboard-escape-quit))
|
||||||
:init
|
:init
|
||||||
|
(setq evil-want-keybinding nil)
|
||||||
(evil-mode 1)
|
(evil-mode 1)
|
||||||
:config
|
:config
|
||||||
(define-key evil-insert-state-map (kbd "C-g") 'evil-force-normal-state)
|
(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)
|
(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
|
;; Eshell config
|
||||||
;; Like zoxide
|
; Like zoxide
|
||||||
(use-package eshell-z
|
(use-package eshell-z
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
|
|
@ -259,7 +267,7 @@
|
||||||
(defun my-eshell-mode-hook ()
|
(defun my-eshell-mode-hook ()
|
||||||
(require 'eshell-z)))
|
(require 'eshell-z)))
|
||||||
)
|
)
|
||||||
;; Bash completion commands in eshell
|
; Bash completion commands in eshell
|
||||||
(use-package bash-completion
|
(use-package bash-completion
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
|
|
@ -273,7 +281,7 @@
|
||||||
(add-hook 'completion-at-point-functions
|
(add-hook 'completion-at-point-functions
|
||||||
'bash-completion-capf-nonexclusive nil t)))
|
'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
|
(use-package eat
|
||||||
:straight '(eat :type git
|
:straight '(eat :type git
|
||||||
:host codeberg
|
:host codeberg
|
||||||
|
|
@ -291,7 +299,7 @@
|
||||||
;; For `eat-eshell-visual-command-mode'.
|
;; For `eat-eshell-visual-command-mode'.
|
||||||
(add-hook 'eshell-load-hook #'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 ()
|
(defun eshell/new ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(eshell t))
|
(eshell t))
|
||||||
|
|
@ -304,6 +312,10 @@
|
||||||
)
|
)
|
||||||
(setq tramp-auto-save-directory "~/.emacs.d/tramp-autosave")
|
(setq tramp-auto-save-directory "~/.emacs.d/tramp-autosave")
|
||||||
|
|
||||||
|
;; Magit
|
||||||
|
(use-package magit
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
;; TRAMP
|
;; TRAMP
|
||||||
;TRAMP edit files over SSH configuration
|
;TRAMP edit files over SSH configuration
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue