Update vimrc

This commit is contained in:
Thomas FORGIONE 2017-06-26 16:42:33 +02:00
parent a15a8628b3
commit 9f3801bb97
No known key found for this signature in database
GPG Key ID: C75CD416BD1FFCE1
1 changed files with 3 additions and 3 deletions

6
vimrc
View File

@ -66,9 +66,9 @@ set listchars=tab:,trail:·,extends:>,precedes:<,nbsp:¬
" Remove trailing spaces
autocmd BufWritePre * :%s/\s\+$//e
" Compile on F12
nnoremap <silent><F12> :wa \| !make-client.sh<CR>
inoremap <silent><F12> <C-O>:wa \|!make-client.sh<CR>
vnoremap <silent><F12> :wa \|!make-client.sh<CR>
nnoremap <silent><F12> :wa \| !make-client.py<CR>
inoremap <silent><F12> <C-O>:wa \|!make-client.py<CR>
vnoremap <silent><F12> :wa \|!make-client.py<CR>
" Escape on F1
map <F1> <Esc>
imap <F1> <Esc>