内容:
主要是分享我在mac及linux系统下高效开发的一些心得。简单说就是如何更快速、更优雅的编程开发,ppt中较为详细的介绍了在mac下的高效软件、chrome插件、命令行工具、终端配置 (zsh、vim、快捷键)、外设等。
优雅 ? 恩,是优雅。 😅😁🤔
github pdf下载地址: (求关注) https://github.com/rfyiamcool/share_ppt/blob/master/drunbility.pdf
github访问大文件时常抽风可直接http下载。 http://xiaorui.cc/static/drunbility.pdf
重点:
高效编程的重点在于 快捷键 !!! 请一定要善用各类应用的快捷键,这对于高效开发来说很有帮助。在你常用的ide里如何快速移动、跳转、搜索、替换、编码、测试等等。
键盘的映射也建议改一下,比如一个场景,你需要移动光标来修改某个字符串,通常你需要右手挪移到键盘的右下区,然后找到方向键去进行移动。但我们知道caps_locks大小写键基本不用,所以可以把caps映射到control,再用control + hjkl映射为方向键,类似vim那样,这样调整就着实利索了很多,不至于每次方向键都抬手中断。
记住 “快捷键” !!! 😎
mac下的软件推荐
在PPT中介绍了很多可提高工作效率的软件,也许那么多工具用不上,但这几个工具大家会喜欢的,像aflred、contexts、vimac。
答疑:
有人问我hhkb的手感到底怎么样 ?值不值得买 !
我的回答是看个人喜好,单纯hhkb pro和type-s手感不会比leopold、filco这类机械键盘强,而表现的更肉。肉是什么感觉 ?你摸下 “人事小姐姐” 的 薄膜键盘,对,就是这个感觉。
那么我为啥要买? 因为我个人喜欢小键盘,然后type-s的 “唰唰” 声音也动听,没了…
如何找到这类工具和快捷键的?
首先要培养自己使用效率工具和快捷键的习惯,然后对于平时繁琐的操作要多质疑 ! 自问这玩意能不能再快点,能不能再简练点? 然后 google search 就有方案了… 仅此而已… 就看有没有这心思了…
部分截图:































总结:
要达到高效编程,最少要善用快捷键及工具链来高效编程。后面我会专门出vim的高级使用教程。