Pierre Neidhardt
c24f4019e5
functions: Add current-minor-modes
2018-06-25 15:40:33 +02:00
Pierre Neidhardt
b027b6f2df
Flyspell: Fix logic in ambrevar/flyspell-and-whitespace-mode
2018-06-23 23:26:23 +02:00
Pierre Neidhardt
a350466142
Emacs: Fix swap-windows functions
2018-06-01 10:52:03 +02:00
Pierre Neidhardt
cd5be6b932
Emacs: Fix namespace of move-borer-* functions
2018-02-18 11:49:14 +01:00
Pierre Neidhardt
67808c69f2
Emacs: Rename fmt -> prettify
2018-02-15 14:37:49 +01:00
Pierre Neidhardt
81e1392b5c
Emacs: Finish namespacing
2018-02-15 14:37:49 +01:00
Pierre Neidhardt
cb9ce6bab5
Emacs: Namespace all personal variables and functions
2018-02-13 23:24:38 +01:00
Pierre Neidhardt
10ef582f25
functions: Remove functions obsoleted by Evil, Lispy and Helm
2018-02-07 12:08:02 +01:00
Pierre Neidhardt
fd2a66dcbf
Emacs: Bind "C-x C-e" to eval-last-sexp-and-replace
2017-12-29 23:45:37 +01:00
Pierre Neidhardt
9526c0b608
Emacs: Add turn-off-delete-trailing-whitespace function
2017-11-29 18:22:53 +01:00
Pierre Neidhardt
ee92f1ce01
Emacs: Make site-lisp higher priority than ELPA
2017-11-26 18:08:17 +01:00
Pierre Neidhardt
1e32d79fe3
Emacs: Fix file completion in Lisp
2017-11-04 23:16:39 +01:00
Pierre Neidhardt
0d01943ed1
Emacs: Fix file completion setup for Emacs Lisp
2017-11-02 16:47:41 +01:00
Pierre Neidhardt
79fa86543f
Emacs: Fix swap-windows when the starting window displays an EXWM buffer
2017-10-29 12:45:00 +01:00
Pierre Neidhardt
b1c72b29c8
EXWM: Swap windows like windmove
2017-10-28 12:32:11 +01:00
Pierre Neidhardt
31bc38581b
Emacs: Add fmt to before-save-hook only if fmt-inhibit-p is nil
2017-10-28 12:32:11 +01:00
Pierre Neidhardt
fcea63fce0
Emacs: Properly prefix scratch message with ";;" on empty lines
2017-10-22 11:57:03 +01:00
Pierre Neidhardt
c698062202
Emacs: Normalize binding syntax
...
Without modifiers, use simple string.
With modifiers, use 'kbd'.
Use "<>" syntax for special keys.
2017-10-16 23:52:50 +01:00
Pierre Neidhardt
bf61e3dac1
Merge branch 'master' of github.com:ambrevar/dotfiles
2017-10-08 22:19:25 +01:00
Pierre Neidhardt
fc972a32c9
Emacs: Comment config consistently
2017-10-08 19:36:28 +01:00
Pierre Neidhardt
b1e8a03b17
Emacs: Define skeleton-previous-position instead of using lambda
2017-10-07 12:55:30 +01:00
Pierre Neidhardt
b7f3ef610b
functions.el: Add turn-off-fmt-before-save
2017-10-04 12:29:24 +01:00
Pierre Neidhardt
114998984a
Emacs: Replace scratch message with a fortune
2017-09-18 15:06:13 +01:00
Pierre Neidhardt
3ac3b0b946
Emacs: Replace get-closest-pathname by built-in locate-dominating-file
2017-09-14 16:48:41 +01:00
Pierre Neidhardt
f9f3375ec5
Emacs: Also bind flyspell-prog-mode to <f9>
2017-08-30 16:43:59 +01:00
Pierre Neidhardt
0222a304f1
Emacs: Move most important TODO entries from todo.org to the init files
2017-08-01 19:55:50 +01:00
Pierre Neidhardt
7ba8097619
EXWM: Move switch-to-last-buffer and toggle-single-window to functions.el
2017-07-27 17:48:34 +01:00
Pierre Neidhardt
178977c88a
Emacs: Use auto-mode-alist instead of find-file-hook when it makes sense
2017-06-27 09:50:24 +01:00
Pierre Neidhardt
a9efecbe97
Emacs: Use column-number-mode in prog-mode / text-mode only
2017-06-24 14:11:18 +01:00
Pierre Neidhardt
2ac066840b
Emacs: Set tab-width to 4 in XML
2017-06-23 15:24:55 +01:00
Pierre Neidhardt
9f9370d196
Emacs: Turn on `delete-trailing-whitespace' locally
2017-06-22 18:14:27 +01:00
Pierre Neidhardt
75022b580a
Emacs: Use global keys instead of mickey minor mode
...
It's simpler.
Mickey can create un-intended shadowing of some modes.
If a global key is shadowed, it calls for configuring the mode, which is
logical. We should not modify the global config for the sake of one mode.
2017-06-20 19:40:13 +01:00
Pierre Neidhardt
848f68ab9e
Emacs: Set tab-width to 8 in Lisp modes
2017-06-18 21:25:34 +01:00
Pierre Neidhardt
36e153f979
Emacs: Eshell: Fix display of nbsp, e.g. with 'tree'
2017-06-18 16:53:55 +01:00
Pierre Neidhardt
2d9f77c920
Emacs: Define and use define-keys and local-set-keys
2017-06-18 16:53:55 +01:00
Pierre Neidhardt
66009abe6c
Emacs: Use with-eval-after-load instead of hooks for deferred loading
2017-06-18 16:53:54 +01:00
Pierre Neidhardt
0f7ad9bdbd
Emacs: Remove load-external and rely on require+autoload instead
2017-06-04 12:53:01 +01:00
Pierre Neidhardt
27dd481dac
Emacs: Fix non-interactive beginning-of-next-defun
2017-06-03 16:39:04 +01:00
Pierre Neidhardt
936068fb0a
Emacs: Move page-number-mode and related fucntions to a separate file
...
Move tweak from mode-line-format to mode-line-position.
2017-06-02 18:15:17 +01:00
Pierre Neidhardt
1af113aaa7
Emacs: Name functions instead of lambdas in hooks (init.el)
2017-05-28 15:50:39 +02:00
Pierre Neidhardt
38da1249c5
Emacs: Fix some indentation and comment style
2017-05-28 15:16:08 +02:00
Pierre Neidhardt
fd80913a5e
Emacs: Rename sanitize->fmt and add to lisp hook
2017-05-28 12:12:53 +02:00
Pierre Neidhardt
9ebd726a4a
Emacs: Name functions instead of using lambdas in hooks
...
This is good practice as it allows for using `remove-hook'.
2017-05-28 12:03:28 +02:00
Pierre Neidhardt
a372221cd8
Emacs: Fix 'sanitize'
2017-05-27 16:47:32 +02:00
Pierre Neidhardt
3ff30b971c
Emacs: Fix spawn-terminal when default-directory starts with "~"
2017-05-27 16:18:06 +02:00
Pierre Neidhardt
3f0afafd5a
Emacs: Use 'use-region-p' and 'set-marker' instead of altering the mark
...
latex-itemize should be more reliable and will indent the result.
2017-05-25 18:20:23 +02:00
Pierre Neidhardt
7e44e34761
Emacs: Lint most of the config
2017-05-25 18:20:23 +02:00
Pierre Neidhardt
de36a4b943
Emacs: Unbind lesser used commands such as dictionary settings
...
Instead we save the buffer local dictionaries across desktop sessions.
2017-05-25 18:20:23 +02:00
Pierre Neidhardt
d8904ce70b
Emacs: Move lambda to 'spawn-terminal' and add evil binding
2017-05-25 18:20:23 +02:00
Pierre Neidhardt
9c3ed5b3a1
Emacs: Use mapc when mapcar is not necessary
2017-05-15 11:16:59 +05:30