aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-05-09 22:10:35 +0800
committerjdhao <jdhao@hotmail.com>2022-05-09 22:10:35 +0800
commita9be0d0b209d91079a2e1f404cadc1e0880f4281 (patch)
tree324295fefe789bc37f73f5c96909709c095c5c95 /after/ftplugin
parent13111596b8146d4885ddc0db3fc0bc579c3c0b13 (diff)
add mapping to run vim script file
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/vim.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim
index fba721e..77022da 100644
--- a/after/ftplugin/vim.vim
+++ b/after/ftplugin/vim.vim
@@ -16,3 +16,5 @@ set tabstop=2 " number of visual spaces per TAB
set softtabstop=2 " number of spaces in tab when editing
set shiftwidth=2 " number of spaces to use for autoindent
set expandtab " expand tab to spaces so that tabs are spaces
+
+nnoremap <silent> <F9> :source %<CR>