changes for linux
This commit is contained in:
parent
da95fce1b9
commit
aedfacb215
2 changed files with 14 additions and 3 deletions
|
@ -383,9 +383,12 @@
|
||||||
"s-x" #'kill-region
|
"s-x" #'kill-region
|
||||||
"s-a" #'mark-whole-buffer
|
"s-a" #'mark-whole-buffer
|
||||||
"s-z" #'undo
|
"s-z" #'undo
|
||||||
|
"s-Z" #'undo-redo
|
||||||
"s-w" #'kill-buffer
|
"s-w" #'kill-buffer
|
||||||
"s-f" #'+default/search-buffer
|
"s-f" #'+default/search-buffer
|
||||||
"s-g" #'vertico-repeat
|
"s-g" #'vertico-repeat
|
||||||
|
"s-s" #'save-buffer
|
||||||
|
"s-;" #'comment-dwim
|
||||||
"M-s-<up>" #'next-window-any-frame
|
"M-s-<up>" #'next-window-any-frame
|
||||||
"M-s-<down>" #'previous-window-any-frame
|
"M-s-<down>" #'previous-window-any-frame
|
||||||
"s-M-h" #'windmove-left
|
"s-M-h" #'windmove-left
|
||||||
|
|
14
config.el
14
config.el
|
@ -220,10 +220,18 @@
|
||||||
|
|
||||||
(after! lsp-mode
|
(after! lsp-mode
|
||||||
(setq lsp-signature-render-documentation nil)
|
(setq lsp-signature-render-documentation nil)
|
||||||
|
|
||||||
|
(lsp-register-client
|
||||||
|
(make-lsp-client :new-connection (lsp-stdio-connection "nixd")
|
||||||
|
:major-modes '(nix-mode)
|
||||||
|
:priority 0
|
||||||
|
:server-id 'nixd))
|
||||||
|
|
||||||
(add-to-list 'lsp-language-id-configuration '(a-janet-mode . "janet"))
|
(add-to-list 'lsp-language-id-configuration '(a-janet-mode . "janet"))
|
||||||
(lsp-register-client (make-lsp-client :new-connection (lsp-stdio-connection "janet-lsp")
|
(lsp-register-client
|
||||||
:activation-fn (lsp-activate-on "janet")
|
(make-lsp-client :new-connection (lsp-stdio-connection "janet-lsp")
|
||||||
:server-id 'janet-ls)))
|
:activation-fn (lsp-activate-on "janet")
|
||||||
|
:server-id 'janet-ls)))
|
||||||
|
|
||||||
(after! lisp-markup
|
(after! lisp-markup
|
||||||
(add-hook! 'lisp-mode 'lisp-markup-minor-mode))
|
(add-hook! 'lisp-mode 'lisp-markup-minor-mode))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue