Use C-n to insert newlines at the end of the file
This commit is contained in:
parent
aa736feb59
commit
f6cf3da19d
4 changed files with 17 additions and 9 deletions
|
|
@ -114,6 +114,9 @@
|
||||||
:defer t
|
:defer t
|
||||||
:straight 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
|
;;;;;;;;;;;;;;;;; Speed up long line display by disabling bidirectional text
|
||||||
(setq-default bidi-paragraph-direction 'left-to-right
|
(setq-default bidi-paragraph-direction 'left-to-right
|
||||||
bidi-inhibit-bpa t)
|
bidi-inhibit-bpa t)
|
||||||
|
|
|
||||||
16
pkg/hydra.el
16
pkg/hydra.el
|
|
@ -115,10 +115,18 @@
|
||||||
("f" lsp-format-buffer)
|
("f" lsp-format-buffer)
|
||||||
("m" lsp-ui-imenu))
|
("m" lsp-ui-imenu))
|
||||||
|
|
||||||
(defhydra +hydra-history-menu (:color teal)
|
(defhydra +hydra-history-menu (:color teal :hint nil)
|
||||||
"Buffer history"
|
"
|
||||||
("[" previous-buffer "Previous buffer")
|
^
|
||||||
("]" next-buffer "Next buffer")
|
^ History
|
||||||
|
^────────────────────────────────────────────────────────────────────────────────
|
||||||
|
^ _[_: Previous
|
||||||
|
^ _]_: Next
|
||||||
|
^
|
||||||
|
"
|
||||||
|
("[" previous-buffer)
|
||||||
|
("]" next-buffer)
|
||||||
|
|
||||||
("q" nil "cancel" :color blue))
|
("q" nil "cancel" :color blue))
|
||||||
|
|
||||||
(defhydra +hydra-move-menu (:color teal :hint nil)
|
(defhydra +hydra-move-menu (:color teal :hint nil)
|
||||||
|
|
|
||||||
|
|
@ -11,13 +11,11 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
|
(require '+custom-pkg-keys-mode "$HOME/.emacs.d/pkg/keys-mode.el")
|
||||||
|
|
||||||
(use-package vterm :straight t :defer t)
|
|
||||||
|
|
||||||
;; Create new terminal
|
;; Create new terminal
|
||||||
(defun start-term ()
|
(defun start-term ()
|
||||||
"Start ZSH terminal session."
|
"Start Eshell terminal session."
|
||||||
(interactive)
|
(interactive)
|
||||||
(vterm))
|
(eshell))
|
||||||
|
|
||||||
(define-key +custom-keys-mode-map (kbd "<f12>") 'start-term)
|
(define-key +custom-keys-mode-map (kbd "<f12>") 'start-term)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@
|
||||||
("emacs-fsharp-mode" . "c90d762c0692cc43032291d37b8ca3201c3d49bd")
|
("emacs-fsharp-mode" . "c90d762c0692cc43032291d37b8ca3201c3d49bd")
|
||||||
("emacs-gradle-mode" . "e4d665d5784ecda7ddfba015f07c69be3cfc45f2")
|
("emacs-gradle-mode" . "e4d665d5784ecda7ddfba015f07c69be3cfc45f2")
|
||||||
("emacs-hcl-mode" . "e12b1df2ca28d2b06c471cd709c038a2dc0bcdbd")
|
("emacs-hcl-mode" . "e12b1df2ca28d2b06c471cd709c038a2dc0bcdbd")
|
||||||
("emacs-libvterm" . "2681120b770573044832ba8c22ccbac192e1a294")
|
|
||||||
("emacs-racer" . "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
|
("emacs-racer" . "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
|
||||||
("emacs-which-key" . "4790a14683a2f3e4f72ade197c78e4c0af1cdd4b")
|
("emacs-which-key" . "4790a14683a2f3e4f72ade197c78e4c0af1cdd4b")
|
||||||
("emacsmirror-mirror" . "fc970dcdc47b809ed393c5e40baaf49a38f889a1")
|
("emacsmirror-mirror" . "fc970dcdc47b809ed393c5e40baaf49a38f889a1")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue