You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Vim-ripgrep-quickfix-netrw-nmap-autocmd-wincmd-%E5%A4%A7%E6%9D%82%E7%83%A9/
啊,这篇文章就随意一点吧,就意识流地写吧(虽然一直都是这样子),记录一下最近搞 Neovim 的心得
👉 https://segmentfault.com/q/1010000040349668
如果我们想在当前行内快速移动,可以使用f, t, F, T命令
“f"命令移动到光标右边的指定字符上,例如,“fx”,会把移动到光标右边的第一个’x’字符上,“F"命令则反方向查找,也就是移动到光标左边的指定字符上
“t"命令和"f"命令的区别在于,它移动到光标右边的指定字符之前,例如,“tx"会移动到光标右边第一个’x’字符的前面,“T"命令是"t"命令的反向版本,它移动到光标左边的指定字符之后
这四个命令只在当前行中移动光标,光标不会跨越回车换行符
可以在命令前面使用数字,表示倍数,例如,“3fx"表示移动到光标右边的第3个’x’字符上
“;“命令重复前一次输入的f, t, F, T命令,而”,“命令会反方向重复前一次输入的f, t, F, T命令,这两个命令前也可以使用数字来表示倍数
👉 https://www.jianshu.com/p/a46a89b460a9
使用 Vim 里面自带的 quickfix
将 rg 搜索结果切割填充到 quickfix 里面,这个部分由 Vim 自己完成,要想使用这个功能,只需要在你的 vimrc 或者 init.
https://hcy-asleep.github.io/Vim-ripgrep-quickfix-netrw-nmap-autocmd-wincmd-%E5%A4%A7%E6%9D%82%E7%83%A9/
Beta Was this translation helpful? Give feedback.
All reactions