Minor fix

This commit is contained in:
js0ny 2025-02-09 23:55:17 +00:00
parent 2248d3a237
commit 58a47f91d8
5 changed files with 23 additions and 0 deletions

View file

@ -78,8 +78,21 @@
(global-wakatime-mode)
(setq wakatime-cli-path "~/.local/bin/wakatime"))
;; accept completion from copilot and fallback to company
(use-package! copilot
:hook (prog-mode . copilot-mode)
:bind (:map copilot-completion-map
("<tab>" . 'copilot-accept-completion)
("TAB" . 'copilot-accept-completion)
("C-TAB" . 'copilot-accept-completion-by-word)
("C-<tab>" . 'copilot-accept-completion-by-word)))
(load! "evil.el")
(load! "treemacs.el")
(load! "org.el")
(!after evil-matchit
(global-evil-matchit-mode 1)
)

View file

@ -49,3 +49,6 @@
;; (unpin! t)
(package! wakatime-mode)
(package! copilot
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
(package! evil-matchit)

View file

@ -35,3 +35,6 @@ end
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
# moonbit
fish_add_path "$HOME/.moon/bin"

View file

@ -32,6 +32,7 @@ return {
"toggleterm",
"qf",
"floaterm",
"orgagenda",
},
})
end,

View file

@ -51,6 +51,9 @@ noremap gh editor.action.showDefinitionPreviewHover
noremap gr editor.action.goToReferences
noremap gpr editor.action.referenceSearch.trigger
map % extension.matchitJumpItems
noremap zR editor.foldAll
" keep selection after indent (define in settings.json)