Commit Graph

905 Commits (73c10d1a3060c7b5b8df92eae7eb4e3699cbc482)

Author SHA1 Message Date
Pierre Neidhardt d608ca7c0a Emacs: Evil: Refactor leader-related settings 2017-06-25 12:12:56 +01:00
Pierre Neidhardt 0077cf8881 Emacs: Emms: Set Evil bindings and basic config 2017-06-25 11:57:14 +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 cbd21d7fa1 Emacs: Evil: Use evil-commentary 2017-06-24 10:04:05 +01:00
Pierre Neidhardt d37cf0ba4c Emacs: Eshell: Add "alsamixer" to the list of external commands 2017-06-24 08:02:07 +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 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 8f3042fb71 Emacs: Enable all disabled commands 2017-06-22 18:14:27 +01:00
Pierre Neidhardt db4b10759e Emacs: Fix org-mode indent-tabs-mode 2017-06-22 18:14:27 +01:00
Pierre Neidhardt 6c7b3963cd Emacs: Evil: Bind "M-o" to open in other window in occur and grep 2017-06-21 17:37:10 +01:00
Pierre Neidhardt 7148c04cdb Emacs: Evil: Bind "<" to nxml-backward-up-element 2017-06-21 17:37:10 +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 337fa58975 Emacs: Evil: Fix bindings for Info, help and helm 2017-06-20 15:25:46 +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 1084a21830 Emacs: Eshell: Add "watch" to the list of visual commands 2017-06-20 15:21:27 +01:00
Pierre Neidhardt f1ee9783b4 Emacs: Revert to using "local" instead of "init-local" 2017-06-20 15:21:08 +01:00
Pierre Neidhardt 13af73b05a Emacs: Evil: Refine bindings 2017-06-19 22:11:21 +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 868ce31150 Emacs: Update some comments on Go and Evil 2017-06-19 19:36:04 +01:00
Pierre Neidhardt c622bddbc2 Emacs: Eshell: Document the conflict between eshell/alias and evil-define-key 2017-06-18 21:25:56 +01:00
Pierre Neidhardt 848f68ab9e Emacs: Set tab-width to 8 in Lisp modes 2017-06-18 21:25:34 +01:00
Pierre Neidhardt efeeaee94b Emacs: Eshell: Don't use FFAP on prompt 2017-06-18 21:25:17 +01:00
Pierre Neidhardt 522615860a Emacs: Helm: Enable fuzzy matching in Eshell 2017-06-18 20:05:31 +01:00
Pierre Neidhardt f31415450c Emacs: Clean up Helm hook for Eshell 2017-06-18 19:58:21 +01:00
Pierre Neidhardt d6af0ece49 Emacs: Eshell: Remove redundant setting of eshell-prompt-regexp 2017-06-18 19:52:16 +01:00
Pierre Neidhardt 6779cb9b25 Emacs: Normalize some comment tags 2017-06-18 19:52:00 +01:00
Pierre Neidhardt 2573c77cc5 Emacs: Remove obsolete Helm bindings 2017-06-18 19:20:37 +01:00
Pierre Neidhardt e839ddfd36 Emacs: Add Esup to package-selected-packages 2017-06-18 18:44:02 +01:00
Pierre Neidhardt d5c9290414 Emacs: Reduce init by temporarily disabling the file-name-handler 2017-06-18 18:40:38 +01:00
Pierre Neidhardt bf41484988 Emacs: Reduce init time by temporarily reducing GC threshold 2017-06-18 18:06:47 +01:00
Pierre Neidhardt 7910532d58 Emacs: Add Emacs version check 2017-06-18 18:05:50 +01:00
Pierre Neidhardt ed5ca4542d Emacs: Restructure init files, use "init-" prefix for all 2017-06-18 17:50:31 +01:00
Pierre Neidhardt 5471e1e111 Emacs: Helm: Hide prompt since we use the header 2017-06-18 16:58:35 +01:00
Pierre Neidhardt e9c1039373 Emacs: Add sx (StackExchange mode) to package-selected-packages 2017-06-18 16:57:56 +01:00
Pierre Neidhardt 33c7a0c1d3 Emacs: Evil: Find first org agenda with <leader>t 2017-06-18 16:56:59 +01:00
Pierre Neidhardt 49ebae69fe Emacs: Use dolist, other nits 2017-06-18 16:56:07 +01:00
Pierre Neidhardt 9aa1f9ac69 Emacs: Fontify comment-tag for text-mode 2017-06-18 16:55:00 +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 450e2875b7 Emacs: Load 'latex-pretty-symbols' just in time 2017-06-18 16:53:55 +01:00
Pierre Neidhardt fbf87c841c Emacs: Add 'transmission' to package-selected-packages 2017-06-18 16:53:55 +01:00
Pierre Neidhardt cf713a0f6c Emacs: Keep custom-file in temp folder (with server socket) 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 9d5408a22f Emacs: Helm: Enable helm-top-poll-mode 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 64e503677c Emacs: Helm: Sort settings and remove old entry 2017-06-18 16:53:55 +01:00
Pierre Neidhardt bf2851ded0 Emacs: Evil: Bind M-l to helm-execute-persistent-action 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 389f8d5fce Emacs: Eshell: Add git aliases to the list of visual subcommands 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 742020d99d Emacs: Use `push' where it's more idiomatic 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 8bb3fa49d2 Emacs: Evil: Match org-mode's hjkl bindings with arrow keys 2017-06-18 16:53:55 +01:00
Pierre Neidhardt cd3bcf8fe9 Emacs: Eshell: Use eshell/sudo 2017-06-18 16:53:55 +01:00
Pierre Neidhardt a98f238c21 Emacs: Add debbugs to package-selected-packages 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 55c7eb4663 Emacs: Remove useless 'sh-shell-file setting 2017-06-18 16:53:55 +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 b24c7d46b3 Emacs: Eshell: Add mpsyt to the list of visual commands 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 079a67357a Move fish's pacman functions to separate scripts 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 272a0e32f6 Emacs: Eshell: Add support for non-highlighted prompts 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 dbb3517a15 Emacs: Move mode-specific visuals to their dedicated files 2017-06-18 16:53:55 +01:00
Pierre Neidhardt a1520a5626 Emacs: Eshell: Move the full config to mode-eshell 2017-06-18 16:53:55 +01:00
Pierre Neidhardt d2bedbd7ce Emacs: Use nconc instead of add-to-list for package-selected-packages 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 35d88a94d5 Emacs: Evil: Bind "<" to magit-section-up 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 1cb56931ef Emacs: Move markdown config to a separate file 2017-06-18 16:53:55 +01:00
Pierre Neidhardt 21528b10f9 Emacs: Remove multiple-cursors 2017-06-18 16:53:54 +01:00
Pierre Neidhardt 5040198d96 Emacs: Eshell: Add "sudo vi" to list of subcommands 2017-06-18 16:53:54 +01:00
Pierre Neidhardt f195fb03de Emacs: Evil: Use Emacs state for term-mode 2017-06-18 16:53:54 +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 e145b5d58e Emacs: Set c-style out of hook 2017-06-16 18:58:40 +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 e625d4eeb6 Emacs: Fix Eshell cache folder 2017-06-16 07:09:52 +01:00
Pierre Neidhardt 5056d7f43d Emacs: Fontify using with-eval-after-load instead of hooks 2017-06-15 20:59:31 +01:00
Pierre Neidhardt cc0a4f79ac Emacs: Use lighter blue in ansi-color 2017-06-15 20:43:20 +01:00
Pierre Neidhardt a2d6b677b5 Emacs: Trash instead of deleting outright 2017-06-15 20:08:38 +01:00
Pierre Neidhardt 9ad11fb099 Emacs: Save helm-ff-history only if desktop is loaded 2017-06-15 20:08:32 +01:00
Pierre Neidhardt a0a388d8f0 Emacs: Rebind M-p to helm-eshell-history 2017-06-15 20:08:32 +01:00
Pierre Neidhardt b947d46570 Emacs: Evil: Go to prompt on insert 2017-06-15 20:08:32 +01:00
Pierre Neidhardt be9e75e218 Emacs: Evil: Defun and bind eshell-or-new-session 2017-06-15 20:08:32 +01:00
Pierre Neidhardt 4790312842 Emacs: Eshell: Fix load order and aliases 2017-06-15 20:08:32 +01:00
Pierre Neidhardt a000f83710 Emacs: Skip dots in helm-ff and save helm-ff-history in desktop session 2017-06-12 21:31:08 +01:00
Pierre Neidhardt f958a0e147 Evil: Bind 'q' to quit-window in package menu 2017-06-12 21:29:47 +01:00
Pierre Neidhardt 3d922612f5 Emacs: Colorize compilation buffer 2017-06-12 21:29:30 +01:00
Pierre Neidhardt c37af9b279 Emacs: Tweak Eshell (prompt, aliases, evil bindings, next-prompt defun, helm) 2017-06-12 21:26:50 +01:00
Pierre Neidhardt 2c5b29871f Emacs: Evil: Use evil-ediff 2017-06-04 16:46:46 +01:00
Pierre Neidhardt 3527fa5507 Emacs: Evil: Close some undecided TODOs 2017-06-04 15:31:41 +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 2a74257cec Emacs: Do not set compiler in inferior python 2017-06-04 12:16:31 +01:00
Pierre Neidhardt f1368b96b4 Emacs: Fix and document TeX skeletons 2017-06-04 11:47:10 +01:00
Pierre Neidhardt 4957b78b0b Emacs: Remove unused skeletons (LaTeX and Mediawiki) 2017-06-04 11:46:36 +01:00
Pierre Neidhardt 0368b2a3b2 Emacs: Remove support for version 23 2017-06-04 10:48:46 +01:00
Pierre Neidhardt 9630e37756 Emacs: Update obsolete face names and use dark background for isearch 2017-06-03 17:47:33 +01:00
Pierre Neidhardt d2968860fe Emacs: Evil: Switch to insert mode on M-RET 2017-06-03 16:40:25 +01:00
Pierre Neidhardt 045e2904b9 Emacs: Make show-paren-*-face independent of load order 2017-06-03 16:39:38 +01:00
Pierre Neidhardt 27dd481dac Emacs: Fix non-interactive beginning-of-next-defun 2017-06-03 16:39:04 +01:00
Pierre Neidhardt f3af0f8772 Emacs: Backup Mutt files on save 2017-06-03 13:53:31 +01:00
Pierre Neidhardt f39d015a28 Emacs: Simplify backup regexp and remove old backup options 2017-06-03 13:47:14 +01:00
Pierre Neidhardt 7df0ca1740 Emacs: Fix Evil ex escape and history bindings 2017-06-03 12:37:44 +01:00
Pierre Neidhardt b9c09095ca Emacs: Tweak info and help bindings 2017-06-03 12:37:08 +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 ae6fe9dd77 Emacs: Insert org-mode heading after current entry instead of splitting 2017-06-03 11:44:50 +01:00
Pierre Neidhardt 9a0a208db0 Emacs: Fix tex-mode-hook turn-on-newline-paragraph 2017-06-03 11:43:45 +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 9877eb74f2 Emacs: Add bindings to helm-apropos 2017-05-29 11:57:56 +02:00
Pierre Neidhardt cffb57e87b Emacs: Enable dired-find-alternate-file 2017-05-29 11:57:35 +02:00
Pierre Neidhardt 40acac1446 Emacs: Remove Evil bindings obsoleted by the almighty helm-mini 2017-05-29 00:45:10 +02:00
Pierre Neidhardt 50119529db Emacs: Add git and bookmark sources to helm-mini
This makes the corresponding bindings obsolete.
2017-05-29 00:11:04 +02:00
Pierre Neidhardt aa85994072 Emacs: Remove god-mode 2017-05-28 18:51:31 +02:00
Pierre Neidhardt e7e6712782 Emacs: Remove multiple-cursors from selected packages 2017-05-28 18:50:27 +02:00
Pierre Neidhardt 313bf39f7b Emacs: Clean up comments about Evil 2017-05-28 18:49:23 +02:00
Pierre Neidhardt 4e58758d1f Emacs: Fix some comment style 2017-05-28 18:39:25 +02:00
Pierre Neidhardt db948a888f Emacs: Fix evil-mc 2017-05-28 18:37:54 +02:00
Pierre Neidhardt 663da24375 Evil: Fix missing leader key in *Messages* 2017-05-28 16:30:41 +02:00
Pierre Neidhardt fda6e97941 Emacs: Remove the unnecessarily complicated graphviz-dot-mode config 2017-05-28 15:59:55 +02:00
Pierre Neidhardt c2a8fe4ee0 Emacs: Go to end-of-line when editing a fish command 2017-05-28 15:57:12 +02:00
Pierre Neidhardt 7a9a9e6c5b Emacs: Lint some code 2017-05-28 15:50:39 +02: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 9de3d88eb8 Emacs: Simplify code for TODO, FIXME, etc. fontification 2017-05-28 12:05:01 +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 43420e5252 Emacs: Follow "Org Headings" source 2017-05-27 16:42:16 +02:00
Pierre Neidhardt b561cbd3e5 Map Ctrl+Escape to Caps Lock 2017-05-27 16:41:36 +02:00
Pierre Neidhardt 4c00ce9364 Emacs: Allow arbitrary load order for Helm 2017-05-27 16:36:01 +02:00
Pierre Neidhardt 3ff30b971c Emacs: Fix spawn-terminal when default-directory starts with "~" 2017-05-27 16:18:06 +02:00
Pierre Neidhardt de0ff031db Emacs: Fix missing argument to helm-do-grep-ag in helm-grep-git-or-ag 2017-05-26 19:43:25 +02:00
Pierre Neidhardt d150fc39d9 Emacs: Remove a non-working dired config
It was supposed to follow folders in the same dired buffer.
2017-05-26 19:41:32 +02:00
Pierre Neidhardt bc18cff581 Emacs: Fix '<' to Evil's normal map in org-mode 2017-05-26 14:12:51 +02:00
Pierre Neidhardt 66f8a5979b Emacs: Disable linum in org-mode 2017-05-26 14:12:51 +02:00
Pierre Neidhardt 45cb64d368 Emacs: Bind M-o to helm's other window 2017-05-26 14:12:51 +02:00
Pierre Neidhardt 6111cdc0f7 Emacs: Bind "M-s f" to semantic, imenu or org headings 2017-05-26 14:12:51 +02:00
Pierre Neidhardt 0af5536f5d Emacs: Don't set keys in hooks (lisp and markdown) 2017-05-26 14:12:51 +02:00
Pierre Neidhardt a825221dcc Emacs: Hide helm's header line 2017-05-26 14:12:51 +02:00
Pierre Neidhardt 183312e9bd Emacs: Add evil-mc to selected packages 2017-05-25 18:21:44 +02:00
Pierre Neidhardt d7e3e6cd01 Emacs: Use follow-mode for helm's mark-ring 2017-05-25 18:20:23 +02:00
Pierre Neidhardt bf0b854079 Emacs: Fix Helm load order 2017-05-25 18:20:23 +02:00
Pierre Neidhardt 9ebea2a0f6 Emacs: Define 'helm-grep-git-all-or-ag' 2017-05-25 18:20:23 +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 a43ba4c6ef Emacs: Bind M-' to markdown-blockquote-region 2017-05-25 18:20:23 +02:00
Pierre Neidhardt 8d8c33bd96 Emacs: Fontify HACK, OPTIMIZE and REVIEW 2017-05-25 18:20:23 +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 18062e3ce9 Emacs: Use Evil-mode 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