aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-11-14 15:18:21 +0800
committerGitHub <noreply@github.com>2019-11-14 15:18:21 +0800
commitf3f073d6efbfc6973a0bfca2ea11ab7dfcef387e (patch)
treee5ecf83974284f9eae3afa4a90549dbee1eff111 /after
parent86284f79c13ba06b9ce58beff3352bbc884371ec (diff)
Remove mappings for Python filetype.
Use quickrun to execute Python source files.
Diffstat (limited to 'after')
-rw-r--r--after/ftplugin/python.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim
index 951ff69..8b13789 100644
--- a/after/ftplugin/python.vim
+++ b/after/ftplugin/python.vim
@@ -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>
+