Default to Hack font
This commit is contained in:
parent
b1ffcf08ba
commit
768c72a3ed
3 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue