SpringHan / minibuffer-modifier-keys

A package that allows you to avoid using Ctrl, Meta in Emacs minibuffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minibuffer Modifier Keys

Minibuffer modifier keys is a package that allows you to avoid using Ctrl, Meta in Emacs minibuffers by using spacebar. ./demo.gif

Installation

You can install it in the following way:

(use-package
 minibuffer-modifier-keys
 :init
 (minibuffer-modifier-keys-setup t))

Usage

After opened the minibuffer, you can input as usual. Then when you press SPC with other characters, it will input a space and the character. When you press SPC in twice time, you can open or close keypad mode.

In the keypad mode, the character you input will be dotted with prefix. They can be C- , M- or C-M- . You can use comma (,) (for C- ), . (for M- ) and / (for C-M- ) to change the current prefix if the prefix you input is not equal to current prefix.

You can also use keypad to execute the commands that needs many key with normal self-insert key or the comma (,) . / prefix. e.g.: You can execute C-c C-o by using c,o these three key.

If you’re in the state that there’s no character for the prefix. Such as C- , at this time, the prefix keys will not be convert to prefix. When you press space while you’re inputing the key in keypad. Then you can input comma (,) . / character, they’ll not be convert to prefix.

License

GPL-3.0

About

A package that allows you to avoid using Ctrl, Meta in Emacs minibuffer

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%