writing

An OSX Getting-Started Notebook for Windows ProgrammersWindows 程序猿的 OSX 入门笔记

· Development notes

Translated from Chinese — .

On this page

macbook pro

In early October 2014, I bought a MacBook Pro and the book “MacTalk: Life and Meta-Programming”. From then on, a C++ programmer who had been hauling bricks under Windows for 5 years accidentally stepped into the world of OSX.

A Few Bits of Common Sense

  • Power button (the button at the very top-right of the keyboard)
  • Finder (corresponds to Windows Explorer — that’s the name of the file manager)
  • Command (corresponds to the Windows key on the Windows system)
  • Option (corresponds to the Alt key on Windows)
  • Trackpad gestures (click the Apple in the top-left corner, System Preferences, Trackpad — there are animated demos here)
  • img files (Mac installers, similar to Windows portable apps, similar to Windows iso files)
  • Fullscreen and maximize (there’s no maximize, only fullscreen. Or rather, fullscreen and maximize are similar)
  • Command-Tab to switch between different programs
  • Control-Tab to switch within the same program

Starting from One Article

Article URL: Mac Dev Setup Manual

GitHub URL

After reading it, you’ll have gotten started with the Mac.

iTerm2’s monokai Theme

I rather like the monokai theme, which can be found here. https://github.com/mbadolato/iTerm2-Color-Schemes

Open the link below, download the Raw, and you can import it into iTerm2's Colors.
<https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/schemes/Monokai%20Soda.itermcolors>

zsh

cd ~
vim .zshrc

For example:

alias e="emacs"
文章目录

macbook pro

2014年10月初,买了macbook pro和《MacTalk人生元编程》,从此一位在Windows下搬了5年砖的C++程序猿不小心跨入了OSX的世界。

几个小常识

  • 开机按钮(键盘最右上角的按钮)
  • Finder(对应Windows的资源管理器,就是资源管理器的名字)
  • Command(对应Windows系统的Windows键)
  • Option(对应Windows的Alt键)
  • 触摸板手势(点击左上角的苹果,系统偏好设置,触摸板,这里有动画演示)
  • img文件(mac的安装程序,类似Windows的绿色软件,类似Windows的iso文件)
  • 全屏与最大化(没有最大化,只有全屏。或者说全屏与最大化类似)
  • Command-Tab 不同程序间切换
  • Control—Tab同程序间切换

从一篇文章开始

文章地址:Mac开发配置手册

github地址

看完后,Mac就入门啦。

iTerm2的monokai主题

比较喜欢monokai主题,可以在这里面找到。 https://github.com/mbadolato/iTerm2-Color-Schemes

打开下面的链接,下载Raw,就可以导入iTerm2的Colors里了。
<https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/schemes/Monokai%20Soda.itermcolors>

zsh

cd ~
vim .zshrc

例如:

alias e="emacs"