doomemacs/modules/private/default
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
..
autoload private/default: add prefix arg to def-{find-in|browse-in}! macros 2018-02-04 17:30:16 -05:00
+bindings.el Introduce more opinionated backspace/del/newline behavior 2018-02-14 05:42:51 -05:00
+evil-commands.el private/default: add :pwd[!] command (copy pwd to clipboard) 2018-02-02 21:21:20 -05:00
config.el Introduce more opinionated backspace/del/newline behavior 2018-02-14 05:42:51 -05:00
packages.el Add private/default 2017-12-23 02:27:44 -05:00