aboutsummaryrefslogtreecommitdiff
path: root/Editor/vim/plugin/DrawItPlugin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/vim/plugin/DrawItPlugin.vim')
-rw-r--r--Editor/vim/plugin/DrawItPlugin.vim76
1 files changed, 0 insertions, 76 deletions
diff --git a/Editor/vim/plugin/DrawItPlugin.vim b/Editor/vim/plugin/DrawItPlugin.vim
deleted file mode 100644
index 84333ce..0000000
--- a/Editor/vim/plugin/DrawItPlugin.vim
+++ /dev/null
@@ -1,76 +0,0 @@
-" DrawItPlugin.vim: a simple way to draw things in Vim -- just put this file in
-" your plugin directory, use \di to start (\ds to stop), and
-" just move about using the cursor keys.
-"
-" You may also use visual-block mode to select endpoints and
-" draw lines, arrows, and ellipses.
-"
-" Date: Nov 28, 2012
-" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
-" Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1
-" Permission is hereby granted to use and distribute this code,
-" with or without modifications, provided that this copyright
-" notice is copied with it. Like anything else that's free,
-" DrawIt.vim is provided *as is* and comes with no warranty
-" of any kind, either expressed or implied. By using this
-" plugin, you agree that in no event will the copyright
-" holder be liable for any damages resulting from the use
-" of this software.
-"
-" Required: this script requires Vim 7.0 (or later) {{{1
-" To Enable: simply put this plugin into your ~/.vim/plugin directory {{{2
-"
-" GetLatestVimScripts: 40 1 :AutoInstall: DrawIt.vim
-"
-" (Zeph 3:1,2 WEB) Woe to her who is rebellious and polluted, the {{{1
-" oppressing city! She didn't obey the voice. She didn't receive
-" correction. She didn't trust in Yahweh. She didn't draw near to her God.
-
-" ---------------------------------------------------------------------
-" Load Once: {{{1
-if &cp || exists("g:loaded_DrawItPlugin")
- finish
-endif
-let g:loaded_DrawItPlugin = "v13"
-let s:keepcpo = &cpo
-set cpo&vim
-
-" ---------------------------------------------------------------------
-" Public Interface: {{{1
-" commands:
-com! -nargs=0 -bang DrawIt set lz|if <bang>0|call DrawIt#DrawItStop()|else|call DrawIt#DrawItStart()|endif|set nolz
-com! -nargs=? DIstart set lz|call DrawIt#DrawItStart(<q-args>)|set nolz
-com! -nargs=0 DIstop set lz|call DrawIt#DrawItStop()|set nolz
-
-" commands: available only when not pre-defined
-sil! com -nargs=0 DInrml call DrawIt#SetMode('N')
-sil! com -nargs=0 DIsngl call DrawIt#SetMode('S')
-sil! com -nargs=0 DIdbl call DrawIt#SetMode('D')
-
-" maps: users may override these maps by defining their own mappings in their .vimrc
-" to <Plug>DrawItStart and/or <Plug>DrawItStop. By default:
-" \di : start DrawIt
-" \ds : stop DrawIt
-if !hasmapto('<Plug>DrawItStart')
- map <unique> <Leader>di <Plug>DrawItStart
-endif
-noremap <silent> <Plug>DrawItStart :set lz<cr>:call DrawIt#DrawItStart()<cr>:set nolz<cr>
-if !hasmapto('<Plug>DrawItStop')
- map <unique> <Leader>ds <Plug>DrawItStop
-endif
-noremap <silent> <Plug>DrawItStop :set lz<cr>:call DrawIt#DrawItStop()<cr>:set nolz<cr>
-
-" ---------------------------------------------------------------------
-" DrChip Menu Support: {{{1
-if has("gui_running") && has("menu") && &go =~# 'm'
- if !exists("g:DrChipTopLvlMenu")
- let g:DrChipTopLvlMenu= "DrChip."
- endif
- exe 'menu '.g:DrChipTopLvlMenu.'DrawIt.Start\ DrawIt<tab>\\di <Leader>di'
-endif
-
-" ---------------------------------------------------------------------
-" Cleanup And Modelines:
-" vim: fdm=marker
-let &cpo= s:keepcpo
-unlet s:keepcpo