mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-16 20:10:58 +01:00
added lua support, disabled vertico jump root using /, was a mess
This commit is contained in:
@@ -17,7 +17,10 @@
|
||||
;; Home row only (the default).
|
||||
(setq avy-keys '(?a ?s ?d ?f ?j ?k ?l))
|
||||
|
||||
(setq avy-background t))
|
||||
(setq avy-background t)
|
||||
|
||||
;; (global-set-key (kbd "C-j") 'avy-goto-word-1)
|
||||
)
|
||||
|
||||
|
||||
(provide 'init-avy)
|
||||
|
||||
11
lisp/init-lua.el
Normal file
11
lisp/init-lua.el
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
(use-package lua-mode
|
||||
:mode "\\.lua\\'"
|
||||
|
||||
:config
|
||||
(setq tab-width 4
|
||||
lua-indent-level 4
|
||||
lua-indent-string-contents t))
|
||||
|
||||
(provide 'init-lua)
|
||||
;;; init-lua.el ends here
|
||||
@@ -90,7 +90,8 @@ a remote file anytime and from everywhere I am by just entering :"
|
||||
:bind (:map vertico-map
|
||||
("~" . tvd-vertico-jump-home)
|
||||
(":" . tvd-vertico-jump-ssh)
|
||||
("/" . tvd-vertico-jump-root) ;; experimental, not sure wether to keep this
|
||||
;;; ("/" . tvd-vertico-jump-root)
|
||||
;; experimental, not sure wether to keep this
|
||||
("<backspace>" . tvd-vertico-del-dir)
|
||||
("RET" . #'vertico-directory-enter)
|
||||
;; experimental, pressing tab on a match doesn't
|
||||
|
||||
Reference in New Issue
Block a user