![](/img/trans.png)
[英]Cscope error: cscope: cannot read list size from file cscope.out
[英]cscope not working with shortcuts in .vimrc file
我试图通过在.vimrc文件中添加以下语句来为cscope使用添加快捷方式。
" cscope mappings
if has("cscope")
nmap <C-\>s :scs find s <C-R>=expand("<cword>")<CR><CR>
endif
我在vim应用程序中使用:so ~/.vimrc
来获取文件。
但是,当我单击Ctrl+\\
并且s
挂起时。 请帮忙。 我的shell是/usr/local/bin/tcsh
谢谢
奇丹巴拉姆
它挂起的原因可能是因为您没有正确按下映射。 按ctrl + \\然后按s,但是您可能按了导致挂起的ctrl + s。 要确定是否是ctrl + s是罪魁祸首,请尝试ctrl + q查看终端是否恢复,然后可以继续进行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.