Commit graph

11 commits

Author SHA1 Message Date
Henrik Lissner
57adae5ec6
Introduce more opinionated backspace/del/newline behavior
+ Instead of remapping delete-backward-char to doom/delete-backward-char
  (which was unreliable, depending on the mode), it is now overridden
  with it, without sacrificing its original functionality. The new
  behavior is as follows:
  + Fall back to sp-backward-delete-char when it makes sense to delete
    the adjacent pair: {|} => |
  + Collapse an indented pair block, if at bolp in between: {
      |
    } => {|}
  + Refresh a pair's :post-handlers when deleting into pair: {
      |
    } => {|} => {
      |
    } (can be repeated)
  + When cursor is preceded by whitespace, delete in increments of
    tab-width.
+ newline-and-indent has been advised to:
  + Only newline when in a string.
  + Continue comment lines consistently (needs more testing!)
  + Falls back to basic newline-and-indent, without affecting whitespace
    in the origin line (it would originally delete-horizontal-space
    before creating a new line).
+ Incorporates a set of reasonable defaults for brace expansion on RET
  or SPC, as mentioned in #343 and #413.

Affects #343, #413
2018-02-14 05:42:51 -05:00
Henrik Lissner
26d1dd7991
💥 private/default: add +bindings, +snippets & +evil-commands features #383
This is a breaking change. You'll need to add these three flags to your
init.el to restore the defaults.
2018-01-30 21:24:31 -05:00
Henrik Lissner
eece13f2ca
Lazy-load evil-easymotion properly via keybinds #335
The package wasn't set up properly to autoload until evil-snipe did,
making its functionality inaccessible without an explicit (require
'evil-easymotion)
2018-01-15 00:07:51 -05:00
Henrik Lissner
7eb1198172
private/default: refactor into multiple files + add evil checks 2017-12-30 00:56:54 -05:00
Henrik Lissner
8b1f8acc0d
Rearrange core config, epa & authinfo bits (fix after! error) 2017-12-27 22:48:05 -05:00
Henrik Lissner
9a71a73538
General, minor refactor 2017-12-27 18:19:33 -05:00
Henrik Lissner
04820bc022
Fix TAB in ivy only half-triggering auto-completion #303 2017-12-25 18:59:44 -05:00
Henrik Lissner
1ef50bd5fa
private/default: fix whitespace in bindings 2017-12-23 19:00:56 -05:00
Henrik Lissner
e641a386ac
private/default: fix malformed-function error while byte-compiling 2017-12-23 16:16:53 -05:00
Henrik Lissner
024e0407eb
private/default: fix old keybind references 2017-12-23 02:49:49 -05:00
Henrik Lissner
79fbaf3d98
Add private/default
This will replace private/hlissner.

Addresses #301
2017-12-23 02:27:44 -05:00