Commit Graph

93 Commits (a4b2053c97e4c8f77f85b849795669df07af42e0)

Author SHA1 Message Date
Pierre Neidhardt a4b2053c97 Emacs: Use abbrev-mode in text-mode only by default 2017-06-30 17:27:02 +01:00
Pierre Neidhardt aded10aaa0 Emacs: Don't modify paragraph-start 2017-06-29 18:07:50 +01:00
Pierre Neidhardt 21d796f062 Emacs: Turn off which-function-mode and display-time 2017-06-27 21:15:26 +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 64a294f86c Emacs: Move sh-basic-offset and c-basic-offset to their respective config file 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 8f3042fb71 Emacs: Enable all disabled commands 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 11b5438373 Emacs: Don't use hs (code folding) 2017-06-20 15:25:24 +01:00
Pierre Neidhardt 622349c175 Emacs: Mode Line: Add time, remove page number, add line number conditionally 2017-06-20 15:24:23 +01:00
Pierre Neidhardt 593373a349 Emacs: Add " [serverless]" to frame title if not daemon 2017-06-19 22:10:32 +01:00
Pierre Neidhardt 4f0cd7b95c Emacs: Display battery mode 2017-06-19 20:32:54 +01:00
Pierre Neidhardt 6779cb9b25 Emacs: Normalize some comment tags 2017-06-18 19:52:00 +01:00
Pierre Neidhardt ed5ca4542d Emacs: Restructure init files, use "init-" prefix for all 2017-06-18 17:50:31 +01:00
Pierre Neidhardt 49ebae69fe Emacs: Use dolist, other nits 2017-06-18 16:56:07 +01:00
Pierre Neidhardt 7b44e52da8 Emacs: Move f9-f12 bindings to f5-f8, restrict compile-* keys to prog-mode-map 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 17de20d72a Emacs: Re-enable mouse-avoidance-mode 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 9aa7965f0e Emacs: Move tramp file to cache 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 86087d245c Emacs: Configure `display-world-time' 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 32c594f9d1 Emacs: Move comment-line binding from mickey to global-map 2017-06-16 18:58:40 +01:00
Pierre Neidhardt a2d6b677b5 Emacs: Trash instead of deleting outright 2017-06-15 20:08:38 +01:00
Pierre Neidhardt 3d922612f5 Emacs: Colorize compilation buffer 2017-06-12 21:29:30 +01:00
Pierre Neidhardt 0368b2a3b2 Emacs: Remove support for version 23 2017-06-04 10:48:46 +01:00
Pierre Neidhardt f39d015a28 Emacs: Simplify backup regexp and remove old backup options 2017-06-03 13:47:14 +01:00
Pierre Neidhardt 3713c8f074 Emacs: Use double space to end sentence 2017-06-03 11:47:23 +01:00
Pierre Neidhardt d34dc3b540 Emacs: Fix setting fill-column when MANWIDTH is empty 2017-06-03 11:46:09 +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 cffb57e87b Emacs: Enable dired-find-alternate-file 2017-05-29 11:57:35 +02:00
Pierre Neidhardt db948a888f Emacs: Fix evil-mc 2017-05-28 18:37:54 +02:00
Pierre Neidhardt 7a9a9e6c5b Emacs: Lint some code 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 0a22167237 Emacs: Activate linum on prog-mode and text-mode 2017-05-25 18:20:23 +02:00
Pierre Neidhardt 016a152ca0 Emacs: Simplify 'init.el', merge small mode config with it 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 8af1ec1a0e Emacs: Fix desktop-mode loading order 2017-05-25 16:59:19 +02:00
Pierre Neidhardt 677a6cb2f6 Emacs: Replace most mapc/mapcar by dolist 2017-05-25 16:59:19 +02:00
Pierre Neidhardt 581d7799d5 Emacs: Replace eval-after-load with with-eval-after-load 2017-05-22 16:12:30 +02:00
Pierre Neidhardt e655b1433d Emacs: Use 'with-editor-mode' for Mutt messages, move to text area in mail-mode 2017-05-22 11:13:56 +02:00
Pierre Neidhardt 766c38c0a9 Emacs: Use 'with-editor-mode' for web edits 2017-05-21 23:54:58 +02:00
Pierre Neidhardt 3db28fae1a Emacs: Remove Emacs-nox linum fringe
Also fixes the issue with non-dynamic fringe width in graphics display.
2017-05-21 23:50:23 +02:00
Pierre Neidhardt 9c3ed5b3a1 Emacs: Use mapc when mapcar is not necessary 2017-05-15 11:16:59 +05:30
Pierre Neidhardt 801ed23820 Emacs: Make 'compile-command' buffer local globally 2017-05-12 12:12:24 +05:30
Pierre Neidhardt 510b229ee7 Emacs: Use (compile compile-command) instead of recompile 2017-05-11 23:08:28 +05:30
Pierre Neidhardt 644d13ff92 Emacs: Use 'recompile' instead of 'compile-here' 2017-05-08 17:10:20 +05:30
Pierre Neidhardt 400f6ab4db Emacs: Remove useless settings from main config 2017-05-08 12:30:14 +05:30