Update vimrc
This commit is contained in:
parent
a15a8628b3
commit
9f3801bb97
6
vimrc
6
vimrc
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue