From d185c5c9ddded3abb9b9a76f96c0bac2cc06911c Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 19 Apr 2022 13:58:33 -0400 Subject: [PATCH 1/3] Disabled C-z, added reasonable keybinds to resize windows --- emacs.d/init.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emacs.d/init.el b/emacs.d/init.el index 58e34f0..aeecbbb 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -40,6 +40,15 @@ ;; No annoying Windows errors (set-default-coding-systems 'utf-8) +;; Disable suspend-frame shortcut +(define-key global-map "\C-z" nil) + +;; More reasonable keybinds for resizing windows +(global-set-key (kbd "S-C-") 'shrink-window-horizontally) +(global-set-key (kbd "S-C-") 'enlarge-window-horizontally) +(global-set-key (kbd "S-C-") 'shrink-window) +(global-set-key (kbd "S-C-") 'enlarge-window) + ;; Improve scrolling (setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; one line at a time (setq mouse-wheel-progressive-speed nil) ; don't accelerate scrolling From 401377e939cae43b39130cecfad26d1e974716fa Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 21 Apr 2022 21:04:16 -0400 Subject: [PATCH 2/3] Update alias for ranger --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 4210c94..8dce138 100644 --- a/bashrc +++ b/bashrc @@ -9,7 +9,7 @@ alias ls='ls --color=auto' PS1='[\u@\h \W]\$ ' alias nv=nvim -alias rr="/usr/bin/kitty --class Ranger --name Ranger /usr/bin/ranger & disown" +alias r="urxvt -name Ranger -e ranger & disown" alias kssh="/usr/bin/kitty +kitten ssh" neofetch From 682fcecfb79222fb871cc70148aca7d89cca3771 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 21 Apr 2022 21:05:11 -0400 Subject: [PATCH 3/3] Remove unused themes, addtl small change for jsdoc --- emacs.d/init.el | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 8a1291d..4f903c9 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -110,19 +110,15 @@ ;; Theme (setq custom-safe-themes t) -;(use-package zenburn-theme -; :config -; (load-theme `zenburn t)) +;; (use-package atom-one-dark-theme +;; :config +;; (load-theme 'atom-one-dark t)) (use-package everforest-hard-dark-theme :straight (everforest-hard-dark-theme :type git :repo "https://git.sr.ht/~theorytoe/everforest-hard-dark-theme") :config (load-theme 'everforest-hard-dark t)) -;; (use-package base16-theme -;; :config -;; (load-theme 'gruvbox-dark-soft t)) - ;; Help distinguish work buffers from others like sidebars and terminal (use-package solaire-mode :init @@ -380,11 +376,12 @@ ("\\.html?\\'" . web-mode))) (use-package jsdoc - :straight (jsdoc :type git :host github :repo "isamert/jsdoc.el") - :config - (use-package tree-sitter) ;; Required dependencies - (use-package tree-sitter-langs) - :hook ('js-mode-hook 'tree-sitter-mode)) + :straight (jsdoc :type git :host github :repo "isamert/jsdoc.el")) + +; required for jsdoc +(use-package tree-sitter + :hook (js-mode . tree-sitter-mode)) +(use-package tree-sitter-langs) ;; LaTeX