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)

View file

@ -29,7 +29,6 @@
("emacs-fsharp-mode" . "c90d762c0692cc43032291d37b8ca3201c3d49bd")
("emacs-gradle-mode" . "e4d665d5784ecda7ddfba015f07c69be3cfc45f2")
("emacs-hcl-mode" . "e12b1df2ca28d2b06c471cd709c038a2dc0bcdbd")
("emacs-libvterm" . "2681120b770573044832ba8c22ccbac192e1a294")
("emacs-racer" . "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
("emacs-which-key" . "4790a14683a2f3e4f72ade197c78e4c0af1cdd4b")
("emacsmirror-mirror" . "fc970dcdc47b809ed393c5e40baaf49a38f889a1")