/dotfiles

Primary LanguageEmacs Lisp

dotfiles

ln -s dotfiles/spacemacs .spacemacs
ln -s dotfiles/zshrc .zshrc

spacemacs

  • emacs에서 SPC 대신 M-m

paredit mode 에서 paredit-forward-slurp-sexp 단축키가 동작하지 않을 때

  • 설정은 잘 되어 있는 것 같은데 Ctrl+->가 안먹을 때가 있다.
    • 2018-07-28 1 43 51
  • Mac OSX 를 사용하고 있다면 Mission Control의 단축키가 보통 이것으로 설정 되어있기 때문
  • Preferences > Keyboard > Shortcuts > Mission Control 에서 다음 설정을 해제

2018-07-28 1 52 48

font

brew tap caskroom/fonts && brew cask install font-source-code-pro

zsh - theme(hyperzsh)

if you're using oh-my-zsh, follow these steps to install hyperzsh:

mkdir $ZSH_CUSTOM/themes You can skip this command if the directory exists already
wget -O $ZSH_CUSTOM/themes/hyperzsh.zsh-theme https://raw.githubusercontent.com/tylerreckart/hyperzsh/master/hyperzsh.zsh-theme
vim ~/.zshrc
Set ZSH_THEME="current_theme" to ZSH_THEME="hyperzsh"

hyperzsh theme prompt 수정하기

  • .oh-my-zsh/custom/themes/hyperzsh.zsh-theme
  • 다음부분을 추가해서 PROMPT를 대체
PROMPT='$(_python_venv)%{$fg[cyan]%}%c $(git_prompt_info)%{$reset_color%}%{$fg[magenta]%}$(_git_time_since_commit)$(git_prompt_status)${_return_status}➜ '