Remove gvim configuration
This commit is contained in:
parent
5ecfd698c4
commit
08691ae356
1 changed files with 0 additions and 25 deletions
25
gvimrc
25
gvimrc
|
@ -1,25 +0,0 @@
|
|||
set guioptions-=T
|
||||
set guioptions-=m
|
||||
set guioptions-=e
|
||||
|
||||
set cursorline " Highlight cursor line
|
||||
|
||||
if has("unix")
|
||||
let g:font_temp="\\\\\\@<! \\zs\\d\\+"
|
||||
elseif has("win32")
|
||||
let g:font_temp=".*:h\\zs\\d\\+"
|
||||
set linespace=0
|
||||
end
|
||||
let s:fontsize = match(&guifont, "")
|
||||
|
||||
function! SetFontSize(size)
|
||||
if exists("g:font_temp")
|
||||
let &guifont=substitute(&guifont, g:font_temp, a:size, "g")
|
||||
end
|
||||
endfun
|
||||
|
||||
" Override using ranger for picking files
|
||||
nnoremap <leader><space> :e %:p:h<CR>
|
||||
|
||||
command! -nargs=1 SetFontSize call SetFontSize(<f-args>)
|
||||
command! ResetFontSize call SetFontSize(s:fontsize)
|
Loading…
Reference in a new issue