summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/firefox/user-overrides.js3
-rw-r--r--files/kitty/kitty.conf2
-rw-r--r--files/vim/patches/qname_edit.diff31
-rw-r--r--files/vim/plugin/qname.1.2.vim4
-rw-r--r--files/vim/vimrc4
5 files changed, 30 insertions, 14 deletions
diff --git a/files/firefox/user-overrides.js b/files/firefox/user-overrides.js
index 5535de3..7d2abb8 100644
--- a/files/firefox/user-overrides.js
+++ b/files/firefox/user-overrides.js
@@ -49,6 +49,9 @@ user_pref("ui.key.menuAccessKeyFocuses", false);
user_pref("mousebutton.4th.enabled", false);
user_pref("mousebutton.5th.enabled", false);
+// Disable tab groups.
+user_pref("browser.tabs.groups.enabled", false);
+
// Good smooth-scrolling
user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 250);
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 250);
diff --git a/files/kitty/kitty.conf b/files/kitty/kitty.conf
index 4728717..a32e47e 100644
--- a/files/kitty/kitty.conf
+++ b/files/kitty/kitty.conf
@@ -44,7 +44,7 @@ resize_debounce_time 0.025 0.5
cursor_shape block
#cursor_blink_interval -1 linear ease-out
#cursor_stop_blinking_after 20.0
-cursor_trail 3
+cursor_trail 4
cursor_trail_decay 0.075 0.425
cursor_trail_start_threshold 3
#cursor #${colo.foreground}
diff --git a/files/vim/patches/qname_edit.diff b/files/vim/patches/qname_edit.diff
index 4ca65ff..ab1ed09 100644
--- a/files/vim/patches/qname_edit.diff
+++ b/files/vim/patches/qname_edit.diff
@@ -1,7 +1,7 @@
Post- dos2unix, Tabify, and Trim.
--- a/qname.1.2.vim 2025-08-03 20:12:24.629096223 -0400
-+++ b/qname.1.2.vim 2025-08-13 22:10:15.352953531 -0400
-@@ -7,7 +7,25 @@
++++ b/qname.1.2.vim 2025-10-30 16:45:40.688588103 -0400
+@@ -7,7 +7,27 @@
" License: Vim License
" =============================================================================
@@ -23,11 +23,13 @@ Post- dos2unix, Tabify, and Trim.
+" Add bind to "flatten" the list
+" Replace fmatch() with built-in matchfuzzy() (speedup)
+" Fix logic to not include buffers with modifiable off
++" 2025-10-30:
++" Treat <S-BS> the same as <BS>
+"
" 1.2 2013-01-03
" ADD: <Tab> and <S-Tab> moves selection like <Up> and <Down>
" ADD: Use <silent> mapping to keep cmdline clear
-@@ -30,12 +48,6 @@
+@@ -30,12 +50,6 @@
finish
endif
@@ -40,7 +42,16 @@ Post- dos2unix, Tabify, and Trim.
if exists("g:qname_loaded") && g:qname_loaded
finish
endif
-@@ -70,16 +82,19 @@
+@@ -53,7 +67,7 @@
+
+ " use case-sensitive equality operator, otherwise <BS> looks like
+ " <S-Tab> if 'ignorecase' is set
+- if _key ==# "\<BS>"
++ if _key ==# "\<BS>" || _key ==# "\<S-BS>"
+ let s:inp = s:inp[:-2]
+ elseif _key ==# "\<C-U>"
+ let s:inp = ""
+@@ -70,16 +84,19 @@
call s:swb(str2nr(matchstr(s:s[_sel], '<\zs\d\+\ze>')))
endif
call QNameInit(0)
@@ -64,7 +75,7 @@ Post- dos2unix, Tabify, and Trim.
else
call s:build()
endif
-@@ -88,7 +103,6 @@
+@@ -88,7 +105,6 @@
cal QNameInit(0)
finally
" clean up screen after dismissing search window
@@ -72,7 +83,7 @@ Post- dos2unix, Tabify, and Trim.
call inputrestore()
endtry
endfunc
-@@ -99,6 +113,7 @@
+@@ -99,6 +115,7 @@
let s:cmdh = &cmdheight
if a:start != -1
let s:inp = ""
@@ -80,7 +91,7 @@ Post- dos2unix, Tabify, and Trim.
endif
call s:baselist()
call s:build()
-@@ -112,16 +127,27 @@
+@@ -112,16 +129,27 @@
function! s:build()
let s:s = []
let s:n = []
@@ -111,7 +122,7 @@ Post- dos2unix, Tabify, and Trim.
cal s:colPrinter.put(s:n)
else
cal s:colPrinter.put(s:s)
-@@ -137,37 +163,28 @@
+@@ -137,37 +165,28 @@
endfunc
function! s:fmatch(src,pat)
@@ -154,7 +165,7 @@ Post- dos2unix, Tabify, and Trim.
function! s:colPrinter.put(its) dict
let _cols = []
let _trow = self.trow
-@@ -224,11 +241,7 @@
+@@ -224,11 +243,7 @@
function! s:colPrinter.vert(mv) dict
let _t = self.sel + a:mv
let _len = self.len
@@ -167,7 +178,7 @@ Post- dos2unix, Tabify, and Trim.
let self.sel = _t
endif
endfunc
-@@ -244,7 +257,7 @@
+@@ -244,7 +259,7 @@
let _t = _sel/_trow
let _cpos = self.cpos
let _lcol = self.lcol
diff --git a/files/vim/plugin/qname.1.2.vim b/files/vim/plugin/qname.1.2.vim
index 73b7dec..7ecd92f 100644
--- a/files/vim/plugin/qname.1.2.vim
+++ b/files/vim/plugin/qname.1.2.vim
@@ -25,6 +25,8 @@
" Add bind to "flatten" the list
" Replace fmatch() with built-in matchfuzzy() (speedup)
" Fix logic to not include buffers with modifiable off
+" 2025-10-30:
+" Treat <S-BS> the same as <BS>
"
" 1.2 2013-01-03
" ADD: <Tab> and <S-Tab> moves selection like <Up> and <Down>
@@ -65,7 +67,7 @@ function! QNameRun()
" use case-sensitive equality operator, otherwise <BS> looks like
" <S-Tab> if 'ignorecase' is set
- if _key ==# "\<BS>"
+ if _key ==# "\<BS>" || _key ==# "\<S-BS>"
let s:inp = s:inp[:-2]
elseif _key ==# "\<C-U>"
let s:inp = ""
diff --git a/files/vim/vimrc b/files/vim/vimrc
index c40eeec..b3bb734 100644
--- a/files/vim/vimrc
+++ b/files/vim/vimrc
@@ -128,8 +128,8 @@ if isdirectory(expand("~/c"))
endif
set autocomplete
-"set complete=.^6,w^6,b^6,u^6,i^6,d^6
-set complete=.^6,w^6,b^6,u^6
+"set complete=.^4,w^3,b^2,u^2,i^2,d^2
+set complete=.^4,w^3,b^2,u^2
set completeopt+=menu,popup
" Plugins.