昨天在 Mac 上手写了一个最简单的 ASP.NET 5 程序,直接在 Startup.cs 中通过 Response.WriteAsync() 输出响应内容,详见 .NET跨平台:在Mac上跟着错误信息一步一步手写ASP.NET 5程序. 今天接着昨天的代码,用 vim 一步一步手写一个最简单的 ASP.NET 5 MVC 程序. 先创建 Controllers 文件夹: mkdir Controllers && cd $_ 接着创建 HomeController.cs 文件: vi H
为什么用Vim 重新调配vim,追求尽量简单些. 安装 官网下载 PC: MS-DOS and MS-Windows下的 For modern MS-Windows systems (starting with XP) you can simply use the executable installer:gvim80.exe 双击执行,放到合适的目录. 不过这个貌似是没有编译的,有些插件不能完全用,最好再在github这里下载gvim_8.0.1763_x64.zip解压到原来安装好的目录里去
---恢复内容开始--- cd <directory> Short for "change directory". The shorthand name for the current directory is . The shorthand name for the parent directory is .. pwd present working directory ls list the contents of the present directory mkdi