diff options
Diffstat (limited to 'runtime/plugin/NetrwFileHandlers.vim')
-rw-r--r-- | runtime/plugin/NetrwFileHandlers.vim | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/runtime/plugin/NetrwFileHandlers.vim b/runtime/plugin/NetrwFileHandlers.vim index 9b9cd2060..2aa1d9b83 100644 --- a/runtime/plugin/NetrwFileHandlers.vim +++ b/runtime/plugin/NetrwFileHandlers.vim @@ -1,25 +1,28 @@ " NetrwFileHandlers: contains various extension-based file handlers for " netrw's browsers' x command ("eXecute launcher") " Author: Charles E. Campbell, Jr. -" Date: Aug 08, 2005 -" Version: 5a NOT RELEASED -" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. +" Date: Aug 15, 2005 +" Version: 6 +" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{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, -" netrw.vim is provided *as is* and comes with no +" NetrwFileHandlers.vim is provided *as is* and comes with no " warranty of any kind, either expressed or implied. In no " event will the copyright holder be liable for any damages " resulting from the use of this software. +" +" Rom 6:23 (WEB) For the wages of sin is death, but the free gift of God {{{1 +" is eternal life in Christ Jesus our Lord. " --------------------------------------------------------------------- " Load Once: {{{1 -if exists("g:loaded_netrwfilehandlers") || &cp +if exists("g:loaded_NetrwFileHandlers") || &cp finish endif let s:keepcpo= &cpo set cpo&vim -let g:loaded_netrwfilehandlers= "v5a" +let g:loaded_NetrwFileHandlers= "v6" " --------------------------------------------------------------------- " NetrwFileHandler_html: handles html when the user hits "x" when the {{{1 @@ -174,21 +177,6 @@ fun! NetrwFileHandler_pdf(pdf) endfun " --------------------------------------------------------------------- -" NetrwFileHandler_sxw: visualize sxw files {{{1 -fun! NetrwFileHandler_sxw(sxw) -" " call Dfunc("NetrwFileHandler_sxw(sxw<".a:sxw.">)") - if executable("gs") - exe 'silent! !gs "'.a:sxw.'"' - else -" " call Dret("NetrwFileHandler_sxw 0") - return 0 - endif - -" " call Dret("NetrwFileHandler_sxw 1") - return 1 -endfun - -" --------------------------------------------------------------------- " NetrwFileHandler_doc: visualize doc files {{{1 fun! NetrwFileHandler_doc(doc) " " call Dfunc("NetrwFileHandler_doc(doc<".a:doc.">)") |