Small clean up

This commit is contained in:
Lexi / Zoe 2021-05-28 22:33:22 +02:00
parent 5981b030c1
commit ed46c03b5a
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
9 changed files with 3 additions and 19 deletions

13
.vimrc
View file

@ -1,7 +1,3 @@
" Load pathogen
" TODO
"execute pathogen#infect()
" Visual settings
set t_Co=16
set bg=dark
@ -49,15 +45,11 @@ autocmd BufNewFile,BufRead * set formatoptions-=o
let g:clang_complete_auto=0
" Disable middle mouse button paste (in vim and gvim)
" Disable middle mouse button paste when in normal mode
map <MiddleMouse> <Nop>
map <2-MiddleMouse> <Nop>
map <3-MiddleMouse> <Nop>
map <4-MiddleMouse> <Nop>
"imap <MiddleMouse> <Nop>
"imap <2-MiddleMouse> <Nop>
"imap <3-MiddleMouse> <Nop>
"imap <4-MiddleMouse> <Nop>
" Keyboard mappings
@ -70,7 +62,7 @@ nnoremap <F3> :set number!<CR>
" If the current buffer has never been saved, it will have no name,
" call the file browser to save it, otherwise just save it.
command! -nargs=0 -bar Update if &modified
command! -nargs=0 -bar Update if &modified
\| if empty(bufname('%'))
\| browse confirm write
\| else
@ -154,4 +146,3 @@ imap <C-U> <C-O>u
map Q :qa<CR>
" Because I always type q: too fast, which opens the command history...
map q: :q