summaryrefslogtreecommitdiff
path: root/vim/vim-potion/ftplugin/potion/running.vim
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-05-29 20:27:28 +0200
committerMiguel <m.i@gmx.at>2018-05-29 20:27:28 +0200
commit68b54b0d1729cd036fcba1c85f85ad4af6e9e3dc (patch)
tree3d0f4e5eb1b147ae9ba193065d9c7b09f8e72f16 /vim/vim-potion/ftplugin/potion/running.vim
added vim stuff
Diffstat (limited to 'vim/vim-potion/ftplugin/potion/running.vim')
-rw-r--r--vim/vim-potion/ftplugin/potion/running.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vim-potion/ftplugin/potion/running.vim b/vim/vim-potion/ftplugin/potion/running.vim
new file mode 100644
index 0000000..d70adc0
--- /dev/null
+++ b/vim/vim-potion/ftplugin/potion/running.vim
@@ -0,0 +1,6 @@
+if !exists("g:potion_command")
+ let g:potion_command = "potion"
+endif
+
+nnoremap <buffer> <localleader>r :call potion#running#PotionCompileAndRunFile()<cr>
+nnoremap <buffer> <localleader>b :call potion#running#PotionShowBytecode()<cr>