aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/python.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-11-26 21:13:07 +0800
committerjdhao <jdhao@hotmail.com>2020-11-26 21:13:07 +0800
commit42751cb1dd9cff3090a7552926eb8871e83e3c14 (patch)
tree0d33dee580d111f06d456551940f0ef717b72f07 /after/ftplugin/python.vim
parent113996452cf5b5a84c39d1c73122cabda9041d7c (diff)
make mapping buffer local
Diffstat (limited to 'after/ftplugin/python.vim')
-rw-r--r--after/ftplugin/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim
index f8177db..def7141 100644
--- a/after/ftplugin/python.vim
+++ b/after/ftplugin/python.vim
@@ -1,5 +1,5 @@
if exists(':AsyncRun')
- nnoremap <silent> <F9> :<C-U>AsyncRun python -u "%"<CR>
+ nnoremap <buffer><silent> <F9> :<C-U>AsyncRun python -u "%"<CR>
endif
" Do not wrap Python source code.