doomemacs/core
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 Introduce more opinionated backspace/del/newline behavior 2018-02-14 05:42:51 -05:00
test Remove doom--cycle-real-buffers; refactor kill-this-buffer advice 2018-02-02 20:47:31 -05:00
core-editor.el Fix editorconfig file ext 'guesser' in org-edit-src buffers 2018-02-13 19:42:39 -05:00
core-keybinds.el core-keybinds: remove redundant quotes 2018-02-04 17:29:03 -05:00
core-lib.el Sensible alias 2018-02-01 14:46:17 +08:00
core-os.el core-os: add IS-WINDOWS & w32-get-true-file-attributes = nil 2018-02-02 23:45:54 -05:00
core-packages.el Fix doom//reload-load-path infinite recursion with daemon emacs 2018-02-08 02:15:41 -05:00
core-projects.el Change doom-project-p to return a boolean 2018-02-06 17:30:38 -05:00
core-ui.el Fix kill-this-buffer asking to save twice 2018-02-13 17:53:11 -05:00
core.el Refactor; compilation-scroll-output=first-error; ffap-machine-p-known=reject 2018-02-01 19:58:44 -05:00
packages.el Remove help-fns+, add helpful plugin #363 2018-01-21 21:37:15 -05:00