Incoherent screeching
This commit is contained in:
parent
a34a9be519
commit
ae6985e873
@ -22,6 +22,9 @@
|
|||||||
doom-unicode-font (font-spec :family "JuliaMono")
|
doom-unicode-font (font-spec :family "JuliaMono")
|
||||||
doom-serif-font (font-spec :family "IBM Plex Mono" :weight 'light))
|
doom-serif-font (font-spec :family "IBM Plex Mono" :weight 'light))
|
||||||
|
|
||||||
|
(setq doom-emoji-fallback-font-families nil)
|
||||||
|
(setq doom-symbol-fallback-font-families nil)
|
||||||
|
|
||||||
(setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png")
|
(setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png")
|
||||||
|
|
||||||
(defun synchronize-theme ()
|
(defun synchronize-theme ()
|
||||||
@ -65,7 +68,7 @@
|
|||||||
|
|
||||||
;; update the git gutter
|
;; update the git gutter
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
'(git-gutter:update-interval 1))
|
'(git-gutter:update-interval 0.02))
|
||||||
|
|
||||||
;; ;; tree-sitter syntax highlighting
|
;; ;; tree-sitter syntax highlighting
|
||||||
;; (use-package! tree-sitter
|
;; (use-package! tree-sitter
|
||||||
@ -138,6 +141,13 @@
|
|||||||
org-roam-ui-update-on-save t
|
org-roam-ui-update-on-save t
|
||||||
org-roam-ui-open-on-start t))
|
org-roam-ui-open-on-start t))
|
||||||
|
|
||||||
|
(setq org-roam-dailies-directory "daily/")
|
||||||
|
|
||||||
|
(setq org-roam-dailies-capture-templates
|
||||||
|
'(("d" "default" entry
|
||||||
|
"* %?"
|
||||||
|
:target (file+head "%<%Y-%m-%d>.org"
|
||||||
|
"#+title: %<%Y-%m-%d>\n"))))
|
||||||
|
|
||||||
(defun org-roam-rg-search ()
|
(defun org-roam-rg-search ()
|
||||||
"Search org-roam directory using consult-ripgrep. With live-preview."
|
"Search org-roam directory using consult-ripgrep. With live-preview."
|
||||||
@ -164,11 +174,21 @@
|
|||||||
(setq avy-all-windows 't)
|
(setq avy-all-windows 't)
|
||||||
|
|
||||||
;; Disables lsp-signature-auto-activate globally
|
;; Disables lsp-signature-auto-activate globally
|
||||||
|
;; Looking at you, rustic mode
|
||||||
(after! lsp-mode
|
(after! lsp-mode
|
||||||
(setq lsp-signature-auto-activate nil))
|
(setq lsp-signature-auto-activate nil))
|
||||||
|
|
||||||
|
;; this never worked lol
|
||||||
(lsp-treemacs-sync-mode 1)
|
(lsp-treemacs-sync-mode 1)
|
||||||
|
|
||||||
|
;; bitmap very funni
|
||||||
(setq highlight-indent-guides-method 'bitmap)
|
(setq highlight-indent-guides-method 'bitmap)
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\.m$" . octave-mode))
|
;; magit delta looks so good
|
||||||
|
(add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1)))
|
||||||
|
|
||||||
|
;; keybind to disable search highlighting (like :set noh)
|
||||||
|
(map! :leader
|
||||||
|
:desc "Clear search highlight"
|
||||||
|
"s c"
|
||||||
|
#'evil-ex-nohighlight)
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
company ; the ultimate code completion backend
|
company ; the ultimate code completion backend
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
ivy ; a search engine for love and life
|
||||||
vertico ; the search engine of the future
|
;;vertico ; the search engine of the future
|
||||||
|
|
||||||
:ui
|
:ui
|
||||||
deft ; notational velocity for Emacs
|
;;deft ; notational velocity for Emacs
|
||||||
doom ; what makes DOOM look the way it does
|
doom ; what makes DOOM look the way it does
|
||||||
doom-dashboard ; a nifty splash screen for Emacs
|
doom-dashboard ; a nifty splash screen for Emacs
|
||||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
@ -45,7 +45,7 @@
|
|||||||
unicode ; extended unicode support for various languages
|
unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
vc-gutter ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
window-select ; visually switch windows
|
(window-select +numbers) ; visually switch windows
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
workspaces ; tab emulation, persistence & separate workspaces
|
||||||
zen ; distraction-free coding or writing
|
zen ; distraction-free coding or writing
|
||||||
|
|
||||||
@ -84,15 +84,15 @@
|
|||||||
:tools
|
:tools
|
||||||
;;ansible
|
;;ansible
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
direnv
|
||||||
docker
|
(docker +lsp)
|
||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||||
ein ; tame Jupyter notebooks with emacs
|
ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
gist ; interacting with github gists
|
gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
(lookup +dictionary + docsets +offline) ; navigate your code and its documentation
|
||||||
lsp ; M-x vscode
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
(magit +forge) ; a git porcelain for Emacs
|
||||||
make ; run make tasks from Emacs
|
make ; run make tasks from Emacs
|
||||||
(pass +auth) ; password manager for nerds
|
(pass +auth) ; password manager for nerds
|
||||||
pdf ; pdf enhancements
|
pdf ; pdf enhancements
|
||||||
@ -155,7 +155,7 @@
|
|||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
;;rest ; Emacs as a REST client
|
rest ; Emacs as a REST client
|
||||||
;;rst ; ReST in peace
|
;;rst ; ReST in peace
|
||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
|
@ -54,3 +54,4 @@
|
|||||||
(unpin! org-roam)
|
(unpin! org-roam)
|
||||||
(package! websocket)
|
(package! websocket)
|
||||||
(package! org-roam-ui :recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))
|
(package! org-roam-ui :recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))
|
||||||
|
(package! magit-delta)
|
||||||
|
@ -7,13 +7,11 @@ alias nnn 'nnn -e'
|
|||||||
alias icat 'kitty +kitten icat'
|
alias icat 'kitty +kitten icat'
|
||||||
alias magit 'emacs -nw --eval "(magit-status)"'
|
alias magit 'emacs -nw --eval "(magit-status)"'
|
||||||
alias emac 'emacsclient -nw'
|
alias emac 'emacsclient -nw'
|
||||||
alias qutebrowser 'qutebrowser --qt-flag ignore-gpu-blocklist --qt-flag enable-gpu-rasterization --qt-flag enable-native-gpu-memory-buffers --qt-flag num-raster-threads=4'
|
|
||||||
|
|
||||||
export GPG_TTY=(tty)
|
export GPG_TTY=(tty)
|
||||||
|
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
# config.fish
|
|
||||||
if test -z (pgrep ssh-agent)
|
if test -z (pgrep ssh-agent)
|
||||||
eval (ssh-agent -c)
|
eval (ssh-agent -c)
|
||||||
set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
|
set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
|
||||||
|
@ -17,13 +17,16 @@
|
|||||||
show = delta
|
show = delta
|
||||||
|
|
||||||
[delta]
|
[delta]
|
||||||
|
side-by-side = true
|
||||||
|
line-numbers = true
|
||||||
plus-style = "syntax #012800"
|
plus-style = "syntax #012800"
|
||||||
minus-style = "syntax #340001"
|
minus-style = "syntax #340001"
|
||||||
syntax-theme = Monokai Extended
|
syntax-theme = Nord
|
||||||
navigate = true
|
navigate = true
|
||||||
|
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = delta --color-only
|
diffFilter = delta --color-only --diff-so-fancy --show-config
|
||||||
|
|
||||||
[github]
|
[github]
|
||||||
user = minhtrannhat
|
user = minhtrannhat
|
||||||
|
|
||||||
|
@ -69,6 +69,13 @@ lvim.plugins = {
|
|||||||
},
|
},
|
||||||
{ "machakann/vim-sandwich" },
|
{ "machakann/vim-sandwich" },
|
||||||
{ "tpope/vim-fugitive" },
|
{ "tpope/vim-fugitive" },
|
||||||
|
{
|
||||||
|
"lewis6991/spellsitter.nvim",
|
||||||
|
config = function()
|
||||||
|
require("spellsitter").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{ "ggandor/lightspeed.nvim", requires = { "tpope/vim-repeat" }, event = "InsertEnter" },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Changes to clangd
|
-- Changes to clangd
|
||||||
@ -88,8 +95,6 @@ local clangd_flags = {
|
|||||||
"--offset-encoding=utf-16",
|
"--offset-encoding=utf-16",
|
||||||
"--clang-tidy-checks=-*,llvm-*,clang-analyzer-*,modernize-*,-modernize-use-trailing-return-type",
|
"--clang-tidy-checks=-*,llvm-*,clang-analyzer-*,modernize-*,-modernize-use-trailing-return-type",
|
||||||
"--fallback-style=Google",
|
"--fallback-style=Google",
|
||||||
-- "--header-insertion=never",
|
|
||||||
-- "--query-driver=<list-of-white-listed-complers>"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local clangd_bin = "clangd"
|
local clangd_bin = "clangd"
|
||||||
@ -106,3 +111,6 @@ local opts = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require("lvim.lsp.manager").setup("clangd", opts)
|
require("lvim.lsp.manager").setup("clangd", opts)
|
||||||
|
|
||||||
|
-- vim sandwhich with vim surround keybindings
|
||||||
|
vim.cmd("runtime macros/sandwich/keymap/surround.vim")
|
||||||
|
@ -42,7 +42,7 @@ set $menu wofi
|
|||||||
input 1267:47:Elan_Touchpad events disabled
|
input 1267:47:Elan_Touchpad events disabled
|
||||||
|
|
||||||
# Disable titlebar
|
# Disable titlebar
|
||||||
default_border pixel 3
|
default_border pixel 5
|
||||||
|
|
||||||
font pango:FiraCodeNerdFontMono Regular 11
|
font pango:FiraCodeNerdFontMono Regular 11
|
||||||
|
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
"custom/separator",
|
"custom/separator",
|
||||||
"mpd",
|
|
||||||
"custom/separator",
|
|
||||||
"temperature",
|
"temperature",
|
||||||
"custom/separator",
|
"custom/separator",
|
||||||
"cpu",
|
"cpu",
|
||||||
@ -45,34 +43,6 @@
|
|||||||
"critical": 90
|
"critical": 90
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"mpd": {
|
|
||||||
"server": "192.168.0.100",
|
|
||||||
"port": "6600",
|
|
||||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title} ({elapsedTime:%M:%S}) ",
|
|
||||||
"format-disconnected": "Disconnected ",
|
|
||||||
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
|
||||||
"interval": 10,
|
|
||||||
"consume-icons": {
|
|
||||||
"on": " " // Icon shows only when "consume" is on
|
|
||||||
},
|
|
||||||
"random-icons": {
|
|
||||||
"off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
|
|
||||||
"on": " "},
|
|
||||||
"repeat-icons": {
|
|
||||||
"on": " "
|
|
||||||
},
|
|
||||||
"single-icons": {
|
|
||||||
"on": "1 "
|
|
||||||
},
|
|
||||||
"state-icons": {
|
|
||||||
"paused": "",
|
|
||||||
"playing": ""
|
|
||||||
},
|
|
||||||
"tooltip-format": "MPD (connected)",
|
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)"
|
|
||||||
},
|
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "memory {}%", // Icon: memory
|
"format": "memory {}%", // Icon: memory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user