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

Remove mappings for Python filetype.

Use quickrun to execute Python source files.
This commit is contained in:
jdhao 2019-11-14 15:18:21 +08:00 committed by GitHub
parent 86284f79c1
commit f3f073d6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1 @@
" Automatically save current file and execute it when pressing the <F9> key
" it is useful for small script
nnoremap <buffer> <F9> :execute 'w !python' shellescape(@%, 1)<CR>