repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim: remove text object, that conflicts with "tag"

07994b8b9678bf5795ff727f14256afbfbfb8862

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (6)

NB-00718.symlinks

Modified
50 50 ~/AppData/Roaming/Subversion/config
52 52 subversion/diff.cmd
53 -X:/bin/svn.diff.cmd
53 +~/Tools/bin/svn.diff.cmd
55 55 subversion/diff
56 -X:/bin/diff
56 +~/Tools/bin/diff
58 58 subversion/merge.cmd
59 -X:/bin/svn.merge.cmd
59 +~/Tools/bin/svn.merge.cmd
61 61 subversion/merge
62 -X:/bin/merge
62 +~/Tools/bin/merge
64 64 topgrade/topgrade.toml
65 65 ~/AppData/Roaming/topgrade.toml

neovim/lua/bugabinga/textobjects.lua

Modified
26 26 ['as'] = { query = '@statement.outer', description = 'outer statement' },
27 27 ['is'] = { query = '@statement.inner', description = 'inner statement' },
29 - ['at'] = { query = '@class.outer', description = 'outer class' },
30 - ['it'] = { query = '@class.inner', description = 'inner class' },
29 + ['aT'] = { query = '@class.outer', description = 'outer class' },
30 + ['iT'] = { query = '@class.inner', description = 'inner class' },
33 33 for keys, maps in pairs(textobject_select_keymaps) do

nushell/gen-aliases.nu

Modified
36 36 aka vim nvim
37 37 aka vi nvim '--clean'
38 38 aka vide neovide
39 +aka delta delta '--hyperlinks' '--hyperlinks-file-link-format="file://{path}#{line}"'
40 +aka rg rg '--hyperlink-format=kitty'
40 42 aka userctl systemctl '--user'

topgrade/win32.toml

Modified
5 5 pre_sudo = true
6 6 sudo_command = "gsudo"
7 7 no_retry = true
8 +display_time = true
9 +cleanup = true
10 +no_self_update = true
9 12 disable = ['powershell', 'microsoft_store']
10 13 ignore_failures = ['winget']
12 15 [pre_commands]
13 -"01 Enable Script Execution" = 'powershell -Command "Set-ExecutionPolicy RemoteSigned"'
14 -"02 Enable Developer Mode" = 'powershell -File "C:\Users\okr\Tools\Enable Developer Mode.ps1"'
15 -"03 Setup Drives" = 'reg import "C:\Users\okr\Tools\Setup Drives.reg"'
16 -"04 Disable Caps Lock" = 'reg import "C:\Users\okr\Tools\Disable Caps Lock.reg"'
17 -"05 Register CMD Aliases" = 'reg import "C:\Users\okr\Tools\Register CMD Aliases.reg"'
18 -"06 Enable Long Paths" = 'reg import "C:\Users\okr\Tools\Enable Long Paths.reg"'
19 -"07 Winget Export" = 'winget export --source winget --nowarn --output C:\Users\okr\Tools\winget_installed_apps.json'
16 +"00 Winget Export" = 'winget export --source winget --nowarn --output C:\Users\okr\Tools\winget_installed_apps.json'
21 18 [post_commands]
19 +"00 Cleanup Downloads Folder" = "nu --commands 'ls ~/Downloads | where modified < ((date now) - 30day) | par-each { rm -rf $in.name }'"
20 +"01 Flush DNS" = "ipconfig /flushdns"
23 22 [commands]

wezterm/bugabinga/status.lua

Modified
67 67 window:set_left_status(
68 68 wez.format {
69 - { Text = '  ', },
69 + { Text = '  ', },
70 70 --TODO test on laptop
71 - { Text = bat.get_battery_icons(), },
72 - { Text = bat.get_battery_stats(), },
71 + { Text = bat.get_battery_icons() .. ' ', },
75 74 end )

wezterm/bugabinga/window.lua

Modified
1 +local wez = require 'wezterm'
1 3 return function ( cfg )
2 4 cfg.window_background_opacity = 1.0
3 - cfg.window_decorations = 'RESIZE|NONE'
5 + if wez.target_triple:find('windows') then
6 + cfg.window_decorations = 'RESIZE'
7 + else
8 + cfg.window_decorations = 'RESIZE|NONE'
9 + end
4 10 cfg.use_resize_increments = true
5 11 cfg.adjust_window_size_when_changing_font_size = false
6 - cfg.window_content_alignment = {
7 - horizontal = 'Center',
8 - vertical = 'Center',
9 - }
14 + if wez.version > '2025' then
15 + cfg.window_content_alignment = {
16 + horizontal = 'Center',
17 + vertical = 'Center',
18 + }
19 + end
10 21 cfg.window_padding = {
11 22 left = 0,
12 23 right = 0,