Sync files with terezi (adds 1 tmp file)

vim: map q: to :q
This commit is contained in:
Lexi / Zoe 2019-01-09 22:29:16 +01:00
parent b525a4cc0d
commit 5c7f1a669f
4 changed files with 31 additions and 14 deletions

9
.vimrc
View file

@ -103,7 +103,7 @@ nnoremap <Leader>9 :9b<CR>
nnoremap <Leader>0 :10b<CR>
" Compiling and making
nnoremap <F9> :w<CR>:make<CR>:redraw!\|cw<CR>
nnoremap <F9> :up<CR>:make<CR>:redraw! \| cw<CR>
nnoremap <F10> :up<CR>:make run<CR>:redraw! \| cw<CR>
" Tab buffers
@ -125,7 +125,6 @@ inoremap <A-j> <C-o>j
inoremap <A-k> <C-o>k
inoremap <A-l> <C-o>l
" Copy and to X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode)
vmap <C-C> "+y
imap <C-V> <C-\><C-O>"+P
@ -135,8 +134,6 @@ imap <C-U> <C-O>u
" Quick exit
map Q :qa<CR>
" Quick navigation to next buffer
" TODO?
"map <F2> :n<CR>
" Because I always type q: too fast, which opens the command history...
map q: :q