1. [命令]:cat [功能说明]: concatenate files and print on the standard output #连接文件并打印到标准输出,有标准输出的都可以用重定向定向导入到文件里面 [语法格式]: cat [OPTION]...[FILE]... [选项参数]: 参数 说明 简解 -b,--number-nonblank number nonempty output lines 非空输出行编号 -n,--number number all outputnline
1. make your own format file at your project's root or file's folder. (The clang-format will automatically use the latest format file to format your code) vim .clang-format IndentWidth: 8 UseTab: Always BreakBeforeBraces: Linux AllowShortIfStatements
我们都知道 Vim 和 Emacs 都是文本编辑器中的上古神器,你也许用 ctags,cscopes 配合 Vim 完成过大型 C 或者 C++ 的开发,你也许配合过其他插件,完成过 JavaScript,python 代码的开发,但是很少有人试过 iOS app 的开发吧,毕竟 iOS 的框架包含了很多东西,以及 Objective-C 天生很长的 API 名字,让我们没办法把此神器用起来,今天我就来给大家讲下我是怎么使用 Vim 开发 iOS App 的,当然 Emacs 也可以 begin