0
我最近采购的.vimrc我包含此功能:残破的 'ls' 的bash命令的〜/ .vimrc
33 function! InsertTabWrapper()
34 let col = col('.') - 1
35 if !col || getline('.')[col - 1] !~ '\k'
36 return "\<tab>"
37 else
38 return "\<c-p>"
39 endif
40 endfunction
41 inoremap <tab> <c-r>=InsertTabWrapper()<cr>
42 inoremap <s-tab> <c-n>
我然后在命令行现在做
source ~/.vimrc
每当我运行
$ls
我在输出中看到该函数的代码片段。
$ ls
? else? ??return <c-p
? endif?endfunction?inoremap <tab> <c-r>=InsertTabWrapper()<cr>?inoremap <s-tab> <c-n>??
Applications
Desktop
Documents
我还没有找到任何方法来清除它。谢谢!
@TessellatingHeckler我无法删除它们,并且在“?else??? return
user3740901
@TessellatingHeckler rm * return * working!我试过的gui甚至没有显示这些文件。谢谢! – user3740901
很高兴帮助:)我已经将我的意见转换为正确的答案形式,如果您想'接受'即可。 (我开始评论以防万一我完全错误的方向) – TessellatingHeckler