diff options
Diffstat (limited to 'after/ftplugin/python.vim')
| -rw-r--r-- | after/ftplugin/python.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim new file mode 100644 index 0000000..951ff69 --- /dev/null +++ b/after/ftplugin/python.vim @@ -0,0 +1,3 @@ +" 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> |
