当我尝试从git中取出时,我收到以下错误.
$ git pull origin master
key_from_blob: remaining bytes in key blob 266
key_read: type mismatch: encoding error
From github.com:mea36/duca2011/group5
* branch master -> FETCH_HEAD
Already up-to-date
Run Code Online (Sandbox Code Playgroud)
但我的代码没有更新.
有什么建议?
我正在编写一个功能类似于按键*但不移动光标的函数。设置当前搜索模式很简单:
let @/='...'
Run Code Online (Sandbox Code Playgroud)
所以n甚至N按//预期工作。而且*还向搜索历史记录添加了一个条目。我想出的最好的办法是:
silent! normal! q/"/p
Run Code Online (Sandbox Code Playgroud)
但这会短暂打开搜索历史记录窗口,当我触发该功能时,这会导致难看的闪烁。有没有更好的办法?