aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-05-03 00:59:32 +0800
committerjdhao <jdhao@hotmail.com>2022-05-03 00:59:32 +0800
commitdd3e9dd2f4d80b643acd9410991b4df33336e8a3 (patch)
tree493ca90f5851003b9219a847f94c5a3c91346e8e /after/ftplugin
parent6784a87e2696c24c7295ff48cc0ff049774e30a8 (diff)
add map to run lua file
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/lua.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/after/ftplugin/lua.vim b/after/ftplugin/lua.vim
index c629428..e41404d 100644
--- a/after/ftplugin/lua.vim
+++ b/after/ftplugin/lua.vim
@@ -6,3 +6,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> :luafile %<CR>