From 6cd309e77b9298f836a20905055261d25991bc60 Mon Sep 17 00:00:00 2001 From: Lorenzo Good Date: Sun, 28 Dec 2025 20:44:19 -0600 Subject: [PATCH] Devmodes and things. --- .gitignore | 3 ++- LICENSE | 21 +++++++++++++++++++++ init.el | 21 +++++++++++++++++---- projectile-bookmarks.eld | 1 - 4 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 LICENSE delete mode 100644 projectile-bookmarks.eld diff --git a/.gitignore b/.gitignore index da643e0..864e116 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ tree-sitter/ session.* irony/ .lsp-session* -/projectile-bookmarks.eld \ No newline at end of file +projectile-bookmarks.eld +/url \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..14bf057 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Lorenzo Good + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/init.el b/init.el index e03b6ba..66fe423 100644 --- a/init.el +++ b/init.el @@ -26,7 +26,7 @@ (windmove-default-keybindings 'control) ;; Define killing current buffer using C-x c. -(global-set-key (kbd "C-x c") #'kill-this-buffer) +(global-set-key (kbd "C-x c") #'kill-current-buffer) ;; Some legacy shit. (setopt sentence-end-double-space nil) @@ -45,6 +45,9 @@ If the new path's directories does not exist, create them." ;; Globally escape. (global-set-key (kbd "") 'keyboard-escape-quit) +;; Fix some bs with 2~. +(global-set-key (kbd "S-SPC") 'just-one-space) + (use-package which-key :ensure t :config @@ -183,6 +186,9 @@ If the new path's directories does not exist, create them." (use-package json-mode :ensure t) +(use-package rust-mode + :ensure t) + (use-package projectile :ensure t :config @@ -206,6 +212,12 @@ If the new path's directories does not exist, create them." (eat-eshell-mode) (eat-eshell-visual-command-mode)) +(use-package elcord + :ensure t + + :config + (elcord-mode)) + ;; Don't change this (or else gg). (custom-set-variables ;; custom-set-variables was added by Custom. @@ -213,9 +225,10 @@ If the new path's directories does not exist, create them." ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(company consult corfu-candidate-overlay corfu-terminal eat evil - gruvbox-theme json-mode lsp-mode magit marginalia - nix-mode projectile vertico yaml-mode))) + '(company consult corfu-candidate-overlay corfu-terminal eat elcord + evil gruvbox-theme json-mode kbd-mode lsp-mode magit + marginalia nix-mode projectile rust-mode vertico + yaml-mode))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/projectile-bookmarks.eld b/projectile-bookmarks.eld deleted file mode 100644 index dd262c6..0000000 --- a/projectile-bookmarks.eld +++ /dev/null @@ -1 +0,0 @@ -("~/.emacs.d/" "~/src/personal/servers/") \ No newline at end of file