mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
Minor fix
This commit is contained in:
parent
2248d3a237
commit
58a47f91d8
5 changed files with 23 additions and 0 deletions
|
|
@ -78,8 +78,21 @@
|
||||||
(global-wakatime-mode)
|
(global-wakatime-mode)
|
||||||
(setq wakatime-cli-path "~/.local/bin/wakatime"))
|
(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! "evil.el")
|
||||||
|
|
||||||
(load! "treemacs.el")
|
(load! "treemacs.el")
|
||||||
|
|
||||||
(load! "org.el")
|
(load! "org.el")
|
||||||
|
|
||||||
|
(!after evil-matchit
|
||||||
|
(global-evil-matchit-mode 1)
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -49,3 +49,6 @@
|
||||||
;; (unpin! t)
|
;; (unpin! t)
|
||||||
|
|
||||||
(package! wakatime-mode)
|
(package! wakatime-mode)
|
||||||
|
(package! copilot
|
||||||
|
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
|
||||||
|
(package! evil-matchit)
|
||||||
|
|
|
||||||
|
|
@ -35,3 +35,6 @@ end
|
||||||
# bun
|
# bun
|
||||||
set --export BUN_INSTALL "$HOME/.bun"
|
set --export BUN_INSTALL "$HOME/.bun"
|
||||||
set --export PATH $BUN_INSTALL/bin $PATH
|
set --export PATH $BUN_INSTALL/bin $PATH
|
||||||
|
|
||||||
|
# moonbit
|
||||||
|
fish_add_path "$HOME/.moon/bin"
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ return {
|
||||||
"toggleterm",
|
"toggleterm",
|
||||||
"qf",
|
"qf",
|
||||||
"floaterm",
|
"floaterm",
|
||||||
|
"orgagenda",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,9 @@ noremap gh editor.action.showDefinitionPreviewHover
|
||||||
noremap gr editor.action.goToReferences
|
noremap gr editor.action.goToReferences
|
||||||
noremap gpr editor.action.referenceSearch.trigger
|
noremap gpr editor.action.referenceSearch.trigger
|
||||||
|
|
||||||
|
|
||||||
|
map % extension.matchitJumpItems
|
||||||
|
|
||||||
noremap zR editor.foldAll
|
noremap zR editor.foldAll
|
||||||
|
|
||||||
" keep selection after indent (define in settings.json)
|
" keep selection after indent (define in settings.json)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue