diff options
author | Teddy Wing | 2015-09-13 16:00:45 -0400 |
---|---|---|
committer | Teddy Wing | 2015-09-13 16:00:45 -0400 |
commit | 59e8032b2b31dc06c60842bbf975effec6820958 (patch) | |
tree | c4e57bf359a75628ac7ffab9fe02a29989f4c61c | |
download | vim-grappele-59e8032b2b31dc06c60842bbf975effec6820958.tar.bz2 |
Initial commit. Project setup.
* Basic setup for the plugin:
* `loaded` global
* Create mapping definition based on style from tpope and System
Copy
* Create dummy function in autoload
-rw-r--r-- | autoload/grappele.vim | 2 | ||||
-rw-r--r-- | plugin/grappele.vim | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/autoload/grappele.vim b/autoload/grappele.vim new file mode 100644 index 0000000..d2401a4 --- /dev/null +++ b/autoload/grappele.vim @@ -0,0 +1,2 @@ +function! grappele#Grappele() +endfunction 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 |