如图,怎么自动补全括号
vim吧
全部回复
仅看楼主
level 5
如图,怎么自动补全括号
2020年12月08日 15点12分 1
level 2
用auto pairs插件,这个感觉是最好用的
2020年12月26日 04点12分 2
auto pairs和coc.nvim的<cr>绑定冲突
2021年08月19日 02点08分
level 12
inoremap ( () " [滑稽][滑稽][滑稽]
2021年02月01日 14点02分 3
level 1
inoremap () ()<Left>
inoremap [] []<Left>
inoremap {} {}<Left>
inoremap ) <c-r>=ClosePair(')')<CR>
inoremap ] <c-r>=ClosePair(']')<CR>
inoremap } <c-r>=ClosePair('}')<CR>
function! ClosePair(char)
if getline('.')[col('.')-1]==a:char
return "\<Right>"
else
return a:char
endif
endfunction
2021年04月10日 06点04分 4
哥们。这个function函数从哪里学的,有教程吗
2021年06月05日 16点06分
@年年有于good 【手把手教你开发Neovim(Vim)插件—无废话系列之最强文本编辑器应该这么学-哔哩哔哩】https://b23.tv/kvFg4Y
2021年07月28日 00点07分
level 3
一个xbow解决所有问题
2022年03月12日 17点03分 5
1