Compare commits
No commits in common. "8dfa99fc46696ee3e7661f3e8354099494d2d496" and "8f5c7f88aa77eb55fa1e792f6fc697a8fc173f68" have entirely different histories.
8dfa99fc46
...
8f5c7f88aa
@ -75,7 +75,6 @@ apt_13 = [
|
|||||||
'eza',
|
'eza',
|
||||||
'neovim',
|
'neovim',
|
||||||
'tree-sitter-cli',
|
'tree-sitter-cli',
|
||||||
'python3-ollama',
|
|
||||||
'lazygit',
|
'lazygit',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -16,14 +16,6 @@ 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-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-x>', '"+d', { noremap = true, silent = true }) -- Visual Mode 下的 Ctrl+X 剪下
|
||||||
neomap('v', '<C-v>', '"+p', { noremap = true, silent = true }) -- Visual Mode 下的 Ctrl+V 貼上
|
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 })
|
neomap('n', '<C-Right>', 'w', { noremap = true, silent = true })
|
||||||
|
@ -15,7 +15,7 @@ M.lsp_servers = {
|
|||||||
has_go and "gopls" or nil, -- Go
|
has_go and "gopls" or nil, -- Go
|
||||||
"html", -- HTML
|
"html", -- HTML
|
||||||
"cssls", -- CSS
|
"cssls", -- CSS
|
||||||
"vue-language-server", -- Vue3
|
"volar", -- Vue3
|
||||||
-- "ts_ls", -- TypeScript,目前暫時不需要,先註解掉
|
-- "ts_ls", -- TypeScript,目前暫時不需要,先註解掉
|
||||||
"marksman", -- Markdown
|
"marksman", -- Markdown
|
||||||
"yamlls", -- YAML
|
"yamlls", -- YAML
|
||||||
|
@ -48,9 +48,9 @@ models:
|
|||||||
apiKey: {{ .ollamaKey }}
|
apiKey: {{ .ollamaKey }}
|
||||||
roles:
|
roles:
|
||||||
- embed
|
- embed
|
||||||
- name: codellama:7b
|
- name: codellama:13b
|
||||||
provider: ollama
|
provider: ollama
|
||||||
model: codellama:7b
|
model: codellama:13b
|
||||||
apiBase: {{ .ollamaUrl }}
|
apiBase: {{ .ollamaUrl }}
|
||||||
apiKey: {{ .ollamaKey }}
|
apiKey: {{ .ollamaKey }}
|
||||||
- name: llama3.1-claude
|
- name: llama3.1-claude
|
||||||
|
Loading…
x
Reference in New Issue
Block a user