NonGNU ELPA - xah-fly-keys

xah-fly-keys

Description
ergonomic modal keybinding minor mode.
Latest
xah-fly-keys-17.9.20220516184525.tar, 2022-May-17, 160 KiB
Maintainer
Xah Lee <xah@xahlee.org>
Website
http://xahlee.info/emacs/misc/ergoemacs_vi_mode.html
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET xah-fly-keys RET

Full description

xah-fly-keys is a efficient keybinding for emacs. It is modal like
vi, but key choices are based on statistics of command call
frequency.

HOW TO USE

M-x xah-fly-keys to toggle the mode on/off.

Important command/insert mode switch keys:

xah-fly-command-mode-activate (press <home> or F8 or Alt+Space or
Ctrl+Space or menu key)

xah-fly-insert-mode-activate (when in command mode, press qwerty
letter key f.)

When in command mode:

"f" calls `xah-fly-insert-mode-activate'.

Space is a leader key. For example, "SPC r" calls `query-replace'.
Press "SPC C-h" to see the full list.

"SPC SPC" also activates insertion mode.

"SPC RET" calls `execute-extended-command-for-buffer' (if emacs
28), else `execute-extended-command'.

"a" calls `execute-extended-command'.

The leader key sequence basically replace ALL emacs commands that
starts with C-x key.

When using xah-fly-keys, you don't need to press Control or Meta,
with the following exceptions:

"C-c" for major mode commands.
"C-g" for cancel.
"C-q" for quoted-insert.
"C-h" for getting a list of keys following a prefix/leader key.

Leader key

You NEVER need to press "C-x"

Any emacs command that has a keybinding starting with C-x, has also
a key sequence binding in xah-fly-keys. For example,

"C-x b" for `switch-to-buffer' is "SPC f"
"C-x C-f" for `find-file' is "SPC i e"
"C-x n n" for `narrow-to-region' is "SPC l l"

The first key we call it leader key. In the above examples, the SPC
is the leader key.

When in command mode, the "SPC" is a leader key.

the following standard keys with Control are supported:

"C-TAB" `xah-next-user-buffer'
"C-S-TAB" `xah-previous-user-buffer'
"C-v" paste
"C-w" close
"C-z" undo
"C-n" new
"C-o" open
"C-s" save
"C-S-s" save as
"C-S-t" open last closed
"C-+" `text-scale-increase'
"C--" `text-scale-decrease'

To disable both Control and Meta shortcut keys, add the following
lines to you init.el before (require 'xah-fly-keys):

(setq xah-fly-use-control-key nil)
(setq xah-fly-use-meta-key nil)

If you have a bug, post on github.

For detail about design and other info, see home page at
http://xahlee.info/emacs/misc/ergoemacs_vi_mode.html

If you like this project, Buy Xah Emacs Tutorial
http://xahlee.info/emacs/emacs/buy_xah_emacs_tutorial.html or make
a donation. Thanks.

Old versions

xah-fly-keys-17.7.20220429090059.tar.lz2022-Apr-2930.5 KiB
xah-fly-keys-17.6.20220426002628.tar.lz2022-Apr-2630.4 KiB
xah-fly-keys-17.5.20220416101054.tar.lz2022-Apr-1630.4 KiB
xah-fly-keys-17.5.20220415142016.tar.lz2022-Apr-1630.4 KiB