Browse Source

Add my-insert-page-break

master
10sr 4 years ago
parent
commit
71849b7f22
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el View File

@@ -465,6 +465,10 @@ Otherwize hook it."
(when (fboundp 'global-page-break-lines-mode) (when (fboundp 'global-page-break-lines-mode)
(add-hook 'after-first-visit-hook (add-hook 'after-first-visit-hook
'global-page-break-lines-mode)) 'global-page-break-lines-mode))
(defun my-insert-page-break ()
"Insert ^L."
(interactive)
(insert "\^L\n"))


(when (fboundp 'global-git-gutter-mode) (when (fboundp 'global-git-gutter-mode)
(add-hook 'after-first-visit-hook (add-hook 'after-first-visit-hook
@@ -2633,6 +2637,8 @@ Any output will be written to current buffer."
(with-eval-after-load 'ivy (with-eval-after-load 'ivy
(ivy-configure 'my-counsel-describe-symbol (ivy-configure 'my-counsel-describe-symbol
:sort-fn #'ivy-string<) :sort-fn #'ivy-string<)
(ivy-configure 'counsel-M-x
:initial-input "")
) )






Loading…
Cancel
Save