Feat(Desktop): Use zsh on desktop
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||
;; clients, file templates and snippets.
|
||||
(setq user-full-name "minhtrannhat"
|
||||
user-mail-address "minhtrannhat@minhtrannhat.com")
|
||||
user-mail-address "minh@minhtrannhat.com")
|
||||
|
||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||
;; are the three important ones:
|
||||
@@ -16,11 +16,7 @@
|
||||
;; + `doom-variable-pitch-font'
|
||||
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||
;; presentations or streaming.
|
||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 18)
|
||||
doom-big-font (font-spec :family "JetBrainsMono Nerd Font" :size 26)
|
||||
doom-variable-pitch-font (font-spec :family "Overpass" :size 16)
|
||||
doom-unicode-font (font-spec :family "JuliaMono")
|
||||
doom-serif-font (font-spec :family "IBM Plex Mono" :weight 'light))
|
||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 18))
|
||||
|
||||
(setq doom-emoji-fallback-font-families nil)
|
||||
(setq doom-symbol-fallback-font-families nil)
|
||||
@@ -75,6 +71,8 @@
|
||||
"--header-insertion-decorators=0"))
|
||||
(after! lsp-clangd (set-lsp-priority! 'clangd 2))
|
||||
|
||||
(setq lsp-auto-guess-root nil)
|
||||
|
||||
;; I mindlessly press ESC, so stop me from wreaking havoc
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
|
||||
@@ -84,14 +82,26 @@
|
||||
|
||||
;;
|
||||
;; tree-sitter syntax highlighting
|
||||
(require 'treesit)
|
||||
(treesit-available-p)
|
||||
(setq treesit-extra-load-path "/home/minhradz/Desktop/Packages/tree-sitter-module/dist/")
|
||||
;; (require 'treesit)
|
||||
;; (treesit-available-p)
|
||||
;; (setq major-mode-remap-alist
|
||||
;; '((yaml-mode . yaml-ts-mode)
|
||||
;; (bash-mode . bash-ts-mode)
|
||||
;; (js2-mode . js-ts-mode)
|
||||
;; (typescript-mode . typescript-ts-mode)
|
||||
;; (json-mode . json-ts-mode)
|
||||
;; (css-mode . css-ts-mode)
|
||||
;; (python-mode . python-ts-mode)))
|
||||
|
||||
(use-package! tree-sitter
|
||||
:config
|
||||
(require 'tree-sitter-langs)
|
||||
(global-tree-sitter-mode)
|
||||
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
||||
|
||||
;; (require 'elcord)
|
||||
;; (elcord-mode)
|
||||
;; (setq elcord-use-major-mode-as-main-icon 't)
|
||||
(require 'elcord)
|
||||
(elcord-mode)
|
||||
(setq elcord-use-major-mode-as-main-icon 't)
|
||||
|
||||
;; gpg
|
||||
(setq epg-pinentry-mode 'loopback)
|
||||
@@ -104,8 +114,8 @@
|
||||
;; auto render latex in org mode
|
||||
(add-hook 'org-mode-hook 'org-fragtog-mode)
|
||||
|
||||
;; fish fish
|
||||
(setq vterm-shell 'fish)
|
||||
;; zsh zsh
|
||||
(setq vterm-shell 'zsh)
|
||||
|
||||
(defun doom-modeline-conditional-buffer-encoding ()
|
||||
"We expect the encoding to be LF UTF-8, so only show the modeline when this is not the case"
|
||||
@@ -193,7 +203,7 @@
|
||||
(setq lsp-signature-auto-activate nil))
|
||||
|
||||
;; this never worked lol
|
||||
(lsp-treemacs-sync-mode 1)
|
||||
(setq lsp-treemacs-sync-mode 1)
|
||||
|
||||
;; bitmap very funni
|
||||
(setq highlight-indent-guides-method 'bitmap)
|
||||
|
@@ -81,10 +81,10 @@
|
||||
:tools
|
||||
;;ansible
|
||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||
;;tree-sitter
|
||||
tree-sitter
|
||||
direnv
|
||||
;;(docker +lsp)
|
||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||
(docker +lsp)
|
||||
editorconfig ; let someone else argue about tabs vs spaces
|
||||
ein ; tame Jupyter notebooks with emacs
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
gist ; interacting with github gists
|
||||
@@ -148,14 +148,14 @@
|
||||
;;php ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
(python +lsp +pyright +pyenv +poetry)
|
||||
(python +lsp +pyright +pyenv +poetry +treesitter)
|
||||
;;qt ; the 'cutest' gui framework ever
|
||||
;;racket ; a DSL for DSLs
|
||||
;;raku ; the artist formerly known as perl6
|
||||
rest ; Emacs as a REST client
|
||||
;;rst ; ReST in peace
|
||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
(rust +lsp +treesitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
scala ; java, but good
|
||||
;;(scheme +guile +mit +racket) ; a fully conniving family of lisps
|
||||
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
|
||||
|
@@ -56,4 +56,6 @@
|
||||
(package! org-fragtog)
|
||||
(package! org-recur)
|
||||
(package! evil-cleverparens)
|
||||
(package! elcord)
|
||||
(unpin! rustic)
|
||||
(package! org :pin "5890ac")
|
||||
|
Reference in New Issue
Block a user