Commit Graph

874 Commits (9f1bd447d7cdda30814332cb9ec361fe31b8438f)

Author SHA1 Message Date
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
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 76df272c35 Emacs: Remove powerline 2017-05-22 11:13:03 +02:00
Pierre Neidhardt 766c38c0a9 Emacs: Use 'with-editor-mode' for web edits 2017-05-21 23:54:58 +02:00
Pierre Neidhardt a060810f01 Emacs: Fix Go completion when helm-company is not available 2017-05-21 23:53:55 +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 aca248c2f0 Emacs: Prevent 'customize' from clutter init file 2017-05-21 23:49:20 +02:00
Pierre Neidhardt 04403e71c5 Emacs: Fix mediawiki-mode -> mediawiki in selected packages 2017-05-20 15:36:29 +02:00
Pierre Neidhardt 13d5abfe62 Emacs: Add bbcode-mode and mediawiki-mode to selected packages 2017-05-19 14:37:29 +02:00
Pierre Neidhardt 0f663b9e7b Emacs: Do not load Babel languages in LaTeX template 2017-05-16 21:03:37 +02:00
Pierre Neidhardt 0bdafa08d7 Emacs: Fix latex-math-preview loading and colors 2017-05-16 21:03:19 +02:00
Pierre Neidhardt 61072b9572 Emacs: Comment on Mediawiki status 2017-05-16 17:38:10 +02:00
Pierre Neidhardt 9c3ed5b3a1 Emacs: Use mapc when mapcar is not necessary 2017-05-15 11:16:59 +05:30
Pierre Neidhardt 4266865c4d Emacs: Move local-set-key out of mode hooks 2017-05-15 11:16:20 +05:30
Pierre Neidhardt b257ecf262 Emacs: Set region boundaries cleanly in functions 2017-05-14 12:00:34 +05:30
Pierre Neidhardt e3a4ec4c79 Emacs: Replace guess-style with dtrt-indent 2017-05-14 10:07:23 +05:30
Pierre Neidhardt 436f4e853a Emacs: Use "i" to exit god-local-mode 2017-05-14 10:06:45 +05:30
Pierre Neidhardt 2eb551193f Emacs: Re-bind C-x C-x to helm-all-mark-rings
New Helm version can supersede Emacs' default behaviour
2017-05-14 10:05:51 +05:30
Pierre Neidhardt 24c0c788ee Emacs: Tweak some Helm bindings (god-mode friendly) 2017-05-13 14:29:19 +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 6070a80ecf Emacs: Sort out defvar-local and defcustom 2017-05-11 23:08:01 +05:30
Pierre Neidhardt f98bed138a Emacs: Simplify get-closet-pathname 2017-05-11 23:04:27 +05:30
Pierre Neidhardt bc784b2eee Emacs: Add helm-resume convenience binding for god-mode 2017-05-11 23:03:43 +05:30
Pierre Neidhardt 93bb055dba Emacs: Comment on 'rename-buffer-and-file' 2017-05-09 15:01:09 +05:30
Pierre Neidhardt 1d0d102c97 Emacs: Restore C-x C-x default and use C-x x for helm-all-mark-rings 2017-05-09 00:05:53 +05:30
Pierre Neidhardt e0d0a6c8ba Emacs: Init god-mode 2017-05-09 00:05:53 +05:30
Pierre Neidhardt 696de7ca2f Emacs: Makefile: Remove dist rules, fix mode hook 2017-05-08 17:10:21 +05:30
Pierre Neidhardt 7a2f8558aa Emacs: Lua: Use 'lua-default-application' as default interpreter 2017-05-08 17:10:21 +05:30
Pierre Neidhardt bff37cedb8 Emacs: sh-mode: Remove obsolete workaround for TODO: font-lock 2017-05-08 17:10:21 +05:30