上一页 1 2 3 4 5 6 ··· 42 下一页

2021年3月31日

VIM 字符串的数量 :%s/yes//gn

摘要: :%s/yes//gn 阅读全文

posted @ 2021-03-31 13:50 liujx2019 阅读(182) 评论(0) 推荐(0) 编辑

2021年3月29日

How can i install ctags in centos 6.4

摘要: https://stackoverflow.com/questions/17120818/how-can-i-install-ctags-in-centos-6-4 by evan To install ctags in centos: 1) Find the package you want to 阅读全文

posted @ 2021-03-29 18:11 liujx2019 阅读(51) 评论(0) 推荐(0) 编辑

[转载] Ubuntu Vim powerline 插件

摘要: Ubuntu下安装powerline插件 孤单的演讲家 https://www.jianshu.com/p/ed0286eb54e8 2017.01.10 17:54:27字数 375阅读 2,676 一直喜欢powerline插件所带来的vim和Terminal效果。今天上午不想写专利,就抽出空闲 阅读全文

posted @ 2021-03-29 10:10 liujx2019 阅读(74) 评论(0) 推荐(0) 编辑

2021年3月26日

Vim 相关网页

摘要: https://vimjc.com/vim-powerline.html https://zhuanlan.zhihu.com/p/92121238 https://zhuanlan.zhihu.com/p/68111471 https://zhuanlan.zhihu.com/p/95032795 阅读全文

posted @ 2021-03-26 10:03 liujx2019 阅读(42) 评论(0) 推荐(0) 编辑

2021年3月25日

[转载] vim技巧:设置空格和Tab字符可见

摘要: vim技巧:设置空格和Tab字符可见,并自定义显示的字符颜色 霜鱼片发布于 2019-11-25 使用 Windows 下的一些 IDE(例如 Source Insight)查看代码时,可以设置空格和Tab字符可见。本篇文章介绍在 vim 中如何进行这个设置,并自定义显示的字符颜色。具体包括下面的内 阅读全文

posted @ 2021-03-25 17:44 liujx2019 阅读(2189) 评论(0) 推荐(0) 编辑

2021年3月16日

Don't trust cplusplus.com, it's crap. If any, go to cppreference.com.

摘要: 123 阅读全文

posted @ 2021-03-16 10:07 liujx2019 阅读(26) 评论(0) 推荐(0) 编辑

2021年3月11日

Vim yank only 50 lines

摘要: https://vim.fandom.com/wiki/Copy,_cut_and_paste 阅读全文

posted @ 2021-03-11 17:18 liujx2019 阅读(31) 评论(0) 推荐(0) 编辑

按进程名终止进程

摘要: 按进程名终止进程 #!/bin/bash echo "Terminate process(es) has " $1 " in name." echo "Self pid " $$ echo "Self name " $0 pids=$(ps -ef | grep $1 | grep -v grep 阅读全文

posted @ 2021-03-11 10:23 liujx2019 阅读(84) 评论(0) 推荐(0) 编辑

2021年3月10日

Shell 脚本 Tips

摘要: 数组 filepath="everything mobaxterm gems" arr=($filepath) 打印某个元素 judgefile=${arr[0]} 打印全部元素 echo ${arr[@]} 循环打印每个元素 for x in ${arr[@]}; do echo $x done 阅读全文

posted @ 2021-03-10 18:51 liujx2019 阅读(38) 评论(0) 推荐(0) 编辑

Bash 脚本 逐行处理文本文件的内容

摘要: while read -r line; do echo "$line" done < /path/to/file.txt https://unix.stackexchange.com/questions/58040/what-is-the-fastest-way-to-process-line-by 阅读全文

posted @ 2021-03-10 14:31 liujx2019 阅读(192) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 42 下一页

导航