Replace Emacs's default shortcuts with modern ones.
Clone this repository:
cd ~/.emacs.d
mkdir -p lisp
cd lisp
git clone https://github.com/jacksonrayhamilton/modern.el.git
Add the following to your init file:
(add-to-list 'load-path "~/.emacs.d/lisp/modern.el")
(require 'modern)
(modern-mode)
Done!
The updated keybindings are as follows. Their defaults (like Alt W for "copy") are disabled.
- Ctrl Z: Undo
- Ctrl C: Copy
- Ctrl X: Cut
- Ctrl V: Paste
- Ctrl A: Select all
- Ctrl O: Open / create file
- Ctrl B: Switch buffer
- Ctrl S: Save
- Ctrl Alt S: Save as
- Ctrl W: Close
- Ctrl /: View directory
- Ctrl F: Find
- Alt F: Find by regular expression
- Ctrl R: Find and replace
- Alt R: Find and replace by regular expression
- Ctrl 0: Hide the selected window
- Ctrl 1: Show only the selected window
- Ctrl 2: Split window horizontally
- Ctrl 3: Split window vertically
- Ctrl H: Back 1 character
- Alt H: Back 1 word
- Ctrl Alt H: Back 1 expression
- Ctrl L: Forward 1 character
- Alt L: Forward 1 word
- Ctrl Alt L: Forward 1 expression
- Ctrl J: Next line
- Ctrl K: Previous line
- Ctrl ,: Beginning of line
- Ctrl .: End of line
- Ctrl Alt D: Delete expression
- Ctrl E: Evaluate expression before cursor
- Alt E: Evaluate file
ido-mode
lets you quickly browse open files and folders. This package's
shortcuts are also supported in ido-mode
. Simply add the following to your
init file to enable it:
(ido-mode 1)