aboutsummaryrefslogtreecommitdiffstats
path: root/after/ftplugin/gdscript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/gdscript.vim')
-rw-r--r--after/ftplugin/gdscript.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/after/ftplugin/gdscript.vim b/after/ftplugin/gdscript.vim
new file mode 100644
index 0000000..40b0174
--- /dev/null
+++ b/after/ftplugin/gdscript.vim
@@ -0,0 +1,8 @@
+setlocal foldmethod=expr
+setlocal tabstop=4
+setlocal shiftwidth=4
+setlocal noexpandtab
+nnoremap <buffer> <F4> :GodotRunLast<CR>
+nnoremap <buffer> <F5> :GodotRun<CR>
+nnoremap <buffer> <F6> :GodotRunCurrent<CR>
+nnoremap <buffer> <F7> :GodotRunFZF<CR>