Devmodes and things.

This commit is contained in:
Lorenzo Good 2025-12-28 20:44:19 -06:00
parent 1b262f0cf6
commit 6cd309e77b
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
4 changed files with 40 additions and 6 deletions

3
.gitignore vendored
View file

@ -12,4 +12,5 @@ tree-sitter/
session.*
irony/
.lsp-session*
/projectile-bookmarks.eld
projectile-bookmarks.eld
/url

21
LICENSE Normal file
View file

@ -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.

21
init.el
View file

@ -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 "<escape>") '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.

View file

@ -1 +0,0 @@
("~/.emacs.d/" "~/src/personal/servers/")