From a9be0d0b209d91079a2e1f404cadc1e0880f4281 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 9 May 2022 22:10:35 +0800 Subject: [PATCH] add mapping to run vim script file --- after/ftplugin/vim.vim | 2 ++ 1 file changed, 2 insertions(+) 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 :source %