aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/grappele.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugin/grappele.vim b/plugin/grappele.vim
new file mode 100644
index 0000000..11666e2
--- /dev/null
+++ b/plugin/grappele.vim
@@ -0,0 +1,11 @@
+if exists('g:loaded_grappele')
+ finish
+endif
+let g:loaded_grappele = 1
+
+
+nnoremap G <Plug>Grappele :<c-u>call grappele#Grappele()
+
+if !hasmapto('<Plug>Grappele') || !maparg('G', 'n')
+ nmap G <Plug>Grappele
+endif