https://github.com/doglooksgood/shiftless.el
Insert uppercase without shift.
https://github.com/doglooksgood/shiftless.el
Last synced: 4 months ago
JSON representation
Insert uppercase without shift.
- Host: GitHub
- URL: https://github.com/doglooksgood/shiftless.el
- Owner: DogLooksGood
- License: gpl-3.0
- Created: 2020-01-01T07:28:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-02T14:50:59.000Z (over 6 years ago)
- Last Synced: 2025-07-18T21:16:40.343Z (11 months ago)
- Language: Emacs Lisp
- Size: 25.4 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: shiftless.el
#+author: Shi Tianshu
* Installation
** Quelpa
TBD
** Melpa
TBD
* Usage
Detecting your key holding, automatically convert a series of lowercase characters to a single uppercase.
When you holding a key, there's a ~delay~ before the repeating start, and a ~interval~ between each repeat.
For example, I use
#+BEGIN_SRC shell
xset r rate 180 45
#+END_SRC
So in my case, key repeat ~delay~ is 180ms, and key repeat ~interval~ is 1s / 45 = 22ms.
Now I can enable the shiftless with:
#+BEGIN_SRC emacs-lisp
(setq shiftless-delay 0.2) ;; larger than 0.18
(setq shiftless-interval 0.04) ;; larger than 0.022
(shiftless-mode 1)
#+END_SRC
* Limitations
Not work with kmacro, since we know nothing with time in kmacro.
You need a high keyboard repeat rate, at least higher than your finger can do.
* Licence
Licenced under GPLV3.