forked from aniani/vim
updated for version 7.2c-000
This commit is contained in:
parent
da40c8536c
commit
e37d50a5de
8
Contents
8
Contents
@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
|
|||||||
messages, shows current file name in window title, on-line
|
messages, shows current file name in window title, on-line
|
||||||
help, rectangular cut/paste, etc., etc., etc...
|
help, rectangular cut/paste, etc., etc., etc...
|
||||||
|
|
||||||
Version 7.2b. Also runs under UNIX, MSDOS and other systems.
|
Version 7.2c. Also runs under UNIX, MSDOS and other systems.
|
||||||
vim72brt.tgz contains the documentation and syntax files.
|
vim72crt.tgz contains the documentation and syntax files.
|
||||||
vim72bbin.tgz contains the binaries.
|
vim72cbin.tgz contains the binaries.
|
||||||
vim72bsrc.tgz contains the sources.
|
vim72csrc.tgz contains the sources.
|
||||||
Author: Bram Moolenaar et al.
|
Author: Bram Moolenaar et al.
|
||||||
|
|
||||||
|
|
||||||
|
2
Makefile
2
Makefile
@ -69,7 +69,7 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
|
|||||||
# Before creating an archive first delete all backup files, *.orig, etc.
|
# Before creating an archive first delete all backup files, *.orig, etc.
|
||||||
|
|
||||||
MAJOR = 7
|
MAJOR = 7
|
||||||
MINOR = 2b
|
MINOR = 2c
|
||||||
|
|
||||||
# Uncomment this line if the Win32s version is to be included.
|
# Uncomment this line if the Win32s version is to be included.
|
||||||
DOSBIN_S = dosbin_s
|
DOSBIN_S = dosbin_s
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README.txt for version 7.2b of Vim: Vi IMproved.
|
README.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
|
|
||||||
WHAT IS VIM
|
WHAT IS VIM
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_ami.txt for version 7.2b of Vim: Vi IMproved.
|
README_ami.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on Amiga systems.
|
This file explains the installation of Vim on Amiga systems.
|
||||||
See README.txt for general information about Vim.
|
See README.txt for general information about Vim.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_amibin.txt for version 7.2b of Vim: Vi IMproved.
|
README_amibin.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
See "README_ami.txt" for installation instructions for the Amiga.
|
See "README_ami.txt" for installation instructions for the Amiga.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_amisrc.txt for version 7.2b of Vim: Vi IMproved.
|
README_amisrc.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
See "README_ami.txt" for installation instructions for the Amiga.
|
See "README_ami.txt" for installation instructions for the Amiga.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_bindos.txt for version 7.2b of Vim: Vi IMproved.
|
README_bindos.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_dos.txt for version 7.2b of Vim: Vi IMproved.
|
README_dos.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
|
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_extra.txt for version 7.2b of Vim: Vi IMproved.
|
README_extra.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
The extra archive of Vim is to be used in combination with the source archive
|
The extra archive of Vim is to be used in combination with the source archive
|
||||||
(vim-7.0-src.tar.gz). The extra archive is useless without it.
|
(vim-7.0-src.tar.gz). The extra archive is useless without it.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_lang.txt for version 7.2b of Vim: Vi IMproved.
|
README_lang.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file contains files for non-English languages:
|
This file contains files for non-English languages:
|
||||||
- Translated messages.
|
- Translated messages.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_mac.txt for version 7.2b of Vim: Vi IMproved.
|
README_mac.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on Macintosh systems.
|
This file explains the installation of Vim on Macintosh systems.
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_ole.txt for version 7.2b of Vim: Vi IMproved.
|
README_ole.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This archive contains gvim.exe with OLE interface and VisVim.
|
This archive contains gvim.exe with OLE interface and VisVim.
|
||||||
This version of gvim.exe can also load a number of interface dynamically (you
|
This version of gvim.exe can also load a number of interface dynamically (you
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_os2.txt for version 7.2b of Vim: Vi IMproved.
|
README_os2.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on OS/2 systems.
|
This file explains the installation of Vim on OS/2 systems.
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_os_390.txt for version 7.2b of Vim: Vi IMproved.
|
README_os_390.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
Welcome to the OS/390 Unix port of VIM.
|
Welcome to the OS/390 Unix port of VIM.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_src.txt for version 7.2b of Vim: Vi IMproved.
|
README_src.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
The source archive contains the files needed to compile Vim on Unix systems.
|
The source archive contains the files needed to compile Vim on Unix systems.
|
||||||
It is packed for Unix systems (NL line separator). It is also used for other
|
It is packed for Unix systems (NL line separator). It is also used for other
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_srcdos.txt for version 7.2b of Vim: Vi IMproved.
|
README_srcdos.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_unix.txt for version 7.2b of Vim: Vi IMproved.
|
README_unix.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on Unix systems.
|
This file explains the installation of Vim on Unix systems.
|
||||||
See "README.txt" for general information about Vim.
|
See "README.txt" for general information about Vim.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_vms.txt for version 7.2b of Vim: Vi IMproved.
|
README_vms.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This file explains the installation of Vim on VMS systems.
|
This file explains the installation of Vim on VMS systems.
|
||||||
See "README.txt" in the runtime archive for information about Vim.
|
See "README.txt" in the runtime archive for information about Vim.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_w32s.txt for version 7.2b of Vim: Vi IMproved.
|
README_w32s.txt for version 7.2c of Vim: Vi IMproved.
|
||||||
|
|
||||||
This archive contains the gvim.exe that was specifically compiled for use in
|
This archive contains the gvim.exe that was specifically compiled for use in
|
||||||
the Win32s subsystem in MS-Windows 3.1 and 3.11.
|
the Win32s subsystem in MS-Windows 3.1 and 3.11.
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
!define HAVE_NLS
|
!define HAVE_NLS
|
||||||
|
|
||||||
!define VER_MAJOR 7
|
!define VER_MAJOR 7
|
||||||
!define VER_MINOR 2b
|
!define VER_MINOR 2c
|
||||||
|
|
||||||
# ----------- No configurable settings below this line -----------
|
# ----------- No configurable settings below this line -----------
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" netrw.vim: Handles file transfer and remote directory listing across
|
" netrw.vim: Handles file transfer and remote directory listing across
|
||||||
" AUTOLOAD SECTION
|
" AUTOLOAD SECTION
|
||||||
" Date: Jul 12, 2008
|
" Date: Aug 01, 2008
|
||||||
" Version: 127
|
" Version: 131
|
||||||
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
||||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||||
" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
|
" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
|
||||||
@ -27,7 +27,7 @@ if !exists("s:NOTE")
|
|||||||
let s:WARNING = 1
|
let s:WARNING = 1
|
||||||
let s:ERROR = 2
|
let s:ERROR = 2
|
||||||
endif
|
endif
|
||||||
let g:loaded_netrw = "v127"
|
let g:loaded_netrw = "v131"
|
||||||
|
|
||||||
" sanity checks
|
" sanity checks
|
||||||
if v:version < 700
|
if v:version < 700
|
||||||
@ -76,7 +76,13 @@ if !exists("g:netrw_ftp_cmd")
|
|||||||
let g:netrw_ftp_cmd = "ftp"
|
let g:netrw_ftp_cmd = "ftp"
|
||||||
endif
|
endif
|
||||||
if !exists("g:netrw_http_cmd")
|
if !exists("g:netrw_http_cmd")
|
||||||
if executable("curl")
|
if executable("elinks")
|
||||||
|
let g:netrw_http_cmd = "elinks"
|
||||||
|
let g:netrw_http_xcmd= "-dump >"
|
||||||
|
elseif executable("links")
|
||||||
|
let g:netrw_http_cmd = "links"
|
||||||
|
let g:netrw_http_xcmd= "-dump >"
|
||||||
|
elseif executable("curl")
|
||||||
let g:netrw_http_cmd = "curl -o"
|
let g:netrw_http_cmd = "curl -o"
|
||||||
elseif executable("wget")
|
elseif executable("wget")
|
||||||
let g:netrw_http_cmd = "wget -q -O"
|
let g:netrw_http_cmd = "wget -q -O"
|
||||||
@ -359,6 +365,7 @@ endif
|
|||||||
if !exists("g:netrw_tmpfile_escape")
|
if !exists("g:netrw_tmpfile_escape")
|
||||||
let g:netrw_tmpfile_escape= ' &;'
|
let g:netrw_tmpfile_escape= ' &;'
|
||||||
endif
|
endif
|
||||||
|
let s:netrw_map_escape = "<|\n\r\\\<C-V>\""
|
||||||
|
|
||||||
" BufEnter event ignored by decho when following variable is true
|
" BufEnter event ignored by decho when following variable is true
|
||||||
" Has a side effect that doau BufReadPost doesn't work, so
|
" Has a side effect that doau BufReadPost doesn't work, so
|
||||||
@ -712,15 +719,16 @@ fun! netrw#NetRead(mode,...)
|
|||||||
" call Decho("read via ftp+.netrc (method #2)")
|
" call Decho("read via ftp+.netrc (method #2)")
|
||||||
let netrw_fname= b:netrw_fname
|
let netrw_fname= b:netrw_fname
|
||||||
call s:SaveBufVars()|new|call s:RestoreBufVars()
|
call s:SaveBufVars()|new|call s:RestoreBufVars()
|
||||||
|
let filtbuf= bufnr("%")
|
||||||
setlocal ff=unix
|
setlocal ff=unix
|
||||||
exe "put ='".g:netrw_ftpmode."'"
|
put =g:netrw_ftpmode
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline(line("$")))
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline(line("$")))
|
||||||
endif
|
endif
|
||||||
exe "put ='".'get \"'.netrw_fname.'\" '.tmpfile."'"
|
call setline(line("$")+1,'get "'.netrw_fname.'" '.tmpfile)
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline(line("$")))
|
||||||
if exists("g:netrw_port") && g:netrw_port != ""
|
if exists("g:netrw_port") && g:netrw_port != ""
|
||||||
" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1))
|
" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1))
|
||||||
exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1)
|
exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1)
|
||||||
@ -746,6 +754,7 @@ fun! netrw#NetRead(mode,...)
|
|||||||
" call Decho("read via ftp+mipf (method #3)")
|
" call Decho("read via ftp+mipf (method #3)")
|
||||||
let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
|
let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
|
||||||
call s:SaveBufVars()|new|call s:RestoreBufVars()
|
call s:SaveBufVars()|new|call s:RestoreBufVars()
|
||||||
|
let filtbuf= bufnr("%")
|
||||||
setlocal ff=unix
|
setlocal ff=unix
|
||||||
if exists("g:netrw_port") && g:netrw_port != ""
|
if exists("g:netrw_port") && g:netrw_port != ""
|
||||||
put ='open '.g:netrw_machine.' '.g:netrw_port
|
put ='open '.g:netrw_machine.' '.g:netrw_port
|
||||||
@ -770,7 +779,7 @@ fun! netrw#NetRead(mode,...)
|
|||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline('.'))
|
||||||
endif
|
endif
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline('.'))
|
||||||
endif
|
endif
|
||||||
put ='get \"'.netrw_fname.'\" '.tmpfile
|
put ='get \"'.netrw_fname.'\" '.tmpfile
|
||||||
@ -820,15 +829,20 @@ fun! netrw#NetRead(mode,...)
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if match(b:netrw_fname,"#") == -1
|
if match(b:netrw_fname,"#") == -1 || exists("g:netrw_http_xcmd")
|
||||||
" using g:netrw_http_cmd (usually wget or curl)
|
" using g:netrw_http_cmd (usually elinks, links, curl, wget, or fetch)
|
||||||
" call Decho('using '.g:netrw_http_cmd.' (# not in b:netrw_fname<'.b:netrw_fname.">)")
|
" call Decho('using '.g:netrw_http_cmd.' (# not in b:netrw_fname<'.b:netrw_fname.">)")
|
||||||
" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_fname,1))
|
if exists("g:netrw_http_xcmd")
|
||||||
exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)
|
" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)." ".g:netrw_http_xcmd." ".shellescape(tmpfile,1))
|
||||||
|
exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)." ".g:netrw_http_xcmd." ".shellescape(tmpfile,1)
|
||||||
|
else
|
||||||
|
" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1))
|
||||||
|
exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)
|
||||||
|
endif
|
||||||
let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
|
let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
|
||||||
|
|
||||||
else
|
else
|
||||||
" wget/curl plus a jump to an in-page marker (ie. http://abc/def.html#aMarker)
|
" wget/curl/fetch plus a jump to an in-page marker (ie. http://abc/def.html#aMarker)
|
||||||
" call Decho(("wget/curl plus jump (# in b:netrw_fname<".b:netrw_fname.">)")
|
" call Decho(("wget/curl plus jump (# in b:netrw_fname<".b:netrw_fname.">)")
|
||||||
let netrw_html= substitute(b:netrw_fname,"#.*$","","")
|
let netrw_html= substitute(b:netrw_fname,"#.*$","","")
|
||||||
let netrw_tag = substitute(b:netrw_fname,"^.*#","","")
|
let netrw_tag = substitute(b:netrw_fname,"^.*#","","")
|
||||||
@ -1084,14 +1098,14 @@ fun! netrw#NetWrite(...) range
|
|||||||
new
|
new
|
||||||
" call Decho("filter input window#".winnr())
|
" call Decho("filter input window#".winnr())
|
||||||
setlocal ff=unix
|
setlocal ff=unix
|
||||||
exe "put ='".g:netrw_ftpmode."'"
|
put =g:netrw_ftpmode
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline("$"))
|
||||||
endif
|
endif
|
||||||
exe "put ='".'put \"'.tmpfile.'\" \"'.netrw_fname.'\"'."'"
|
call setline(line("$")+1,'put "'.tmpfile.'" "'.netrw_fname.'"')
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline("$"))
|
||||||
if exists("g:netrw_port") && g:netrw_port != ""
|
if exists("g:netrw_port") && g:netrw_port != ""
|
||||||
" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
|
" call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
|
||||||
exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
|
exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
|
||||||
@ -1276,10 +1290,11 @@ fun! netrw#NetSource(...)
|
|||||||
let i= 1
|
let i= 1
|
||||||
while i <= a:0
|
while i <= a:0
|
||||||
call netrw#NetRead(3,a:{i})
|
call netrw#NetRead(3,a:{i})
|
||||||
" call Decho("s:netread_tmpfile<".s:netrw_tmpfile.">")
|
" call Decho("(netrw#NetSource) s:netread_tmpfile<".s:netrw_tmpfile.">")
|
||||||
if s:FileReadable(s:netrw_tmpfile)
|
if s:FileReadable(s:netrw_tmpfile)
|
||||||
" call Decho("exe so ".s:netrw_tmpfile)
|
" call Decho("(netrw#NetSource) exe so ".fnameescape(s:netrw_tmpfile))
|
||||||
exe "so ".s:netrw_tmpfile
|
exe "so ".fnameescape(s:netrw_tmpfile)
|
||||||
|
" call Decho("(netrw#NetSource) delete(".s:netrw_tmpfile.")")
|
||||||
call delete(s:netrw_tmpfile)
|
call delete(s:netrw_tmpfile)
|
||||||
unlet s:netrw_tmpfile
|
unlet s:netrw_tmpfile
|
||||||
else
|
else
|
||||||
@ -1654,6 +1669,7 @@ endfun
|
|||||||
fun! s:BrowserMaps(islocal)
|
fun! s:BrowserMaps(islocal)
|
||||||
" call Dfunc("s:BrowserMaps(islocal=".a:islocal.") b:netrw_curdir<".b:netrw_curdir.">")
|
" call Dfunc("s:BrowserMaps(islocal=".a:islocal.") b:netrw_curdir<".b:netrw_curdir.">")
|
||||||
if a:islocal
|
if a:islocal
|
||||||
|
" call Decho("make local maps")
|
||||||
nnoremap <buffer> <silent> <cr> :call netrw#LocalBrowseCheck(<SID>NetrwBrowseChgDir(1,<SID>NetrwGetWord()))<cr>
|
nnoremap <buffer> <silent> <cr> :call netrw#LocalBrowseCheck(<SID>NetrwBrowseChgDir(1,<SID>NetrwGetWord()))<cr>
|
||||||
nnoremap <buffer> <silent> - :exe "norm! 0"<bar>call netrw#LocalBrowseCheck(<SID>NetrwBrowseChgDir(1,'../'))<cr>
|
nnoremap <buffer> <silent> - :exe "norm! 0"<bar>call netrw#LocalBrowseCheck(<SID>NetrwBrowseChgDir(1,'../'))<cr>
|
||||||
nnoremap <buffer> <silent> a :call <SID>NetrwHide(1)<cr>
|
nnoremap <buffer> <silent> a :call <SID>NetrwHide(1)<cr>
|
||||||
@ -1709,23 +1725,25 @@ fun! s:BrowserMaps(islocal)
|
|||||||
if s:didstarstar || !mapcheck("<s-up>","n")
|
if s:didstarstar || !mapcheck("<s-up>","n")
|
||||||
nnoremap <buffer> <silent> <s-up> :Pexplore<cr>
|
nnoremap <buffer> <silent> <s-up> :Pexplore<cr>
|
||||||
endif
|
endif
|
||||||
|
let mapsafecurdir = escape(b:netrw_curdir, s:netrw_map_escape)
|
||||||
if g:netrw_mousemaps == 1
|
if g:netrw_mousemaps == 1
|
||||||
nnoremap <buffer> <silent> <leftmouse> <leftmouse>:call <SID>NetrwLeftmouse(1)<cr>
|
nnoremap <buffer> <silent> <leftmouse> <leftmouse>:call <SID>NetrwLeftmouse(1)<cr>
|
||||||
nnoremap <buffer> <silent> <middlemouse> <leftmouse>:call <SID>NetrwPrevWinOpen(1)<cr>
|
nnoremap <buffer> <silent> <middlemouse> <leftmouse>:call <SID>NetrwPrevWinOpen(1)<cr>
|
||||||
nnoremap <buffer> <silent> <s-leftmouse> <leftmouse>:call <SID>NetrwMarkFile(1,<SID>NetrwGetWord())<cr>
|
nnoremap <buffer> <silent> <s-leftmouse> <leftmouse>:call <SID>NetrwMarkFile(1,<SID>NetrwGetWord())<cr>
|
||||||
exe 'nnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwLocalRm("'.b:netrw_curdir.'")<cr>'
|
exe 'nnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwLocalRm("'.b:netrw_curdir.'")<cr>'
|
exe 'vnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||||
endif
|
endif
|
||||||
exe 'nnoremap <buffer> <silent> <del> :call <SID>NetrwLocalRm("'.b:netrw_curdir.'")<cr>'
|
exe 'nnoremap <buffer> <silent> <del> :call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> <del> :call <SID>NetrwLocalRm("'.b:netrw_curdir.'")<cr>'
|
exe 'vnoremap <buffer> <silent> <del> :call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'nnoremap <buffer> <silent> D :call <SID>NetrwLocalRm("'.b:netrw_curdir.'")<cr>'
|
exe 'nnoremap <buffer> <silent> D :call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> D :call <SID>NetrwLocalRm("'.b:netrw_curdir.'")<cr>'
|
exe 'vnoremap <buffer> <silent> D :call <SID>NetrwLocalRm("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'nnoremap <buffer> <silent> R :call <SID>NetrwLocalRename("'.b:netrw_curdir.'")<cr>'
|
exe 'nnoremap <buffer> <silent> R :call <SID>NetrwLocalRename("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> R :call <SID>NetrwLocalRename("'.b:netrw_curdir.'")<cr>'
|
exe 'vnoremap <buffer> <silent> R :call <SID>NetrwLocalRename("'.mapsafecurdir.'")<cr>'
|
||||||
exe 'nnoremap <buffer> <silent> <Leader>m :call <SID>NetrwMakeDir("")<cr>'
|
exe 'nnoremap <buffer> <silent> <Leader>m :call <SID>NetrwMakeDir("")<cr>'
|
||||||
nnoremap <buffer> <F1> :he netrw-quickhelp<cr>
|
nnoremap <buffer> <F1> :he netrw-quickhelp<cr>
|
||||||
|
|
||||||
else " remote
|
else " remote
|
||||||
|
" call Decho("make remote maps")
|
||||||
call s:RemotePathAnalysis(b:netrw_curdir)
|
call s:RemotePathAnalysis(b:netrw_curdir)
|
||||||
nnoremap <buffer> <silent> <cr> :call <SID>NetrwBrowse(0,<SID>NetrwBrowseChgDir(0,<SID>NetrwGetWord()))<cr>
|
nnoremap <buffer> <silent> <cr> :call <SID>NetrwBrowse(0,<SID>NetrwBrowseChgDir(0,<SID>NetrwGetWord()))<cr>
|
||||||
nnoremap <buffer> <silent> <c-l> :call <SID>NetrwRefresh(0,<SID>NetrwBrowseChgDir(0,'./'))<cr>
|
nnoremap <buffer> <silent> <c-l> :call <SID>NetrwRefresh(0,<SID>NetrwBrowseChgDir(0,'./'))<cr>
|
||||||
@ -1774,21 +1792,25 @@ fun! s:BrowserMaps(islocal)
|
|||||||
if !hasmapto('<Plug>NetrwRefresh')
|
if !hasmapto('<Plug>NetrwRefresh')
|
||||||
nmap <buffer> <c-l> <Plug>NetrwRefresh
|
nmap <buffer> <c-l> <Plug>NetrwRefresh
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let mapsafepath = escape(s:path, s:netrw_map_escape)
|
||||||
|
let mapsafeusermach = escape(s:user.s:machine, s:netrw_map_escape)
|
||||||
|
|
||||||
nnoremap <buffer> <silent> <Plug>NetrwRefresh :call <SID>NetrwRefresh(0,<SID>NetrwBrowseChgDir(0,'./'))<cr>
|
nnoremap <buffer> <silent> <Plug>NetrwRefresh :call <SID>NetrwRefresh(0,<SID>NetrwBrowseChgDir(0,'./'))<cr>
|
||||||
if g:netrw_mousemaps == 1
|
if g:netrw_mousemaps == 1
|
||||||
nnoremap <buffer> <silent> <leftmouse> <leftmouse>:call <SID>NetrwLeftmouse(0)<cr>
|
nnoremap <buffer> <silent> <leftmouse> <leftmouse>:call <SID>NetrwLeftmouse(0)<cr>
|
||||||
nnoremap <buffer> <silent> <middlemouse> <leftmouse>:call <SID>NetrwPrevWinOpen(0)<cr>
|
nnoremap <buffer> <silent> <middlemouse> <leftmouse>:call <SID>NetrwPrevWinOpen(0)<cr>
|
||||||
nnoremap <buffer> <silent> <s-leftmouse> <leftmouse>:call <SID>NetrwMarkFile(0,<SID>NetrwGetWord())<cr>
|
nnoremap <buffer> <silent> <s-leftmouse> <leftmouse>:call <SID>NetrwMarkFile(0,<SID>NetrwGetWord())<cr>
|
||||||
exe 'nnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'nnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'vnoremap <buffer> <silent> <rightmouse> <leftmouse>:call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
endif
|
endif
|
||||||
exe 'nnoremap <buffer> <silent> <del> :call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'nnoremap <buffer> <silent> <del> :call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> <del> :call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'vnoremap <buffer> <silent> <del> :call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
exe 'nnoremap <buffer> <silent> d :call <SID>NetrwMakeDir("'.s:user.s:machine.'")<cr>'
|
exe 'nnoremap <buffer> <silent> d :call <SID>NetrwMakeDir("'.mapsafeusermach.'")<cr>'
|
||||||
exe 'nnoremap <buffer> <silent> D :call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'nnoremap <buffer> <silent> D :call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> D :call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'vnoremap <buffer> <silent> D :call <SID>NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
exe 'nnoremap <buffer> <silent> R :call <SID>NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'nnoremap <buffer> <silent> R :call <SID>NetrwRemoteRename("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
exe 'vnoremap <buffer> <silent> R :call <SID>NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")<cr>'
|
exe 'vnoremap <buffer> <silent> R :call <SID>NetrwRemoteRename("'.mapsafeusermach.'","'.mapsafepath.'")<cr>'
|
||||||
nnoremap <buffer> <F1> :he netrw-quickhelp<cr>
|
nnoremap <buffer> <F1> :he netrw-quickhelp<cr>
|
||||||
endif
|
endif
|
||||||
call s:SetRexDir(a:islocal,b:netrw_curdir)
|
call s:SetRexDir(a:islocal,b:netrw_curdir)
|
||||||
@ -1842,7 +1864,7 @@ fun! s:NetrwBookmarkDir(chg,curdir)
|
|||||||
" change to the bookmarked directory
|
" change to the bookmarked directory
|
||||||
" call Decho("(user: <B>) change to the bookmarked directory")
|
" call Decho("(user: <B>) change to the bookmarked directory")
|
||||||
if exists("g:NETRW_BOOKMARKDIR_{v:count}")
|
if exists("g:NETRW_BOOKMARKDIR_{v:count}")
|
||||||
exe "e ".g:NETRW_BOOKMARKDIR_{v:count}
|
exe "e ".fnameescape(g:NETRW_BOOKMARKDIR_{v:count})
|
||||||
else
|
else
|
||||||
echomsg "Sorry, bookmark#".v:count." doesn't exist!"
|
echomsg "Sorry, bookmark#".v:count." doesn't exist!"
|
||||||
endif
|
endif
|
||||||
@ -2340,8 +2362,8 @@ fun! s:NetrwGetBuffer(islocal,dirname)
|
|||||||
" let v:errmsg= "" " Decho
|
" let v:errmsg= "" " Decho
|
||||||
let escdirname= fnameescape(dirname)
|
let escdirname= fnameescape(dirname)
|
||||||
" call Decho(" errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">")
|
" call Decho(" errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">")
|
||||||
" call Decho(' exe silent! keepalt file '.fnameescape(escdirname))
|
" call Decho(' exe silent! keepalt file '.escdirname)
|
||||||
exe 'silent! keepalt file '.fnameescape(escdirname)
|
exe 'silent! keepalt file '.escdirname
|
||||||
" call Decho(" errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">")
|
" call Decho(" errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">")
|
||||||
endif
|
endif
|
||||||
" call Decho(" named enew buffer#".bufnr("%")."<".bufname("%").">")
|
" call Decho(" named enew buffer#".bufnr("%")."<".bufname("%").">")
|
||||||
@ -3273,7 +3295,7 @@ fun! netrw#Explore(indx,dosplit,style,...)
|
|||||||
if starpat == 1
|
if starpat == 1
|
||||||
" starpat=1: Explore *//pattern (current directory only search for files containing pattern)
|
" starpat=1: Explore *//pattern (current directory only search for files containing pattern)
|
||||||
" call Decho("starpat=".starpat.": build *//pattern list")
|
" call Decho("starpat=".starpat.": build *//pattern list")
|
||||||
exe "vimgrep /".pattern."/gj ".b:netrw_curdir."/*"
|
exe "vimgrep /".pattern."/gj ".fnameescape(b:netrw_curdir)."/*"
|
||||||
let w:netrw_explore_list = map(getqflist(),'bufname(v:val.bufnr)')
|
let w:netrw_explore_list = map(getqflist(),'bufname(v:val.bufnr)')
|
||||||
if &hls | let keepregslash= s:ExplorePatHls(pattern) | endif
|
if &hls | let keepregslash= s:ExplorePatHls(pattern) | endif
|
||||||
|
|
||||||
@ -3707,6 +3729,14 @@ endfun
|
|||||||
" of whatever may happen to be under the cursor at that
|
" of whatever may happen to be under the cursor at that
|
||||||
" moment. When the mouse and gui are available,
|
" moment. When the mouse and gui are available,
|
||||||
" shift-leftmouse may also be used to mark files.
|
" shift-leftmouse may also be used to mark files.
|
||||||
|
"
|
||||||
|
" Creates two lists
|
||||||
|
" s:netrwmarkfilelist -- holds complete paths to all marked files
|
||||||
|
" s:netrwmarkfilelist_# -- holds list of marked files in current-buffer's directory (#==bufnr())
|
||||||
|
"
|
||||||
|
" Creates a marked file match string
|
||||||
|
" s:netrwmarfilemtch_# -- used with 2match to display marked files
|
||||||
|
"
|
||||||
fun! s:NetrwMarkFile(islocal,fname)
|
fun! s:NetrwMarkFile(islocal,fname)
|
||||||
" call Dfunc("s:NetrwMarkFile(islocal=".a:islocal." fname<".a:fname.">)")
|
" call Dfunc("s:NetrwMarkFile(islocal=".a:islocal." fname<".a:fname.">)")
|
||||||
let curbufnr= bufnr("%")
|
let curbufnr= bufnr("%")
|
||||||
@ -3826,7 +3856,7 @@ fun! s:NetrwMarkFileCompress(islocal)
|
|||||||
let fname= shellescape(s:ComposePath(curdir,fname))
|
let fname= shellescape(s:ComposePath(curdir,fname))
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
let fname= shellescape(b:netrw_curdir.fname)
|
let fname= shellescape(b:netrw_curdir.fname,1)
|
||||||
endif
|
endif
|
||||||
if executable(exe)
|
if executable(exe)
|
||||||
if a:islocal
|
if a:islocal
|
||||||
@ -3886,7 +3916,7 @@ fun! s:NetrwMarkFileCopy(islocal)
|
|||||||
if a:islocal && s:netrwmftgt_islocal
|
if a:islocal && s:netrwmftgt_islocal
|
||||||
" Copy marked files, local directory to local directory
|
" Copy marked files, local directory to local directory
|
||||||
" call Decho("copy from local to local")
|
" call Decho("copy from local to local")
|
||||||
let args= join(map(copy(s:netrwmarkfilelist_{bufnr('%')}),"b:netrw_curdir.\"/\".shellescape(v:val)"))
|
let args= join(map(deepcopy(s:netrwmarkfilelist_{bufnr('%')}),"shellescape(b:netrw_curdir.\"/\".v:val)"))
|
||||||
" call Decho("system(".g:netrw_localcopycmd." ".args." ".shellescape(s:netrwmftgt).")")
|
" call Decho("system(".g:netrw_localcopycmd." ".args." ".shellescape(s:netrwmftgt).")")
|
||||||
call system(s:WinPath(g:netrw_localcopycmd)." ".args." ".shellescape(s:netrwmftgt))
|
call system(s:WinPath(g:netrw_localcopycmd)." ".args." ".shellescape(s:netrwmftgt))
|
||||||
|
|
||||||
@ -3914,7 +3944,7 @@ fun! s:NetrwMarkFileCopy(islocal)
|
|||||||
if isdirectory(tmpdir)
|
if isdirectory(tmpdir)
|
||||||
exe "keepjumps lcd ".fnameescape(tmpdir)
|
exe "keepjumps lcd ".fnameescape(tmpdir)
|
||||||
call netrw#NetrwObtain(a:islocal,s:netrwmarkfilelist_{bufnr('%')},tmpdir)
|
call netrw#NetrwObtain(a:islocal,s:netrwmarkfilelist_{bufnr('%')},tmpdir)
|
||||||
let localfiles= map(copy(s:netrwmarkfilelist_{bufnr('%')}),'substitute(v:val,"^.*/","","")')
|
let localfiles= map(deepcopy(s:netrwmarkfilelist_{bufnr('%')}),'substitute(v:val,"^.*/","","")')
|
||||||
call s:NetrwUpload(localfiles,s:netrwmftgt)
|
call s:NetrwUpload(localfiles,s:netrwmftgt)
|
||||||
if getcwd() == tmpdir
|
if getcwd() == tmpdir
|
||||||
for fname in s:netrwmarkfilelist_{bufnr('%')}
|
for fname in s:netrwmarkfilelist_{bufnr('%')}
|
||||||
@ -3957,24 +3987,21 @@ endfun
|
|||||||
fun! s:NetrwMarkFileDiff(islocal)
|
fun! s:NetrwMarkFileDiff(islocal)
|
||||||
" call Dfunc("s:NetrwMarkFileDiff(islocal=".a:islocal.") b:netrw_curdir<".b:netrw_curdir.">")
|
" call Dfunc("s:NetrwMarkFileDiff(islocal=".a:islocal.") b:netrw_curdir<".b:netrw_curdir.">")
|
||||||
let curbufnr= bufnr("%")
|
let curbufnr= bufnr("%")
|
||||||
if exists("s:netrwmarkfilelist_{curbufnr}")
|
|
||||||
|
|
||||||
|
if exists("s:netrwmarkfilelist_{curbufnr}")
|
||||||
let cnt = 0
|
let cnt = 0
|
||||||
let curdir = b:netrw_curdir
|
let curdir = b:netrw_curdir
|
||||||
for fname in s:netrwmarkfilelist
|
for fname in s:netrwmarkfilelist
|
||||||
let cnt= cnt + 1
|
let cnt= cnt + 1
|
||||||
if !a:islocal
|
|
||||||
let fname= curdir.fname
|
|
||||||
endif
|
|
||||||
if cnt == 1
|
if cnt == 1
|
||||||
" call Decho("diffthis: ".fname)
|
" call Decho("diffthis: fname<".fname.">")
|
||||||
exe "e ".fname
|
exe "e ".fnameescape(fname)
|
||||||
diffthis
|
diffthis
|
||||||
elseif cnt == 2 || cnt == 3
|
elseif cnt == 2 || cnt == 3
|
||||||
vsplit
|
vsplit
|
||||||
wincmd l
|
wincmd l
|
||||||
" call Decho("diffthis: ".fname)
|
" call Decho("diffthis: ".fname)
|
||||||
exe "e ".fname
|
exe "e ".fnameescape(fname)
|
||||||
diffthis
|
diffthis
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
@ -3982,6 +4009,7 @@ fun! s:NetrwMarkFileDiff(islocal)
|
|||||||
endfor
|
endfor
|
||||||
call s:NetrwUnmarkList(curbufnr,curdir)
|
call s:NetrwUnmarkList(curbufnr,curdir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" call Dret("s:NetrwMarkFileDiff")
|
" call Dret("s:NetrwMarkFileDiff")
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
@ -3995,17 +4023,7 @@ fun! s:NetrwMarkFileEdit(islocal)
|
|||||||
let curbufnr = bufnr("%")
|
let curbufnr = bufnr("%")
|
||||||
if exists("s:netrwmarkfilelist_{curbufnr}")
|
if exists("s:netrwmarkfilelist_{curbufnr}")
|
||||||
call s:SetRexDir(a:islocal,curdir)
|
call s:SetRexDir(a:islocal,curdir)
|
||||||
if a:islocal && g:netrw_keepdir
|
let flist= join(map(deepcopy(s:netrwmarkfilelist), "fnameescape(v:val)"))
|
||||||
" use complete paths if its local and keepdir enabled
|
|
||||||
let flist= ""
|
|
||||||
for fname in s:netrwmarkfilelist
|
|
||||||
" let flist= flist." ".s:ComposePath(curdir,fname)
|
|
||||||
let flist= flist." ".fname
|
|
||||||
endfor
|
|
||||||
else
|
|
||||||
" let flist= substitute(escape(join(s:netrwmarkfilelist_{curbufnr},"\t"),' '),"\t",' ','g')
|
|
||||||
let flist= substitute(escape(join(s:netrwmarkfilelist,"\t"),' '),"\t",' ','g')
|
|
||||||
endif
|
|
||||||
" unmark markedfile list
|
" unmark markedfile list
|
||||||
" call s:NetrwUnmarkList(curbufnr,curdir)
|
" call s:NetrwUnmarkList(curbufnr,curdir)
|
||||||
call s:NetrwUnmarkAll()
|
call s:NetrwUnmarkAll()
|
||||||
@ -4138,17 +4156,11 @@ endfun
|
|||||||
fun! s:NetrwMarkFileGrep(islocal)
|
fun! s:NetrwMarkFileGrep(islocal)
|
||||||
" call Dfunc("s:NetrwMarkFileGrep(islocal=".a:islocal.")")
|
" call Dfunc("s:NetrwMarkFileGrep(islocal=".a:islocal.")")
|
||||||
let svpos = netrw#NetrwSavePosn()
|
let svpos = netrw#NetrwSavePosn()
|
||||||
let curdir = b:netrw_curdir
|
|
||||||
let curbufnr = bufnr("%")
|
let curbufnr = bufnr("%")
|
||||||
|
|
||||||
if exists("s:netrwmarkfilelist")
|
if exists("s:netrwmarkfilelist")
|
||||||
" call Decho("s:netrwmarkfilelist".string(s:netrwmarkfilelist).">")
|
" call Decho("s:netrwmarkfilelist".string(s:netrwmarkfilelist).">")
|
||||||
let netrwmarkfilelist= ""
|
let netrwmarkfilelist= join(map(deepcopy(s:netrwmarkfilelist), "fnameescape(v:val)"))
|
||||||
for fname in s:netrwmarkfilelist
|
|
||||||
" call Decho("fname<".fname.">")
|
|
||||||
let fname = escape(substitute(fname,"[\"']","","g")," ")
|
|
||||||
let netrwmarkfilelist = netrwmarkfilelist." ".fname
|
|
||||||
endfor
|
|
||||||
call s:NetrwUnmarkAll()
|
call s:NetrwUnmarkAll()
|
||||||
|
|
||||||
" ask user for pattern
|
" ask user for pattern
|
||||||
@ -4295,7 +4307,7 @@ fun! s:NetrwMarkFilePrint(islocal)
|
|||||||
1split
|
1split
|
||||||
" the autocmds will handle both local and remote files
|
" the autocmds will handle both local and remote files
|
||||||
" call Decho("exe silent e ".escape(fname,' '))
|
" call Decho("exe silent e ".escape(fname,' '))
|
||||||
exe "silent e ".escape(fname,' ')
|
exe "silent e ".fnameescape(fname)
|
||||||
" call Decho("hardcopy")
|
" call Decho("hardcopy")
|
||||||
hardcopy
|
hardcopy
|
||||||
q
|
q
|
||||||
@ -4419,21 +4431,11 @@ fun! s:NetrwMarkFileTag(islocal)
|
|||||||
|
|
||||||
if exists("s:netrwmarkfilelist")
|
if exists("s:netrwmarkfilelist")
|
||||||
" call Decho("s:netrwmarkfilelist".string(s:netrwmarkfilelist).">")
|
" call Decho("s:netrwmarkfilelist".string(s:netrwmarkfilelist).">")
|
||||||
if a:islocal && g:netrw_keepdir
|
let netrwmarkfilelist= join(map(deepcopy(s:netrwmarkfilelist), "shellescape(v:val,".!a:islocal.")"))
|
||||||
let netrwmarkfilelist= ""
|
|
||||||
for fname in s:netrwmarkfilelist
|
|
||||||
" let netrwmarkfilelist= netrwmarkfilelist." ".s:ComposePath(curdir,fname)
|
|
||||||
let netrwmarkfilelist= netrwmarkfilelist." ".fname
|
|
||||||
endfor
|
|
||||||
else
|
|
||||||
let netrwmarkfilelist= string(s:netrwmarkfilelist)
|
|
||||||
let netrwmarkfilelist= substitute(netrwmarkfilelist,'[[\],]','','g')
|
|
||||||
endif
|
|
||||||
call s:NetrwUnmarkAll()
|
call s:NetrwUnmarkAll()
|
||||||
|
|
||||||
if a:islocal
|
if a:islocal
|
||||||
if executable(g:netrw_ctags)
|
if executable(g:netrw_ctags)
|
||||||
call map(netrwmarkfilelist,"shellescape(v:val)")
|
|
||||||
" call Decho("call system(".g:netrw_ctags." ".netrwmarkfilelist.")")
|
" call Decho("call system(".g:netrw_ctags." ".netrwmarkfilelist.")")
|
||||||
call system(g:netrw_ctags." ".netrwmarkfilelist)
|
call system(g:netrw_ctags." ".netrwmarkfilelist)
|
||||||
else
|
else
|
||||||
@ -4447,7 +4449,7 @@ fun! s:NetrwMarkFileTag(islocal)
|
|||||||
e tags
|
e tags
|
||||||
let path= substitute(curdir,'^\(.*\)/[^/]*$','\1/','')
|
let path= substitute(curdir,'^\(.*\)/[^/]*$','\1/','')
|
||||||
" call Decho("curdir<".curdir."> path<".path.">")
|
" call Decho("curdir<".curdir."> path<".path.">")
|
||||||
exe '%s/\t\(\S\+\)\t/\t'.escape(path,'/').'\1\t/e'
|
exe '%s/\t\(\S\+\)\t/\t'.escape(path,"/\n\r\\").'\1\t/e'
|
||||||
wq!
|
wq!
|
||||||
endif
|
endif
|
||||||
2match none
|
2match none
|
||||||
@ -4771,7 +4773,7 @@ fun! netrw#NetrwObtain(islocal,fname,...)
|
|||||||
endfor
|
endfor
|
||||||
else
|
else
|
||||||
" transfer files with one command
|
" transfer files with one command
|
||||||
let filelist= join(map(copy(fname),"shellescape(v:val)"))
|
let filelist= join(map(deepcopy(fname),"shellescape(v:val)"))
|
||||||
" call Decho("system(".g:netrw_localcopycmd." ".filelist." ".shellescape(topath).")")
|
" call Decho("system(".g:netrw_localcopycmd." ".filelist." ".shellescape(topath).")")
|
||||||
call system(g:netrw_localcopycmd." ".filelist." ".shellescape(topath))
|
call system(g:netrw_localcopycmd." ".filelist." ".shellescape(topath))
|
||||||
endif
|
endif
|
||||||
@ -4801,7 +4803,7 @@ fun! netrw#NetrwObtain(islocal,fname,...)
|
|||||||
else
|
else
|
||||||
let path= ""
|
let path= ""
|
||||||
endif
|
endif
|
||||||
let filelist= join(map(copy(fnamelist),'shellescape(g:netrw_machine.":".path.v:val,1))'))
|
let filelist= join(map(deepcopy(fnamelist),'shellescape(g:netrw_machine.":".path.v:val,1)'))
|
||||||
" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1))
|
" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1))
|
||||||
exe s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1)
|
exe s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1)
|
||||||
|
|
||||||
@ -4812,7 +4814,7 @@ fun! netrw#NetrwObtain(islocal,fname,...)
|
|||||||
let tmpbufnr= bufnr("%")
|
let tmpbufnr= bufnr("%")
|
||||||
setlocal ff=unix
|
setlocal ff=unix
|
||||||
if exists("g:netrw_ftpmode") && g:netrw_ftpmode != ""
|
if exists("g:netrw_ftpmode") && g:netrw_ftpmode != ""
|
||||||
exe "put ='".g:netrw_ftpmode."'"
|
put =g:netrw_ftpmode
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -4822,7 +4824,7 @@ fun! netrw#NetrwObtain(islocal,fname,...)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
endif
|
endif
|
||||||
for fname in fnamelist
|
for fname in fnamelist
|
||||||
@ -4880,12 +4882,12 @@ fun! netrw#NetrwObtain(islocal,fname,...)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
endif
|
endif
|
||||||
for fname in fnamelist
|
for fname in fnamelist
|
||||||
@ -5053,15 +5055,13 @@ fun! s:NetrwUpload(fname,tgt,...)
|
|||||||
" handle uploading a single file using NetWrite
|
" handle uploading a single file using NetWrite
|
||||||
" call Decho("handle uploading a single file via NetWrite")
|
" call Decho("handle uploading a single file via NetWrite")
|
||||||
1split
|
1split
|
||||||
let efname= escape(a:fname,g:netrw_fname_escape)
|
" call Decho("exe e ".fnameescape(a:fname))
|
||||||
" call Decho("exe e ".efname)
|
exe "e ".fnameescape(a:fname)
|
||||||
exe "e ".efname
|
|
||||||
" call Decho("now locally editing<".expand("%").">, has ".line("$")." lines")
|
" call Decho("now locally editing<".expand("%").">, has ".line("$")." lines")
|
||||||
if a:tgt =~ '/$'
|
if a:tgt =~ '/$'
|
||||||
let wfname= substitute(a:fname,'^.*/','','')
|
let wfname= substitute(a:fname,'^.*/','','')
|
||||||
let wfname= escape(a:tgt.wfname,g:netrw_fname_escape)
|
|
||||||
" call Decho("exe w! ".fnameescape(wfname))
|
" call Decho("exe w! ".fnameescape(wfname))
|
||||||
exe "w! ".fnameescape(wfname)
|
exe "w! ".fnameescape(a:tgt.wfname)
|
||||||
else
|
else
|
||||||
" call Decho("writing local->remote: exe w ".fnameescape(a:tgt))
|
" call Decho("writing local->remote: exe w ".fnameescape(a:tgt))
|
||||||
exe "w ".fnameescape(a:tgt)
|
exe "w ".fnameescape(a:tgt)
|
||||||
@ -5075,8 +5075,8 @@ fun! s:NetrwUpload(fname,tgt,...)
|
|||||||
let curdir= getcwd()
|
let curdir= getcwd()
|
||||||
if a:tgt =~ '^scp:'
|
if a:tgt =~ '^scp:'
|
||||||
exe "keepjumps silent lcd ".fnameescape(fromdir)
|
exe "keepjumps silent lcd ".fnameescape(fromdir)
|
||||||
let filelist= copy(s:netrwmarkfilelist_{bufnr('%')})
|
let filelist= deepcopy(s:netrwmarkfilelist_{bufnr('%')})
|
||||||
let args = join(map(filelist,"shellescape(v:val)"))
|
let args = join(map(filelist,"shellescape(v:val, 1)"))
|
||||||
if exists("g:netrw_port") && g:netrw_port != ""
|
if exists("g:netrw_port") && g:netrw_port != ""
|
||||||
let useport= " ".g:netrw_scpport." ".g:netrw_port
|
let useport= " ".g:netrw_scpport." ".g:netrw_port
|
||||||
else
|
else
|
||||||
@ -5097,11 +5097,11 @@ fun! s:NetrwUpload(fname,tgt,...)
|
|||||||
silent keepjumps new
|
silent keepjumps new
|
||||||
" call Decho("filter input window#".winnr())
|
" call Decho("filter input window#".winnr())
|
||||||
|
|
||||||
exe "put ='".g:netrw_ftpmode."'"
|
put =g:netrw_ftpmode
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
|
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -5166,7 +5166,7 @@ fun! s:NetrwUpload(fname,tgt,...)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('$'))
|
" call Decho("filter input: ".getline('$'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -5210,7 +5210,7 @@ fun! s:NetrwPreview(path) range
|
|||||||
call s:NetrwSafeOptions()
|
call s:NetrwSafeOptions()
|
||||||
if has("quickfix")
|
if has("quickfix")
|
||||||
if !isdirectory(a:path)
|
if !isdirectory(a:path)
|
||||||
exe (g:netrw_preview? "vert " : "")."pedit ".escape(a:path,g:netrw_fname_escape)
|
exe (g:netrw_preview? "vert " : "")."pedit ".fnameescape(a:path)
|
||||||
elseif !exists("g:netrw_quiet")
|
elseif !exists("g:netrw_quiet")
|
||||||
call netrw#ErrorMsg(s:WARNING,"sorry, cannot preview a directory such as <".a:path.">",38)
|
call netrw#ErrorMsg(s:WARNING,"sorry, cannot preview a directory such as <".a:path.">",38)
|
||||||
endif
|
endif
|
||||||
@ -6027,8 +6027,8 @@ fun! s:NetrwRemoteListing()
|
|||||||
let listcmd= s:MakeSshCmd(g:netrw_list_cmd)
|
let listcmd= s:MakeSshCmd(g:netrw_list_cmd)
|
||||||
" call Decho("listcmd<".listcmd."> (using g:netrw_list_cmd)")
|
" call Decho("listcmd<".listcmd."> (using g:netrw_list_cmd)")
|
||||||
if g:netrw_scp_cmd =~ '^pscp'
|
if g:netrw_scp_cmd =~ '^pscp'
|
||||||
" call Decho("1: exe silent r! ".listcmd.s:path)
|
" call Decho("1: exe silent r! ".shellescape(listcmd.s:path, 1))
|
||||||
exe "silent r! ".listcmd.s:path
|
exe "silent r! ".listcmd.shellescape(s:path, 1)
|
||||||
" remove rubbish and adjust listing format of 'pscp' to 'ssh ls -FLa' like
|
" remove rubbish and adjust listing format of 'pscp' to 'ssh ls -FLa' like
|
||||||
g/^Listing directory/d
|
g/^Listing directory/d
|
||||||
g/^d[-rwx][-rwx][-rwx]/s+$+/+e
|
g/^d[-rwx][-rwx][-rwx]/s+$+/+e
|
||||||
@ -6286,7 +6286,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd)
|
|||||||
put ='cd \"'.a:path.'\"'
|
put ='cd \"'.a:path.'\"'
|
||||||
endif
|
endif
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline('.'))
|
||||||
endif
|
endif
|
||||||
call setline(line("$")+1,a:listcmd)
|
call setline(line("$")+1,a:listcmd)
|
||||||
@ -6320,7 +6320,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd)
|
|||||||
put ='cd \"'.a:path.'\"'
|
put ='cd \"'.a:path.'\"'
|
||||||
endif
|
endif
|
||||||
if exists("g:netrw_ftpextracmd")
|
if exists("g:netrw_ftpextracmd")
|
||||||
exe "put ='".g:netrw_ftpextracmd."'"
|
put =g:netrw_ftpextracmd
|
||||||
" call Decho("filter input: ".getline('.'))
|
" call Decho("filter input: ".getline('.'))
|
||||||
endif
|
endif
|
||||||
call setline(line("$")+1,a:listcmd)
|
call setline(line("$")+1,a:listcmd)
|
||||||
@ -6669,7 +6669,7 @@ fun! s:LocalBrowseShellCmdRefresh()
|
|||||||
if bufwinnr(ibuf) == -1 && index(buftablist,ibuf) == -1
|
if bufwinnr(ibuf) == -1 && index(buftablist,ibuf) == -1
|
||||||
" wipe out any non-displaying netrw buffer
|
" wipe out any non-displaying netrw buffer
|
||||||
" call Decho("wiping buf#".ibuf,"<".bufname(ibuf).">")
|
" call Decho("wiping buf#".ibuf,"<".bufname(ibuf).">")
|
||||||
exe "silent! bd ".ibuf
|
exe "silent! bd ".fnameescape(ibuf)
|
||||||
call remove(s:netrw_browselist,ibl)
|
call remove(s:netrw_browselist,ibl)
|
||||||
" call Decho("browselist=".string(s:netrw_browselist))
|
" call Decho("browselist=".string(s:netrw_browselist))
|
||||||
continue
|
continue
|
||||||
@ -6860,7 +6860,7 @@ fun! s:NetrwLocalRename(path) range
|
|||||||
let newname = substitute(oldname,subfrom,subto,'')
|
let newname = substitute(oldname,subfrom,subto,'')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
let ret= rename(oldname,newname)
|
call rename(oldname,newname)
|
||||||
endfor
|
endfor
|
||||||
2match none
|
2match none
|
||||||
unlet s:netrwmarkfilelist_{bufnr("%")}
|
unlet s:netrwmarkfilelist_{bufnr("%")}
|
||||||
@ -6891,7 +6891,7 @@ fun! s:NetrwLocalRename(path) range
|
|||||||
let newname= input("Moving ".oldname." to : ",substitute(oldname,'/*$','','e'))
|
let newname= input("Moving ".oldname." to : ",substitute(oldname,'/*$','','e'))
|
||||||
call inputrestore()
|
call inputrestore()
|
||||||
|
|
||||||
let ret= rename(oldname,newname)
|
call rename(oldname,newname)
|
||||||
" call Decho("renaming <".oldname."> to <".newname.">")
|
" call Decho("renaming <".oldname."> to <".newname.">")
|
||||||
|
|
||||||
let ctr= ctr + 1
|
let ctr= ctr + 1
|
||||||
@ -7570,22 +7570,24 @@ fun! s:SetRexDir(islocal,dirname)
|
|||||||
" call Dfunc("s:SetRexDir(islocal=".a:islocal." dirname<".a:dirname.">)")
|
" call Dfunc("s:SetRexDir(islocal=".a:islocal." dirname<".a:dirname.">)")
|
||||||
" set up Rex and leftmouse-double-click
|
" set up Rex and leftmouse-double-click
|
||||||
if a:islocal
|
if a:islocal
|
||||||
exe 'com! Rexplore call s:NetrwRexplore(1,"'.a:dirname.'")'
|
exe 'com! Rexplore call s:NetrwRexplore(1,"'.escape(a:dirname,'"\').'")'
|
||||||
if g:netrw_retmap
|
if g:netrw_retmap
|
||||||
silent! unmap <2-leftmouse>
|
silent! unmap <2-leftmouse>
|
||||||
if !hasmapto("<Plug>NetrwReturn")
|
if !hasmapto("<Plug>NetrwReturn")
|
||||||
nmap <unique> <silent> <2-leftmouse> <Plug>NetrwReturn
|
nmap <unique> <silent> <2-leftmouse> <Plug>NetrwReturn
|
||||||
endif
|
endif
|
||||||
exe 'nnoremap <silent> <Plug>NetrwReturn :call <SID>NetrwRexplore(1,"'.a:dirname.'")<cr>'
|
let dir = escape(a:dirname, s:netrw_map_escape)
|
||||||
|
exe 'nnoremap <silent> <Plug>NetrwReturn :call <SID>NetrwRexplore(1,"'.dir.'")<cr>'
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
exe 'com! Rexplore call s:NetrwRexplore(0,"'.a:dirname.'")'
|
exe 'com! Rexplore call s:NetrwRexplore(0,"'.escape(a:dirname,'"\').'")'
|
||||||
if g:netrw_retmap
|
if g:netrw_retmap
|
||||||
silent! unmap <2-leftmouse>
|
silent! unmap <2-leftmouse>
|
||||||
if !hasmapto("<Plug>NetrwReturn")
|
if !hasmapto("<Plug>NetrwReturn")
|
||||||
nmap <unique> <silent> <2-leftmouse> <Plug>NetrwReturn
|
nmap <unique> <silent> <2-leftmouse> <Plug>NetrwReturn
|
||||||
endif
|
endif
|
||||||
exe 'nnoremap <silent> <Plug>NetrwReturn :call <SID>NetrwRexplore(0,"'.a:dirname.'")<cr>'
|
let dir = escape(a:dirname, s:netrw_map_escape)
|
||||||
|
exe 'nnoremap <silent> <Plug>NetrwReturn :call <SID>NetrwRexplore(0,"'.dir.'")<cr>'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
" call Dret("s:SetRexDir")
|
" call Dret("s:SetRexDir")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" tar.vim: Handles browsing tarfiles
|
" tar.vim: Handles browsing tarfiles
|
||||||
" AUTOLOAD PORTION
|
" AUTOLOAD PORTION
|
||||||
" Date: Jul 12, 2008
|
" Date: Jul 30, 2008
|
||||||
" Version: 19 + changes by Bram
|
" Version: 20
|
||||||
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
||||||
" License: Vim License (see vim's :help license)
|
" License: Vim License (see vim's :help license)
|
||||||
"
|
"
|
||||||
@ -24,7 +24,7 @@ set cpo&vim
|
|||||||
if &cp || exists("g:loaded_tar") || v:version < 700
|
if &cp || exists("g:loaded_tar") || v:version < 700
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_tar= "v19+b"
|
let g:loaded_tar= "v20"
|
||||||
"call Decho("loading autoload/tar.vim")
|
"call Decho("loading autoload/tar.vim")
|
||||||
if v:version < 701 || (v:version == 701 && !has("patch299"))
|
if v:version < 701 || (v:version == 701 && !has("patch299"))
|
||||||
echoerr "(autoload/tar.vim) need vim v7.1 with patchlevel 299"
|
echoerr "(autoload/tar.vim) need vim v7.1 with patchlevel 299"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" vimball.vim : construct a file containing both paths and files
|
" vimball.vim : construct a file containing both paths and files
|
||||||
" Author: Charles E. Campbell, Jr.
|
" Author: Charles E. Campbell, Jr.
|
||||||
" Date: Jun 05, 2008
|
" Date: Jul 30, 2008
|
||||||
" Version: 27
|
" Version: 29
|
||||||
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
|
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
|
||||||
" Copyright: (c) 2004-2008 by Charles E. Campbell, Jr.
|
" Copyright: (c) 2004-2008 by Charles E. Campbell, Jr.
|
||||||
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
|
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
|
||||||
@ -15,7 +15,7 @@ if &cp || exists("g:loaded_vimball") || v:version < 700
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
let g:loaded_vimball = "v27"
|
let g:loaded_vimball = "v29"
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
"DechoTabOn
|
"DechoTabOn
|
||||||
|
|
||||||
@ -169,9 +169,8 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
|
|||||||
call setline(lastline+1,0)
|
call setline(lastline+1,0)
|
||||||
|
|
||||||
" write the file from the tab
|
" write the file from the tab
|
||||||
let svfilepath= s:Path(svfile,'')
|
" call Decho("exe $r ".fnameescape(svfile))
|
||||||
" call Decho("exe $r ".fnameescape(svfilepath))
|
exe "$r ".fnameescape(svfile)
|
||||||
exe "$r ".fnameescape(svfilepath)
|
|
||||||
|
|
||||||
call setline(lastline+1,line("$") - lastline - 1)
|
call setline(lastline+1,line("$") - lastline - 1)
|
||||||
" call Decho("lastline=".lastline." line$=".line("$"))
|
" call Decho("lastline=".lastline." line$=".line("$"))
|
||||||
@ -186,13 +185,11 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
|
|||||||
call s:ChgDir(curdir)
|
call s:ChgDir(curdir)
|
||||||
setlocal ff=unix
|
setlocal ff=unix
|
||||||
if a:writelevel
|
if a:writelevel
|
||||||
let vbnamepath= s:Path(vbname,'')
|
" call Decho("exe w! ".fnameescape(vbname))
|
||||||
" call Decho("exe w! ".fnameescape(vbnamepath))
|
exe "w! ".fnameescape(vbname)
|
||||||
exe "w! ".fnameescape(vbnamepath)
|
|
||||||
else
|
else
|
||||||
let vbnamepath= s:Path(vbname,'')
|
" call Decho("exe w ".fnameescape(vbname))
|
||||||
" call Decho("exe w ".fnameescape(vbnamepath))
|
exe "w ".fnameescape(vbname)
|
||||||
exe "w ".fnameescape(vbnamepath)
|
|
||||||
endif
|
endif
|
||||||
" call Decho("Vimball<".vbname."> created")
|
" call Decho("Vimball<".vbname."> created")
|
||||||
echo "Vimball<".vbname."> created"
|
echo "Vimball<".vbname."> created"
|
||||||
@ -215,8 +212,8 @@ endfun
|
|||||||
fun! vimball#Vimball(really,...)
|
fun! vimball#Vimball(really,...)
|
||||||
" call Dfunc("vimball#Vimball(really=".a:really.") a:0=".a:0)
|
" call Dfunc("vimball#Vimball(really=".a:really.") a:0=".a:0)
|
||||||
|
|
||||||
if v:version < 701 || (v:version == 701 && !has("patch299"))
|
if v:version < 701 || (v:version == 701 && !exists('*fnameescape'))
|
||||||
echoerr "This version of vimball requires vim 7.1 with patch 299"
|
echoerr "your vim is missing the fnameescape() function"
|
||||||
" call Dret("vimball#Vimball : needs 7.1 with patch 299")
|
" call Dret("vimball#Vimball : needs 7.1 with patch 299")
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
@ -338,7 +335,7 @@ fun! vimball#Vimball(really,...)
|
|||||||
|
|
||||||
" write tab to file
|
" write tab to file
|
||||||
if a:really
|
if a:really
|
||||||
let fnamepath= s:Path(home."/".fname,'')
|
let fnamepath= home."/".fname
|
||||||
" call Decho("exe w! ".fnameescape(fnamepath))
|
" call Decho("exe w! ".fnameescape(fnamepath))
|
||||||
exe "silent w! ".fnameescape(fnamepath)
|
exe "silent w! ".fnameescape(fnamepath)
|
||||||
echo "wrote ".fnamepath
|
echo "wrote ".fnamepath
|
||||||
@ -364,9 +361,9 @@ fun! vimball#Vimball(really,...)
|
|||||||
" set up help
|
" set up help
|
||||||
" call Decho("about to set up help: didhelp<".didhelp.">")
|
" call Decho("about to set up help: didhelp<".didhelp.">")
|
||||||
if didhelp != ""
|
if didhelp != ""
|
||||||
let htpath= s:Path(home."/".didhelp,"")
|
let htpath= home."/".didhelp
|
||||||
" call Decho("exe helptags ".htpath)
|
" call Decho("exe helptags ".htpath)
|
||||||
exe "helptags ".htpath
|
exe "helptags ".fnameescape(htpath)
|
||||||
echo "did helptags"
|
echo "did helptags"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -577,27 +574,6 @@ fun! s:ChgDir(newdir)
|
|||||||
" call Dret("ChgDir : curdir<".getcwd().">")
|
" call Dret("ChgDir : curdir<".getcwd().">")
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
|
||||||
" s:Path: prepend and append quotes and do escaping {{{2
|
|
||||||
fun! s:Path(cmd,quote)
|
|
||||||
" call Dfunc("Path(cmd<".a:cmd."> quote<".a:quote.">) vimball_path_escape<".g:vimball_path_escape.">")
|
|
||||||
if (has("win32") || has("win95") || has("win64") || has("win16"))
|
|
||||||
" let cmdpath= a:quote.substitute(a:cmd,'/','\\','g').a:quote
|
|
||||||
let cmdpath= a:quote.substitute(a:cmd,'\\','/','g').a:quote
|
|
||||||
" call Decho("cmdpath<".cmdpath."> (win32 mod)")
|
|
||||||
else
|
|
||||||
let cmdpath= a:quote.a:cmd.a:quote
|
|
||||||
" call Decho("cmdpath<".cmdpath."> (not-win32 mod)")
|
|
||||||
endif
|
|
||||||
if a:quote == "" && g:vimball_path_escape !~ ' '
|
|
||||||
let cmdpath= escape(cmdpath,' ')
|
|
||||||
" call Decho("cmdpath<".cmdpath."> (empty quote case)")
|
|
||||||
endif
|
|
||||||
let cmdpath= escape(cmdpath,g:vimball_path_escape)
|
|
||||||
" call Dret("Path <".cmdpath.">")
|
|
||||||
return cmdpath
|
|
||||||
endfun
|
|
||||||
|
|
||||||
" ---------------------------------------------------------------------
|
" ---------------------------------------------------------------------
|
||||||
" s:RecordInVar: record a un-vimball command in the .VimballRecord file {{{2
|
" s:RecordInVar: record a un-vimball command in the .VimballRecord file {{{2
|
||||||
fun! s:RecordInVar(home,cmd)
|
fun! s:RecordInVar(home,cmd)
|
||||||
@ -719,14 +695,14 @@ fun! vimball#SaveSettings()
|
|||||||
let s:acdkeep = &acd
|
let s:acdkeep = &acd
|
||||||
endif
|
endif
|
||||||
let s:eikeep = &ei
|
let s:eikeep = &ei
|
||||||
let s:fenkeep = &fen
|
let s:fenkeep = &l:fen
|
||||||
let s:hidkeep = &hidden
|
let s:hidkeep = &hidden
|
||||||
let s:ickeep = &ic
|
let s:ickeep = &ic
|
||||||
let s:lzkeep = &lz
|
let s:lzkeep = &lz
|
||||||
let s:pmkeep = &pm
|
let s:pmkeep = &pm
|
||||||
let s:repkeep = &report
|
let s:repkeep = &report
|
||||||
let s:vekeep = &ve
|
let s:vekeep = &ve
|
||||||
let s:ffkeep = &ff
|
let s:ffkeep = &l:ff
|
||||||
if exists("&acd")
|
if exists("&acd")
|
||||||
setlocal ei=all ve=all noacd nofen noic report=999 nohid bt= ma lz pm= ff=unix
|
setlocal ei=all ve=all noacd nofen noic report=999 nohid bt= ma lz pm= ff=unix
|
||||||
else
|
else
|
||||||
@ -745,7 +721,7 @@ fun! vimball#RestoreSettings()
|
|||||||
if exists("&acd")
|
if exists("&acd")
|
||||||
let &acd = s:acdkeep
|
let &acd = s:acdkeep
|
||||||
endif
|
endif
|
||||||
let &fen = s:fenkeep
|
let &l:fen = s:fenkeep
|
||||||
let &hidden = s:hidkeep
|
let &hidden = s:hidkeep
|
||||||
let &ic = s:ickeep
|
let &ic = s:ickeep
|
||||||
let &lz = s:lzkeep
|
let &lz = s:lzkeep
|
||||||
@ -753,7 +729,7 @@ fun! vimball#RestoreSettings()
|
|||||||
let &report = s:repkeep
|
let &report = s:repkeep
|
||||||
let &ve = s:vekeep
|
let &ve = s:vekeep
|
||||||
let &ei = s:eikeep
|
let &ei = s:eikeep
|
||||||
let &ff = s:ffkeep
|
let &l:ff = s:ffkeep
|
||||||
if s:makeep[0] != 0
|
if s:makeep[0] != 0
|
||||||
" restore mark a
|
" restore mark a
|
||||||
" call Decho("restore mark-a: makeep=".string(makeep))
|
" call Decho("restore mark-a: makeep=".string(makeep))
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" zip.vim: Handles browsing zipfiles
|
" zip.vim: Handles browsing zipfiles
|
||||||
" AUTOLOAD PORTION
|
" AUTOLOAD PORTION
|
||||||
" Date: Jul 12, 2008
|
" Date: Jul 30, 2008
|
||||||
" Version: 21 (modified by Bram)
|
" Version: 22
|
||||||
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
|
||||||
" License: Vim License (see vim's :help license)
|
" License: Vim License (see vim's :help license)
|
||||||
" Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1
|
" Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1
|
||||||
@ -22,7 +22,7 @@ if &cp || exists("g:loaded_zip") || v:version < 700
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:loaded_zip = "v21+b"
|
let g:loaded_zip = "v22"
|
||||||
let s:zipfile_escape = ' ?&;\'
|
let s:zipfile_escape = ' ?&;\'
|
||||||
let s:ERROR = 2
|
let s:ERROR = 2
|
||||||
let s:WARNING = 1
|
let s:WARNING = 1
|
||||||
@ -58,6 +58,12 @@ fun! zip#Browse(zipfile)
|
|||||||
set report=10
|
set report=10
|
||||||
|
|
||||||
" sanity checks
|
" sanity checks
|
||||||
|
if !exists("*fnameescape")
|
||||||
|
if &verbose > 1
|
||||||
|
echoerr "the zip plugin is not available (your vim doens't support fnameescape())"
|
||||||
|
endif
|
||||||
|
return
|
||||||
|
endif
|
||||||
if !executable(g:zip_unzipcmd)
|
if !executable(g:zip_unzipcmd)
|
||||||
redraw!
|
redraw!
|
||||||
echohl Error | echo "***error*** (zip#Browse) unzip not available on your system"
|
echohl Error | echo "***error*** (zip#Browse) unzip not available on your system"
|
||||||
@ -99,8 +105,8 @@ fun! zip#Browse(zipfile)
|
|||||||
0d
|
0d
|
||||||
$
|
$
|
||||||
|
|
||||||
" call Decho("exe silent r! ".g:zip_unzipcmd." -l ".s:Escape(a:zipfile,1))
|
" call Decho("exe silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1))
|
||||||
exe "silent r! ".g:zip_unzipcmd." -l ".s:Escape(a:zipfile,1)
|
exe "silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1)
|
||||||
if v:shell_error != 0
|
if v:shell_error != 0
|
||||||
redraw!
|
redraw!
|
||||||
echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None
|
echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None
|
||||||
@ -193,8 +199,8 @@ fun! zip#Read(fname,mode)
|
|||||||
" call Decho("zipfile<".zipfile.">")
|
" call Decho("zipfile<".zipfile.">")
|
||||||
" call Decho("fname <".fname.">")
|
" call Decho("fname <".fname.">")
|
||||||
|
|
||||||
" call Decho("exe r! ".g:zip_unzipcmd." -p ".s:Escape(zipfile,1)." ".s:Escape(fname,1))
|
" call Decho("exe r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fname,1))
|
||||||
exe "silent r! ".g:zip_unzipcmd." -p ".s:Escape(zipfile,1)." ".s:Escape(fname,1)
|
exe "silent r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fname,1)
|
||||||
|
|
||||||
" cleanup
|
" cleanup
|
||||||
0d
|
0d
|
||||||
@ -286,8 +292,8 @@ fun! zip#Write(fname)
|
|||||||
let fname = substitute(fname, '[', '[[]', 'g')
|
let fname = substitute(fname, '[', '[[]', 'g')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" call Decho(g:zip_zipcmd." -u ".s:Escape(zipfile,0)." ".s:Escape(fname,0))
|
" call Decho(g:zip_zipcmd." -u ".s:Escape(fnamemodify(zipfile,":p"),0)." ".s:Escape(fname,0))
|
||||||
call system(g:zip_zipcmd." -u ".s:Escape(zipfile,0)." ".s:Escape(fname,0))
|
call system(g:zip_zipcmd." -u ".s:Escape(fnamemodify(zipfile,":p"),0)." ".s:Escape(fname,0))
|
||||||
if v:shell_error != 0
|
if v:shell_error != 0
|
||||||
redraw!
|
redraw!
|
||||||
echohl Error | echo "***error*** (zip#Write) sorry, unable to update ".zipfile." with ".fname | echohl None
|
echohl Error | echo "***error*** (zip#Write) sorry, unable to update ".zipfile." with ".fname | echohl None
|
||||||
@ -342,9 +348,8 @@ endfun
|
|||||||
fun! s:ChgDir(newdir,errlvl,errmsg)
|
fun! s:ChgDir(newdir,errlvl,errmsg)
|
||||||
" call Dfunc("ChgDir(newdir<".a:newdir."> errlvl=".a:errlvl." errmsg<".a:errmsg.">)")
|
" call Dfunc("ChgDir(newdir<".a:newdir."> errlvl=".a:errlvl." errmsg<".a:errmsg.">)")
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
exe "cd ".fnameescape(newdir)
|
exe "cd ".fnameescape(a:newdir)
|
||||||
catch /^Vim\%((\a\+)\)\=:E344/
|
catch /^Vim\%((\a\+)\)\=:E344/
|
||||||
redraw!
|
redraw!
|
||||||
if a:errlvl == s:NOTE
|
if a:errlvl == s:NOTE
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Vim color file
|
" Vim color file
|
||||||
" Maintainer: Bohdan Vlasyuk <bohdan@vstu.edu.ua>
|
" Maintainer: Bohdan Vlasyuk <bohdan@vstu.edu.ua>
|
||||||
" Last Change: 2006 Apr 30
|
" Last Change: 2008 Jul 18
|
||||||
|
|
||||||
" darkblue -- for those who prefer dark background
|
" darkblue -- for those who prefer dark background
|
||||||
" [note: looks bit uglier with come terminal palettes,
|
" [note: looks bit uglier with come terminal palettes,
|
||||||
@ -58,3 +58,9 @@ hi PreProc ctermfg=magenta guifg=#ff80ff gui=none cterm=none
|
|||||||
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
|
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
|
||||||
hi Underlined cterm=underline term=underline
|
hi Underlined cterm=underline term=underline
|
||||||
hi Ignore guifg=bg ctermfg=bg
|
hi Ignore guifg=bg ctermfg=bg
|
||||||
|
|
||||||
|
" suggested by tigmoid, 2008 Jul 18
|
||||||
|
hi Pmenu guifg=#c0c0c0 guibg=#404080
|
||||||
|
hi PmenuSel guifg=#c0c0c0 guibg=#2050d0
|
||||||
|
hi PmenuSbar guifg=blue guibg=darkgray
|
||||||
|
hi PmenuThumb guifg=#c0c0c0
|
||||||
|
@ -287,6 +287,11 @@ CONVERTED = \
|
|||||||
vimdiff-it.UTF-8.1 \
|
vimdiff-it.UTF-8.1 \
|
||||||
vimtutor-it.UTF-8.1 \
|
vimtutor-it.UTF-8.1 \
|
||||||
xxd-it.UTF-8.1 \
|
xxd-it.UTF-8.1 \
|
||||||
|
vim-pl.UTF-8.1 \
|
||||||
|
evim-pl.UTF-8.1 \
|
||||||
|
vimdiff-pl.UTF-8.1 \
|
||||||
|
vimtutor-pl.UTF-8.1 \
|
||||||
|
xxd-pl.UTF-8.1 \
|
||||||
vim-ru.UTF-8.1 \
|
vim-ru.UTF-8.1 \
|
||||||
evim-ru.UTF-8.1 \
|
evim-ru.UTF-8.1 \
|
||||||
vimdiff-ru.UTF-8.1 \
|
vimdiff-ru.UTF-8.1 \
|
||||||
@ -296,7 +301,7 @@ CONVERTED = \
|
|||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .c .o .txt .html
|
.SUFFIXES: .c .o .txt .html
|
||||||
|
|
||||||
all: tags vim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
|
all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
|
||||||
|
|
||||||
# Use Vim to generate the tags file. Can only be used when Vim has been
|
# Use Vim to generate the tags file. Can only be used when Vim has been
|
||||||
# compiled and installed. Supports multiple languages.
|
# compiled and installed. Supports multiple languages.
|
||||||
@ -314,6 +319,9 @@ doctags: doctags.c
|
|||||||
vim.man: vim.1
|
vim.man: vim.1
|
||||||
nroff -man vim.1 | sed -e s/.//g > vim.man
|
nroff -man vim.1 | sed -e s/.//g > vim.man
|
||||||
|
|
||||||
|
evim.man: evim.1
|
||||||
|
nroff -man evim.1 | sed -e s/.//g > evim.man
|
||||||
|
|
||||||
vimdiff.man: vimdiff.1
|
vimdiff.man: vimdiff.1
|
||||||
nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man
|
nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man
|
||||||
|
|
||||||
@ -445,6 +453,21 @@ vimtutor-it.UTF-8.1: vimtutor-it.1
|
|||||||
xxd-it.UTF-8.1: xxd-it.1
|
xxd-it.UTF-8.1: xxd-it.1
|
||||||
iconv -f latin1 -t utf-8 $< >$@
|
iconv -f latin1 -t utf-8 $< >$@
|
||||||
|
|
||||||
|
vim-pl.UTF-8.1: vim-pl.1
|
||||||
|
iconv -f latin2 -t utf-8 $< >$@
|
||||||
|
|
||||||
|
evim-pl.UTF-8.1: evim-pl.1
|
||||||
|
iconv -f latin2 -t utf-8 $< >$@
|
||||||
|
|
||||||
|
vimdiff-pl.UTF-8.1: vimdiff-pl.1
|
||||||
|
iconv -f latin2 -t utf-8 $< >$@
|
||||||
|
|
||||||
|
vimtutor-pl.UTF-8.1: vimtutor-pl.1
|
||||||
|
iconv -f latin2 -t utf-8 $< >$@
|
||||||
|
|
||||||
|
xxd-pl.UTF-8.1: xxd-pl.1
|
||||||
|
iconv -f latin2 -t utf-8 $< >$@
|
||||||
|
|
||||||
vim-ru.UTF-8.1: vim-ru.1
|
vim-ru.UTF-8.1: vim-ru.1
|
||||||
iconv -f KOI8-R -t utf-8 $< >$@
|
iconv -f KOI8-R -t utf-8 $< >$@
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*arabic.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*arabic.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Nadim Shaikli
|
VIM REFERENCE MANUAL by Nadim Shaikli
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*autocmd.txt* For Vim version 7.2b. Last change: 2008 Jun 27
|
*autocmd.txt* For Vim version 7.2c. Last change: 2008 Jun 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 7.2b. Last change: 2008 Jul 09
|
*change.txt* For Vim version 7.2c. Last change: 2008 Jul 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1561,10 +1561,12 @@ found here: |sort()|.
|
|||||||
|
|
||||||
With [n] sorting is done on the first decimal number
|
With [n] sorting is done on the first decimal number
|
||||||
in the line (after or inside a {pattern} match).
|
in the line (after or inside a {pattern} match).
|
||||||
|
One leading '-' is included in the number.
|
||||||
|
|
||||||
With [x] sorting is done on the first hexadecimal
|
With [x] sorting is done on the first hexadecimal
|
||||||
number in the line (after or inside a {pattern}
|
number in the line (after or inside a {pattern}
|
||||||
match). A leading "0x" or "0X" is ignored.
|
match). A leading "0x" or "0X" is ignored.
|
||||||
|
One leading '-' is included in the number.
|
||||||
|
|
||||||
With [o] sorting is done on the first octal number in
|
With [o] sorting is done on the first octal number in
|
||||||
the line (after or inside a {pattern} match).
|
the line (after or inside a {pattern} match).
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*cmdline.txt* For Vim version 7.2b. Last change: 2008 Jul 11
|
*cmdline.txt* For Vim version 7.2c. Last change: 2008 Jul 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -99,19 +99,20 @@ CTRL-E or <End> *c_CTRL-E* *c_<End>*
|
|||||||
cursor to end of command-line
|
cursor to end of command-line
|
||||||
|
|
||||||
*c_<LeftMouse>*
|
*c_<LeftMouse>*
|
||||||
<LeftMouse> cursor to position of mouse click.
|
<LeftMouse> Move the cursor to the position of the mouse click.
|
||||||
|
|
||||||
CTRL-H *c_<BS>* *c_CTRL-H*
|
CTRL-H *c_<BS>* *c_CTRL-H*
|
||||||
<BS> delete the character in front of the cursor (see |:fixdel| if
|
<BS> Delete the character in front of the cursor (see |:fixdel| if
|
||||||
your <BS> key does not do what you want).
|
your <BS> key does not do what you want).
|
||||||
*c_<Del>*
|
*c_<Del>*
|
||||||
<Del> delete the character under the cursor (at end of line:
|
<Del> Delete the character under the cursor (at end of line:
|
||||||
character before the cursor) (see |:fixdel| if your <Del>
|
character before the cursor) (see |:fixdel| if your <Del>
|
||||||
key does not do what you want).
|
key does not do what you want).
|
||||||
*c_CTRL-W*
|
*c_CTRL-W*
|
||||||
CTRL-W delete the word before the cursor
|
CTRL-W Delete the |word| before the cursor. This depends on the
|
||||||
|
'iskeyword' option.
|
||||||
*c_CTRL-U*
|
*c_CTRL-U*
|
||||||
CTRL-U remove all characters between the cursor position and
|
CTRL-U Remove all characters between the cursor position and
|
||||||
the beginning of the line. Previous versions of vim
|
the beginning of the line. Previous versions of vim
|
||||||
deleted all characters on the line. If that is the
|
deleted all characters on the line. If that is the
|
||||||
preferred behavior, add the following to your .vimrc: >
|
preferred behavior, add the following to your .vimrc: >
|
||||||
@ -997,7 +998,7 @@ other than the one that is executed with <CR> are lost.
|
|||||||
If you would like to execute the command under the cursor and then have the
|
If you would like to execute the command under the cursor and then have the
|
||||||
command-line window open again, you may find this mapping useful: >
|
command-line window open again, you may find this mapping useful: >
|
||||||
|
|
||||||
:map <F5> <CR>q:
|
:autocmd CmdwinEnter * map <buffer> <F5> <CR>q:
|
||||||
|
|
||||||
|
|
||||||
VARIOUS
|
VARIOUS
|
||||||
@ -1044,9 +1045,9 @@ events are not triggered. You can use the Cmdwin events to do settings
|
|||||||
specifically for the command-line window. Be careful not to cause side
|
specifically for the command-line window. Be careful not to cause side
|
||||||
effects!
|
effects!
|
||||||
Example: >
|
Example: >
|
||||||
:au CmdwinEnter : let b:cpt_save = &cpt | set cpt=v
|
:au CmdwinEnter : let b:cpt_save = &cpt | set cpt=.
|
||||||
:au CmdwinLeave : let &cpt = b:cpt_save
|
:au CmdwinLeave : let &cpt = b:cpt_save
|
||||||
This sets 'complete' to use command-line completion in Insert mode for CTRL-N.
|
This sets 'complete' to use completion in the current window for |i_CTRL-N|.
|
||||||
Another example: >
|
Another example: >
|
||||||
:au CmdwinEnter [/?] startinsert
|
:au CmdwinEnter [/?] startinsert
|
||||||
This will make Vim start in Insert mode in the command-line window.
|
This will make Vim start in Insert mode in the command-line window.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*debug.txt* For Vim version 7.2b. Last change: 2006 May 01
|
*debug.txt* For Vim version 7.2c. Last change: 2006 May 01
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*debugger.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*debugger.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur
|
VIM REFERENCE MANUAL by Gordon Prieur
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*develop.txt* For Vim version 7.2b. Last change: 2007 May 11
|
*develop.txt* For Vim version 7.2c. Last change: 2007 May 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
*diff.txt* For Vim version 7.2b. Last change: 2006 Oct 02
|
*diff.txt* For Vim version 7.2c. Last change: 2008 Jul 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
|
||||||
|
|
||||||
*diff* *vimdiff* *gvimdiff* *diff-mode*
|
*diff* *vimdiff* *gvimdiff* *diff-mode*
|
||||||
This file describes the +diff feature: Showing differences between two or
|
This file describes the +diff feature: Showing differences between two,
|
||||||
three versions of the same file.
|
three or four versions of the same file.
|
||||||
|
|
||||||
The basics are explained in section |08.7| of the user manual.
|
The basics are explained in section |08.7| of the user manual.
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ What happens is that Vim opens a window for each of the files. This is like
|
|||||||
using the |-O| argument. This uses vertical splits. If you prefer horizontal
|
using the |-O| argument. This uses vertical splits. If you prefer horizontal
|
||||||
splits add the |-o| argument: >
|
splits add the |-o| argument: >
|
||||||
|
|
||||||
vimdiff -o file1 file2 [file3]
|
vimdiff -o file1 file2 [file3 [file4]]
|
||||||
|
|
||||||
If you always prefer horizontal splits include "horizontal" in 'diffopt'.
|
If you always prefer horizontal splits include "horizontal" in 'diffopt'.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*digraph.txt* For Vim version 7.2b. Last change: 2007 Sep 10
|
*digraph.txt* For Vim version 7.2c. Last change: 2008 Jul 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -53,7 +53,9 @@ this file.
|
|||||||
The decimal number normally is the Unicode number of the character. Note that
|
The decimal number normally is the Unicode number of the character. Note that
|
||||||
the meaning doesn't change when 'encoding' changes. The character will be
|
the meaning doesn't change when 'encoding' changes. The character will be
|
||||||
converted from Unicode to 'encoding' when needed. This does require the
|
converted from Unicode to 'encoding' when needed. This does require the
|
||||||
conversion to be available, it might fail.
|
conversion to be available, it might fail. For the NUL character you will see
|
||||||
|
"10". That's because NUL characters are internally represented with a NL
|
||||||
|
character. When you write the file it will become a NUL character.
|
||||||
|
|
||||||
When Vim was compiled without the +multi_byte feature, you need to specify the
|
When Vim was compiled without the +multi_byte feature, you need to specify the
|
||||||
character in the encoding given with 'encoding'. You might want to use
|
character in the encoding given with 'encoding'. You might want to use
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 7.2b. Last change: 2008 Jul 05
|
*editing.txt* For Vim version 7.2c. Last change: 2008 Jul 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.2b. Last change: 2008 Jul 09
|
*eval.txt* For Vim version 7.2c. Last change: 2008 Jul 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -967,11 +967,16 @@ These are INVALID:
|
|||||||
3. empty {M}
|
3. empty {M}
|
||||||
1e40 missing .{M}
|
1e40 missing .{M}
|
||||||
|
|
||||||
|
*float-pi* *float-e*
|
||||||
|
A few useful values to copy&paste: >
|
||||||
|
:let pi = 3.14159265359
|
||||||
|
:let e = 2.71828182846
|
||||||
|
|
||||||
Rationale:
|
Rationale:
|
||||||
Before floating point was introduced, the text "123.456" was interpreted as
|
Before floating point was introduced, the text "123.456" was interpreted as
|
||||||
the two numbers "123" and "456", both converted to a string and concatenated,
|
the two numbers "123" and "456", both converted to a string and concatenated,
|
||||||
resulting in the string "123456". Since this was considered pointless, and we
|
resulting in the string "123456". Since this was considered pointless, and we
|
||||||
could not find it actually being used in Vim scripts, this backwards
|
could not find it intentionally being used in Vim scripts, this backwards
|
||||||
incompatibility was accepted in favor of being able to use the normal notation
|
incompatibility was accepted in favor of being able to use the normal notation
|
||||||
for floating point numbers.
|
for floating point numbers.
|
||||||
|
|
||||||
@ -4963,9 +4968,16 @@ shellescape({string} [, {special}]) *shellescape()*
|
|||||||
and replace all "'" with "'\''".
|
and replace all "'" with "'\''".
|
||||||
When the {special} argument is present and it's a non-zero
|
When the {special} argument is present and it's a non-zero
|
||||||
Number or a non-empty String (|non-zero-arg|), then special
|
Number or a non-empty String (|non-zero-arg|), then special
|
||||||
items such as "%", "#" and "<cword>" will be preceded by a
|
items such as "!", "%", "#" and "<cword>" will be preceded by
|
||||||
backslash. This backslash will be removed again by the |:!|
|
a backslash. This backslash will be removed again by the |:!|
|
||||||
command.
|
command.
|
||||||
|
The "!" character will be escaped (again with a |non-zero-arg|
|
||||||
|
{special}) when 'shell' contains "csh" in the tail. That is
|
||||||
|
because for csh and tcsh "!" is used for history replacement
|
||||||
|
even when inside single quotes.
|
||||||
|
The <NL> character is also escaped. With a |non-zero-arg|
|
||||||
|
{special} and 'shell' containing "csh" in the tail it's
|
||||||
|
escaped a second time.
|
||||||
Example of use with a |:!| command: >
|
Example of use with a |:!| command: >
|
||||||
:exe '!dir ' . shellescape(expand('<cfile>'), 1)
|
:exe '!dir ' . shellescape(expand('<cfile>'), 1)
|
||||||
< This results in a directory listing for the file under the
|
< This results in a directory listing for the file under the
|
||||||
@ -5918,7 +5930,7 @@ It's also possible to use curly braces, see |curly-braces-names|. And the
|
|||||||
A function local to a script must start with "s:". A local script function
|
A function local to a script must start with "s:". A local script function
|
||||||
can only be called from within the script and from functions, user commands
|
can only be called from within the script and from functions, user commands
|
||||||
and autocommands defined in the script. It is also possible to call the
|
and autocommands defined in the script. It is also possible to call the
|
||||||
function from a mappings defined in the script, but then |<SID>| must be used
|
function from a mapping defined in the script, but then |<SID>| must be used
|
||||||
instead of "s:" when the mapping is expanded outside of the script.
|
instead of "s:" when the mapping is expanded outside of the script.
|
||||||
|
|
||||||
*:fu* *:function* *E128* *E129* *E123*
|
*:fu* *:function* *E128* *E129* *E123*
|
||||||
@ -6028,7 +6040,7 @@ can be 0). "a:000" is set to a |List| that contains these arguments. Note
|
|||||||
that "a:1" is the same as "a:000[0]".
|
that "a:1" is the same as "a:000[0]".
|
||||||
*E742*
|
*E742*
|
||||||
The a: scope and the variables in it cannot be changed, they are fixed.
|
The a: scope and the variables in it cannot be changed, they are fixed.
|
||||||
However, if a |List| or |Dictionary| is used, you can changes their contents.
|
However, if a |List| or |Dictionary| is used, you can change their contents.
|
||||||
Thus you can pass a |List| to a function and have the function add an item to
|
Thus you can pass a |List| to a function and have the function add an item to
|
||||||
it. If you want to make sure the function cannot change a |List| or
|
it. If you want to make sure the function cannot change a |List| or
|
||||||
|Dictionary| use |:lockvar|.
|
|Dictionary| use |:lockvar|.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*farsi.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*farsi.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*filetype.txt* For Vim version 7.2b. Last change: 2008 Jun 27
|
*filetype.txt* For Vim version 7.2c. Last change: 2008 Jul 15
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -482,6 +482,29 @@ g:changelog_date_end_entry_search
|
|||||||
The default is '^\s*$' which finds lines that contain
|
The default is '^\s*$' which finds lines that contain
|
||||||
only whitespace or are completely empty.
|
only whitespace or are completely empty.
|
||||||
|
|
||||||
|
b:changelog_name *b:changelog_name*
|
||||||
|
Name of the ChangeLog file to look for.
|
||||||
|
The default is 'ChangeLog'.
|
||||||
|
|
||||||
|
b:changelog_path
|
||||||
|
Path of the ChangeLog to use for the current buffer.
|
||||||
|
The default is empty, thus looking for a file named
|
||||||
|
|b:changelog_name| in the same directory as the
|
||||||
|
current buffer. If not found, the parent directory of
|
||||||
|
the current buffer is searched. This continues
|
||||||
|
recursively until a file is found or there are no more
|
||||||
|
parent directories to search.
|
||||||
|
|
||||||
|
b:changelog_entry_prefix
|
||||||
|
Name of a function to call to generate a prefix to a
|
||||||
|
new entry. This function takes no arguments and
|
||||||
|
should return a string containing the prefix.
|
||||||
|
Returning an empty prefix is fine.
|
||||||
|
The default generates the shortest path between the
|
||||||
|
ChangeLog's pathname and the current buffers pathname.
|
||||||
|
In the future, it will also be possible to use other
|
||||||
|
variable contexts for this variable, for example, g:.
|
||||||
|
|
||||||
The Changelog entries are inserted where they add the least amount of text.
|
The Changelog entries are inserted where they add the least amount of text.
|
||||||
After figuring out the current date and user, the file is searched for an
|
After figuring out the current date and user, the file is searched for an
|
||||||
entry beginning with the current date and user and if found adds another item
|
entry beginning with the current date and user and if found adds another item
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*fold.txt* For Vim version 7.2b. Last change: 2007 May 11
|
*fold.txt* For Vim version 7.2c. Last change: 2007 May 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*ft_ada.txt* For Vim version 7.2b. Last change: 2008 Jun 21
|
*ft_ada.txt* For Vim version 7.2c. Last change: 2008 Jun 21
|
||||||
|
|
||||||
|
|
||||||
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
|
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*ft_sql.txt* For Vim version 7.2b. Last change: Wed Apr 26 2006 3:05:33 PM
|
*ft_sql.txt* For Vim version 7.2c. Last change: Wed Apr 26 2006 3:05:33 PM
|
||||||
|
|
||||||
by David Fishburn
|
by David Fishburn
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui.txt* For Vim version 7.2b. Last change: 2008 Jun 14
|
*gui.txt* For Vim version 7.2c. Last change: 2008 Jun 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui_w16.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*gui_w16.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui_w32.txt* For Vim version 7.2b. Last change: 2007 Aug 30
|
*gui_w32.txt* For Vim version 7.2c. Last change: 2007 Aug 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui_x11.txt* For Vim version 7.2b. Last change: 2007 Dec 09
|
*gui_x11.txt* For Vim version 7.2c. Last change: 2007 Dec 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*hangulin.txt* For Vim version 7.2b. Last change: 2006 Apr 02
|
*hangulin.txt* For Vim version 7.2c. Last change: 2006 Apr 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
|
VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*hebrew.txt* For Vim version 7.2b. Last change: 2007 Jun 14
|
*hebrew.txt* For Vim version 7.2c. Last change: 2007 Jun 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
|
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*help.txt* For Vim version 7.2b. Last change: 2008 Jun 21
|
*help.txt* For Vim version 7.2c. Last change: 2008 Jul 21
|
||||||
|
|
||||||
VIM - main help file
|
VIM - main help file
|
||||||
k
|
k
|
||||||
@ -126,7 +126,7 @@ Advanced editing ~
|
|||||||
|tabpage.txt| commands for using multiple tab pages
|
|tabpage.txt| commands for using multiple tab pages
|
||||||
|syntax.txt| syntax highlighting
|
|syntax.txt| syntax highlighting
|
||||||
|spell.txt| spell checking
|
|spell.txt| spell checking
|
||||||
|diff.txt| working with two or three versions of the same file
|
|diff.txt| working with two to four versions of the same file
|
||||||
|autocmd.txt| automatically executing commands on an event
|
|autocmd.txt| automatically executing commands on an event
|
||||||
|filetype.txt| settings done specifically for a type of file
|
|filetype.txt| settings done specifically for a type of file
|
||||||
|eval.txt| expression evaluation, conditional commands
|
|eval.txt| expression evaluation, conditional commands
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*howto.txt* For Vim version 7.2b. Last change: 2006 Apr 02
|
*howto.txt* For Vim version 7.2c. Last change: 2006 Apr 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_cscop.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*if_cscop.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Andy Kahn
|
VIM REFERENCE MANUAL by Andy Kahn
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_mzsch.txt* For Vim version 7.2b. Last change: 2008 Jun 28
|
*if_mzsch.txt* For Vim version 7.2c. Last change: 2008 Jun 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sergey Khorev
|
VIM REFERENCE MANUAL by Sergey Khorev
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_ole.txt* For Vim version 7.2b. Last change: 2007 May 10
|
*if_ole.txt* For Vim version 7.2c. Last change: 2007 May 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_perl.txt* For Vim version 7.2b. Last change: 2006 Mar 06
|
*if_perl.txt* For Vim version 7.2c. Last change: 2006 Mar 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_pyth.txt* For Vim version 7.2b. Last change: 2006 Apr 30
|
*if_pyth.txt* For Vim version 7.2c. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_ruby.txt* For Vim version 7.2b. Last change: 2006 Apr 30
|
*if_ruby.txt* For Vim version 7.2c. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Shugo Maeda
|
VIM REFERENCE MANUAL by Shugo Maeda
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_sniff.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*if_sniff.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_tcl.txt* For Vim version 7.2b. Last change: 2008 Jun 26
|
*if_tcl.txt* For Vim version 7.2c. Last change: 2008 Jun 26
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Ingo Wilken
|
VIM REFERENCE MANUAL by Ingo Wilken
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*indent.txt* For Vim version 7.2b. Last change: 2008 Jun 30
|
*indent.txt* For Vim version 7.2c. Last change: 2008 Jul 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -584,8 +584,8 @@ unnecessary indentation)
|
|||||||
PYTHON *ft-python-indent*
|
PYTHON *ft-python-indent*
|
||||||
|
|
||||||
The amount of indent can be set for the following situations. The examples
|
The amount of indent can be set for the following situations. The examples
|
||||||
given are de the defaults. Note that the variables are set to an expression,
|
given are the defaults. Note that the variables are set to an expression, so
|
||||||
so that you can change the value of 'shiftwidth' later.
|
that you can change the value of 'shiftwidth' later.
|
||||||
|
|
||||||
Indent after an open paren: >
|
Indent after an open paren: >
|
||||||
let g:pyindent_open_paren = '&sw * 2'
|
let g:pyindent_open_paren = '&sw * 2'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 7.2b. Last change: 2008 May 04
|
*index.txt* For Vim version 7.2c. Last change: 2008 May 04
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 7.2b. Last change: 2008 Jun 21
|
*insert.txt* For Vim version 7.2c. Last change: 2008 Jun 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*intro.txt* For Vim version 7.2b. Last change: 2008 Jun 24
|
*intro.txt* For Vim version 7.2c. Last change: 2008 Jun 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 7.2b. Last change: 2008 Jul 09
|
*map.txt* For Vim version 7.2c. Last change: 2008 Jul 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*mbyte.txt* For Vim version 7.2b. Last change: 2008 Jun 21
|
*mbyte.txt* For Vim version 7.2c. Last change: 2008 Jun 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*message.txt* For Vim version 7.2b. Last change: 2007 Aug 19
|
*message.txt* For Vim version 7.2c. Last change: 2007 Aug 19
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*mlang.txt* For Vim version 7.2b. Last change: 2008 Jun 08
|
*mlang.txt* For Vim version 7.2c. Last change: 2008 Jun 08
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 7.2b. Last change: 2008 May 02
|
*motion.txt* For Vim version 7.2c. Last change: 2008 Aug 03
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -851,16 +851,16 @@ when using blockwise Visual mode. These commands do not work when no change
|
|||||||
was made yet in the current file.
|
was made yet in the current file.
|
||||||
|
|
||||||
*'<* *`<*
|
*'<* *`<*
|
||||||
'< `< To the first character of the last selected Visual
|
'< `< To the first line or character of the last selected
|
||||||
area in the current buffer. For block mode it may
|
Visual area in the current buffer. For block mode it
|
||||||
also be the last character in the first line (to be
|
may also be the last character in the first line (to
|
||||||
able to define the block). {not in Vi}.
|
be able to define the block). {not in Vi}.
|
||||||
|
|
||||||
*'>* *`>*
|
*'>* *`>*
|
||||||
'> `> To the last character of the last selected Visual
|
'> `> To the last line or character of the last selected
|
||||||
area in the current buffer. For block mode it may
|
Visual area in the current buffer. For block mode it
|
||||||
also be the first character of the last line (to be
|
may also be the first character of the last line (to
|
||||||
able to define the block). Note that 'selection'
|
be able to define the block). Note that 'selection'
|
||||||
applies, the position may be just after the Visual
|
applies, the position may be just after the Visual
|
||||||
area. {not in Vi}.
|
area. {not in Vi}.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*netbeans.txt* For Vim version 7.2b. Last change: 2008 Jun 28
|
*netbeans.txt* For Vim version 7.2c. Last change: 2008 Jun 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
VIM REFERENCE MANUAL by Gordon Prieur et al.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 7.2b. Last change: 2008 Jul 05
|
*options.txt* For Vim version 7.2c. Last change: 2008 Aug 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -2292,6 +2292,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
or "\\", the swap file name will be built from the complete path to
|
or "\\", the swap file name will be built from the complete path to
|
||||||
the file with all path separators substituted to percent '%' signs.
|
the file with all path separators substituted to percent '%' signs.
|
||||||
This will ensure file name uniqueness in the preserve directory.
|
This will ensure file name uniqueness in the preserve directory.
|
||||||
|
On Win32, when a separating comma is following, you must use "//",
|
||||||
|
since "\\" will include the comma in the file name.
|
||||||
- Spaces after the comma are ignored, other spaces are considered part
|
- Spaces after the comma are ignored, other spaces are considered part
|
||||||
of the directory name. To have a space at the start of a directory
|
of the directory name. To have a space at the start of a directory
|
||||||
name, precede it with a backslash.
|
name, precede it with a backslash.
|
||||||
@ -4898,7 +4900,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
name, datestamp and permissions. This option contains the extra
|
name, datestamp and permissions. This option contains the extra
|
||||||
information, the nature of which will vary between systems.
|
information, the nature of which will vary between systems.
|
||||||
The value of this option is usually set when the file is loaded, and
|
The value of this option is usually set when the file is loaded, and
|
||||||
use to set the file type when file is written.
|
is used to set the operating system file type when file is written.
|
||||||
It can affect the pattern matching of the automatic commands.
|
It can affect the pattern matching of the automatic commands.
|
||||||
|autocmd-osfiletypes|
|
|autocmd-osfiletypes|
|
||||||
|
|
||||||
@ -6306,15 +6308,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
directory.
|
directory.
|
||||||
F S Full path to the file in the buffer.
|
F S Full path to the file in the buffer.
|
||||||
t S File name (tail) of file in the buffer.
|
t S File name (tail) of file in the buffer.
|
||||||
m F Modified flag, text is " [+]"; " [-]" if 'modifiable' is off.
|
m F Modified flag, text is "[+]"; "[-]" if 'modifiable' is off.
|
||||||
M F Modified flag, text is ",+" or ",-".
|
M F Modified flag, text is ",+" or ",-".
|
||||||
r F Readonly flag, text is " [RO]".
|
r F Readonly flag, text is "[RO]".
|
||||||
R F Readonly flag, text is ",RO".
|
R F Readonly flag, text is ",RO".
|
||||||
h F Help buffer flag, text is " [help]".
|
h F Help buffer flag, text is "[help]".
|
||||||
H F Help buffer flag, text is ",HLP".
|
H F Help buffer flag, text is ",HLP".
|
||||||
w F Preview window flag, text is " [Preview]".
|
w F Preview window flag, text is "[Preview]".
|
||||||
W F Preview window flag, text is ",PRV".
|
W F Preview window flag, text is ",PRV".
|
||||||
y F Type of file in the buffer, e.g., " [vim]". See 'filetype'.
|
y F Type of file in the buffer, e.g., "[vim]". See 'filetype'.
|
||||||
Y F Type of file in the buffer, e.g., ",VIM". See 'filetype'.
|
Y F Type of file in the buffer, e.g., ",VIM". See 'filetype'.
|
||||||
{not available when compiled without |+autocmd| feature}
|
{not available when compiled without |+autocmd| feature}
|
||||||
k S Value of "b:keymap_name" or 'keymap' when |:lmap| mappings are
|
k S Value of "b:keymap_name" or 'keymap' when |:lmap| mappings are
|
||||||
@ -6361,14 +6363,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
to StatusLineNC for the statusline of non-current windows.
|
to StatusLineNC for the statusline of non-current windows.
|
||||||
The number N must be between 1 and 9. See |hl-User1..9|
|
The number N must be between 1 and 9. See |hl-User1..9|
|
||||||
|
|
||||||
Display of flags are controlled by the following heuristic:
|
When displaying a flag, Vim removes the leading comma, if any, when
|
||||||
If a flag text starts with comma it is assumed that it wants to
|
that flag comes right after plaintext. This will make a nice display
|
||||||
separate itself from anything but preceding plaintext. If it starts
|
when flags are used like in the examples below.
|
||||||
with a space it is assumed that it wants to separate itself from
|
|
||||||
anything but other flags. That is: A leading comma is removed if the
|
|
||||||
preceding character stems from plaintext. A leading space is removed
|
|
||||||
if the preceding character stems from another active flag. This will
|
|
||||||
make a nice display when flags are used like in the examples below.
|
|
||||||
|
|
||||||
When all items in a group becomes an empty string (i.e. flags that are
|
When all items in a group becomes an empty string (i.e. flags that are
|
||||||
not set) and a minwid is not set for the group, the whole group will
|
not set) and a minwid is not set for the group, the whole group will
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_390.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_390.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Ralf Schandl
|
VIM REFERENCE MANUAL by Ralf Schandl
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_amiga.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_amiga.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_beos.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_beos.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_dos.txt* For Vim version 7.2b. Last change: 2006 Mar 30
|
*os_dos.txt* For Vim version 7.2c. Last change: 2006 Mar 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_mac.txt* For Vim version 7.2b. Last change: 2006 Apr 30
|
*os_mac.txt* For Vim version 7.2c. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_mint.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_mint.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Jens M. Felderhoff
|
VIM REFERENCE MANUAL by Jens M. Felderhoff
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_msdos.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_msdos.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_os2.txt* For Vim version 7.2b. Last change: 2007 Apr 22
|
*os_os2.txt* For Vim version 7.2c. Last change: 2007 Apr 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Slootman
|
VIM REFERENCE MANUAL by Paul Slootman
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_qnx.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_qnx.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Julian Kinraid
|
VIM REFERENCE MANUAL by Julian Kinraid
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_risc.txt* For Vim version 7.2b. Last change: 2008 Jun 28
|
*os_risc.txt* For Vim version 7.2c. Last change: 2008 Jun 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Thomas Leonard
|
VIM REFERENCE MANUAL by Thomas Leonard
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_unix.txt* For Vim version 7.2b. Last change: 2005 Mar 29
|
*os_unix.txt* For Vim version 7.2c. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_vms.txt* For Vim version 7.2b. Last change: 2006 Nov 18
|
*os_vms.txt* For Vim version 7.2c. Last change: 2006 Nov 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_win32.txt* For Vim version 7.2b. Last change: 2008 May 02
|
*os_win32.txt* For Vim version 7.2c. Last change: 2008 May 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by George Reilly
|
VIM REFERENCE MANUAL by George Reilly
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pattern.txt* For Vim version 7.2b. Last change: 2008 Jun 21
|
*pattern.txt* For Vim version 7.2c. Last change: 2008 Jul 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1122,7 +1122,7 @@ in the file. {Vi cannot handle <Nul> characters in the file at all}
|
|||||||
|
|
||||||
*CR-used-for-NL*
|
*CR-used-for-NL*
|
||||||
When 'fileformat' is "mac", <NL> characters in the file are stored as <CR>
|
When 'fileformat' is "mac", <NL> characters in the file are stored as <CR>
|
||||||
characters internally. In the display they are shown as "^M". Otherwise this
|
characters internally. In the text they are shown as "^J". Otherwise this
|
||||||
works similar to the usage of <NL> for a <Nul>.
|
works similar to the usage of <NL> for a <Nul>.
|
||||||
|
|
||||||
When working with expression evaluation, a <NL> character in the pattern
|
When working with expression evaluation, a <NL> character in the pattern
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_getscript.txt* For Vim version 7.2b. Last change: 2008 Jun 29
|
*pi_getscript.txt* For Vim version 7.2c. Last change: 2008 Jun 29
|
||||||
>
|
>
|
||||||
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr.
|
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||||
<
|
<
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_gzip.txt* For Vim version 7.2b. Last change: 2002 Oct 29
|
*pi_gzip.txt* For Vim version 7.2c. Last change: 2002 Oct 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_netrw.txt* For Vim version 7.2b. Last change: 2008 Jul 13
|
*pi_netrw.txt* For Vim version 7.2c. Last change: 2008 Aug 01
|
||||||
|
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
|
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||||
@ -1437,21 +1437,56 @@ tips & tools" by Rob Flickenger (O'Reilly, ISBN 0-596-00461-3) gives a tip
|
|||||||
for setting up no-password ssh and scp and discusses associated security
|
for setting up no-password ssh and scp and discusses associated security
|
||||||
issues. It used to be available at http://hacks.oreilly.com/pub/h/66 ,
|
issues. It used to be available at http://hacks.oreilly.com/pub/h/66 ,
|
||||||
but apparently that address is now being redirected to some "hackzine".
|
but apparently that address is now being redirected to some "hackzine".
|
||||||
I'll attempt a summary:
|
I'll attempt a summary based on that article and on a communication from
|
||||||
|
Ben Schmidt:
|
||||||
|
|
||||||
1. Generate a public/private key pair on the ssh server:
|
1. Generate a public/private key pair on the local machine
|
||||||
ssh-keygen -t rsa
|
(ssh client): >
|
||||||
(saving the file in ~/.ssh/id_rsa is ok)
|
ssh-keygen -t rsa
|
||||||
2. Just hit the <CR> when asked for passphrase (twice).
|
(saving the file in ~/.ssh/id_rsa as prompted)
|
||||||
3. This creates two files:
|
<
|
||||||
~/.ssh/id_rsa
|
2. Just hit the <CR> when asked for passphrase (twice) for no
|
||||||
~/.ssh/id_rsa.pub
|
passphrase. If you do use a passphrase, you will also need to use
|
||||||
4. On the client:
|
ssh-agent so you only have to type the passphrase once per session.
|
||||||
cd
|
If you don't use a passphrase, simply logging onto your local
|
||||||
mkdir .ssh
|
computer or getting access to the keyfile in any way will suffice
|
||||||
chmod 0700 .ssh
|
to access any ssh servers which have that key authorized for login.
|
||||||
scp {serverhostname}:.ssh/id_rsa.pub .
|
|
||||||
cat id_rsa.pub >> .ssh/authorized_keys2
|
3. This creates two files: >
|
||||||
|
~/.ssh/id_rsa
|
||||||
|
~/.ssh/id_rsa.pub
|
||||||
|
<
|
||||||
|
4. On the target machine (ssh server): >
|
||||||
|
cd
|
||||||
|
mkdir -p .ssh
|
||||||
|
chmod 0700 .ssh
|
||||||
|
<
|
||||||
|
5. On your local machine (ssh client): (one line) >
|
||||||
|
ssh {serverhostname}
|
||||||
|
cat '>>' '~/.ssh/authorized_keys2' < ~/.ssh/id_rsa.pub
|
||||||
|
<
|
||||||
|
or, for OpenSSH, (one line) >
|
||||||
|
ssh {serverhostname}
|
||||||
|
cat '>>' '~/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub
|
||||||
|
<
|
||||||
|
You can test it out with >
|
||||||
|
ssh {serverhostname}
|
||||||
|
and you should be log onto the server machine without further need to type
|
||||||
|
anything.
|
||||||
|
|
||||||
|
If you decided to use a passphrase, do: >
|
||||||
|
ssh-agent $SHELL
|
||||||
|
ssh-add
|
||||||
|
ssh {serverhostname}
|
||||||
|
You will be prompted for your key passphrase when you use ssh-add, but not
|
||||||
|
subsequently when you use ssh. For use with vim, you can use >
|
||||||
|
ssh-agent vim
|
||||||
|
and, when next within vim, use >
|
||||||
|
:!ssh-add
|
||||||
|
Alternatively, you can apply ssh-agent to the terminal you're planning on
|
||||||
|
running vim in: >
|
||||||
|
ssh-agent xterm &
|
||||||
|
and do ssh-add whenever you need.
|
||||||
|
|
||||||
For Windows, folks on the vim mailing list have mentioned that Pageant helps
|
For Windows, folks on the vim mailing list have mentioned that Pageant helps
|
||||||
with avoiding the constant need to enter the password.
|
with avoiding the constant need to enter the password.
|
||||||
@ -1628,6 +1663,13 @@ MARKED FILES: MOVING *netrw-mm* {{{2
|
|||||||
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
||||||
(uses the global marked file list)
|
(uses the global marked file list)
|
||||||
|
|
||||||
|
WARNING: moving files is more dangerous than copying them.
|
||||||
|
A file being moved is first copied and then deleted; if the
|
||||||
|
copy operation fails and the delete succeeds, you will lose
|
||||||
|
the file. Either try things out with unimportant files
|
||||||
|
first or do the copy and then delete yourself using mc and D.
|
||||||
|
Use at your own risk!
|
||||||
|
|
||||||
Select a target directory with mT (|netrw-mt|). Then change directory,
|
Select a target directory with mT (|netrw-mt|). Then change directory,
|
||||||
select file(s) (see |netrw-mf|), and press "mm".
|
select file(s) (see |netrw-mf|), and press "mm".
|
||||||
|
|
||||||
@ -2387,6 +2429,16 @@ which is loaded automatically at startup (assuming :set nocp).
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
12. History *netrw-history* {{{1
|
12. History *netrw-history* {{{1
|
||||||
|
|
||||||
|
v130: Jul 31, 2008 * trying out elinks/links for http://host/
|
||||||
|
requests. One problem: in-page links
|
||||||
|
(such as with ...#LABEL) are not supported
|
||||||
|
* verified that Bram's modified netrwPlugin works
|
||||||
|
Aug 01, 2008 * fixed a bug: when sourcing a file via ftp, the
|
||||||
|
"filter window" was left behind.
|
||||||
|
v129: Jul 31, 2008 * bug found in non-mouse enabled vim and some
|
||||||
|
local maps
|
||||||
|
v128: Jul 30, 2008 * much work done in using shellescape() and
|
||||||
|
fnameescape()
|
||||||
v126: Jun 30, 2008 * after having gone to a remote directory,
|
v126: Jun 30, 2008 * after having gone to a remote directory,
|
||||||
<f1> was no longer taking one to the correct
|
<f1> was no longer taking one to the correct
|
||||||
entry in the help (|netrw-quickhelp|). Fixed.
|
entry in the help (|netrw-quickhelp|). Fixed.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_paren.txt* For Vim version 7.2b. Last change: 2008 Jun 16
|
*pi_paren.txt* For Vim version 7.2c. Last change: 2008 Jun 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_spec.txt* For Vim version 7.2b. Last change: 2006 Apr 24
|
*pi_spec.txt* For Vim version 7.2c. Last change: 2006 Apr 24
|
||||||
|
|
||||||
by Gustavo Niemeyer ~
|
by Gustavo Niemeyer ~
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_tar.txt* For Vim version 7.2b. Last change: 2008 Jul 13
|
*pi_tar.txt* For Vim version 7.2c. Last change: 2008 Jul 13
|
||||||
|
|
||||||
+====================+
|
+====================+
|
||||||
| Tar File Interface |
|
| Tar File Interface |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_vimball.txt* For Vim version 7.2b. Last change: 2008 Jun 05
|
*pi_vimball.txt* For Vim version 7.2c. Last change: 2008 Jul 30
|
||||||
|
|
||||||
----------------
|
----------------
|
||||||
Vimball Archiver
|
Vimball Archiver
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_zip.txt* For Vim version 7.2b. Last change: 2008 Jun 29
|
*pi_zip.txt* For Vim version 7.2c. Last change: 2008 Jul 30
|
||||||
|
|
||||||
+====================+
|
+====================+
|
||||||
| Zip File Interface |
|
| Zip File Interface |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*print.txt* For Vim version 7.2b. Last change: 2008 Apr 30
|
*print.txt* For Vim version 7.2c. Last change: 2008 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 7.2b. Last change: 2008 Mar 14
|
*quickfix.txt* For Vim version 7.2c. Last change: 2008 Mar 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quickref.txt* For Vim version 7.2b. Last change: 2008 Jan 22
|
*quickref.txt* For Vim version 7.2c. Last change: 2008 Jan 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quotes.txt* For Vim version 7.2b. Last change: 2006 Apr 24
|
*quotes.txt* For Vim version 7.2c. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*recover.txt* For Vim version 7.2b. Last change: 2006 Apr 24
|
*recover.txt* For Vim version 7.2c. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*remote.txt* For Vim version 7.2b. Last change: 2008 May 24
|
*remote.txt* For Vim version 7.2c. Last change: 2008 May 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*repeat.txt* For Vim version 7.2b. Last change: 2007 Aug 12
|
*repeat.txt* For Vim version 7.2c. Last change: 2007 Aug 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*rileft.txt* For Vim version 7.2b. Last change: 2006 Apr 24
|
*rileft.txt* For Vim version 7.2c. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Avner Lottem
|
VIM REFERENCE MANUAL by Avner Lottem
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*russian.txt* For Vim version 7.2b. Last change: 2006 Apr 24
|
*russian.txt* For Vim version 7.2c. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Vassily Ragosin
|
VIM REFERENCE MANUAL by Vassily Ragosin
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user