Compare commits
1 Commits
master
...
940b7b3efe
| Author | SHA1 | Date | |
|---|---|---|---|
| 940b7b3efe |
@@ -1,59 +0,0 @@
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.bold]
|
||||
family = "UbuntuMono Nerd Font Mono"
|
||||
#family = "DejaVu Sans Mono"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "UbuntuMono Nerd Font Mono"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "UbuntuMono Nerd Font Mono"
|
||||
style = "Regular"
|
||||
|
||||
[font.italic]
|
||||
family = "UbuntuMono Nerd Font Mono"
|
||||
style = "Italic"
|
||||
|
||||
[colors.primary]
|
||||
foreground = "#C5C8C6"
|
||||
background = "#282A2E"
|
||||
|
||||
[colors.cursor]
|
||||
text = '#1d1f21'
|
||||
cursor='#F6F6F6'
|
||||
|
||||
[colors.normal]
|
||||
black= "#282A2E"
|
||||
red= "#CC6666"
|
||||
green= "#B5BD68"
|
||||
yellow= "#F0C674"
|
||||
blue= "#81A2BE"
|
||||
magenta= "#B294BB"
|
||||
cyan= "#8ABEB7"
|
||||
white= "#969896"
|
||||
|
||||
[colors.bright]
|
||||
black= "#373B41"
|
||||
red= "#FF9999"
|
||||
green= "#E5ED98"
|
||||
yellow= "#FFF6A4"
|
||||
blue= "#B1D2EE"
|
||||
magenta= "#E2C4EB"
|
||||
cyan= "#BAEEE7"
|
||||
white= "#C5C8C6"
|
||||
|
||||
[keyboard]
|
||||
bindings = [
|
||||
{ key = "T", mods = "Control|Shift", action = "SpawnNewInstance" }
|
||||
]
|
||||
|
||||
[window]
|
||||
decorations = "Full"
|
||||
|
||||
# Local Variables:
|
||||
# vc-follow-symlinks: t
|
||||
# End:
|
||||
@@ -1 +0,0 @@
|
||||
complete -c arkedump -f -a "(GO_FLAGS_COMPLETION=1 arkedump (string split ' ' (commandline -cp)))"
|
||||
@@ -1 +0,0 @@
|
||||
complete -c arkesend -f -a "(GO_FLAGS_COMPLETION=1 arkesend (string split ' ' (commandline -cp)))"
|
||||
@@ -1 +0,0 @@
|
||||
complete -c leto-cli -f -a "(GO_FLAGS_COMPLETION=1 leto-cli (string split ' ' (commandline -cp)))"
|
||||
@@ -1 +0,0 @@
|
||||
complete -c zeus-cli -f -a "(GO_FLAGS_COMPLETION=1 zeus-cli (string split ' ' (commandline -cp)))"
|
||||
@@ -130,6 +130,3 @@ function colortest-truecolors
|
||||
end
|
||||
echo ""
|
||||
end
|
||||
|
||||
# opencode
|
||||
fish_add_path /home/atuleu/.opencode/bin
|
||||
|
||||
@@ -31,4 +31,3 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
SETUVAR fish_user_paths:/home/atuleu/\x2eopencode/bin
|
||||
|
||||
@@ -7,3 +7,8 @@
|
||||
tool = meld
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
|
||||
138
.emacs
138
.emacs
@@ -35,12 +35,10 @@
|
||||
'(lisp-simple-loop-indentation 4)
|
||||
'(lisp-tag-body-indentation 4)
|
||||
'(lisp-tag-indentation 4)
|
||||
'(lsp-copilot-enabled t)
|
||||
'(lsp-inline-completion-idle-delay 99999999)
|
||||
'(org-agenda-files '("~/org/1.TODO.org"))
|
||||
'(package-enable-at-startup nil)
|
||||
'(package-selected-packages
|
||||
'(spice-mode yasnippet-snippets yaml-mode xterm-color which-key wgrep web-mode vterm vertico treemacs-projectile treemacs-nerd-icons system-packages string-inflection spdx quelpa-use-package pyvenv py-isort protobuf-mode prettier polymode orderless opencl-c-mode ng2-mode multiple-cursors marginalia magit lsp-ui lsp-treemacs lsp-pyright lsp-ltex json-mode go-mode glsl-mode flycheck embark-consult doom-themes doom-modeline dockerfile-mode delight company code-cells cmake-mode clang-format+ blacken aggressive-indent))
|
||||
'(code-cells clang-format+ cmake-format xterm-color dockerfile-mode web-mode prettier json-mode py-isort blacken pyvenv yaml-mode lsp-pyright ng2-mode lsp-ltex lsp-treemacs treemacs-nerd-icons treemacs-projectile treemacs lsp-ui lsp-mode which-key flycheck vterm projectile yasnippet-snippets yasnippet aggressive-indent doom-themes company-go zenburn-theme langtool smart-tabs-mode typescript-mode protobuf-mode opencl-mode glsl-mode go-mode markdown-mode srefactor irony cmake-mode company magit use-package))
|
||||
'(safe-local-variable-values
|
||||
'((vc-follow-symlinks . t)
|
||||
(TeX-master . t)
|
||||
@@ -72,23 +70,23 @@
|
||||
("gnu" . "https://elpa.gnu.org/packages/")))
|
||||
(package-initialize)
|
||||
|
||||
(defvar bootstrap-version)
|
||||
(let ((bootstrap-file
|
||||
(expand-file-name
|
||||
"straight/repos/straight.el/bootstrap.el"
|
||||
(or (bound-and-true-p straight-base-dir)
|
||||
user-emacs-directory)))
|
||||
(bootstrap-version 7))
|
||||
(unless (file-exists-p bootstrap-file)
|
||||
(with-current-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
||||
'silent 'inhibit-cookies)
|
||||
(goto-char (point-max))
|
||||
(eval-print-last-sexp)))
|
||||
(load bootstrap-file nil 'nomessage))
|
||||
|
||||
|
||||
|
||||
(unless (package-installed-p 'quelpa)
|
||||
(with-temp-buffer
|
||||
(url-insert-file-contents "https://raw.githubusercontent.com/quelpa/quelpa/master/quelpa.el")
|
||||
(eval-buffer)
|
||||
(quelpa-self-upgrade)))
|
||||
(setq quelpa-checkout-melpa-p nil)
|
||||
(setq quelpa-use-package-inhibit-loading-quelpa t)
|
||||
(quelpa
|
||||
'(quelpa-use-package
|
||||
:fetcher github
|
||||
:repo "quelpa/quelpa-use-package"))
|
||||
(require 'quelpa-use-package)
|
||||
|
||||
|
||||
(straight-use-package 'use-package)
|
||||
(require 'use-package-ensure)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
@@ -304,8 +302,6 @@
|
||||
:hook
|
||||
(embark-collect-mode . consult-preview-at-point-mode))
|
||||
|
||||
(use-package wgrep)
|
||||
|
||||
(use-package doom-modeline
|
||||
:init
|
||||
(doom-modeline-mode 1)
|
||||
@@ -353,6 +349,12 @@
|
||||
)
|
||||
)
|
||||
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
|
||||
(use-package xterm-color
|
||||
:config
|
||||
@@ -365,6 +367,49 @@
|
||||
)
|
||||
|
||||
|
||||
;; (use-package smart-tabs-mode
|
||||
;; :config
|
||||
;; (setq-default tab-width 4) ; or any other preferred value
|
||||
;; (setq cua-auto-tabify-rectangles nil)
|
||||
;; (smart-tabs-advice c-indent-line c-basic-offset)
|
||||
;; (smart-tabs-advice c-indent-region c-basic-offset)
|
||||
|
||||
;; (smart-tabs-add-language-support cmake cmake-mode-hook
|
||||
;; (
|
||||
;; (cmake-indent . cmake-tab-width)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
;; (smart-tabs-add-language-support protobuf protobuf-mode-hook
|
||||
;; (
|
||||
;; (c-indent-line . c-basic-offset)
|
||||
;; (c-indent-region . c-basic-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
;; (smart-tabs-add-language-support glsl glsl-mode-hook
|
||||
;; (
|
||||
;; (c-indent-line . c-basic-offset)
|
||||
;; (c-indent-region . c-basic-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
;; (smart-tabs-add-language-support opencl opencl-mode-hook
|
||||
;; (
|
||||
;; (c-indent-line . c-basic-offset)
|
||||
;; (c-indent-region . c-basic-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
;; (smart-tabs-add-language-support elisp emacs-lisp-mode-hook
|
||||
;; (
|
||||
;; (lisp-indent-line . lisp-indent-offset)
|
||||
;; (lisp-indent-region . lisp-indent-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
;; (smart-tabs-insinuate 'c 'c++ 'cmake 'nxml 'protobuf 'glsl 'elisp)
|
||||
;; )
|
||||
|
||||
(use-package aggressive-indent
|
||||
:hook
|
||||
@@ -394,6 +439,15 @@
|
||||
:after yasnippet
|
||||
)
|
||||
|
||||
(use-package yasnippet-licenses
|
||||
:straight (yasnippet-licenses
|
||||
:type git
|
||||
:host github
|
||||
:repo "atuleu/yasnippet-licenses"
|
||||
:files (:defaults "*.el" "snippets")
|
||||
)
|
||||
:after yasnippet
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -426,9 +480,9 @@
|
||||
(use-package cmake-mode
|
||||
:ensure-system-package (
|
||||
(cmake . cmake)
|
||||
(pipx . pipx)
|
||||
(cmake-format . "pipx install cmakelang[YAML]")
|
||||
(cmake-language-server . "pipx install cmake-language-server")
|
||||
(pip . python3-pip)
|
||||
(cmake-format . "pip install --user cmakelang[YAML]")
|
||||
(cmake-language-server . "pip install --user cmake-language-server")
|
||||
)
|
||||
:config
|
||||
(setq cmake-tab-width 4)
|
||||
@@ -514,7 +568,6 @@
|
||||
:hook
|
||||
(c-mode . lsp-deferred)
|
||||
(c++-mode . lsp-deferred)
|
||||
(c++-mode . (lambda () (setq-local lsp-enable-on-type-formatting nil)))
|
||||
)
|
||||
|
||||
(use-package clang-format+
|
||||
@@ -607,7 +660,6 @@
|
||||
(concat "-imp." ext)
|
||||
(concat "-impl." ext)
|
||||
".cpp"
|
||||
".c"
|
||||
)))
|
||||
)
|
||||
(when (member ext '("c" "cc" "cpp"))
|
||||
@@ -698,22 +750,19 @@
|
||||
(setq lsp-ui-doc-use-webkit t)
|
||||
)
|
||||
(add-to-list 'lsp-language-id-configuration '("\\.postcss\\'" . "css"))
|
||||
(defun atu/lsp-inline-completion-display-toggle-key ()
|
||||
"Add or remove `i` key from the lsp-command-map` depending on `lsp-inline-completion-mode`"
|
||||
(if lsp-inline-completion-mode
|
||||
(define-key lsp-command-map (kbd "i") #'lsp-inline-completion-display)
|
||||
(define-key lsp-command-map (kbd "i") nil)))
|
||||
|
||||
(with-eval-after-load 'lsp-inline-completion
|
||||
(define-key lsp-inline-completion-active-map (kbd "C-j") #'lsp-inline-completion-accept)
|
||||
(advice-add 'lsp :before
|
||||
(lambda (&rest _args)
|
||||
(eval '(setf (lsp-session-server-id->folders (lsp-session)) (ht)
|
||||
)
|
||||
:bind (("C-c C-d" . lsp-ui-doc-toggle))
|
||||
|
||||
:hook (
|
||||
)
|
||||
)
|
||||
)
|
||||
(setq lsp-completion-provider :none)
|
||||
:bind (
|
||||
("C-c C-d" . lsp-ui-doc-toggle)
|
||||
)
|
||||
:hook
|
||||
(lsp-mode . lsp-enable-which-key-integration)
|
||||
(lsp-inline-completion-mode . lsp-inline-completion-company-integration-mode)
|
||||
(lsp-inline-completion-mode . atu/lsp-inline-completion-display-toggle-key)
|
||||
)
|
||||
:commands
|
||||
(lsp lsp-deferred)
|
||||
)
|
||||
@@ -1013,9 +1062,8 @@
|
||||
(dockerfile-mode . lsp-deferred)
|
||||
)
|
||||
|
||||
|
||||
(use-package spdx
|
||||
:quelpa (spdx :fetcher github :repo "condy0919/spdx.el")
|
||||
:straight (:host github :repo "condy0919/spdx.el")
|
||||
:bind (:map prog-mode-map
|
||||
("C-c i l" . spdx-insert-spdx))
|
||||
:custom
|
||||
@@ -1024,12 +1072,6 @@
|
||||
|
||||
|
||||
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
;; Local Variables:
|
||||
;; vc-follow-symlinks: t
|
||||
;; End:
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
(
|
||||
name: "Tomorrow Night - Tweeked",
|
||||
foreground: "#C5C8C6",
|
||||
background: "#282A2E",
|
||||
cursor: "#F6F6F6",
|
||||
dim_foreground: "#282A2E",
|
||||
normal: (
|
||||
black: "#282A2E",
|
||||
red: "#CC6666",
|
||||
green: "#B5BD68",
|
||||
yellow: "#F0C674",
|
||||
blue: "#81A2BE",
|
||||
magenta: "#B294BB",
|
||||
cyan: "#8ABEB7",
|
||||
white: "#969896",
|
||||
),
|
||||
bright: (
|
||||
black: "#373B41",
|
||||
red: "#FF9999",
|
||||
green: "#E5ED98",
|
||||
yellow: "#FFF6A4",
|
||||
blue: "#B1D2EE",
|
||||
magenta: "#E2C4EB",
|
||||
cyan: "#BAEEE7",
|
||||
white: "#C5C8C6",
|
||||
),
|
||||
dim: (
|
||||
black: "#1f1d21",
|
||||
red: "#BB5555",
|
||||
green: "#A4AC57",
|
||||
yellow: "#DFB563",
|
||||
blue: "#7091AD",
|
||||
magenta: "#A183AA",
|
||||
cyan: "#79ADA6",
|
||||
white: "#858785",
|
||||
),
|
||||
)
|
||||
@@ -102,8 +102,7 @@ files=".config/fish \
|
||||
.config/starship.toml \
|
||||
.local/share/omf \
|
||||
.emacs \
|
||||
.tmux.conf.local \
|
||||
.config/alacritty.toml"
|
||||
.tmux.conf.local"
|
||||
|
||||
|
||||
|
||||
@@ -164,7 +163,7 @@ ${current_version}
|
||||
3.4.0
|
||||
EOF
|
||||
)
|
||||
if [ $(echo "${current_version_test}" | sort -n | head -1) != "3.4.0" ]
|
||||
if [ $(echo "${current_version_test}" | sort | head -1) != "3.4.0" ]
|
||||
then
|
||||
echo "Wrong version of fish ${current_version}"
|
||||
fish_good=1
|
||||
|
||||
Reference in New Issue
Block a user