Disable noisy bells
This commit is contained in:
10
.vimrc
10
.vimrc
@@ -67,6 +67,16 @@ highlight ColorColumn ctermbg=4
|
||||
filetype plugin indent on " required
|
||||
syntax on
|
||||
|
||||
" These two lines will fully disable any visual or noisy bell
|
||||
" on both windows and linux. >:)
|
||||
set noerrorbells visualbell t_vb=
|
||||
autocmd GUIEnter * set visualbell t_vb=
|
||||
|
||||
" Make indenting and unindenting in visual mode retain the selection so
|
||||
" you don't have to re-select or type gv every time.
|
||||
vnoremap > ><CR>gv
|
||||
vnoremap < <<CR>gv
|
||||
|
||||
set tabstop=4 " show existing tab with 4 spaces width
|
||||
set shiftwidth=4 " when indenting with '>', use 4 spaces width
|
||||
set expandtab " On pressing tab, insert 4 spaces
|
||||
|
||||
Reference in New Issue
Block a user