Compare commits
3 Commits
14dc9c62c6
...
8f5c7f88aa
Author | SHA1 | Date | |
---|---|---|---|
8f5c7f88aa | |||
5e0e677cb8 | |||
4463bc2ef9 |
@ -1,4 +1,5 @@
|
|||||||
# macOS ------------------------------------------------------------------------
|
# macOS ------------------------------------------------------------------------
|
||||||
|
# TODO: python-ollama尚未處理
|
||||||
[packages.darwin]
|
[packages.darwin]
|
||||||
taps = [
|
taps = [
|
||||||
'laishulu/homebrew',
|
'laishulu/homebrew',
|
||||||
@ -34,7 +35,7 @@ casks = [
|
|||||||
|
|
||||||
# Ubuntu -----------------------------------------------------------------------
|
# Ubuntu -----------------------------------------------------------------------
|
||||||
# Ubuntu 24.04.2 LTS 測試過
|
# Ubuntu 24.04.2 LTS 測試過
|
||||||
# TODO: lazygit, chezmoi尚未處理
|
# TODO: lazygit, chezmoi, python-ollama尚未處理
|
||||||
[packages.linux.ubuntu]
|
[packages.linux.ubuntu]
|
||||||
apt = [
|
apt = [
|
||||||
'sudo',
|
'sudo',
|
||||||
@ -51,7 +52,7 @@ apt = [
|
|||||||
|
|
||||||
# Debian -----------------------------------------------------------------------
|
# Debian -----------------------------------------------------------------------
|
||||||
# Debian 12, Debian 13 測試過
|
# Debian 12, Debian 13 測試過
|
||||||
# TODO: chezmoi尚未處理
|
# TODO: chezmoi, python-ollama尚未處理
|
||||||
# 特別備註:
|
# 特別備註:
|
||||||
# Debain 12 (bookworm) 沒有eza,但是有exa
|
# Debain 12 (bookworm) 沒有eza,但是有exa
|
||||||
# Debain 12 (bookworm) 沒有ueberzugpp,但是有ueberzug
|
# Debain 12 (bookworm) 沒有ueberzugpp,但是有ueberzug
|
||||||
@ -115,6 +116,7 @@ pacman_gui = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
aur = [
|
aur = [
|
||||||
|
'python-ollama',
|
||||||
]
|
]
|
||||||
|
|
||||||
aur_gui = [
|
aur_gui = [
|
||||||
@ -168,6 +170,7 @@ pacman_gui = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
aur = [
|
aur = [
|
||||||
|
'python-ollama',
|
||||||
]
|
]
|
||||||
|
|
||||||
aur_gui = [
|
aur_gui = [
|
||||||
|
@ -1,32 +1,42 @@
|
|||||||
return {
|
return {
|
||||||
-- 單純顯示顏色
|
-- 單純顯示顏色
|
||||||
-- 不過以下ccc.nvim與oklch-color-picker.nvim都有此功能,故關閉
|
-- 不過以下ccc.nvim與oklch-color-picker.nvim都有此功能,故關閉
|
||||||
-- {
|
{
|
||||||
-- 'norcalli/nvim-colorizer.lua',
|
'norcalli/nvim-colorizer.lua',
|
||||||
-- lazy = false,
|
lazy = false,
|
||||||
-- config = function()
|
config = function()
|
||||||
-- -- Attaches to every FileType mode
|
-- Attaches to every FileType mode
|
||||||
-- require 'colorizer'.setup()
|
require 'colorizer'.setup()
|
||||||
|
|
||||||
-- -- require("colorizer").setup({
|
-- require("colorizer").setup({
|
||||||
-- -- '*'; -- Highlight all files, but customize some others.
|
-- '*'; -- Highlight all files, but customize some others.
|
||||||
-- -- '!vim'; -- Exclude vim from highlighting.
|
-- '!vim'; -- Exclude vim from highlighting.
|
||||||
-- -- '!markdown'; -- Exclude markdown from highlighting.
|
-- '!markdown'; -- Exclude markdown from highlighting.
|
||||||
-- -- '!text'; -- Exclude text from highlighting.
|
-- '!text'; -- Exclude text from highlighting.
|
||||||
-- -- '!html'; -- Exclude html from highlighting.
|
-- '!html'; -- Exclude html from highlighting.
|
||||||
-- -- '!css'; -- Exclude css from highlighting.
|
-- '!css'; -- Exclude css from highlighting.
|
||||||
-- -- '!javascript'; -- Exclude javascript from highlighting.
|
-- '!javascript'; -- Exclude javascript from highlighting.
|
||||||
-- -- '!typescript'; -- Exclude typescript from highlighting.
|
-- '!typescript'; -- Exclude typescript from highlighting.
|
||||||
-- -- }, {
|
-- }, {
|
||||||
-- -- RGB = true; -- #RGB hex codes
|
-- RGB = true; -- #RGB hex codes
|
||||||
-- -- RRGGBB = true; -- #RRGGBB hex codes
|
-- RRGGBB = true; -- #RRGGBB hex codes
|
||||||
-- -- names = false; -- "Name" codes like Blue or blue
|
-- names = false; -- "Name" codes like Blue or blue
|
||||||
-- -- RRGGBBAA = true; -- #RRGGBBAA hex codes
|
-- RRGGBBAA = true; -- #RRGGBBAA hex codes
|
||||||
-- -- rgb_fn = true; -- CSS rgb() and rgba() functions
|
-- rgb_fn = true; -- CSS rgb() and rgba() functions
|
||||||
-- -- hsl_fn = true; -- CSS hsl() and hsla() functions
|
-- hsl_fn = true; -- CSS hsl() and hsla() functions
|
||||||
-- -- })
|
-- })
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
|
{ "nvzone/volt", lazy = true },
|
||||||
|
{
|
||||||
|
"nvzone/minty",
|
||||||
|
cmd = { "Shades", "Huefy" },
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>v", "<cmd>Huefy<cr>", desc = "Color pick under cursor"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
-- {
|
-- {
|
||||||
-- "uga-rosa/ccc.nvim",
|
-- "uga-rosa/ccc.nvim",
|
||||||
@ -61,20 +71,21 @@ return {
|
|||||||
-- end,
|
-- end,
|
||||||
-- }
|
-- }
|
||||||
|
|
||||||
{
|
-- {
|
||||||
"eero-lehtinen/oklch-color-picker.nvim",
|
-- "eero-lehtinen/oklch-color-picker.nvim",
|
||||||
enabled = require("tools.gui").is_graphical(),
|
-- enabled = require("tools.gui").is_graphical(),
|
||||||
event = "VeryLazy",
|
-- event = "VeryLazy",
|
||||||
version = "*",
|
-- version = "*",
|
||||||
keys = {
|
-- keys = {
|
||||||
-- One handed keymap recommended, you will be using the mouse
|
-- -- One handed keymap recommended, you will be using the mouse
|
||||||
{
|
-- {
|
||||||
"<leader>v",
|
-- "<leader>v",
|
||||||
function() require("oklch-color-picker").pick_under_cursor() end,
|
-- function() require("oklch-color-picker").pick_under_cursor() end,
|
||||||
desc = "Color pick under cursor",
|
-- desc = "Color pick under cursor",
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
---@type oklch.Opts
|
-- ---@type oklch.Opts
|
||||||
opts = {},
|
-- opts = {},
|
||||||
}
|
-- },
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
vim.g.lsp_position_encoding = 'utf-16'
|
||||||
require("lsp.config.mason")
|
require("lsp.config.mason")
|
||||||
require("lsp.config.lspconfig")
|
require("lsp.config.lspconfig")
|
||||||
require("lsp.config.cmp")
|
require("lsp.config.cmp")
|
||||||
|
@ -159,6 +159,16 @@ zinit light sunlei/zsh-ssh
|
|||||||
zinit light ocodo/ollama_zsh_completion
|
zinit light ocodo/ollama_zsh_completion
|
||||||
# zinit snippet https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58/raw/5a6a44efc6a07b6f937dbc596d9d7385b297dda8/_ollama.zsh
|
# zinit snippet https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58/raw/5a6a44efc6a07b6f937dbc596d9d7385b297dda8/_ollama.zsh
|
||||||
|
|
||||||
|
# Kollzsh zsh命令行直接輸入模糊語意用途,按下ctrl+o以後,會連線到API伺服器取出正確指令下法
|
||||||
|
zinit light chyuaner/kollzsh
|
||||||
|
KOLLZSH_MODEL="qwen2.5-coder:7b"
|
||||||
|
KOLLZSH_HOTKEY="^o"
|
||||||
|
KOLLZSH_COMMAND_COUNT=5
|
||||||
|
KOLLZSH_URL={{ .ollamaUrl | quote }}
|
||||||
|
KOLLZSH_APIKEY={{ .ollamaKey | quote }}
|
||||||
|
KOLLZSH_KEEP_ALIVE="1h"
|
||||||
|
KOLLZSH_PYTHON3="python3"
|
||||||
|
|
||||||
# overwrite ls
|
# overwrite ls
|
||||||
if command -v colorls &> /dev/null; then
|
if command -v colorls &> /dev/null; then
|
||||||
alias ls='colorls'
|
alias ls='colorls'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user