Slight emacs and zgit update
This commit is contained in:
parent
ecf0cc6a68
commit
496b047425
2 changed files with 7 additions and 6 deletions
|
|
@ -10,10 +10,13 @@
|
||||||
;; C-x RIGHT | LEFT : switches between buffers left and right
|
;; C-x RIGHT | LEFT : switches between buffers left and right
|
||||||
;; C-x b : switch to buffer with its name
|
;; C-x b : switch to buffer with its name
|
||||||
;; C-x 2 | 3 : split window horizontally or vertical
|
;; 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-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-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 package-list-packages RET Ux : updates packages
|
||||||
;; M-x eglot-inlay-hints-mode : cool info for code
|
;; M-x eglot-inlay-hints-mode : cool info for code
|
||||||
;; M-ESC : Escapes corfu prompt
|
;; M-ESC : Escapes corfu prompt
|
||||||
|
|
@ -30,7 +33,7 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(defvar evil-mode-buffers '())
|
(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)
|
;;(setq evil-want-keybinding nil)
|
||||||
(evil-mode 1)
|
(evil-mode 1)
|
||||||
:config
|
:config
|
||||||
|
|
@ -146,8 +149,6 @@
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(base16-theme-highlight-mode-line 'box)
|
'(base16-theme-highlight-mode-line 'box)
|
||||||
'(eglot-ignored-server-capabilities
|
|
||||||
'(:documentFormattingProvider :documentRangeFormattingProvider))
|
|
||||||
'(package-selected-packages '(evil)))
|
'(package-selected-packages '(evil)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
|
|
|
||||||
2
zgit
2
zgit
|
|
@ -14,7 +14,7 @@ while getopts "a:s:" o; do
|
||||||
;;
|
;;
|
||||||
s)
|
s)
|
||||||
s=${OPTARG}
|
s=${OPTARG}
|
||||||
if [ -f $s ]; then
|
if [ -f $s ] || [ -d $s ]; then
|
||||||
git add $s
|
git add $s
|
||||||
read -p "Commit message: " commitMsg
|
read -p "Commit message: " commitMsg
|
||||||
tmp="${commitMsg%\"}"
|
tmp="${commitMsg%\"}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue