1
0
Fork 0
mirror of synced 2024-12-21 22:41:06 -05:00

Default to Hack font

This commit is contained in:
amix 2015-12-08 10:19:59 -03:00
parent b1ffcf08ba
commit 768c72a3ed
3 changed files with 5 additions and 5 deletions

View file

@ -229,7 +229,7 @@ map <C-h> <C-W>h
map <C-l> <C-W>l map <C-l> <C-W>l
" Close the current buffer " Close the current buffer
map <leader>bd :Bclose<cr> map <leader>bd :Bclose<cr>:tabclose<cr>gT
" Close all the buffers " Close all the buffers
map <leader>ba :bufdo bd<cr> map <leader>ba :bufdo bd<cr>

View file

@ -10,11 +10,11 @@
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Set font according to system " Set font according to system
if has("mac") || has("macunix") if has("mac") || has("macunix")
set gfn=Source\ Code\ Pro:h15,Menlo:h15 set gfn=Hack:h14,Source\ Code\ Pro:h15,Menlo:h15
elseif has("win16") || has("win32") elseif has("win16") || has("win32")
set gfn=Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11 set gfn=Hack:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
elseif has("linux") elseif has("linux")
set gfn=Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11 set gfn=Hack:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
elseif has("unix") elseif has("unix")
set gfn=Monospace\ 11 set gfn=Monospace\ 11
endif endif

View file

@ -122,7 +122,7 @@ let g:syntastic_javascript_checkers = ['jshint']
" Custom CoffeeScript SyntasticCheck " Custom CoffeeScript SyntasticCheck
func! SyntasticCheckCoffeescript() func! SyntasticCheckCoffeescript()
let l:filename = substitute(expand("%:p"), '\(\w\+\)\.coffee', '.coffee.\1.js', '') let l:filename = substitute(expand("%:p"), '\(\w\+\)\.coffee', '.coffee.\1.js', '')
execute "e " . l:filename execute "tabedit " . l:filename
execute "SyntasticCheck" execute "SyntasticCheck"
execute "Errors" execute "Errors"
endfunc endfunc