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
|
||||
: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)
|
||||
|
|
|
|||
16
pkg/hydra.el
16
pkg/hydra.el
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue