" Vimball Archiver by Charles E. Campbell, Ph.D. UseVimball finish plugin/RunView.vim [[[1 258 " RunView: " Author: Charles E. Campbell " Date: Mar 03, 2022 " Version: 4f ASTRO-ONLY " Copyright: Copyright (C) 2005-2013 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 most software that's free, " RunView.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. " GetLatestVimScripts: 2511 1 :AutoInstall: RunView.vim " --------------------------------------------------------------------- " Load Once: {{{1 if &cp || exists("g:loaded_RunView") finish endif let g:loaded_RunView= "v4e" "DechoTabOn " --------------------------------------------------------------------- " Defaults: {{{1 if exists("g:runview_filtcmd") && !exists("b:runview_filtcmd") let b:runview_filtcmd= g:runview_filtcmd elseif !exists("b:runview_filtcmd") let b:runview_filtcmd= "ksh" endif if !exists("g:runview_swapwin") let g:runview_swapwin= 1 endif " --------------------------------------------------------------------- " Public Interface: {{{1 com! -bang -range=% -nargs=* RunView let s:winposn= SaveWinPosn(0)|sil ,call s:RunView(0,) sil! com -bang -range=% -nargs=* RV let s:winposn= SaveWinPosn(0)|sil ,call s:RunView(0,) sil! com -bang -range=% -nargs=* DRV let s:winposn= SaveWinPosn(0)|sil ,call s:RunView(2,) " \rh map: RunView filter-command if !hasmapto('RunViewH') vmap rh RunViewH endif vmap