My Mac OS X setup manual.
- 1. Executable
sudo
without password.(usingsudo
into setup.sh) - 2. privilege
- 3. Install Homebrew
- 4. clone dotfiles
- 5. Kick
setup.sh
(Homebrew required) - 6. Install Vim plugins
- 7. Install Nodebrew
- Extra. Any Manual Tasks
$ sudo visudo
Password:
# User privilege specification
root ALL=(ALL) ALL
%admin ALL=(ALL) ALL
ryota.murakami ALL=(ALL) NOPASSWD: ALL
:wq
sudo chown -R ryota.murakami /usr/local
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
cd ~
[email protected]:ryota-murakami/dotfiles.git
5. Kick setup.sh
(Homebrew required)
cd dotfiles
./setup.sh
what's doing in setup.sh
- generate dotfile symboliclinks at home directory.
- install all homebrew packages in Brewfile.
- setting fish-shell as a login shell.
- re-open terminal to activation.
- initialize git submodule.
- in order to neobundle.vim.
open .vimrc
, execute folllowing.
:NeoBundleInstall
defined installed pulugins at .vimrc
.
git
call neobundle#begin(expand('~/.vim/bundle'))
NeoBundle 'editorconfig/editorconfig-vim'
~
call neobundle#end()
nodebrew is not provided by homebrew, therefore you have to setup along to the README. https://github.com/hokaccha/nodebrew
- change
¥
to\
at OS X system config - install karabiner-elements
- system prefefences > hidden dock
- system prefefences > - to dark OS menu-bar & dock
- terminal.app -> Preference -> Profiles -> Keybord -> ✔︎ Use Option as Meta Key
- system prefefences > keybord > Shorcuts > MIsson Control > Show Notification Center
${F2}
- System Preferences > Keybord > App Shortcut > Google Chrome.app > press + button of window bottom > type "Developer Tools" and set
^O
as a shortcut - System Preferences > Keybord > App Shortcut > Others > type action "Log Out ryota..." > set
cmd + option + q
as shortcut- OSX default shortcut
cmd + option + q
of "Log Out ryota..." is conflict my custom editor's "close project" shortcut - See: https://apple.stackexchange.com/questions/210517/disable-shift-cmd-q-for-logout
- OSX default shortcut
- Set
Unicode Hex Input
as a input soruce to remove all option key combination - Remove
cmd + shift + r
shortcut from Be Focus Pro