Scripting efficiency
Started the week with a sunny cycle ride to East Peckham. In the sun it was lovely, in the shade it was bitterly cold.
Debian Linux¶
Updated the language/clojure.sh install script to prompt the user if they wish to install the Practicalli Clojure CLI Config
If the Clojure config directory is a symbolic link, the assumption is that the install (git clone) of the Practicalli config should be skipped (and exits the script).
Bash: determine location of Clojure Config
echo "Practicalli Clojure CLI Config"
echo "Check location of existing config (exit script if symbolic link found)"
if [[ -L "$XDG_CONFIG_HOME"/clojure ]]; then
echo "Practicalli Clojure CLI set via a symbolic link - all set"
exit 0
elif [[ -L "$HOME"/.clojure ]]; then
echo "Practicalli Clojure CLI set via a symbolic link - all set"
exit 0
elif [ -d "$XDG_CONFIG_HOME"/clojure ]; then
clojure_config_dir="$XDG_CONFIG_HOME"/clojure
elif [ -d "$HOME"/.clojure ]; then
clojure_config_dir="$HOME"/.clojure
else
echo "No Clojure CLI Config found"
clojure_config_dir=
fi
echo
Neovim¶
Neovim 0.13 should be release on 25 November 2026.
New features in Neovim 0.13 release.
- Native multiple cursors
- Persistent Neovim sessions with
:detach!and:connect - Real-time external file detection via file system watchers
- Structured concurrency with
vim.async - Improved built-in LSP completion
- Image rendering with
vim.ui.img - A redesigned command-line window
- Additional built-in plugin management features
- Treesitter performance improvements
- Updated undo behavior
- Lua functions directly usable as option values
- Experimental Web Assembly build (via Zig)
The features I will try out first are the multiple cursors and the new text objects.
LSP and Treesitter improvements may produce performance improvements, although they are both snappy as they are. When I work with larger files I shouldnt notice any slowdown :crossed_fingers:
Astronvim v7 should be released soon after.
A new Practicalli config will be created, cloning from the Astronvim Template to check if there are underlying changes.
A diff comparison will be made between the new Practicalli config and practicalli/nvim-astro. If nothing major has change, then I'll merge any minor updates to practicalli/nvim-astro.
New text objects¶
al select whole buffer? (shouldnt that be around line ?)
il select current line without surrounding whitespace (in line)
Multiple cursors¶
I have been using vim-visual-multi plugin successfully to wrangle text with multiple cursors.
- create a list / table from multiple consecutive lines
- indent code blocks and python markdown annotations
- search for a pattern and place a cursor on each match
Neovim 0.13 has native multiple cursor support.
Q now creates a multiple cursor instead of replaying the last recorded register.
QAdd or remove a cursor[count]QAdd cursors to search matches- Ctrl+Left Toggle a cursor with the mouse
q=Toggle follow mode- Ctrl+L Clear cursors
gQRestore cleared cursors
Lua API: vim.api.nvim_mcursor()
Reset Q mapping behaviour
Cycling¶
Added a winter route to East Peckham and back again, using the same roads each way so the risk of dangerous road conditions is better understood.
Update the Old Terrys winter route to remove the Horton Kirby section. The roads around Swanley have poor surfaces and present greater risk in cold (5 Celsius and below) and damp conditions
Poor surfaces are also slower to ride on, so try and avoid them in winter routes.
The previous version of Old Terrys route was kept as is, moving to the Rocket Kent Regulars. A similar route would be interesting for the Hill Climbing collection
Thank you.