A Script to make the most useful EMACS editing features like (Kill-ring, transpose, select till end of sentence etc) in all Applications in Windows. Without changing/conflicting with regularly used Windows Shortcuts such as Ctrl+C / Ctrl+V.
To run this script and use the keyboard shortcuts.
- Download and Install AutoHotKey from - http://www.autohotkey.com/
- Download/Copy the EmacsEverywhere.ahk script and double click it to start running it.
To transpose characters Emacs style - i.e. t|lak => t|alk
Where | indicates the cursor.
Place the cursor to the left of the 2 characters that need to be transposed and press
(Left) Ctrl + Q
To copy multiple items and keep them in a stack to be used for pasting.
-
Copy normally with Ctrl+C
-
Use one of the following keyboard shortcuts to make use of the Kill-ring (Copy-ring)
a) Windows Key + V :- To paste the most recent copied item.
Pressing again will paste the item one older in the stack
b) Ctrl + Windows Key + V :- Pastes the oldest item in the Kill-ring stack (bottom most).
Use this to paste the oldest item you copied, and repeatedly doing this will paste from the bottom of the stack.
c) *Windows Key + * :- Pastes the most recent item from the Kill-ring (Copy-ring) stack and repeatedly pressing this will cycle through all the different items in the stack, displaying all the different item stored in the Kill-ring (Copy-ring).
d) *Ctrl + Windows Key + * :- Pastes the oldest item from the Kill-ring (Copy-ring) stack and repeatedly pressing this will cycle through all the different items in the stack in reverse order, displaying all the different item stored in the Kill-ring (Copy-ring).
e) or You can continue to paste normally with :- Ctrl + V
To select all the text to the right of the cursor untill it encounters a . (period) or any other special character even across newlines use one of the following shortcuts -
-
(Left) Alt + / :- Selects from current cursor position till it encounters a '/' or 15 words whichever comes first.
-
(Left) Alt + . :- Selects from current cursor position till it encounters a period '.' (i.e. end of sentence) or 15 words whichever comes first.
-
(Left) Alt + ' :- Selects from current cursor position till it encounters a single quote ' or double quote " or 15 words whichever comes first.