mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-26 03:41:59 -08:00
+ 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
|
||
|---|---|---|
| .. | ||
| buffers.el | ||
| cache.el | ||
| debug.el | ||
| editor.el | ||
| files.el | ||
| help.el | ||
| memoize.el | ||
| menu.el | ||
| message.el | ||
| minibuffer.el | ||
| packages.el | ||
| scratch.el | ||
| system.el | ||
| test.el | ||
| ui.el | ||