From 085dfd265a90538e7a4ddaba5e93c625b24fc80e Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Thu, 14 Nov 2024 00:20:50 -0500 Subject: more emacs work --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3c9c9c3..cad60fd 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ Dependencies: - Hyprpaper - Hyprlock - Hypridle -- Nemo -- Kitty +- Alacritty - Brightnessctl -- Calcurse - Pipewire +- Emacs lsp booster -- cgit v1.2.3 From 5c37fd060bba1970780fea54d4e56cdebb441db1 Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Sun, 29 Dec 2024 01:28:28 -0500 Subject: cmake and c++ updates --- .config/emacs/init.el | 13 ++++++++++--- README.md | 7 +++++++ 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 83d6bd1..9f90669 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -391,7 +391,7 @@ ) :custom (lsp-completion-provider :none) ; corfu - (lsp-idle-delay 0.5) + (lsp-idle-delay 1.0) ) (use-package lsp-ui @@ -456,9 +456,16 @@ (setq tab-stop-list '(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60)) (setq tab-width 4) - (setq indent-tabs-mode t)) + (setq indent-tabs-mode nil)) (add-hook 'c-mode-common-hook 'my-c-mode-common-hook) +(defun my-cmake-mode-setup () + "Switch to cmake-mode when opening a CMakeLists.txt file." + (when (string-match "CMakeLists\\.txt\\'" (buffer-name)) + (cmake-ts-mode))) + +(add-hook 'find-file-hook 'my-cmake-mode-setup) + ;; - - additional packages (use-package consult-lsp @@ -474,7 +481,7 @@ (corfu-cycle t) (corfu-auto t) (corfu-auto-prefix 2) - (corfu-auto-delay 0.2) + (corfu-auto-delay 0.4) (corfu-popupinfo-delay '(0.2 . 0.1)) (corfu-preview-current 'insert) (corfu-preselect 'first) diff --git a/README.md b/README.md index cad60fd..5f79acc 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,10 @@ Dependencies: - Brightnessctl - Pipewire - Emacs lsp booster + +Possible Improvements: +- New lsp system (lsp-bridge, eglot) +- Learn better searching +- Built in debugging +- Built in git merging +- Code collapsing -- cgit v1.2.3 From 59b25ccf87ef14e2cd5dc7f30871ff6561df241c Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Tue, 31 Dec 2024 01:19:14 -0500 Subject: clang and ideas --- .bashrc | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) (limited to 'README.md') diff --git a/.bashrc b/.bashrc index 16dc9c9..e226134 100644 --- a/.bashrc +++ b/.bashrc @@ -4,6 +4,9 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return + +export CC=/usr/bin/clang +export CXX=/usr/bin/clang++ fastfetch alias ls='ls --color=auto' alias grep='grep --color=auto' diff --git a/README.md b/README.md index 5f79acc..ce86387 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,4 @@ Possible Improvements: - Built in debugging - Built in git merging - Code collapsing +- Counsel-mark-ring, goto last change, or some way to mark positions and jump back reliably -- cgit v1.2.3