Fork me on GitHub
摘要: |-after |—ftplugin |—syntax |-autoload |-colors |-compiler |-doc |-ftplugin |—latex-suite |—–dictionaries |—–macros |—–packages |—–templates |—python 阅读全文
posted @ 2023-02-20 18:46 Cloudhan 阅读(386) 评论(0) 推荐(0)
摘要: Ctrl+X # 进入补全模式 Ctrl+X Ctrl+L # 整行补全 Ctrl+X Ctrl+N # 插入模式下,根据当前文件里关键字补全 Ctrl+X Ctrl+K # 根据字典补全 Ctrl+X Ctrl+T # 根据同义词字典补全 Ctrl+X Ctrl+F # 插入模式下补全文件名 Ct 阅读全文
posted @ 2023-02-09 16:01 Cloudhan 阅读(51) 评论(0) 推荐(0)
摘要: 两个命令行工具 项目地址: cheat: | https://github.com/cheat/cheat/blob/master/doc/cheat.1.md bro: | http://bropages.org/ 阅读全文
posted @ 2023-02-07 15:43 Cloudhan 阅读(26) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/Arunoido/p/10753873.html 摘抄自:http://t.zoukankan.com/intelwisd-p-7928852.html 1.嵌套: <TAB>+, # <TAB>+, 的组合键,相当于Ememet中的Tab键。 阅读全文
posted @ 2023-02-01 17:07 Cloudhan 阅读(187) 评论(0) 推荐(0)
摘要: 1. neoformat :Neoformat,输入命令之后按 空格+tab 键进行选择格式化的程序, 项目地址:https://github.com/sbdchd/neoformat 2. vim-multiple-cursors 选中任意文本后,使用 Ctrl+n 和 Ctrl+p 找到下一个匹 阅读全文
posted @ 2023-02-01 11:07 Cloudhan 阅读(327) 评论(0) 推荐(0)
摘要: rvm gemset切换: rvm use 2.7.0@jekyll rvm use 2.7.0@rails blog 推送的操作: github master 已经换成了 main git checkout -b gh-pages git add . git commit -m "sailing 阅读全文
posted @ 2023-01-31 15:03 Cloudhan 阅读(26) 评论(0) 推荐(0)
摘要: https://ruby-china.org/topics/4478/ https://github.com/tpope/vim-rails :R ,:A | * Current file | Alternate file | Related file | | | | | | * model | u 阅读全文
posted @ 2023-01-30 18:12 Cloudhan 阅读(30) 评论(0) 推荐(0)
摘要: 安装 curl -sS https://webinstall.dev/zoxide | bash export PATH="/home/$USER/.local/bin:$PATH" zoxide -V 在.bashrc文件最后添加: eval "$(zoxide init bash)" sourc 阅读全文
posted @ 2023-01-27 17:06 Cloudhan 阅读(489) 评论(0) 推荐(0)
摘要: 在文件夹中递归搜索关键词: ag keyword /path/to/ 关键词用法实际上接收一个正则: 或 ag '关键词1|关键词2' 字面匹配: ag -Q `.`关键词 全词匹配: ag -w 关键词 ^,$匹配某一类文件名的关键词 ag -G rb$ 关键词 进一步过滤 ag -G rb$ 关 阅读全文
posted @ 2023-01-27 10:01 Cloudhan 阅读(530) 评论(0) 推荐(0)
摘要: 在windows下使用pwsh vim时候按快捷键或按错键都会发出“叮叮叮”的提示音,只需要在 .vimrc中加入下面两行即可 关闭各种按键叮叮声音和闪屏 set vb t_vb= au GuiEnter * set t_vb= GuiEnter这一行为关闭闪屏,因为关闭声音后,vim会用闪屏提示, 阅读全文
posted @ 2023-01-27 01:06 Cloudhan 阅读(92) 评论(0) 推荐(0)