diff options
Diffstat (limited to 'after/ftplugin')
| -rw-r--r-- | after/ftplugin/cpp.vim | 2 | ||||
| -rw-r--r-- | after/ftplugin/python.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/after/ftplugin/cpp.vim b/after/ftplugin/cpp.vim index 7962700..4fe80ab 100644 --- a/after/ftplugin/cpp.vim +++ b/after/ftplugin/cpp.vim @@ -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> diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim index 0caca7d..f8177db 100644 --- a/after/ftplugin/python.vim +++ b/after/ftplugin/python.vim @@ -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. |
