Watch
1
0
Fork
You've already forked Zoe-Dotfiles
0
mirror of synced 2026-11-03 19:07:18 +00:00

Slight emacs and zgit update

This commit is contained in:
MysteryBirb 2026-10-02 00:23:02 +02:00
commit 496b047425
2 changed files with 7 additions and 6 deletions

View file

@ -10,10 +10,13 @@
;; C-x RIGHT | LEFT : switches between buffers left and right
;; C-x b : switch to buffer with its name
;; C-x 2 | 3 : split window horizontally or vertical
;; C-x 0 : kills one window
;; C-x 1 : Kill djacent window
;; C-x 0 : kills current active window
;; C-x C-q : toggle read-only mode
;; C-M-f : Goes to next closing bracket
;; C-M-b : Goes to next opening bracket
;; M-x cd : change dir duh
;; M-y : to paste into vterm or generally
;; M-y : to paste into vterm or generally(?)
;; M-x package-list-packages RET Ux : updates packages
;; M-x eglot-inlay-hints-mode : cool info for code
;; M-ESC : Escapes corfu prompt
@ -30,7 +33,7 @@
:ensure t
:init
(defvar evil-mode-buffers '())
;; Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)
;; ^ Only fix for "Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)" i could find
;;(setq evil-want-keybinding nil)
(evil-mode 1)
:config
@ -146,8 +149,6 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(base16-theme-highlight-mode-line 'box)
'(eglot-ignored-server-capabilities
'(:documentFormattingProvider :documentRangeFormattingProvider))
'(package-selected-packages '(evil)))
(custom-set-faces
;; custom-set-faces was added by Custom.

2
zgit
View file

@ -14,7 +14,7 @@ while getopts "a:s:" o; do
;;
s)
s=${OPTARG}
if [ -f $s ]; then
if [ -f $s ] || [ -d $s ]; then
git add $s
read -p "Commit message: " commitMsg
tmp="${commitMsg%\"}"