<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[#Emacs repeat-mode also combines really well with #expreg (expand-region).]]></title><description><![CDATA[<p><a href="https://ottawa.place/tags/Emacs" rel="tag">#<span>Emacs</span></a> repeat-mode also combines really well with <a href="https://ottawa.place/tags/expreg" rel="tag">#<span>expreg</span></a> (expand-region). expreg looks like a worthy successor to Magnars' `expand-region` package, which many of us have grown to love.</p><p>I have it set so `C-c y` marks the semantic 'thing' at point, and subsequent presses of `y` or `u` expand or contract to the next semantic unit.</p><p>Works well out of the box. Should work even better if/when I get my head around <a href="https://ottawa.place/tags/treesitter" rel="tag">#<span>treesitter</span></a>. </p><p>This is my config:</p><p>(repeat-mode 1)<br />(defvar expreg-expand-keymap<br />  (define-keymap<br />    "y" #'expreg-expand<br />    "u" #'expreg-contract))</p><p>(put #'expreg-expand 'repeat-map 'expreg-expand-keymap)<br />(put #'expreg-contract 'repeat-map 'expreg-expand-keymap)</p><p>(global-set-key (kbd "C-c y") #'expreg-expand)</p>]]></description><link>https://board.circlewithadot.net/topic/a5175111-b54d-4f05-8d95-e5b26a48e0e3/emacs-repeat-mode-also-combines-really-well-with-expreg-expand-region-.</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 22:34:00 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/a5175111-b54d-4f05-8d95-e5b26a48e0e3.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Apr 2026 21:57:20 GMT</pubDate><ttl>60</ttl></channel></rss>