Added line numbers. Disabled GUI menu. Made Windows GUI font smaller (11)
This commit is contained in:
parent
6bd9eda8c3
commit
c3e74cc3d8
3 changed files with 11 additions and 1 deletions
|
@ -58,6 +58,9 @@ command W w !sudo tee % > /dev/null
|
|||
" Set 7 lines to the cursor - when moving vertically using j/k
|
||||
set so=7
|
||||
|
||||
" Show line numbers
|
||||
set number
|
||||
|
||||
" Avoid garbled characters in Chinese language windows OS
|
||||
let $LANG='en'
|
||||
set langmenu=en
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
if has("mac") || has("macunix")
|
||||
set gfn=IBM\ Plex\ Mono:h14,Hack:h14,Source\ Code\ Pro:h15,Menlo:h15
|
||||
elseif has("win16") || has("win32")
|
||||
set gfn=IBM\ Plex\ Mono:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
|
||||
set gfn=IBM\ Plex\ Mono:h11,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
|
||||
elseif has("gui_gtk2")
|
||||
set gfn=IBM\ Plex\ Mono:h14,:Hack\ 14,Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11
|
||||
elseif has("linux")
|
||||
|
@ -26,6 +26,7 @@ set guioptions-=r
|
|||
set guioptions-=R
|
||||
set guioptions-=l
|
||||
set guioptions-=L
|
||||
set guioptions-=m
|
||||
|
||||
" Colorscheme
|
||||
set background=dark
|
||||
|
|
|
@ -75,3 +75,9 @@ endif
|
|||
" => Twig section
|
||||
""""""""""""""""""""""""""""""
|
||||
autocmd BufRead *.twig set syntax=html filetype=html
|
||||
|
||||
|
||||
""""""""""""""""""""""""""""""
|
||||
" => GL Shading Language
|
||||
""""""""""""""""""""""""""""""
|
||||
autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl
|
||||
|
|
Loading…
Reference in a new issue