Commit Graph

150 Commits

Author SHA1 Message Date
Henrik Lissner
0d1f106252
Update personal bindings with new commands 2017-09-25 03:02:43 +02:00
Henrik Lissner
1685076202
New commands: doom/open-{,project-}scratch-buffer 2017-09-25 03:02:13 +02:00
Henrik Lissner
597bfb1a3c
Move feature/hydra into core-keybinds 2017-09-24 17:10:47 +02:00
Henrik Lissner
77836e08b1
Add :iedit command for evil-multiedit 2017-09-19 15:09:28 +02:00
Henrik Lissner
23928923e6
Remove unnecessary ex commands 2017-09-19 15:09:20 +02:00
Henrik Lissner
9778267cc2
Add bindings for evil-mc-make-goto-*-match 2017-09-17 22:23:42 +02:00
Henrik Lissner
126beba8dc
recentf => recentf-open-files
recentf does not exist.
2017-09-04 02:37:29 +02:00
Henrik Lissner
d28c64b4fa
General refactor & cleanup 2017-09-02 16:39:51 +02:00
Henrik Lissner
bb5907cadb
Rethink smartparens config #181
+ Parts of my smartparens config that were personal preference have been
  moved to my private module.
+ The css-mode config was redundant and was removed
+ Moved lang-specific config to their respective modules
+ Markdown config was redundant with native electric support, and thus
  removed.
2017-09-02 16:11:21 +02:00
Henrik Lissner
e1f7d76bc5
Prevent private commands from affecting projectile cache
This causes projectile-project-root to act strangely, because my private
project navigational commands were rewriting the projectile cache.
2017-08-21 22:31:13 +02:00
Henrik Lissner
b7d0f4dc3f
Simplify modules/private/README.org (replaced by wiki) 2017-08-21 20:13:30 +02:00
Henrik Lissner
f0cad4673c
Revise modules/private/README.org 2017-08-21 20:13:30 +02:00
Henrik Lissner
382f4c1256
private/hlissner: refactor window navigation keys 2017-08-06 20:48:51 +02:00
Henrik Lissner
a76693c7e2
private/hlissner: general update 2017-08-06 16:29:33 +02:00
Henrik Lissner
ad516141d8
Add r and d bindings for neotree 2017-08-04 22:36:36 +02:00
Henrik Lissner
19dfb22fe0
private/hlissner: wrap circe/mu4e configs in after!
Not strictly necessary, but is more readable.
2017-07-29 00:04:48 +02:00
Henrik Lissner
7dad0ead09
Fix projectile-find-file not respecting default-directory 2017-07-27 20:22:10 +02:00
Henrik Lissner
e6658b7d8e
General minor refactor 2017-07-19 00:25:05 +02:00
Henrik Lissner
6a5bd216e5
Appease byte-compiler senpai 2017-07-14 18:19:08 +02:00
Henrik Lissner
c50dc63854
General cleanup 2017-07-14 15:23:12 +02:00
Henrik Lissner
932a8128ec
Bind e => debugger-eval-expression in debugger 2017-07-13 00:00:34 +02:00
Henrik Lissner
be4eeac705
Add C-e/C-a insert-state bindings for org-mode 2017-07-08 21:10:56 +02:00
Henrik Lissner
99b6274b03
New command: doom/other-popup #141
Like other-window, but for doom popups. Also bound this to `C-x p` in
private module.
2017-07-06 17:46:06 +02:00
Henrik Lissner
4fc39a0f71
Rename doom/popup => doom/popup-this-buffer 2017-07-06 16:42:35 +02:00
Henrik Lissner
72557d8c43
Add tools/impatient-mode 2017-07-05 12:26:10 +02:00
Henrik Lissner
6093b81412
+present/big-mode => doom-big-font-mode
And added new variable: doom-big-font

app/present is deprecated so this feature has been moved into core.
2017-07-05 02:58:50 +02:00
Henrik Lissner
8c1fb1e6b2
+doom:scratch-buffer => doom/scratch-buffer 2017-07-03 03:39:18 +02:00
Henrik Lissner
69f963013b
Update private/hlissner init.el & bindings 2017-06-29 16:18:47 +02:00
Henrik Lissner
ecd8ad0f46
Change how themes, fonts & modelines are loaded
WARNING: THIS IS A BREAKING CHANGE FOR THEME/FONT/NLINUM CUSTOMIZATIONS.

This change was motivated by the need to decouple theme and font loading
from the ui/doom module.

Now, it is doom-core's purview. Theme and fonts are loaded after
initfiles are read (attached to the doom-init-ui-hook hook), giving
other modules (especially private ones) a chance to change the theme or
fonts.

+ Refactor core-ui.el
+ New init hook: doom-init-ui-hook
+ Decouple theme/font loading from ui/doom
+ Load modelines are doom-init-ui-hook
+ New theme/font variables (replaces old ui/doom variables)
  + doom-theme
  + doom-font
  + doom-variable-pitch-font
  + doom-unicode-font
+ Change nlinum variables
  + doom-line-number-lpad
  + doom-line-number-rpad
  + doom-line-number-pad-char

Addresses #117
2017-06-28 16:18:24 +02:00
Henrik Lissner
510e7116c8
Use different function for :cleanup 2017-06-28 12:26:49 +02:00
Henrik Lissner
8748c755d6
Fix MacOS reveal-in-finder command keybinds 2017-06-21 18:42:46 +02:00
Henrik Lissner
5fb62e6041
private/README.md => private/README.org 2017-06-20 20:07:40 +02:00
Henrik Lissner
5de14cb0b0
private/hlissner: refactor; revise keybinds
+ Add +jump/* to SPC h bindings
+ Generalize jump-to-bookmark
  To use ivy/helm specific jump-to-bookmark (like counsel-bookmark),
  better to remap bookmark-jump from their modules.
+ SPC f c => open .editorconfig
2017-06-20 16:32:51 +02:00
Henrik Lissner
9252c54576
Rewrite modules/private/README.md 2017-06-19 13:28:09 +02:00
Henrik Lissner
54d8e7fe27
private/hlissner: fix markdown key conflicts 2017-06-19 03:50:24 +02:00
Henrik Lissner
bc3aee2a4f
Replace :xref-backend setting with :jump
Which takes :definitions, :references, :documentation and :xref-backend.
Each accepts a function that will jump to definitions, references, and
documentation respectively.

If a major-mode has an :xref-backend, you don't need :definitions or
:references.
2017-06-19 00:32:45 +02:00
Henrik Lissner
c958f1eafd
Move italic customization to private module 2017-06-15 15:09:31 +02:00
Henrik Lissner
816df321a5
General refactor & cleanup 2017-06-14 21:15:19 +02:00
Henrik Lissner
4984a548d1
Refactor DOOM init & add new init hooks
+ Add doom-init-hook and doom-post-init-hook to simplify Emacs init
  hooks into less ambiguous ones.
+ Attach former after-init-hook and emacs-startup-hook hooks to new doom
  init hooks.
+ Vastly improves daemon and tty support: preventing incorrect colors
  from bleeding across face class barriers, and into GUI Emacs and vice
  versa, when spawned with emacsclient.
+ Fix persp-mode breaking Emacs daemon, and ensuring that initialization
  is done properly in terminal Emacs (and emacsclient frames).
2017-06-12 00:37:14 +02:00
Henrik Lissner
14968380ff
Move x-*-keysym defs to private init.el 2017-06-09 19:45:06 +02:00
Henrik Lissner
e7b08082fd
Remove unused/redundant ivy bindings 2017-06-09 19:44:41 +02:00
Henrik Lissner
0bc182ef1a
Refactor helm config; fix remaps; move personal binds 2017-06-09 19:44:02 +02:00
Henrik Lissner
33b2ed0545
private/hlissner: add apropos & switch-to-buffer bindings 2017-06-09 13:38:05 +02:00
Henrik Lissner
e8e9f7683a
Update completion/helm 2017-06-09 13:37:07 +02:00
Henrik Lissner
13c66c6d7c
private/hlissner: correct neotree bindings 2017-06-09 01:09:19 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
b6beacf804
Refactor evil-goggles config 2017-06-07 03:57:21 +02:00
Henrik Lissner
0e00ece5c3 Merge pull request #93 from gilbertw1/feature-evil-goggles
added module ui/evil-goggles
2017-06-07 03:47:43 +02:00
Henrik Lissner
2bc7606559
Fix void-variable errors from +hlissner-def-finder! macro 2017-06-06 02:40:54 +02:00
Henrik Lissner
d62f446dc3
General cleanup + refactor; revise docstrings 2017-06-05 16:45:19 +02:00