This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " gui settings | |
| set noanti guifont=Monaco:h10 | |
| set transparency=0 | |
| colorscheme macvim | |
| set background=dark | |
| " no toolbar in guimode | |
| set guioptions-=T | |
| if has("gui_macvim") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if has('gui_macvim') | |
| set showtabline=2 " タブを常に表示 | |
| set imdisable " IMを無効化 | |
| set transparency=10 " 透明度を指定 | |
| set antialias | |
| set guifont=Monaco:h14 | |
| colorscheme macvim | |
| endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MacVim + latexmk + Skim workflow: | |
| MacVim http://code.google.com/p/macvim/ | |
| Latexmk http://www.phys.psu.edu/~collins/software/latexmk-jcc/ | |
| Skim.app http://skim-app.sourceforge.net/ | |
| Open the texfile in macvim: | |
| $ mvim <file>.tex | |
| Watch tex file with latexmk (see also ~/.dotfiles/latexmkrc): | |
| $ latexmk -pdf -pvc <file>.tex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set :user, 'vagrant' | |
| set :run_method, :sudo | |
| role :app, '33.33.33.10' | |
| ssh_options[:keys] = `vagrant ssh_config | grep IdentityFile`.split.last |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on run {input, parameters} | |
| repeat with i in input | |
| tell application "MacVim" | |
| open (POSIX path of i) | |
| end tell | |
| end repeat | |
| tell application "MacVim" | |
| activate | |
| end tell | |
| return input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| perl: warning: Setting locale failed. | |
| perl: warning: Please check that your locale settings: | |
| LANGUAGE = (unset), | |
| LC_ALL = (unset), | |
| LC_CTYPE = "UTF-8", | |
| LANG = "en_US.UTF-8" | |
| are supported and installed on your system. | |
| perl: warning: Falling back to the standard locale ("C"). | |
| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # pre-commit git hook | |
| # will run rspec if and only if current branch is master | |
| # script adapted from http://book.git-scm.com/5_git_hooks.html | |
| # source : https://gist.github.com/1141992 | |
| NO_COMMIT_MESSAGE = "\aDID NOT COMMIT YOUR FILES!" | |
| FORMAT = :html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| newpg=9.6.1 # set to new PG version number | |
| oldpg=`pg_config --version | cut -d' ' -f2` | |
| # PG 96. upgrades the readline to v7, which breaks anything linked against readline v6, like ruby via ruby-build. | |
| # I *think* this should prevent it from installing v7. But if weird shit happens with various rubies, | |
| # you'll have to reinstall them. | |
| brew pin readline | |
| # Stop current Postgres server | |
| brew services stop postgresql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://wiredupandfiredup.blogspot.com.es/2008/09/pimp-your-macvim.html | |
| http://spf13.com/post/perfect-vimrc-vim-config-file/ | |
| https://github.com/altercation/vim-colors-solarized | |
| https://wincent.com/products/command-t | |
| http://superuser.com/questions/247678/installing-command-t-breaks-macvim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Self | |
| .gitignore | |
| # Mac OS X | |
| .DS_Store | |
| # LaTeX | |
| *.acn | |
| *.acr | |
| *.alg |
OlderNewer