Compare commits

...

4 Commits

4 changed files with 12 additions and 3 deletions

View File

@ -75,6 +75,7 @@ apt_13 = [
'eza',
'neovim',
'tree-sitter-cli',
'python3-ollama',
'lazygit',
]

View File

@ -16,6 +16,14 @@ neomap('i', '<C-v>', '<Esc>"+pa', { noremap = true, silent = true }) -- Insert M
neomap('v', '<C-c>', '"+y', { noremap = true, silent = true }) -- Visual Mode 下的 Ctrl+C 複製
neomap('v', '<C-x>', '"+d', { noremap = true, silent = true }) -- Visual Mode 下的 Ctrl+X 剪下
neomap('v', '<C-v>', '"+p', { noremap = true, silent = true }) -- Visual Mode 下的 Ctrl+V 貼上
-- 給GUI用的
-- Normal mode: Ctrl+Shift+V 貼上系統剪貼簿
vim.keymap.set('n', '<C-S-v>', '"+p', { noremap = true, silent = true })
-- Insert mode: Ctrl+Shift+V 插入系統剪貼簿內容
vim.keymap.set('i', '<C-S-v>', '<C-r><C-o>+', { noremap = true, silent = true })
-- Terminal mode: Ctrl+Shift+V 回 normal mode貼上剪貼簿再進入 insert 模式
vim.keymap.set('t', '<C-S-v>', [[<C-\><C-n>"+pi]], { noremap = true, silent = true })
-- 單字的左右移動
neomap('n', '<C-Right>', 'w', { noremap = true, silent = true })

View File

@ -15,7 +15,7 @@ M.lsp_servers = {
has_go and "gopls" or nil, -- Go
"html", -- HTML
"cssls", -- CSS
"volar", -- Vue3
"vue-language-server", -- Vue3
-- "ts_ls", -- TypeScript目前暫時不需要先註解掉
"marksman", -- Markdown
"yamlls", -- YAML

View File

@ -48,9 +48,9 @@ models:
apiKey: {{ .ollamaKey }}
roles:
- embed
- name: codellama:13b
- name: codellama:7b
provider: ollama
model: codellama:13b
model: codellama:7b
apiBase: {{ .ollamaUrl }}
apiKey: {{ .ollamaKey }}
- name: llama3.1-claude