Update vimrc
This commit is contained in:
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>
|
||||
|
||||
Reference in New Issue
Block a user