repos / dotfiles

my dotfiles

commit
901d5e4
parent
6b93511
author
Eric Bower
date
2026-01-13 14:09:19 -0500 EST
chore: changes
3 files changed,  +21, -3
M dot_config/jj/config.toml
+3, -0
1@@ -18,3 +18,6 @@ default-command = "log"
2 
3 [--scope.ui]
4 pager = "delta"
5+
6+[aliases]
7+tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
M dot_config/kak/kakrc
+11, -3
 1@@ -1,5 +1,6 @@
 2 colorscheme tomorrow-night
 3 
 4+set-option global autoreload true
 5 set-option global grepcmd 'rg -n'
 6 set-option global tabstop 2
 7 set-option global indentwidth 0
 8@@ -9,6 +10,12 @@ set-option global scrolloff 3,3
 9 define-command find -docstring "find files" -params 1 %{ edit %arg{1} }
10 complete-command find shell-script-candidates %{ fd -t f }
11 
12+define-command dowrap %{ # soft-wrap command
13+	add-highlighter buffer/ wrap -indent -word -marker "… "
14+	map buffer normal j gd
15+	map buffer normal k gu
16+}
17+
18 hook global NormalKey y|d|c %{ # use osc 52 for yank
19 	nop %sh{
20 		encoded=$(printf %s "$kak_main_reg_dquote" | base64 | tr -d '\n')
21@@ -20,10 +27,10 @@ hook global WinCreate .* %{
22 	addhl window/ column 100 default,rgb:404040
23 }
24 add-highlighter global/ show-matching
25-# add-highlighter global/ wrap
26+# add-highlighter global/ show-whitespaces
27 
28 eval %sh{kak-lsp}
29-hook global WinSetOption filetype=(python|go|javascript|typescript) %{
30+hook global WinSetOption filetype=(python|go|javascript|typescript|zls) %{
31 	lsp-enable-window
32 }
33 set-option global modelinefmt "%opt{lsp_modeline} %opt{modelinefmt}"
34@@ -31,9 +38,10 @@ set-option global modelinefmt "%opt{lsp_modeline} %opt{modelinefmt}"
35 map global user l ':enter-user-mode lsp<ret>' -docstring 'LSP mode'
36 map global user h <esc>:lsp-hover<ret> -docstring 'LSP hover'
37 
38+map global insert <tab> '<a-;>:try lsp-snippets-select-next-placeholders catch %{ execute-keys -with-hooks <lt>tab> }<ret>' -docstring 'Select next snippet placeholder'
39+
40 map global object a '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol'
41 map global object f '<a-semicolon>lsp-object Function Method<ret>' -docstring 'LSP function or method'
42-map global object t '<a-semicolon>lsp-object Class Interface Module Namespace Struct<ret>' -docstring 'LSP class or module'
43 map global object d '<a-semicolon>lsp-diagnostic-object error warning<ret>' -docstring 'LSP errors and warnings'
44 map global object D '<a-semicolon>lsp-diagnostic-object error<ret>' -docstring 'LSP errors'
45 
M dot_config/river/init
+7, -0
 1@@ -39,6 +39,13 @@ do
 2     riverctl map normal $mod+Shift+Control $i toggle-view-tags $tags
 3 done
 4 
 5+scratch_tag=$((1 << 20))
 6+riverctl map normal Super P toggle-focused-tags ${scratch_tag}		# toggle the scratchpad
 7+riverctl map normal Super+Shift P set-view-tags ${scratch_tag}		# send windows to the scratchpad
 8+# Set spawn tagmask to ensure new windows do not have the scratchpad tag unless explicitly set.
 9+all_but_scratch_tag=$(( ((1 << 32) - 1) ^ $scratch_tag ))
10+riverctl spawn-tagmask ${all_but_scratch_tag}
11+
12 for mode in normal locked
13 do
14     riverctl map -repeat $mode None XF86AudioRaiseVolume  spawn 'pamixer -i 5'