Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 748 Bytes
" macos
let $PATH=$PATH . ":/opt/local/bin"
set listchars=tab:▸\ ,eol:¬,extends:❯,precedes:❮
let macvim_skip_cmd_opt_movement = 1
let macvim_hig_shift_movement = 1
map <leader>b :!open -a Google\ Chrome %<CR><CR>
command! -bar -nargs=1 OpenURL :!open <args>
if has('gui_running')
set guifont=Monaco\ for\ Powerline:h15
set lines=60
set columns=200
endif
function! OpenInTerminal()
cd %:p:h
!term
endfunction
function! OpenInGhci()
cd %:p:h
!term ghci -i.. %
endfunction
function! OpenWithLua()
cd %:p:h
!term lua -i %
endfunction
let g:haddock_browser = "open"
let g:haddock_browser_callformat = "%s -a \"Google Chrome\" %s"
let g:haddock_docdir="/Library/Frameworks/GHC.framework/Versions/Current/usr/share/doc/ghc/html/"