From 53e5b6b756e7380ed47809a1372fb1aaebbdcd50 Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Mon, 3 Mar 2025 15:19:31 -0500 Subject: update --- .bashrc | 1 + .config/emacs/TODO.org | 6 ++++++ .config/emacs/init.el | 1 - .config/emacs/settings.org | 17 ++++++++++++----- .config/hypr/hyprland.conf | 2 +- scripts/project | 12 ++++++++++++ 6 files changed, 32 insertions(+), 7 deletions(-) create mode 100755 scripts/project diff --git a/.bashrc b/.bashrc index e226134..980c5ef 100644 --- a/.bashrc +++ b/.bashrc @@ -10,5 +10,6 @@ export CXX=/usr/bin/clang++ fastfetch alias ls='ls --color=auto' alias grep='grep --color=auto' +alias project='. project' PS1='\[\033[1;1m\]\u\[\033[00m\]@\[\033[34m\]\h \[\033[32m\]\w \[\033[35m\]$(git-ps1)\[\033[00m\]\$ ' diff --git a/.config/emacs/TODO.org b/.config/emacs/TODO.org index 8259e5c..196e634 100644 --- a/.config/emacs/TODO.org +++ b/.config/emacs/TODO.org @@ -7,3 +7,9 @@ - [ ] improve corfu and completion from this article: https://protesilaos.com/codelog/2024-11-28-basic-emacs-configuration/#h:e5e7b781-4b04-4c53-bf23-5e81789549ce - [ ] become a ninja with navigation (jumping, sexps, and other stuff) - [ ] debugger + + Notes for a rework + - proper treesitter + - new in buffer completion + - better tabs + - debugger diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 2f567a3..145ddd4 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -1,5 +1,4 @@ (require 'org) -(load-file ".config/emacs/sonokai_theme.el") (org-babel-load-file (expand-file-name "settings.org" user-emacs-directory)) diff --git a/.config/emacs/settings.org b/.config/emacs/settings.org index 0066c4e..b9bfe6d 100644 --- a/.config/emacs/settings.org +++ b/.config/emacs/settings.org @@ -168,6 +168,13 @@ ("S-TAB" . dired-subtree-remove)) :config (setq dired-subtree-use-backgrounds nil)) + + (use-package casual) + (use-package casual-dired) ; optional if using autoloaded menu + (keymap-set dired-mode-map "C-o" #'casual-dired-tmenu) + (keymap-set dired-mode-map "s" #'casual-dired-sort-by-tmenu) ; optional + (keymap-set dired-mode-map "/" #'casual-dired-search-replace-tmenu) ; optional + #+END_SRC * Style ** Fonts @@ -186,7 +193,7 @@ doom-themes-enable-italic t) (doom-themes-org-config)) - (load-theme 'doom-dracula t) + (load-theme 'doom-vibrant t) #+END_SRC ** Icons #+BEGIN_SRC emacs-lisp @@ -297,7 +304,7 @@ ("C-c p" . projectile-command-map))) #+END_SRC -** Extra Modes +** Language Modes #+BEGIN_SRC emacs-lisp (use-package markdown-mode :mode ("\\.md\\'" . markdown-mode)) @@ -357,9 +364,9 @@ ** Flycheck #+BEGIN_SRC emacs-lisp - (use-package flycheck - :config - (add-hook 'after-init-hook #'global-flycheck-mode)) + ;; (use-package flycheck + ;; :config + ;; (add-hook 'after-init-hook #'global-flycheck-mode)) #+END_SRC ** Corfu diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 3042e6e..9db8796 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -39,7 +39,7 @@ input { touchpad { natural_scroll = yes - disable_while_typing = true + disable_while_typing = false } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. diff --git a/scripts/project b/scripts/project new file mode 100755 index 0000000..e306dfa --- /dev/null +++ b/scripts/project @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ "$TERM" = "linux" ]; then + exit 1 +fi + +dir="$(find ~/Dev ~/Dev/CPP/comp-org/ -mindepth 2 -maxdepth 2 -type d | fzf)" +if [ -z "$dir" ]; then + return +else + cd "$dir" +fi -- cgit v1.2.3