mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
split vimrc into vimrc and gvimrc
This commit is contained in:
parent
717baa880f
commit
b4efde19bf
2 changed files with 12 additions and 14 deletions
12
gvimrc
Normal file
12
gvimrc
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
if has('autocmd')
|
||||||
|
autocmd GuiEnter * set t_vb= " Disable the visual bell
|
||||||
|
fi
|
||||||
|
|
||||||
|
" Get rid of the annoying UI
|
||||||
|
set guioptions-=t " Disable menu tear-offs
|
||||||
|
set guioptions-=T " Disable the toolbar
|
||||||
|
set guioptions-=m " Disable the menu
|
||||||
|
set guioptions-=R " Disable the (right) scrollbar
|
||||||
|
set guioptions-=r " Disable the (right) scrollbar
|
||||||
|
set guioptions-=l " Disable the (left) scrollbar
|
||||||
|
set guioptions-=L " Disable the (left) scrollbar
|
14
vimrc
14
vimrc
|
@ -44,9 +44,6 @@ set visualbell " Turn visual bell on
|
||||||
set t_vb= " Make the visual bell emit nothing
|
set t_vb= " Make the visual bell emit nothing
|
||||||
set showcmd " Show the current command
|
set showcmd " Show the current command
|
||||||
|
|
||||||
if has('autocmd')
|
|
||||||
autocmd GuiEnter * set t_vb= " Disable the visual bell in gvim
|
|
||||||
endif
|
|
||||||
" ---- Filetypes ----
|
" ---- Filetypes ----
|
||||||
if has('syntax')
|
if has('syntax')
|
||||||
syntax on
|
syntax on
|
||||||
|
@ -160,17 +157,6 @@ if has('mouse')
|
||||||
set mouse=nvi
|
set mouse=nvi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Get rid of the annoying UI
|
|
||||||
if has("gui")
|
|
||||||
set guioptions-=t " Disable menu tear-offs
|
|
||||||
set guioptions-=T " Disable the toolbar
|
|
||||||
set guioptions-=m " Disable the menu
|
|
||||||
set guioptions-=R " Disable the (right) scrollbar
|
|
||||||
set guioptions-=r " Disable the (right) scrollbar
|
|
||||||
set guioptions-=l " Disable the (left) scrollbar
|
|
||||||
set guioptions-=L " Disable the (left) scrollbar
|
|
||||||
endif
|
|
||||||
|
|
||||||
if has('autocmd')
|
if has('autocmd')
|
||||||
" unhighlight search when idle
|
" unhighlight search when idle
|
||||||
autocmd CursorHold * nohls | redraw
|
autocmd CursorHold * nohls | redraw
|
||||||
|
|
Loading…
Add table
Reference in a new issue