• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    Emacs Lisp
  • Created over 12 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Learn to use Emacs the way it was meant to be used (the Emacs guru way)

guru-mode

License GPL 3 MELPA MELPA Stable

Synopsis

Guru mode disables (or warns on) some generic keybindings and suggests the use of the established and more efficient Emacs alternatives instead. Here are a few examples:

  • It will teach you to avoid the arrow keys and use keybindings like C-f, C-b, etc.
  • It will teach you to avoid keybindings using Home, End, etc.
  • It will teach you to avoid Delete/Backspace.

ko-fi Patreon

You can support my work on guru-mode and my other Emacs packages via PayPal, ko-fi, Patreon and GitHub Sponsors.

Installation

Manual

Just drop guru-mode.el somewhere in your load-path. I favour the folder ~/.emacs.d/vendor:

(add-to-list 'load-path "~/emacs.d/vendor")
(require 'guru-mode)

MELPA

If you're an Emacs 24 user or you have a recent version of package.el you can install guru-mode from the MELPA repository.

Emacs Prelude

guru-mode is naturally part of the Emacs Prelude. If you're a Prelude user - guru-mode is already properly configured and ready for action.

Usage

You can enable guru-mode globally like this:

(guru-global-mode +1)

Most likely you'd like to enable guru-mode only in specific modes (like prog-mode in Emacs 24):

(add-hook 'prog-mode-hook 'guru-mode)

If you only want to get warnings when you the arrow keys use the following config:

(setq guru-warn-only t)

You can extend the list of keybindings covered by guru-mode like this:

(add-to-list 'guru-affected-bindings-list '("<C-left>" "M-b" left-word))

The list you're adding is of the format (discouraged keybinding, recommended keybinding, command).

Note: guru-mode operates only on global keybindings and it will never interfere with some mode-specific keybindings.

Known issues

Check out the project's issue list a list of unresolved issues. By the way - feel free to fix any of them and send me a pull request. :-)

Contributors

Here's a list of all the people who have contributed to the development of guru-mode.

Bugs & Improvements

Bug reports and suggestions for improvements are always welcome. GitHub pull requests are even better! :-)

Cheers,
Bozhidar

More Repositories

1

prelude

Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
Emacs Lisp
5,014
star
2

clojure-style-guide

A community coding style guide for the Clojure programming language
4,008
star
3

projectile

Project Interaction Library for Emacs
Emacs Lisp
3,851
star
4

emacs-lisp-style-guide

A community-driven Emacs Lisp style guide
1,074
star
5

zenburn-emacs

The Zenburn colour theme ported to Emacs
Emacs Lisp
951
star
6

crux

A Collection of Ridiculously Useful eXtensions for Emacs
Emacs Lisp
807
star
7

solarized-emacs

The Solarized colour theme, ported to Emacs.
Emacs Lisp
739
star
8

helm-projectile

Helm UI for Projectile
Emacs Lisp
322
star
9

super-save

Save Emacs buffers when they lose focus
Emacs Lisp
273
star
10

powerpack

Some useful extensions to the core Ruby classes
Ruby
270
star
11

emacs.d

My personal Emacs configuration
Emacs Lisp
204
star
12

persp-projectile

Projectile integration for perspective.el
Emacs Lisp
110
star
13

emacs-dev-kit

An advanced self-contained Emacs configuration suitable for many software developers (deprecated)
Emacs Lisp
95
star
14

beamer-torino-theme

Torino, a pretty theme for LaTex Beamer
Emacs Lisp
38
star
15

lein-annotations

Display comment annotations in your project
Clojure
12
star
16

emacsredux

Emacs Redux is a blog dedicated to the One True Editor
HTML
11
star
17

cv

My professional CV in LaTeX
TeX
10
star
18

cl-99-problems

Solutions to the 99 Lisp problems in Common Lisp
Common Lisp
10
star
19

activerecord-extra-validators

Some nice additional validators for ActiveRecord
Ruby
9
star
20

java-in-action-lectures

The lectures from the "Java in Action" programming course
9
star
21

advent-of-code2021

Advent of Code 2021, Clojure Edition
Clojure
8
star
22

legacy-octopress-blog

My personal blog
HTML
8
star
23

batsov.com

My personal blog
Ruby
7
star
24

metaredux

HTML
7
star
25

master-thesis

My Master university degree thesis
Emacs Lisp
5
star
26

zshrc

My personal zsh setup
5
star
27

docs.projectile.mx

Projectile's documentation site
Handlebars
4
star
28

hard-cider

A demo projecto to showcase CIDER
Clojure
3
star
29

blog

My personal blog
Ruby
2
star
30

presentations

Presentations I created for various occasions
2
star
31

emacsredux-legacy

Emacs Redux
HTML
1
star
32

praxis

Praxis makes perfect!
OCaml
1
star