Remove gvim configuration

This commit is contained in:
Talia 2024-03-07 16:49:04 +01:00
parent 5ecfd698c4
commit 08691ae356

25
gvimrc
View file

@ -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)