From 29a1471c0a6cf2c68bced2b2135c52a46efeb488 Mon Sep 17 00:00:00 2001 From: Vivianne Langdon Date: Tue, 12 Oct 2021 22:58:11 -0700 Subject: [PATCH] Add template and cross-platify more stuff --- init.vim | 4 ++-- local.vim.template | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 local.vim.template diff --git a/init.vim b/init.vim index 2ce0351..567c32a 100644 --- a/init.vim +++ b/init.vim @@ -3,7 +3,7 @@ let $SCR_PLUGINS = $CONFIG . '/lua/plugins.lua' let $SCR_INIT = $CONFIG . '/init.vim' if has('win32') - source $VIMRUNTIME\mswin.vim + source $VIMRUNTIME/mswin.vim endif set termguicolors @@ -106,4 +106,4 @@ let g:lt_location_list_toggle_map = 'l' let g:lt_quickfix_list_toggle_map = 'q' " machine-specific settings -source $CONFIG\local.vim +source $CONFIG/local.vim diff --git a/local.vim.template b/local.vim.template new file mode 100644 index 0000000..9d839d0 --- /dev/null +++ b/local.vim.template @@ -0,0 +1,3 @@ +-- Edit this as needed for your local config. +let g:wiki_root = $HOME . '/wiki' +-- let g:godot_executable = 'SOME_PATH'