Commit Graph

501 Commits

Author SHA1 Message Date
Foivos Zakkak
449238cdbe
Fixes comments for M and I in +emacs-bindings.el 2019-10-11 02:32:09 +03:00
Henrik Lissner
400dae27cd
Bind C-w d to evil-window-delete #1874 #1436
This binds SPC w d as well
2019-10-10 16:11:42 -04:00
Henrik Lissner
d87310bd55
Replace evil-commentary with evil-nerd-commenter
The latter provides a comment text object and better commenting support
across various languages.
2019-10-10 16:11:42 -04:00
Henrik Lissner
07380af819
Add gy operator for yanking without indentation
Copies

   (a
    b
    c)

As

(a
 b
 c)
2019-10-10 16:11:41 -04:00
Henrik Lissner
2ee0e1e110
Bind SPC b r = revert-buffer 2019-10-08 17:42:36 -04:00
Henrik Lissner
03cd29e955
Only apply drag-stuff keybinds to global keymap 2019-10-08 02:53:03 -04:00
Henrik Lissner
4d8647fe7a
Add drag-stuff package #562 2019-10-07 21:36:27 -04:00
Henrik Lissner
0643630560
Fix g{t,T}, M-{t,T,[0-9]} workspace keybinds
To mirror conventional browser tab keys on linux/windows (ctrl and alt)
and macos (command).

Addresses #1491
2019-10-07 20:04:20 -04:00
Henrik Lissner
a3b34a6806
Remove SPC h {D,h} keybinds to reduce accidents
`SPC h h` and `SPC h D` are too easy to hit by accident.
2019-10-05 12:17:14 -04:00
Henrik Lissner
a3fc43adfe
Bind SPC q K to save-buffers-kill-emacs
A keybind for killing Emacs and the daemon in one go. The doom slayer
would be proud.
2019-10-03 20:48:56 -04:00
Henrik Lissner
a5d9079c43
Merge branch 'develop' into fix/add-add-featurep-condition-to-global-bindings 2019-10-03 14:57:19 -04:00
Gerry Agbobada
8947227afc Add missing conditionals for flymake/flycheck bindings (#1835) 2019-10-03 14:52:45 -04:00
Henrik Lissner
bc1c16605f
config/default: move SPC g o . to SPC g o o 2019-09-22 12:10:13 -04:00
Henrik Lissner
f4d17707e7
config/default: bind SPC f l to locate
This will be remapped to counsel-locate or helm-locate if the ivy/helm
modules are enabled.
2019-09-22 12:09:51 -04:00
Henrik Lissner
6bc9a58ad4
config/default: bind SPC g {y,Y} to git-link 2019-09-21 13:59:15 -04:00
Henrik Lissner
e10cd8cf2e
Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Henrik Lissner
bd93682de5
config/default: tramp-default-method = ssh 2019-09-20 17:18:16 -04:00
Henrik Lissner
4aff103770
Merge pull request #1785 from rgrinberg/org-journal-feature
lang/org: add +journal feature (org-journal)
2019-09-19 12:57:48 -04:00
Henrik Lissner
0d719d6773
Move SPC b o to SPC b O
To make kill-commands a little harder to press accidentally.
2019-09-15 16:22:02 -04:00
Henrik Lissner
20eb5ce4f6
Bind SPC / f to locate/counsel-locate 2019-09-15 16:21:10 -04:00
Henrik Lissner
dc15d471da
Bind zn to +evil:narrow-buffer 2019-09-15 16:19:47 -04:00
Rudi Grinberg
7886138f5b Add support for org-journal
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-15 13:56:43 +09:00
Henrik Lissner
6bef031e25
Bind SPC b - to doom/toggle-narrow-buffer 2019-09-14 01:55:16 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
5e6c2205b8
Bind to zn/zN to new narrow/widen (indirect) commands 2019-09-13 00:28:08 -04:00
UndeadKernel
56d8e1e0f8 bindings: fix emacs bindings and add more 2019-09-07 00:32:34 +02:00
Henrik Lissner
3b7711420f
General comment revision & cleanup 2019-09-06 00:25:35 -04:00
Henrik Lissner
c0d2ab331e
Remove command-log-mode
This isn't vital enough a package to be included in core. Emacs already
provides view-lossage, and there are other, better packages for
displaying your keybinds as you type.

Even one that I've been working on (with special evil support):
https://github.com/hlissner/doom-emacs-private/blob/master/lisp/keycast.el
2019-09-06 00:13:40 -04:00
Henrik Lissner
975928193b
Remove doom/open-bug-report command #1752
The command was removed some time ago and won't be restored (for now).
2019-09-04 19:02:50 -04:00
Jakub Darul
f7f4c39492 fixed formatting 2019-08-29 20:43:52 +02:00
Jakub Darul
ba69c9efe4 added featurep codition to keybindings
includes popup, flycheck, flyspell, org +present, indent-guides
2019-08-29 20:38:56 +02:00
Henrik Lissner
f90cf1f974
Fix +default/org-notes-headlines 2019-08-28 22:08:13 -04:00
Henrik Lissner
b141b4bbd8
Merge pull request #1720 from AloisJanicek/fix-snippets-keybindings
fix function name mismatch in snippets keybindings
2019-08-28 16:49:06 -04:00
Henrik Lissner
f806b54333
Merge pull request #1723 from JakDar/develop
config/default: remove unused floobits & impatient-mode keybinds
2019-08-28 16:48:48 -04:00
Jakub Darul
1a95ed263b removed unused floobits and impatient-mode bindings 2019-08-28 21:57:40 +02:00
Henrik Lissner
4cc359fd2b
Add SPC b d keybind for killing buffers
Relevant to #1436
2019-08-28 12:41:00 -04:00
Henrik Lissner
1cb9dbb2de
Add evil-switch-to-windows-last-buffer keybinds
SPC ` and SPC b l
2019-08-28 12:40:59 -04:00
Alois Janíček
e195d13440
fix function name mismatch in snippets keybindings
some function related to snippets were renamed but their references
weren't updated to reflect this change resulting in error
2019-08-28 11:35:10 +02:00
Henrik Lissner
29614a3187
Merge pull request #1693 from emil-r-petersen/fixup-shortcut
Add leader keybinds for magit-commit-fixup
2019-08-27 16:31:24 -04:00
Andrew Whatson
6381a5c0ae Add :editor word-wrap module
Defines a new minor-mode `+word-wrap-mode` which configures
adaptive-wrap-prefix-mode and visual-line-mode for smart soft-wrapping
of code.

Evil users can toggle it with `SPC t w`.

Enable globally with `+global-word-wrap-mode`.

See the README for more details!
2019-08-27 15:04:38 +10:00
Henrik Lissner
8f01abebfc
Conform set-repeater! to naming conventions 2019-08-22 18:57:18 -04:00
Emil Petersen
8f29901f4d Add magit-commit-fixup shortcut 2019-08-21 14:49:23 -04:00
Henrik Lissner
f4a11fd437
Fix #1679: newline-and-indent advice not deleting trailing whitespace 2019-08-21 00:29:12 -04:00
Henrik Lissner
18cefa0167
Use evil-avy-goto-char-timer #1690 2019-08-20 22:23:59 -04:00
Henrik Lissner
ffa7a0323a
Merge pull request #1641 from alexandergraul/develop
Fix evil-window "c" binding
2019-08-09 22:20:46 -04:00
Alexander Graul
15161c9f46 Fix evil-window "c" binding
Instead of relying on the optional ":ui workspaces" feature, the
built-in evil-window-delete is used. ":ui workspaces" remaps the
evil-window-delete already, so no functionality is lost for users of
that feature.

Fixes https://github.com/hlissner/doom-emacs/issues/1640.
2019-08-09 10:20:53 +02:00
Henrik Lissner
b330728032
Fix #1575: SPC * error when no symbol at point 2019-08-07 18:37:02 -04:00
Henrik Lissner
62aea0a73a
Add ctrl [-+=] keys for adjusting font-size 2019-08-06 14:47:53 -04:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00