From 71849b7f22c65202036095df648cf43b368ece72 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 23 Jan 2020 16:45:11 +0900 Subject: [PATCH] Add my-insert-page-break --- emacs.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs.el b/emacs.el index 8f6cd56..683e3d2 100644 --- a/emacs.el +++ b/emacs.el @@ -465,6 +465,10 @@ Otherwize hook it." (when (fboundp 'global-page-break-lines-mode) (add-hook 'after-first-visit-hook 'global-page-break-lines-mode)) +(defun my-insert-page-break () + "Insert ^L." + (interactive) + (insert "\^L\n")) (when (fboundp 'global-git-gutter-mode) (add-hook 'after-first-visit-hook @@ -2633,6 +2637,8 @@ Any output will be written to current buffer." (with-eval-after-load 'ivy (ivy-configure 'my-counsel-describe-symbol :sort-fn #'ivy-string<) + (ivy-configure 'counsel-M-x + :initial-input "") )