1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

add <C-U> in mappings that use command where appropriate

This commit is contained in:
jdhao
2020-10-19 22:59:27 +08:00
parent bb242b7699
commit d06770efef
4 changed files with 33 additions and 33 deletions

View File

@@ -1 +1 @@
nnoremap <F9> :w <CR> :!g++ -Wall -std=c++11 % -o %<&&./%<<CR>
nnoremap <F9> :<C-U>w <CR> :!g++ -Wall -std=c++11 % -o %<&&./%<<CR>

View File

@@ -1,5 +1,5 @@
if exists(':AsyncRun')
nnoremap <silent> <F9> :AsyncRun python -u "%"<CR>
nnoremap <silent> <F9> :<C-U>AsyncRun python -u "%"<CR>
endif
" Do not wrap Python source code.