https://git.dlma.com/dotfiles.git/tree/459c4cc115c5c49db6167a7a07d4c946a2aab58d Recent commits to dotfiles.git (459c4cc115c5c49db6167a7a07d4c946a2aab58d) 2025-11-28T12:36:59-08:00 tag:gitlist.org,2012:commit/459c4cc115c5c49db6167a7a07d4c946a2aab58d tmux filename matching: don't match prefix spaces 2025-11-28T12:36:59-08:00 dblume david.blume@gmail.com <pre>Turns out I didn't need to match spaces or specify '/<' word start boundaries. This slightly shorter regex passes all my tests. &lt;/pre&gt; tag:gitlist.org,2012:commit/222cf9899dbe2936a1cc633cb07cd61f330b5660 tmux: Don't match math like 3.14 or 2/3.14 as pathnames 2025-11-28T00:19:03-08:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/f609faeb2da70b8885247686ddf2287f7ee1da66 Find just basenames with extensions, too. 2025-11-27T23:24:44-08:00 dblume david.blume@gmail.com <pre>Decided that script.py should match, even when AC/DC shouldn't. See: https://gist.github.com/dblume/51d36f5656ecbb03012c604e4156ecd6 &lt;/pre&gt; tag:gitlist.org,2012:commit/e5dfc28c971ecbcb0029addda459152e444829ea tmux: Don't match paths whose lines or cols are bad. 2025-11-20T21:47:51-08:00 dblume david.blume@gmail.com <pre>Sometimes GUID looking things matched because f.txt:30acd... So now add (\>|$) at the end of the expression. &lt;/pre&gt; tag:gitlist.org,2012:commit/e9f3ca3169af853a19b1a7c1116c13ff86d3000c Yet another tweak to filepath matching 2025-11-15T23:04:02-08:00 dblume david.blume@gmail.com <pre>* exclude the // in https://path/file * Only allow basename:## if basename has a letter in it. to avoid 10:30, which is more likely a time than line 30 of file "10". &lt;/pre&gt; tag:gitlist.org,2012:commit/da4a070099bb46499bab7b4b9de27bb29621478d Better tmux filepath selection. 2025-11-15T20:38:34-08:00 dblume david.blume@gmail.com <pre>See links in the code. There's a useful GitHub Gist. &lt;/pre&gt; tag:gitlist.org,2012:commit/cbc01e2fd2e37d9d69610026a3a761f370550488 Add support for more paths 2025-11-15T11:12:48-08:00 dblume david.blume@gmail.com <pre>Decided I wanted to allow paths with two separators, even if no linenum. Ending with a linenum is always a match. So now matches are: * file:23 * ~/path/filename * /path/filename * path/path/filename The more obvious ones still match, of course: * path/file:23:45 * "~/path with spaces/file":23:45 We intentionally do not match single separators * (No match) path/filename If we allowed that, the regex could be shorter, so there's that. &lt;/pre&gt; tag:gitlist.org,2012:commit/de6c5708417adb2e5e8949450d5d8072c8743927 Make the tmux file regex even shorter. 2025-11-15T00:22:47-08:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/fd9e15a623c600c4c58ca7b67bfbce037af9dc51 tmux: Only match file paths with line numbers. 2025-11-14T23:55:40-08:00 dblume david.blume@gmail.com <pre>Also match files that are just basenames and line numbers. &lt;/pre&gt; tag:gitlist.org,2012:commit/f6a61d496c5691b2c9164368d625a17e4c69f9ac Easily open files from tmux copy mode. 2025-11-11T23:43:17-08:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt;