emacs-leuven
emacs-leuven copied to clipboard
Optimize your Emacs experience with emacs-leuven -- a pre-configured package with improved defaults for enhanced productivity. #emacs #texteditor #coding #productivity #configuration #orgmode
#+TITLE: Yes, you can... get Emacs preset to be more productive! #+AUTHOR: Fabrice Niessen #+EMAIL: (concat "fniessen" at-sign "pirilampo.org") #+DESCRIPTION: Emacs configuration file #+KEYWORDS: emacs, configuration, init file #+LANGUAGE: en
#+PROPERTY: header-args :eval no
#+html:
#+html:
#+html:
#+html:
#+html:
#+html:
#+html:
Looking for an Emacs configuration file with many packages already enabled and a more pleasant set of defaults? Here's the place to find one! That will save you hours (and hours) of configuration...
The "Emacs Leuven" configuration file is packaged as an Emacs Lisp library, and ready to be used by you.
And it is optimized to keep the Emacs startup time fast (around 2 seconds)!
#+begin_note Emacs Leuven should not shadow any default Emacs key binding. It just adds its own, for productivity reasons, but keeps everything from the Emacs manual. #+end_note
- Download
Get the full Git repository at https://github.com/fniessen/emacs-leuven using the following command:
#+begin_src shell git clone https://github.com/fniessen/emacs-leuven #+end_src
- Installation
Using the Emacs Leuven library is very easy: you just need to...
-
Download and install [[https://github.com/fniessen/emacs-leuven][emacs-leuven]].
#+begin_src emacs-lisp ;; Make sure
emacs-leuven.el' is in your
load-path'. (add-to-list 'load-path "/path/to/emacs-leuven");; Require it as normal. (require 'emacs-leuven)
;; Place your settings here, which can override the settings of Emacs-Leuven. #+end_src
-
Restart Emacs.
- Some better defaults
- Unnecessary spaces at the end of the lines are indicated by yellow blocks.
- Packages
#+begin_note To install all the extra packages used hereunder, without being questioned, add the following line before requiring Emacs-Leuven.
;; Install all extra Emacs packages without asking for confirmation.
(setq leuven-install-all-missing-elpa-packages t)
#+end_note
| Subject | Package | Description | |--------------------------------------+------------------------+-------------| | Basic editing commands | undo-tree | | | Help | info+ | | | The mark and the region | goto-chg | | | | expand-region | | | | multiple-cursors | | | | ace-jump-mode | | | | ace-link | | | Controlling the display | pager | | | | fancy-narrow | | | | highlight-symbol | | | | color-identifiers-mode | | | | diff-hl | | | | ws-butler | | | | powerline | | | | interaction-log | | | Searching and replacement | fuzzy | | | | anzu | | | Commands for fixing typos | dictionary | | | Files Handling | helm | | | | helm-swoop | | | Major and minor modes | csv-mode | | | | helm-descbinds | | | Indentation | indent-guide | | | Commands for human languages | key-chord | | | | boxquote | | | SGML and HTML modes | tidy | | | Editing Programs | imenu-anywhere | | | | hideshowvis | | | | flycheck | | | Maintaining programs | litable | | | | git-timemachine | | | | git-messenger | | | Abbrevs | yasnippet | | | | auto-complete | | | | company | | | | company-quickhelp | | | Gnus | bbdb | | | Document viewing | pdf-tools | | | Running shell commands from Emacs | multi-term | | | | cygwin-mount | | | Hyperlinking and navigation features | google-this | | | | google-translate | | | Customization | guide-key | | |--------------------------------------+------------------------+-------------| | | ace-window | | | | auctex | | | | bookmark+ | | | | circe | | | | diminish | | | | dired+ | | | | dired-single | | | | ess | | | | fill-column-indicator | | | | flycheck | | | | flycheck-ledger | | | | git-commit-mode | | | | graphviz-dot-mode | | | | htmlize | | | | idle-require | | | | ledger-mode | | | | leuven-theme | | | | rainbow-mode | | | | unbound | |
To list packages which should NOT be installed by Emacs Leuven (neither proposed for installation), add something like this into your configuration file:
#+begin_src emacs-lisp (setq leuven-excluded-packages '(useless-package other-annoying-package)) #+end_src
- Keyboard shortcuts
Save time and boost your productivity with Emacs Leuven keyboard shortcuts.
Key binding conventions: http://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html
https://scotch.io/bar-talk/sublime-text-keyboard-shortcuts
http://sweetme.at/2013/08/08/sublime-text-keyboard-shortcuts/
http://www.1729.us/xcode/Xcode%20Shortcuts.pdf
** General
Global key bindings.
| Shortcut | What it runs |
|----------+------------------------------------------|
|
** Help
| Shortcut | What it runs |
|----------+--------------------|
|
** Edit
| Shortcut | What it runs |
|----------+--------------|
|
** Windows
| Shortcut | What it runs |
|----------+----------------------------|
|
** Text
| Shortcut | What it runs |
|----------+-----------------|
|
** Lines
| Shortcut | What it runs |
|------------+-----------------------|
|
** Code folding
| Shortcut | What it runs | |----------+--------------|
** Search / Find / Replace
| Shortcut | What it runs | |----------+-----------------------| | C-c o | helm-occur | | C-o | leuven--isearch-occur | | C-o | occur |
** Spelling
| Shortcut | What it runs | |----------+-----------------------------------| | C-$ | flyspell-buffer | | C-M-$ | leuven-flyspell-toggle-dictionary |
** Build
| Shortcut | What it runs |
|----------+----------------|
|
** Bookmarks
| Shortcut | What it runs | |----------+--------------------------------------------| | <C-f2> | bmkp-toggle-autonamed-bookmark-set/delete | | <S-f2> | bmkp-next-bookmark-this-file/buffer-repeat | | <C-S-f2> | bmkp-delete-all-autonamed-for-this-buffer) | |----------+--------------------------------------------| | C-x r b | helm-bookmark-ext | | C-x r l | helm-bookmarks |
** Org mode
| Shortcut | What it runs |
|-------------+----------------------------------------------|
| <S-f2> | org-save-buffer-and-do-related |
| <C-f3> | leuven-org-todo-list-current-dir |
|
** Dired
| Shortcut | What it runs |
|-----------+---------------------------------|
|
** Other shortcuts
| Shortcut | What it runs |
|----------+------------------------------------------------|
| C-c SPC | ace-jump |
| C-) | match-paren |
| x | leuven-vc-dir-hide-up-to-date-and-unregistered |
| E | vc-ediff |
| = | leuven-vc-diff |
| M-? | etags-select-find-tag-at-point |
| C-c e | ecb-minor-mode |
| M-/ | hippie-expand |
|
** Other shortcuts
I still have to sort them out, by mode (when applicable).
| Shortcut | What it runs |
|---------------+-------------------------------------------|
| < | scroll-calendar-right |
| > | scroll-calendar-left |
|---------------+-------------------------------------------|
| <C-down> | comint-next-matching-input-from-input |
| <C-up> | comint-previous-matching-input-from-input |
|
- Contributing
** Issues
Report issues and suggest features and improvements on the [[https://github.com/fniessen/emacs-leuven/issues/new][GitHub issue tracker]].
** Patches
I love contributions! Patches under any form are always welcome!
** Donations
If you like the emacs-leuven project and feel it is making your life better and easier, you can show your appreciation and help support future development by making a [[https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VCVAS6KPDQ4JC&lc=BE&item_number=emacs%2dleuven¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted][donation]] through PayPal. Thank you!
Regardless of the donations, emacs-leuven will always be free both as in beer and as in speech.
- License
Copyright (C) 1999-2022 Free Software Foundation, Inc.
Author: Fabrice Niessen \ Keywords: emacs configuration file
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.