This commit is contained in:
QQ 2023-01-19 19:11:37 +08:00
parent f249120097
commit 95cd3fcde0
5 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,4 @@
{ {
"snippets.ultisnips.pythonPrompt": false "snippets.ultisnips.pythonPrompt": false,
"coc.preferences.extensionUpdateCheck": "daily"
} }

View File

@ -1,5 +1,4 @@
{ {
"auto-pairs": { "branch": "master", "commit": "39f06b873a8449af8ff6a3eee716d3da14d63a76" },
"bullets.vim": { "branch": "master", "commit": "746f92ae05cdcc988857d8e76418326f07af9494" }, "bullets.vim": { "branch": "master", "commit": "746f92ae05cdcc988857d8e76418326f07af9494" },
"coc.nvim": { "branch": "release", "commit": "95b43f67147391cf2c69e550bd001b742781d226" }, "coc.nvim": { "branch": "release", "commit": "95b43f67147391cf2c69e550bd001b742781d226" },
"colorizer": { "branch": "master", "commit": "72790a003d5a706c287486a1a81e3a6b32158b54" }, "colorizer": { "branch": "master", "commit": "72790a003d5a706c287486a1a81e3a6b32158b54" },

View File

@ -6,6 +6,8 @@ vim.cmd([[
\ \
\ 'coc-explorer', \ 'coc-explorer',
\ 'coc-translator', \ 'coc-translator',
\ 'coc-yank',
\ 'coc-pairs',
\ ] \ ]
]]) ]])
@ -48,3 +50,5 @@ map("n", "<leader>rn", "<Plug>(coc-rename)", {silent = true})
map("x", "<leader>i", "<Plug>(coc-format-selected)", {silent = true}) map("x", "<leader>i", "<Plug>(coc-format-selected)", {silent = true})
map("n", "<leader>i", "<Plug>(coc-format-selected)", {silent = true}) map("n", "<leader>i", "<Plug>(coc-format-selected)", {silent = true})
map("n", "tt", ":CocCommand explorer<CR>", {silent = true})

View File

@ -16,10 +16,10 @@ map('n', '<c-s-k>', '5k', {noremap = true})
map('n', '<c-n>', ':nohlsearch<CR>', {noremap = true}) map('n', '<c-n>', ':nohlsearch<CR>', {noremap = true})
map('n', '<c-j>', ':w<CR><c-w>j', {noremap = true}) map('n', '<c-j>', '<c-w>j', {noremap = true})
map('n', '<c-h>', ':w<CR><c-w>h', {noremap = true}) map('n', '<c-h>', '<c-w>h', {noremap = true})
map('n', '<c-k>', ':w<CR><c-w>k', {noremap = true}) map('n', '<c-k>', '<c-w>k', {noremap = true})
map('n', '<c-l>', ':w<CR><c-w>l', {noremap = true}) map('n', '<c-l>', '<c-w>l', {noremap = true})
map('n', '<c-c>', ':wq<CR>', {noremap = true}) map('n', '<c-c>', ':wq<CR>', {noremap = true})

View File

@ -17,8 +17,8 @@ require("lazy").setup({
'vim-airline/vim-airline', 'vim-airline/vim-airline',
'morhetz/gruvbox', 'morhetz/gruvbox',
-- lsp 补全
{'neoclide/coc.nvim', branch = 'release'}, {'neoclide/coc.nvim', branch = 'release'},
'jiangmiao/auto-pairs',
-- surround 和 wildfire 配合有神奇的效果 -- surround 和 wildfire 配合有神奇的效果
'yaocccc/vim-surround', 'yaocccc/vim-surround',