aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorTeddy Wing2015-10-04 12:41:37 -0400
committerTeddy Wing2015-10-04 12:41:37 -0400
commit864b87d37a5c19e0445a3fb124ea154b201d5ae3 (patch)
treefd5c2f0cebd76b143f1ddbff093137871c8995ec /plugin
downloadvim-space-vlaze-864b87d37a5c19e0445a3fb124ea154b201d5ae3.tar.bz2
Initial commit. Initial menu and board state
Setup layout and structure of the code. * Add a command and map to start the game * When the game is started, prompt for game start, help, or leaderboard * Create help file template (TODO) * On game start, initialise the board with spaces and a player character * Setup buffer locals on game start * Create various functions that we'll need coming up either as stubs or filled in with what they'll probably be.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/space_vlaze.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugin/space_vlaze.vim b/plugin/space_vlaze.vim
new file mode 100644
index 0000000..257f715
--- /dev/null
+++ b/plugin/space_vlaze.vim
@@ -0,0 +1,10 @@
+if exists('g:loaded_space_vlaze')
+ finish
+endif
+let g:loaded_space_vlaze = 1
+
+
+command! SpaceVlaze call space_vlaze#Start()
+
+
+nnoremap <leader>sv :SpaceVlaze<cr>