diff options
| author | Richard Lawrence <richard.lawrence@berkeley.edu> | 2018-03-05 11:37:07 -0800 |
|---|---|---|
| committer | Richard Lawrence <richard.lawrence@berkeley.edu> | 2018-03-05 11:37:07 -0800 |
| commit | 904df74ddec2ce3bf31db8eddb612a34424f2573 (patch) | |
| tree | 4e62d59f09b2870076395479f194354e9d9f9e38 | |
| parent | 3bf198796b2d135776143eac854e8d855cd94475 (diff) | |
Respect use-hard-newlines in evil-insert-newline-{above/below}
Call `newline`, which respects use-hard-newlines.
| -rw-r--r-- | evil-common.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-common.el b/evil-common.el index a9d6cd3..2bc0d51 100644 --- a/evil-common.el +++ b/evil-common.el @@ -1886,7 +1886,7 @@ closer if MOVE is non-nil." with regard to indentation." (evil-narrow-to-field (evil-move-beginning-of-line) - (insert "\n") + (newline) (forward-line -1) (back-to-indentation))) @@ -1895,7 +1895,7 @@ with regard to indentation." with regard to indentation." (evil-narrow-to-field (evil-move-end-of-line) - (insert "\n") + (newline) (back-to-indentation))) ;;; Markers |
