emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/xah-fly-keys 56af7d6589: kill-rectangle now has key (space


From: ELPA Syncer
Subject: [nongnu] elpa/xah-fly-keys 56af7d6589: kill-rectangle now has key (space r q), was (space r g) (dvorak notation).
Date: Tue, 13 Feb 2024 19:01:24 -0500 (EST)

branch: elpa/xah-fly-keys
commit 56af7d65896cd285fe46c53828087f4d727387f3
Author: Xah Lee <xah@xahlee.org>
Commit: Xah Lee <xah@xahlee.org>

    kill-rectangle now has key (space r q), was (space r g) (dvorak notation).
    yank-rectangle now has key (space r k), was (space r r) (dvorak notation).
    Reason: the q is qwerty x, for cut. the new keys are more compatible with 
many other commands's keys in Xah Fly Keys, ending in qwerty x for cut, v for 
paste. plus , now hand alternates, as in most Xah Fly Keys keybinding style.
    xah-slash-to-double-backslash now has key space r / . was space r k. 
(dvorak notation)
    Rule about changing key is, maybe 1 key per year.
    xah-punctuation-regex now is just ascii double quote. used by 
xah-backward-punct, xah-forward-punct. i think this is better default. you can 
set them to any regex.
---
 xah-fly-keys.el | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/xah-fly-keys.el b/xah-fly-keys.el
index 606074ad4b..6a0c468d22 100644
--- a/xah-fly-keys.el
+++ b/xah-fly-keys.el
@@ -1,10 +1,10 @@
 ;;; xah-fly-keys.el --- ergonomic modal keybinding minor mode. -*- coding: 
utf-8; lexical-binding: t; -*-
 
-;; Copyright © 2013-2024 by Xah Lee
+;; Copyright © 2013, 2024 by Xah Lee
 
 ;; Author: Xah Lee ( http://xahlee.info/ )
 ;; Maintainer: Xah Lee <xah@xahlee.org>
-;; Version: 24.20.20240120121202
+;; Version: 24.21.20240213125545
 ;; Created: 2013-09-10
 ;; Package-Requires: ((emacs "27"))
 ;; Keywords: convenience, vi, vim, ergoemacs, keybinding
@@ -309,7 +309,7 @@ Version: 2016-11-22 2023-07-22 2023-08-02"
      (t (backward-up-list 1 'ESCAPE-STRINGS 'NO-SYNTAX-CROSSING)))))
 
 (defvar xah-punctuation-regex nil "A regex string for the purpose of moving 
cursor to a punctuation.")
-(setq xah-punctuation-regex "[\"=+]")
+(setq xah-punctuation-regex "[\"]")
 
 (defun xah-forward-punct ()
   "Move cursor to the next occurrence of punctuation.
@@ -3306,20 +3306,19 @@ Version: 2022-10-31"
        ("r d" . delete-rectangle)
        ("r e" . call-last-kbd-macro)
        ;; f
-       ("r g" . kill-rectangle)
+       ("r q" . kill-rectangle) ; changed
        ("r h" . xah-change-bracket-pairs)
        ("r i" . xah-space-to-newline)
        ("r j" . copy-rectangle-to-register)
-       ("r k" . xah-slash-to-double-backslash)
+       ("r k" . yank-rectangle) ; changed
+       ("r /" . xah-slash-to-double-backslash) ; changed
        ("r l" . clear-rectangle)
 
        ("r m" . xah-slash-to-backslash)
        ("r n" . rectangle-number-lines)
        ("r o" . open-rectangle)
        ("r p" . kmacro-end-macro)
-
-       ;; q
-       ("r r" . yank-rectangle)
+       ;; r
        ;; s t
        ("r u" . xah-quote-lines)
        ;; v w



reply via email to

[Prev in Thread] Current Thread [Next in Thread]