Use C-n to insert newlines at the end of the file

This commit is contained in:
Maciej 2021-09-20 09:58:12 +03:00
parent aa736feb59
commit f6cf3da19d
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 17 additions and 9 deletions

View file

@ -114,6 +114,9 @@
:defer t
:straight t)
;;;;;;;;;;;;;;;;; Use C-n to create a new line
(setq next-line-add-newlines t)
;;;;;;;;;;;;;;;;; Speed up long line display by disabling bidirectional text
(setq-default bidi-paragraph-direction 'left-to-right
bidi-inhibit-bpa t)

View file

@ -115,10 +115,18 @@
("f" lsp-format-buffer)
("m" lsp-ui-imenu))
(defhydra +hydra-history-menu (:color teal)
"Buffer history"
("[" previous-buffer "Previous buffer")
("]" next-buffer "Next buffer")
(defhydra +hydra-history-menu (:color teal :hint nil)
"
^
^ History
^
^ _[_: Previous
^ _]_: Next
^
"
("[" previous-buffer)
("]" next-buffer)
("q" nil "cancel" :color blue))
(defhydra +hydra-move-menu (:color teal :hint nil)

View file

@ -11,13 +11,11 @@
;;; Code:
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
(use-package vterm :straight t :defer t)
;; Create new terminal
(defun start-term ()
"Start ZSH terminal session."
"Start Eshell terminal session."
(interactive)
(vterm))
(eshell))
(define-key +custom-keys-mode-map (kbd "<f12>") 'start-term)