Some of my configuration entries where borrowed from other people, see
[[*Acknowledgment][Acknowledgment]] section for a list.
...
...
@@ -51,17 +52,17 @@ Sets who I am
I use [[https://elpa.gnu.org][Elpa]], [[https://melpa.org][Melpa]] and [[http://orgmode.org][Org mode]] packages repository, thus I need to add them to the =package-archives= list
For older emacs version, fix some gnutls algorithm priority
For older emacs version, fix some gnutls algorithm priority
@@ -69,7 +70,7 @@ I use [[https://elpa.gnu.org][Elpa]], [[https://melpa.org][Melpa]] and [[http://
(package-initialize)
#+END_SRC
#+RESULTS:
#+RESULTS:
Then, to ensure that packages are installed and that I can launch
...
...
@@ -127,26 +128,26 @@ Add a folder for .el files that are not available as packages
I use [[https://github.com/technomancy/better-defaults][better-defaults]] to tweak some annoying Emacs default behaviors. The two most important beeing:
- use =ido= almost everywhere
- put temporary files in a specific folder rather as =~= files everywhere
- use =ido= almost everywhere
- put temporary files in a specific folder rather as =~= files everywhere
there is more to =better-defaults=, be sure to have a look at its list
of changed behaviors. In particular, it switches the menu bar off and
I quite like have it around sometimes, so I re-enable it.
there is more to =better-defaults=, be sure to have a look at its list
of changed behaviors. In particular, it switches the menu bar off and
I quite like have it around sometimes, so I re-enable it.
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp
(use-package better-defaults)
;; I want menu bar
(menu-bar-mode t)
#+END_SRC
#+END_SRC
Ido is not set everywhere by =better-defaults= and I really want it everywhere
Ido is not set everywhere by =better-defaults= and I really want it everywhere
#+begin_src emacs-lisp
#+begin_src emacs-lisp
(setq ido-enable-flex-matching t)
(setq ido-everywhere t)
#+end_src
#+end_src
As I often use Emacs on MacOS, I need the right option (alt) key to
...
...
@@ -254,6 +255,13 @@ Define a shortcut to re-indent all buffer. This saves the current point, marks w
#+RESULTS:
: mh/indent-buffer
Set the line width for fill command
#+begin_src emacs-lisp
(setq-default fill-column 100)
#+end_src
** Undo on steroids
Manage undo as a tree so that we can undo/redo more. Bound by default on =C-x u=
...
...
@@ -311,11 +319,11 @@ Use Fira Code but do not use ligature everywhere