Default to Hack font

pull/146/head
amix 8 years ago
parent b1ffcf08ba
commit 768c72a3ed
  1. 2
      vimrcs/basic.vim
  2. 6
      vimrcs/extended.vim
  3. 2
      vimrcs/plugins_config.vim

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

@ -10,11 +10,11 @@
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Set font according to system
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")
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")
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")
set gfn=Monospace\ 11
endif

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

Loading…
Cancel
Save