Skip to content

mpalmujoki/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This is a collection of my personal OS X settings. Feel free to use them in any way you like. The git-prompt.sh is under the viral GNU GPL license, but the rest of this stuff can be used more freely than that. You don't have to contribute your changes back to me if you don't like, but you are certainly welcome to submit PR:s if you find things you can improve on here.

Quick-start to get some of the important stuff running.

  1. Install iTerm 2 (a good terminal app for OS X)
  2. mkdir git && cd git
  3. git clone [email protected]:perlun/dotfiles.git
  4. Edit/create ~/.bash_profile to include . ~/git/dotfiles/bash_profile. Restart the shell to make changes take effect.
  5. Install Homebrew: http://brew.sh/ (a package manager that easily lets go you get command-line stuff you need)
  6. brew install git (to get a more recent one than Apple provides)
  7. brew install coreutils findutils (to get a more GNUish userland)
  8. brew install nodejs
  9. \curl -sSL https://get.rvm.io | bash -s stable (to be able to not have to touch the system-wide Ruby, but use RVM instead)
  10. npm install -g ember-cli
  11. npm install -g bower

Some highly recommended tools

  • Atom: One of the better text editors nowadays. Has matured quite a lot recently and is ready for broad usage.
  • Spectacle: This one is nice since it will give you shortcuts for moving a window to use the "left half" or "right half" of the screen, and similar. I use this all the time to be able to run four programs on two monitors, giving them 50% each. :)
  • Karabiner: This is an incredibly useful tool if you're coming from a PC background, used to a "traditional" PC laptop keyboard. The Apple choices for the key placements are simply quite horrible, if you ask me. Not one single modifier key (Control, Fn, Option, Cmd etc) is on the same place as on my other PC keyboard, so some remapping is simply necessary to retain my mental health. From the same author you can also install Seil if you wanto use Caps Lock for e.g. switching from one keyboard layout to another.
  • Mou: Markdown-editor which works quite well, and has a nice preview pane also.
  • Parallels: A great virtualization app, to be able to run Windows 10, Visual Studio, etc.
  • ScrollReverser: "Natural scrolling" is already supported by OS X, but if you only want to use it for the trackpad but not external mice, this is a great help.

Stuff I don't use so much any more

  • SourceTree: Graphical git and hg (Mercurial) client. Developed by Atlassian, the company who provides the Bitbucket hosted Mercurial/Git services. I'm using this less and less now, preferring command line instead.
  • Sublime Text: Text editor. Use Atom instead these days.

Not for the faint-hearted

If you are like me, you sometimes feel like trying out new things. Because of a need I've seen at work, and as a little learning experiment as well, I decided to do my own keyboard map using a nice tool kalled Ukelele. It is basically a "US layout but with support for åäö" (characters commonly used when communicating in Swedish or Finnish). The keymap aims to provide the best of both worlds: US layout for programming stuff (like []{};':"`) but still being able to communicate with people in my native language, without resorting to feeble options like aao.

You can find the keymap in this repo, in the US-with-Swedish.keylayout file. For detailed instructions on how to use it, please refer to this link.

(Note: I didn't copy the file to either of the recommended locations; instead, I symlinked it to /Library/Keyboard Layouts.)

Eventually, I skipped this one and use a plain US layout instead. I've set up my Caps Lock key as a fast-switcher between US and Swedish keyboard

About

My .dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%