摘要: vim缩进命令设置set ts=2 || ts(tabstop)编辑时一个TAB字符占多少个空格的位置set sw=2 || sw(shitfwidth)使用每层缩进的空格数set si || si(smartindent)一种自动缩进的方式引用网址http://linux-wiki.cn/wiki/zh-hans/Vim%E4%BB%A3%E7%A0%81%E7%BC%A9%E8%BF%9B%E8%AE%BE%E7%BD%AE 阅读全文
posted @ 2013-07-23 14:04 popping 阅读(238) 评论(0) 推荐(0) 编辑
摘要: move-item命令(缩写为mv,mi)这个命令是用来把对象从一个地方移到另一个地方主要的参数有两个,-path是对象所在的路径,-destination是目标路径mv -path *.txt,*.log -Destination .\add_content 是把当前文件夹中的txt文件和log文件全部移到add_content这个文件夹中 阅读全文
posted @ 2013-07-23 13:32 popping 阅读(2479) 评论(0) 推荐(0) 编辑
摘要: add-content命令,主要是向文件中添加内容主要参数有两个,-path用来指定路径,-value用来指定要添加的内容,暂时只知道这两个参数下面是例子add-content -path *.txt -exclude help* -value "END" 这个命令是向在当前目录的所有txt文件添加"END"这个内容,但是以help开关的txt文件除外,-exclude 用来排除不符合要求的文件add-content -Path file1.log, file2.log -Value (get-date) -passthru 这个命令是向fiel1.lo 阅读全文
posted @ 2013-07-23 11:24 popping 阅读(1258) 评论(0) 推荐(0) 编辑
摘要: 打开计算器命令是win+r 然后输入 calc 阅读全文
posted @ 2013-07-23 09:43 popping 阅读(98) 评论(0) 推荐(0) 编辑