Incoherent screeching

This commit is contained in:
minhtrannhat 2022-02-19 14:57:52 -05:00
parent a34a9be519
commit ae6985e873
No known key found for this signature in database
GPG Key ID: 894C6A5801E01CA9
8 changed files with 48 additions and 48 deletions

View File

@ -22,6 +22,9 @@
doom-unicode-font (font-spec :family "JuliaMono")
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")
(defun synchronize-theme ()
@ -65,7 +68,7 @@
;; update the git gutter
(custom-set-variables
'(git-gutter:update-interval 1))
'(git-gutter:update-interval 0.02))
;; ;; tree-sitter syntax highlighting
;; (use-package! tree-sitter
@ -138,6 +141,13 @@
org-roam-ui-update-on-save 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 ()
"Search org-roam directory using consult-ripgrep. With live-preview."
@ -164,11 +174,21 @@
(setq avy-all-windows 't)
;; Disables lsp-signature-auto-activate globally
;; Looking at you, rustic mode
(after! lsp-mode
(setq lsp-signature-auto-activate nil))
;; this never worked lol
(lsp-treemacs-sync-mode 1)
;; bitmap very funni
(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)

View File

@ -21,11 +21,11 @@
company ; the ultimate code completion backend
;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine...
;;ivy ; a search engine for love and life
vertico ; the search engine of the future
ivy ; a search engine for love and life
;;vertico ; the search engine of the future
:ui
deft ; notational velocity for Emacs
;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs
@ -45,7 +45,7 @@
unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe
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
zen ; distraction-free coding or writing
@ -84,15 +84,15 @@
:tools
;;ansible
;;debugger ; FIXME stepping through code, to help you add bugs
;;direnv
docker
direnv
(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
lookup ; navigate your code and its documentation
(lookup +dictionary + docsets +offline) ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
(magit +forge) ; a git porcelain for Emacs
make ; run make tasks from Emacs
(pass +auth) ; password manager for nerds
pdf ; pdf enhancements
@ -155,7 +155,7 @@
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client
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()

View File

@ -54,3 +54,4 @@
(unpin! org-roam)
(package! websocket)
(package! org-roam-ui :recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))
(package! magit-delta)

View File

@ -7,13 +7,11 @@ alias nnn 'nnn -e'
alias icat 'kitty +kitten icat'
alias magit 'emacs -nw --eval "(magit-status)"'
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)
gpgconf --launch gpg-agent
# config.fish
if test -z (pgrep ssh-agent)
eval (ssh-agent -c)
set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK

View File

@ -17,13 +17,16 @@
show = delta
[delta]
side-by-side = true
line-numbers = true
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
syntax-theme = Nord
navigate = true
[interactive]
diffFilter = delta --color-only
diffFilter = delta --color-only --diff-so-fancy --show-config
[github]
user = minhtrannhat

View File

@ -69,6 +69,13 @@ lvim.plugins = {
},
{ "machakann/vim-sandwich" },
{ "tpope/vim-fugitive" },
{
"lewis6991/spellsitter.nvim",
config = function()
require("spellsitter").setup()
end,
},
{ "ggandor/lightspeed.nvim", requires = { "tpope/vim-repeat" }, event = "InsertEnter" },
}
-- Changes to clangd
@ -88,8 +95,6 @@ local clangd_flags = {
"--offset-encoding=utf-16",
"--clang-tidy-checks=-*,llvm-*,clang-analyzer-*,modernize-*,-modernize-use-trailing-return-type",
"--fallback-style=Google",
-- "--header-insertion=never",
-- "--query-driver=<list-of-white-listed-complers>"
}
local clangd_bin = "clangd"
@ -106,3 +111,6 @@ local opts = {
}
require("lvim.lsp.manager").setup("clangd", opts)
-- vim sandwhich with vim surround keybindings
vim.cmd("runtime macros/sandwich/keymap/surround.vim")

View File

@ -42,7 +42,7 @@ set $menu wofi
input 1267:47:Elan_Touchpad events disabled
# Disable titlebar
default_border pixel 3
default_border pixel 5
font pango:FiraCodeNerdFontMono Regular 11

View File

@ -19,8 +19,6 @@
"modules-right": [
"tray",
"custom/separator",
"mpd",
"custom/separator",
"temperature",
"custom/separator",
"cpu",
@ -45,34 +43,6 @@
"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": {
"interval": 5,
"format": "memory {}%", // Icon: memory