Feburary 2022 update
This commit is contained in:
parent
ae6985e873
commit
9e0da2b4bf
@ -54,6 +54,12 @@
|
|||||||
|
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
|
|
||||||
|
(add-hook 'spell-fu-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(spell-fu-dictionary-add (spell-fu-get-ispell-dictionary "en"))
|
||||||
|
(spell-fu-dictionary-add
|
||||||
|
(spell-fu-get-personal-dictionary "en-personal" "/home/minhradz/.aspell.en.pws"))))
|
||||||
|
|
||||||
;; Clangd lsp for C/C++ dev
|
;; Clangd lsp for C/C++ dev
|
||||||
(setq lsp-clients-clangd-args '("-j=3"
|
(setq lsp-clients-clangd-args '("-j=3"
|
||||||
"--background-index"
|
"--background-index"
|
||||||
@ -103,6 +109,12 @@
|
|||||||
(setq company-idle-delay 1)
|
(setq company-idle-delay 1)
|
||||||
(add-hook 'evil-normal-state-entry-hook #'company-abort)) ;; make aborting less annoying.
|
(add-hook 'evil-normal-state-entry-hook #'company-abort)) ;; make aborting less annoying.
|
||||||
|
|
||||||
|
(use-package all-the-icons-ivy-rich
|
||||||
|
:init (all-the-icons-ivy-rich-mode 1))
|
||||||
|
|
||||||
|
(use-package ivy-rich
|
||||||
|
:init (ivy-rich-mode 1))
|
||||||
|
|
||||||
(setq-default history-length 1000)
|
(setq-default history-length 1000)
|
||||||
(setq-default prescient-history-length 1000)
|
(setq-default prescient-history-length 1000)
|
||||||
|
|
||||||
@ -147,7 +159,7 @@
|
|||||||
'(("d" "default" entry
|
'(("d" "default" entry
|
||||||
"* %?"
|
"* %?"
|
||||||
:target (file+head "%<%Y-%m-%d>.org"
|
:target (file+head "%<%Y-%m-%d>.org"
|
||||||
"#+title: %<%Y-%m-%d>\n"))))
|
"#+title: %<%Y-%m-%d>\n* What I did today\n* What was on my mind"))))
|
||||||
|
|
||||||
(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."
|
||||||
@ -173,7 +185,7 @@
|
|||||||
|
|
||||||
(setq avy-all-windows 't)
|
(setq avy-all-windows 't)
|
||||||
|
|
||||||
;; Disables lsp-signature-auto-activate globally
|
;; Disables lsp-signature-auto-activate
|
||||||
;; Looking at you, rustic mode
|
;; Looking at you, rustic mode
|
||||||
(after! lsp-mode
|
(after! lsp-mode
|
||||||
(setq lsp-signature-auto-activate nil))
|
(setq lsp-signature-auto-activate nil))
|
||||||
@ -192,3 +204,18 @@
|
|||||||
:desc "Clear search highlight"
|
:desc "Clear search highlight"
|
||||||
"s c"
|
"s c"
|
||||||
#'evil-ex-nohighlight)
|
#'evil-ex-nohighlight)
|
||||||
|
|
||||||
|
;; We do a little bit of finger pointing
|
||||||
|
(use-package blamer
|
||||||
|
:bind (("s-i" . blamer-show-commit-info))
|
||||||
|
:defer 20
|
||||||
|
:custom
|
||||||
|
(blamer-idle-time 0.3)
|
||||||
|
(blamer-min-offset 40)
|
||||||
|
:custom-face
|
||||||
|
(blamer-face ((t :foreground "#7a88cf"
|
||||||
|
:background nil
|
||||||
|
:height 110
|
||||||
|
:italic t)))
|
||||||
|
:config
|
||||||
|
(global-blamer-mode 1))
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
:checkers
|
:checkers
|
||||||
syntax ; tasing you for every semicolon you forget
|
syntax ; tasing you for every semicolon you forget
|
||||||
(spell +flyspell) ; tasing you for misspelling mispelling
|
(spell +everywhere +aspell); tasing you for misspelling mispelling
|
||||||
;;grammar ; tasing grammar mistake every you make
|
;;grammar ; tasing grammar mistake every you make
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
|
@ -55,3 +55,6 @@
|
|||||||
(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)
|
(package! magit-delta)
|
||||||
|
(package! blamer :recipe (:host github :repo "artawower/blamer.el"))
|
||||||
|
(package! all-the-icons-ivy-rich)
|
||||||
|
(package! ivy-rich)
|
||||||
|
@ -1,17 +1,7 @@
|
|||||||
-- general
|
-- general
|
||||||
lvim.format_on_save = true
|
lvim.format_on_save = true
|
||||||
lvim.lint_on_save = true
|
lvim.lint_on_save = true
|
||||||
|
|
||||||
vim.g.nord_contrast = true
|
|
||||||
vim.g.nord_borders = true
|
|
||||||
vim.g.nord_disable_background = false
|
|
||||||
vim.g.nord_italic = true
|
|
||||||
vim.termguicolors = true
|
|
||||||
|
|
||||||
lvim.colorscheme = "nord"
|
|
||||||
lvim.shell = "/bin/fish"
|
lvim.shell = "/bin/fish"
|
||||||
|
|
||||||
-- keymappings [view all the defaults by pressing <leader>Lk]
|
|
||||||
lvim.leader = "space"
|
lvim.leader = "space"
|
||||||
lvim.builtin.dashboard.active = true
|
lvim.builtin.dashboard.active = true
|
||||||
lvim.builtin.terminal.active = true
|
lvim.builtin.terminal.active = true
|
||||||
@ -19,12 +9,17 @@ lvim.builtin.autopairs.active = true
|
|||||||
lvim.builtin.gitsigns.active = true
|
lvim.builtin.gitsigns.active = true
|
||||||
lvim.builtin.dap.active = true
|
lvim.builtin.dap.active = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
lvim.builtin.nvimtree.side = "left"
|
lvim.builtin.nvimtree.side = "left"
|
||||||
lvim.builtin.nvimtree.show_icons.git = 1
|
lvim.builtin.nvimtree.show_icons.git = 1
|
||||||
lvim.builtin.terminal.shell = "/bin/fish"
|
lvim.builtin.terminal.shell = "/bin/fish"
|
||||||
|
|
||||||
-- if you don't want all the parsers change this to a table of the ones you want
|
vim.g.nord_contrast = true
|
||||||
|
vim.g.nord_borders = true
|
||||||
|
vim.g.nord_disable_background = false
|
||||||
|
vim.g.nord_italic = true
|
||||||
|
vim.termguicolors = true
|
||||||
|
lvim.colorscheme = "nord"
|
||||||
|
|
||||||
lvim.builtin.treesitter.ensure_installed = {}
|
lvim.builtin.treesitter.ensure_installed = {}
|
||||||
lvim.builtin.treesitter.ignore_install = { "" }
|
lvim.builtin.treesitter.ignore_install = { "" }
|
||||||
lvim.builtin.treesitter.highlight.enabled = true
|
lvim.builtin.treesitter.highlight.enabled = true
|
||||||
|
@ -81,9 +81,10 @@ exec swayidle -w \
|
|||||||
for_window [title="Firefox — Sharing Indicator"] floating enable
|
for_window [title="Firefox — Sharing Indicator"] floating enable
|
||||||
for_window [title="Firefox — Sharing Indicator"] nofocus
|
for_window [title="Firefox — Sharing Indicator"] nofocus
|
||||||
for_window [app_id="mpv"] inhibit_idle visible; border none; max_render_time off
|
for_window [app_id="mpv"] inhibit_idle visible; border none; max_render_time off
|
||||||
|
for_window [app_id="soffice.bin"] inhibit_idle visible; border none; max_render_time off
|
||||||
for_window [class="firefox"] inhibit_idle fullscreen; max_render_time off
|
for_window [class="firefox"] inhibit_idle fullscreen; max_render_time off
|
||||||
for_window [app_id="firefox"] inhibit_idle fullscreen; max_render_time off
|
for_window [app_id="firefox"] inhibit_idle fullscreen; max_render_time off
|
||||||
|
for_window [app_id="jellyfinmediaplayer"] inhibit_idle fullscreen; max_render_time off
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user