Compare commits
4 Commits
8f5c7f88aa
...
8dfa99fc46
Author | SHA1 | Date | |
---|---|---|---|
8dfa99fc46 | |||
e795349316 | |||
c21a501d34 | |||
e06012b907 |
@ -75,6 +75,7 @@ apt_13 = [
|
||||
'eza',
|
||||
'neovim',
|
||||
'tree-sitter-cli',
|
||||
'python3-ollama',
|
||||
'lazygit',
|
||||
]
|
||||
|
||||
|
@ -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 })
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user