mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
updated for version 7.0g
This commit is contained in:
parent
aa35dd1667
commit
c9b4b05b35
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.0f. Also runs under UNIX, MSDOS and other systems.
|
Version 7.0g. Also runs under UNIX, MSDOS and other systems.
|
||||||
vim70frt.tgz contains the documentation and syntax files.
|
vim70grt.tgz contains the documentation and syntax files.
|
||||||
vim70fbin.tgz contains the binaries.
|
vim70gbin.tgz contains the binaries.
|
||||||
vim70fsrc.tgz contains the sources.
|
vim70gsrc.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 proto depend lint tags types test t
|
|||||||
# 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 = 0f
|
MINOR = 0g
|
||||||
|
|
||||||
# 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.0f of Vim: Vi IMproved.
|
README.txt for version 7.0g of Vim: Vi IMproved.
|
||||||
|
|
||||||
|
|
||||||
WHAT IS VIM
|
WHAT IS VIM
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_ami.txt for version 7.0f of Vim: Vi IMproved.
|
README_ami.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_amibin.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_amisrc.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_bindos.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_dos.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_extra.txt for version 7.0g 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-6.0-src.tar.gz). The extra archive is useless without it.
|
(vim-6.0-src.tar.gz). The extra archive is useless without it.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_lang.txt for version 7.0f of Vim: Vi IMproved.
|
README_lang.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_mac.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_ole.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_os2.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_os_390.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_src.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_srcdos.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_unix.txt for version 7.0g 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.0f of Vim: Vi IMproved.
|
README_vms.txt for version 7.0g 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.
|
||||||
@ -22,8 +22,8 @@ To use the binary version, you need one of these archives:
|
|||||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||||
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
||||||
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
||||||
vim-XX-exe-axp-term.zip Alpha console executables
|
vim-XX-exe-axp-term.zip Alpha console executables
|
||||||
vim-XX-exe-vax-gui.zip VAX GUI executables
|
vim-XX-exe-vax-gui.zip VAX GUI executables
|
||||||
vim-XX-exe-vax-term.zip VAX console executables
|
vim-XX-exe-vax-term.zip VAX console executables
|
||||||
@ -34,12 +34,12 @@ and of course
|
|||||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
|
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
|
||||||
but there are also prepared "deploy ready" archives:
|
but there are also prepared "deploy ready" archives:
|
||||||
|
|
||||||
vim-XX-ia64.zip GUI and console executables with runtime and
|
vim-XX-ia64.zip GUI and console executables with runtime and
|
||||||
help files for IA64 systems
|
help files for IA64 systems
|
||||||
vim-XX-axp.zip GUI and console executables with runtime and
|
vim-XX-axp.zip GUI and console executables with runtime and
|
||||||
help files for Alpha systems
|
help files for Alpha systems
|
||||||
vim-XX-vax.zip GUI and console executables with runtime and
|
vim-XX-vax.zip GUI and console executables with runtime and
|
||||||
help files for VAX systems
|
help files for VAX systems
|
||||||
|
|
||||||
GTK builds need LIBGTK library installed.
|
GTK builds need LIBGTK library installed.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
README_w32s.txt for version 7.0f of Vim: Vi IMproved.
|
README_w32s.txt for version 7.0g 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 0f
|
!define VER_MINOR 0g
|
||||||
|
|
||||||
# ----------- No configurable settings below this line -----------
|
# ----------- No configurable settings below this line -----------
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: CSS 2.1
|
" Language: CSS 2.1
|
||||||
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" Last Change: 2005 Oct 12
|
" Last Change: 2006 Apr 30
|
||||||
|
|
||||||
function! csscomplete#CompleteCSS(findstart, base)
|
function! csscomplete#CompleteCSS(findstart, base)
|
||||||
if a:findstart
|
if a:findstart
|
||||||
@ -19,12 +19,12 @@ else
|
|||||||
" ^ ; : { } /* */
|
" ^ ; : { } /* */
|
||||||
" Where ^ is start of line and /* */ are comment borders
|
" Where ^ is start of line and /* */ are comment borders
|
||||||
" Depending on their relative position to cursor we will now what should
|
" Depending on their relative position to cursor we will now what should
|
||||||
" be completed.
|
" be completed.
|
||||||
" 1. if nearest are ^ or { or ; current word is property
|
" 1. if nearest are ^ or { or ; current word is property
|
||||||
" 2. if : it is value (with exception of pseudo things)
|
" 2. if : it is value (with exception of pseudo things)
|
||||||
" 3. if } we are outside of css definitions
|
" 3. if } we are outside of css definitions
|
||||||
" 4. for comments ignoring is be the easiest but assume they are the same
|
" 4. for comments ignoring is be the easiest but assume they are the same
|
||||||
" as 1.
|
" as 1.
|
||||||
" 5. if @ complete at-rule
|
" 5. if @ complete at-rule
|
||||||
" 6. if ! complete important
|
" 6. if ! complete important
|
||||||
if exists("b:compl_context")
|
if exists("b:compl_context")
|
||||||
@ -385,7 +385,7 @@ else
|
|||||||
let filestart = matchstr(entered_atruleafter, "^url([\"']\\?\\zs.*")
|
let filestart = matchstr(entered_atruleafter, "^url([\"']\\?\\zs.*")
|
||||||
let files = split(glob(filestart.'*'), '\n')
|
let files = split(glob(filestart.'*'), '\n')
|
||||||
let values = map(copy(files), '"url(".v:val')
|
let values = map(copy(files), '"url(".v:val')
|
||||||
|
|
||||||
else
|
else
|
||||||
let values = ['"', 'url(']
|
let values = ['"', 'url(']
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: HTML and XHTML
|
" Language: HTML and XHTML
|
||||||
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" Last Change: 2006 Apr 24
|
" Last Change: 2006 Apr 30
|
||||||
|
|
||||||
function! htmlcomplete#CompleteTags(findstart, base)
|
function! htmlcomplete#CompleteTags(findstart, base)
|
||||||
if a:findstart
|
if a:findstart
|
||||||
@ -23,7 +23,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
" Handling of <style> tag {{{
|
" Handling of <style> tag {{{
|
||||||
let stylestart = searchpair('<style\>', '', '<\/style\>', "bnW")
|
let stylestart = searchpair('<style\>', '', '<\/style\>', "bnW")
|
||||||
let styleend = searchpair('<style\>', '', '<\/style\>', "nW")
|
let styleend = searchpair('<style\>', '', '<\/style\>', "nW")
|
||||||
if stylestart != 0 && styleend != 0
|
if stylestart != 0 && styleend != 0
|
||||||
if stylestart <= curline && styleend >= curline
|
if stylestart <= curline && styleend >= curline
|
||||||
let start = col('.') - 1
|
let start = col('.') - 1
|
||||||
let b:csscompl = 1
|
let b:csscompl = 1
|
||||||
@ -36,7 +36,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
" Handling of <script> tag {{{
|
" Handling of <script> tag {{{
|
||||||
let scriptstart = searchpair('<script\>', '', '<\/script\>', "bnW")
|
let scriptstart = searchpair('<script\>', '', '<\/script\>', "bnW")
|
||||||
let scriptend = searchpair('<script\>', '', '<\/script\>', "nW")
|
let scriptend = searchpair('<script\>', '', '<\/script\>', "nW")
|
||||||
if scriptstart != 0 && scriptend != 0
|
if scriptstart != 0 && scriptend != 0
|
||||||
if scriptstart <= curline && scriptend >= curline
|
if scriptstart <= curline && scriptend >= curline
|
||||||
let start = col('.') - 1
|
let start = col('.') - 1
|
||||||
let b:jscompl = 1
|
let b:jscompl = 1
|
||||||
@ -109,7 +109,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
endwhile
|
endwhile
|
||||||
endif
|
endif
|
||||||
" If b:compl_context begins with <? we are inside of PHP code. It
|
" If b:compl_context begins with <? we are inside of PHP code. It
|
||||||
" wasn't closed so PHP completion passed it to HTML
|
" wasn't closed so PHP completion passed it to HTML
|
||||||
if &filetype =~? 'php' && b:compl_context =~ '^<?'
|
if &filetype =~? 'php' && b:compl_context =~ '^<?'
|
||||||
let b:phpcompl = 1
|
let b:phpcompl = 1
|
||||||
let start = col('.') - 1
|
let start = col('.') - 1
|
||||||
@ -200,7 +200,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
|
|
||||||
" If context contains > it means we are already outside of tag and we
|
" If context contains > it means we are already outside of tag and we
|
||||||
" should abandon action
|
" should abandon action
|
||||||
" If context contains white space it is attribute.
|
" If context contains white space it is attribute.
|
||||||
" It can be also value of attribute.
|
" It can be also value of attribute.
|
||||||
" We have to get first word to offer proper completions
|
" We have to get first word to offer proper completions
|
||||||
if context == ''
|
if context == ''
|
||||||
@ -353,7 +353,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
let filelines = getline(1, line('$'))
|
let filelines = getline(1, line('$'))
|
||||||
" 2. Find lines with possible id
|
" 2. Find lines with possible id
|
||||||
let used_id_lines = filter(filelines, 'v:val =~ "id\\s*=\\s*[\"''][a-zA-Z0-9_-]\\+"')
|
let used_id_lines = filter(filelines, 'v:val =~ "id\\s*=\\s*[\"''][a-zA-Z0-9_-]\\+"')
|
||||||
" 3a. Join all filtered lines
|
" 3a. Join all filtered lines
|
||||||
let id_string = join(used_id_lines, ' ')
|
let id_string = join(used_id_lines, ' ')
|
||||||
" 3b. And split them to be sure each id is in separate item
|
" 3b. And split them to be sure each id is in separate item
|
||||||
let id_list = split(id_string, 'id\s*=\s*')
|
let id_list = split(id_string, 'id\s*=\s*')
|
||||||
@ -432,7 +432,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
return javascriptcomplete#CompleteJS(0, js_context)
|
return javascriptcomplete#CompleteJS(0, js_context)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
let stripbase = matchstr(context, ".*\\(on[a-zA-Z]*\\|style\\|class\\)\\s*=\\s*[\"']\\zs.*")
|
let stripbase = matchstr(context, ".*\\(on[a-zA-Z]*\\|style\\|class\\)\\s*=\\s*[\"']\\zs.*")
|
||||||
" Now we have context stripped from all chars up to style/class.
|
" Now we have context stripped from all chars up to style/class.
|
||||||
@ -508,7 +508,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
call htmlcomplete#LoadData()
|
call htmlcomplete#LoadData()
|
||||||
endif
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
if has_key(b:html_omni, tag)
|
if has_key(b:html_omni, tag)
|
||||||
let attrs = keys(b:html_omni[tag][1])
|
let attrs = keys(b:html_omni[tag][1])
|
||||||
else
|
else
|
||||||
@ -600,7 +600,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
if exists("uppercase_tag") && uppercase_tag == 1
|
if exists("uppercase_tag") && uppercase_tag == 1
|
||||||
let context = tolower(context)
|
let context = tolower(context)
|
||||||
endif
|
endif
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: Java Script
|
" Language: Java Script
|
||||||
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" Last Change: 2006 Feb 6
|
" Last Change: 2006 Apr 30
|
||||||
|
|
||||||
function! javascriptcomplete#CompleteJS(findstart, base)
|
function! javascriptcomplete#CompleteJS(findstart, base)
|
||||||
if a:findstart
|
if a:findstart
|
||||||
@ -48,7 +48,7 @@ function! javascriptcomplete#CompleteJS(findstart, base)
|
|||||||
let doms = ['style.']
|
let doms = ['style.']
|
||||||
" Arrays
|
" Arrays
|
||||||
let arrayprop = ['constructor', 'index', 'input', 'length', 'prototype']
|
let arrayprop = ['constructor', 'index', 'input', 'length', 'prototype']
|
||||||
let arraymeth = ['concat', 'join', 'pop', 'push', 'reverse', 'shift',
|
let arraymeth = ['concat', 'join', 'pop', 'push', 'reverse', 'shift',
|
||||||
\ 'splice', 'sort', 'toSource', 'toString', 'unshift', 'valueOf',
|
\ 'splice', 'sort', 'toSource', 'toString', 'unshift', 'valueOf',
|
||||||
\ 'watch', 'unwatch']
|
\ 'watch', 'unwatch']
|
||||||
call map(arraymeth, 'v:val."("')
|
call map(arraymeth, 'v:val."("')
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: PHP
|
" Language: PHP
|
||||||
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" Last Change: 2006 Apr 15
|
" Last Change: 2006 Apr 30
|
||||||
"
|
"
|
||||||
" TODO:
|
" TODO:
|
||||||
" - Class aware completion:
|
" - Class aware completion:
|
||||||
@ -72,7 +72,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
" Complete class name
|
" Complete class name
|
||||||
" Internal solution for finding classes in current file.
|
" Internal solution for finding classes in current file.
|
||||||
let file = getline(1, '$')
|
let file = getline(1, '$')
|
||||||
call filter(file,
|
call filter(file,
|
||||||
\ 'v:val =~ "class\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
|
\ 'v:val =~ "class\\s\\+[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
|
||||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
||||||
let jfile = join(file, ' ')
|
let jfile = join(file, ' ')
|
||||||
@ -153,15 +153,15 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
" and ifs. No good solution
|
" and ifs. No good solution
|
||||||
" Functions declared with public keyword or without any
|
" Functions declared with public keyword or without any
|
||||||
" keyword are public
|
" keyword are public
|
||||||
let functions = filter(deepcopy(sccontent),
|
let functions = filter(deepcopy(sccontent),
|
||||||
\ 'v:val =~ "^\\s*\\(public\\s\\*\\)\\?function"')
|
\ 'v:val =~ "^\\s*\\(public\\s\\*\\)\\?function"')
|
||||||
let jfuncs = join(functions, ' ')
|
let jfuncs = join(functions, ' ')
|
||||||
let sfuncs = split(jfuncs, 'function\s\+')
|
let sfuncs = split(jfuncs, 'function\s\+')
|
||||||
let c_functions = {}
|
let c_functions = {}
|
||||||
for i in sfuncs
|
for i in sfuncs
|
||||||
let f_name = matchstr(i,
|
let f_name = matchstr(i,
|
||||||
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
||||||
let f_args = matchstr(i,
|
let f_args = matchstr(i,
|
||||||
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*{')
|
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*{')
|
||||||
if f_name != ''
|
if f_name != ''
|
||||||
let c_functions[f_name.'('] = f_args
|
let c_functions[f_name.'('] = f_args
|
||||||
@ -169,13 +169,13 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
endfor
|
endfor
|
||||||
" Variables declared with var or with public keyword are
|
" Variables declared with var or with public keyword are
|
||||||
" public
|
" public
|
||||||
let variables = filter(deepcopy(sccontent),
|
let variables = filter(deepcopy(sccontent),
|
||||||
\ 'v:val =~ "^\\s*\\(public\\|var\\)\\s\\+\\$"')
|
\ 'v:val =~ "^\\s*\\(public\\|var\\)\\s\\+\\$"')
|
||||||
let jvars = join(variables, ' ')
|
let jvars = join(variables, ' ')
|
||||||
let svars = split(jvars, '\$')
|
let svars = split(jvars, '\$')
|
||||||
let c_variables = {}
|
let c_variables = {}
|
||||||
for i in svars
|
for i in svars
|
||||||
let c_var = matchstr(i,
|
let c_var = matchstr(i,
|
||||||
\ '^\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
\ '^\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
||||||
if c_var != ''
|
if c_var != ''
|
||||||
let c_variables[c_var] = ''
|
let c_variables[c_var] = ''
|
||||||
@ -204,13 +204,13 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
if all_values[i] != ''
|
if all_values[i] != ''
|
||||||
let class = i.' class '
|
let class = i.' class '
|
||||||
endif
|
endif
|
||||||
let final_list +=
|
let final_list +=
|
||||||
\ [{'word':i,
|
\ [{'word':i,
|
||||||
\ 'info':class.all_values[i],
|
\ 'info':class.all_values[i],
|
||||||
\ 'kind':'v'}]
|
\ 'kind':'v'}]
|
||||||
else
|
else
|
||||||
let final_list +=
|
let final_list +=
|
||||||
\ [{'word':substitute(i, '.*::', '', ''),
|
\ [{'word':substitute(i, '.*::', '', ''),
|
||||||
\ 'info':i.all_values[i].')',
|
\ 'info':i.all_values[i].')',
|
||||||
\ 'kind':'f'}]
|
\ 'kind':'f'}]
|
||||||
endif
|
endif
|
||||||
@ -241,7 +241,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
let int_vars[adddollar.val] = ''
|
let int_vars[adddollar.val] = ''
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
" ctags has good support for PHP, use tags file for external
|
" ctags has good support for PHP, use tags file for external
|
||||||
" variables
|
" variables
|
||||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
||||||
@ -256,7 +256,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
let classname = ''
|
let classname = ''
|
||||||
if field['text'] =~ item.'\s*=\s*new\s\+'
|
if field['text'] =~ item.'\s*=\s*new\s\+'
|
||||||
let item = item.'->'
|
let item = item.'->'
|
||||||
let classname = matchstr(field['text'],
|
let classname = matchstr(field['text'],
|
||||||
\ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
|
\ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
|
||||||
endif
|
endif
|
||||||
let ext_vars[adddollar.item] = classname
|
let ext_vars[adddollar.item] = classname
|
||||||
@ -268,16 +268,16 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
|
|
||||||
" Internal solution for finding functions in current file.
|
" Internal solution for finding functions in current file.
|
||||||
let file = getline(1, '$')
|
let file = getline(1, '$')
|
||||||
call filter(file,
|
call filter(file,
|
||||||
\ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
|
\ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
|
||||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
||||||
let jfile = join(file, ' ')
|
let jfile = join(file, ' ')
|
||||||
let int_values = split(jfile, 'function\s\+')
|
let int_values = split(jfile, 'function\s\+')
|
||||||
let int_functions = {}
|
let int_functions = {}
|
||||||
for i in int_values
|
for i in int_values
|
||||||
let f_name = matchstr(i,
|
let f_name = matchstr(i,
|
||||||
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
||||||
let f_args = matchstr(i,
|
let f_args = matchstr(i,
|
||||||
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*{')
|
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\zs.\{-}\ze)\_s*{')
|
||||||
let int_functions[f_name.'('] = f_args.')'
|
let int_functions[f_name.'('] = f_args.')'
|
||||||
endfor
|
endfor
|
||||||
@ -291,7 +291,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
" File name
|
" File name
|
||||||
let item = matchstr(field['text'], '^[^[:space:]]\+')
|
let item = matchstr(field['text'], '^[^[:space:]]\+')
|
||||||
let fname = matchstr(field['text'], '\t\zs\f\+\ze')
|
let fname = matchstr(field['text'], '\t\zs\f\+\ze')
|
||||||
let prototype = matchstr(field['text'],
|
let prototype = matchstr(field['text'],
|
||||||
\ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
|
\ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
|
||||||
let ext_functions[item.'('] = prototype.') - '.fname
|
let ext_functions[item.'('] = prototype.') - '.fname
|
||||||
endfor
|
endfor
|
||||||
@ -320,8 +320,8 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
endif
|
endif
|
||||||
let final_list += [{'word':i, 'info':class.all_values[i], 'kind':'v'}]
|
let final_list += [{'word':i, 'info':class.all_values[i], 'kind':'v'}]
|
||||||
else
|
else
|
||||||
let final_list +=
|
let final_list +=
|
||||||
\ [{'word':substitute(i, '.*::', '', ''),
|
\ [{'word':substitute(i, '.*::', '', ''),
|
||||||
\ 'info':i.all_values[i],
|
\ 'info':i.all_values[i],
|
||||||
\ 'kind':'f'}]
|
\ 'kind':'f'}]
|
||||||
endif
|
endif
|
||||||
@ -361,10 +361,10 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
let int_vars = {}
|
let int_vars = {}
|
||||||
for i in int_vals
|
for i in int_vals
|
||||||
if i =~ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new'
|
if i =~ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*=\s*new'
|
||||||
let val = matchstr(i,
|
let val = matchstr(i,
|
||||||
\ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*').'->'
|
\ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*').'->'
|
||||||
else
|
else
|
||||||
let val = matchstr(i,
|
let val = matchstr(i,
|
||||||
\ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
|
\ '^\$[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*')
|
||||||
endif
|
endif
|
||||||
if val != ''
|
if val != ''
|
||||||
@ -373,7 +373,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
endfor
|
endfor
|
||||||
|
|
||||||
call extend(int_vars,g:php_builtin_vars)
|
call extend(int_vars,g:php_builtin_vars)
|
||||||
|
|
||||||
" ctags has support for PHP, use tags file for external variables
|
" ctags has support for PHP, use tags file for external variables
|
||||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
||||||
let ext_vars = {}
|
let ext_vars = {}
|
||||||
@ -387,7 +387,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
" Add -> if it is possible object declaration
|
" Add -> if it is possible object declaration
|
||||||
if field['text'] =~ item.'\s*=\s*new\s\+'
|
if field['text'] =~ item.'\s*=\s*new\s\+'
|
||||||
let item = item.'->'
|
let item = item.'->'
|
||||||
let m_menu = matchstr(field['text'],
|
let m_menu = matchstr(field['text'],
|
||||||
\ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
|
\ '=\s*new\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
|
||||||
endif
|
endif
|
||||||
let ext_vars[item] = m_menu
|
let ext_vars[item] = m_menu
|
||||||
@ -421,7 +421,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
return int_dict
|
return int_dict
|
||||||
|
|
||||||
else
|
else
|
||||||
" Complete everything else -
|
" Complete everything else -
|
||||||
" + functions, DONE
|
" + functions, DONE
|
||||||
" + keywords of language DONE
|
" + keywords of language DONE
|
||||||
" + defines (constant definitions), DONE
|
" + defines (constant definitions), DONE
|
||||||
@ -431,16 +431,16 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
|
|
||||||
" Internal solution for finding functions in current file.
|
" Internal solution for finding functions in current file.
|
||||||
let file = getline(1, '$')
|
let file = getline(1, '$')
|
||||||
call filter(file,
|
call filter(file,
|
||||||
\ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
|
\ 'v:val =~ "function\\s\\+&\\?[a-zA-Z_\\x7f-\\xff][a-zA-Z_0-9\\x7f-\\xff]*\\s*("')
|
||||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
||||||
let jfile = join(file, ' ')
|
let jfile = join(file, ' ')
|
||||||
let int_values = split(jfile, 'function\s\+')
|
let int_values = split(jfile, 'function\s\+')
|
||||||
let int_functions = {}
|
let int_functions = {}
|
||||||
for i in int_values
|
for i in int_values
|
||||||
let f_name = matchstr(i,
|
let f_name = matchstr(i,
|
||||||
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
\ '^&\?\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze')
|
||||||
let f_args = matchstr(i,
|
let f_args = matchstr(i,
|
||||||
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\s*\zs.\{-}\ze\s*)\_s*{')
|
\ '^&\?[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\s*(\s*\zs.\{-}\ze\s*)\_s*{')
|
||||||
let int_functions[f_name.'('] = f_args.')'
|
let int_functions[f_name.'('] = f_args.')'
|
||||||
endfor
|
endfor
|
||||||
@ -454,7 +454,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
" File name
|
" File name
|
||||||
let item = matchstr(field['text'], '^[^[:space:]]\+')
|
let item = matchstr(field['text'], '^[^[:space:]]\+')
|
||||||
let fname = matchstr(field['text'], '\t\zs\f\+\ze')
|
let fname = matchstr(field['text'], '\t\zs\f\+\ze')
|
||||||
let prototype = matchstr(field['text'],
|
let prototype = matchstr(field['text'],
|
||||||
\ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
|
\ 'function\s\+&\?[^[:space:]]\+\s*(\s*\zs.\{-}\ze\s*)\s*{\?')
|
||||||
let ext_functions[item.'('] = prototype.') - '.fname
|
let ext_functions[item.'('] = prototype.') - '.fname
|
||||||
endfor
|
endfor
|
||||||
@ -472,7 +472,7 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
let int_constants = {}
|
let int_constants = {}
|
||||||
for i in int_values
|
for i in int_values
|
||||||
let c_name = matchstr(i, '\(["'']\)\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze\1')
|
let c_name = matchstr(i, '\(["'']\)\zs[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\ze\1')
|
||||||
" let c_value = matchstr(i,
|
" let c_value = matchstr(i,
|
||||||
" \ '\(["'']\)[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\1\s*,\s*\zs.\{-}\ze\s*)')
|
" \ '\(["'']\)[a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\1\s*,\s*\zs.\{-}\ze\s*)')
|
||||||
if c_name != ''
|
if c_name != ''
|
||||||
let int_constants[c_name] = '' " c_value
|
let int_constants[c_name] = '' " c_value
|
||||||
@ -516,8 +516,8 @@ function! phpcomplete#CompletePHP(findstart, base)
|
|||||||
let final_list = []
|
let final_list = []
|
||||||
for i in int_list
|
for i in int_list
|
||||||
if has_key(int_functions, i)
|
if has_key(int_functions, i)
|
||||||
let final_list +=
|
let final_list +=
|
||||||
\ [{'word':i,
|
\ [{'word':i,
|
||||||
\ 'info':i.int_functions[i],
|
\ 'info':i.int_functions[i],
|
||||||
\ 'kind':'f'}]
|
\ 'kind':'f'}]
|
||||||
elseif has_key(int_constants, i)
|
elseif has_key(int_constants, i)
|
||||||
@ -599,17 +599,17 @@ endfunction
|
|||||||
|
|
||||||
function! phpcomplete#GetClassContents(file, name) " {{{
|
function! phpcomplete#GetClassContents(file, name) " {{{
|
||||||
let cfile = join(a:file, "\n")
|
let cfile = join(a:file, "\n")
|
||||||
" We use new buffer and (later) normal! because
|
" We use new buffer and (later) normal! because
|
||||||
" this is the most efficient way. The other way
|
" this is the most efficient way. The other way
|
||||||
" is to go through the looong string looking for
|
" is to go through the looong string looking for
|
||||||
" matching {}
|
" matching {}
|
||||||
below 1new
|
below 1new
|
||||||
0put =cfile
|
0put =cfile
|
||||||
call search('class\s\+'.a:name)
|
call search('class\s\+'.a:name)
|
||||||
let cfline = line('.')
|
let cfline = line('.')
|
||||||
" Catch extends
|
" Catch extends
|
||||||
if getline('.') =~ 'extends'
|
if getline('.') =~ 'extends'
|
||||||
let extends_class = matchstr(getline('.'),
|
let extends_class = matchstr(getline('.'),
|
||||||
\ 'class\s\+'.a:name.'\s\+extends\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
|
\ 'class\s\+'.a:name.'\s\+extends\s\+\zs[a-zA-Z_0-9\x7f-\xff]\+\ze')
|
||||||
else
|
else
|
||||||
let extends_class = ''
|
let extends_class = ''
|
||||||
@ -965,8 +965,8 @@ let g:php_keywords = {
|
|||||||
" PHP builtin functions {{{
|
" PHP builtin functions {{{
|
||||||
" To create from scratch list of functions:
|
" To create from scratch list of functions:
|
||||||
" 1. Download multi html file PHP documentation
|
" 1. Download multi html file PHP documentation
|
||||||
" 2. run for i in `ls | grep "^function\."`; do grep -A4 Description $i >> funcs; done
|
" 2. run for i in `ls | grep "^function\."`; do grep -A4 Description $i >> funcs; done
|
||||||
" 3. Open funcs in Vim and
|
" 3. Open funcs in Vim and
|
||||||
" a) g/Description/normal! 5J
|
" a) g/Description/normal! 5J
|
||||||
" b) remove all html tags (it will require few s/// and g//)
|
" b) remove all html tags (it will require few s/// and g//)
|
||||||
" c) :%s/^\([^[:space:]]\+\) \([^[:space:]]\+\) ( \(.*\))/\\ '\2(': '\3| \1',
|
" c) :%s/^\([^[:space:]]\+\) \([^[:space:]]\+\) ( \(.*\))/\\ '\2(': '\3| \1',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: XML
|
" Language: XML
|
||||||
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
" Last Change: 2006 Apr 19
|
" Last Change: 2006 Apr 30
|
||||||
|
|
||||||
" This function will create Dictionary with users namespace strings and values
|
" This function will create Dictionary with users namespace strings and values
|
||||||
" canonical (system) names of data files. Names should be lowercase,
|
" canonical (system) names of data files. Names should be lowercase,
|
||||||
@ -22,7 +22,7 @@ function! xmlcomplete#CreateConnection(canonical, ...) " {{{
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Source data file. Due to suspected errors in autoload do it with
|
" Source data file. Due to suspected errors in autoload do it with
|
||||||
" :runtime.
|
" :runtime.
|
||||||
" TODO: make it properly (using autoload, that is) later
|
" TODO: make it properly (using autoload, that is) later
|
||||||
exe "runtime autoload/xml/".a:canonical.".vim"
|
exe "runtime autoload/xml/".a:canonical.".vim"
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ function! xmlcomplete#CompleteTags(findstart, base)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" find tags matching with "a:base"
|
" find tags matching with "a:base"
|
||||||
" If a:base contains white space it is attribute.
|
" If a:base contains white space it is attribute.
|
||||||
" It could be also value of attribute...
|
" It could be also value of attribute...
|
||||||
" We have to get first word to offer
|
" We have to get first word to offer
|
||||||
" proper completions
|
" proper completions
|
||||||
|
@ -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 21
|
" Last Change: 2006 Apr 30
|
||||||
|
|
||||||
" 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,
|
||||||
@ -45,8 +45,8 @@ hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none
|
|||||||
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
|
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
|
||||||
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
|
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
|
||||||
|
|
||||||
hi Cursor guifg=black guibg=yellow ctermfg=black ctermbg=yellow
|
hi Cursor guifg=black guibg=yellow ctermfg=black ctermbg=yellow
|
||||||
hi lCursor guifg=black guibg=white ctermfg=black ctermbg=white
|
hi lCursor guifg=black guibg=white ctermfg=black ctermbg=white
|
||||||
|
|
||||||
|
|
||||||
hi Comment guifg=#80a0ff ctermfg=darkred
|
hi Comment guifg=#80a0ff ctermfg=darkred
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Vim color file
|
" Vim color file
|
||||||
" Maintainer: David Schweikert <dws@ee.ethz.ch>
|
" Maintainer: David Schweikert <dws@ee.ethz.ch>
|
||||||
" Last Change: 2006 Apr 14
|
" Last Change: 2006 Apr 30
|
||||||
|
|
||||||
hi clear
|
hi clear
|
||||||
|
|
||||||
@ -14,30 +14,30 @@ hi lCursor guifg=NONE guibg=Cyan
|
|||||||
" Note: we never set 'term' because the defaults for B&W terminals are OK
|
" Note: we never set 'term' because the defaults for B&W terminals are OK
|
||||||
hi DiffAdd ctermbg=LightBlue guibg=LightBlue
|
hi DiffAdd ctermbg=LightBlue guibg=LightBlue
|
||||||
hi DiffChange ctermbg=LightMagenta guibg=LightMagenta
|
hi DiffChange ctermbg=LightMagenta guibg=LightMagenta
|
||||||
hi DiffDelete ctermfg=Blue ctermbg=LightCyan gui=bold guifg=Blue guibg=LightCyan
|
hi DiffDelete ctermfg=Blue ctermbg=LightCyan gui=bold guifg=Blue guibg=LightCyan
|
||||||
hi DiffText ctermbg=Red cterm=bold gui=bold guibg=Red
|
hi DiffText ctermbg=Red cterm=bold gui=bold guibg=Red
|
||||||
hi Directory ctermfg=DarkBlue guifg=Blue
|
hi Directory ctermfg=DarkBlue guifg=Blue
|
||||||
hi ErrorMsg ctermfg=White ctermbg=DarkRed guibg=Red guifg=White
|
hi ErrorMsg ctermfg=White ctermbg=DarkRed guibg=Red guifg=White
|
||||||
hi FoldColumn ctermfg=DarkBlue ctermbg=Grey guibg=Grey guifg=DarkBlue
|
hi FoldColumn ctermfg=DarkBlue ctermbg=Grey guibg=Grey guifg=DarkBlue
|
||||||
hi Folded ctermbg=Grey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue
|
hi Folded ctermbg=Grey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue
|
||||||
hi IncSearch cterm=reverse gui=reverse
|
hi IncSearch cterm=reverse gui=reverse
|
||||||
hi LineNr ctermfg=Brown guifg=Brown
|
hi LineNr ctermfg=Brown guifg=Brown
|
||||||
hi ModeMsg cterm=bold gui=bold
|
hi ModeMsg cterm=bold gui=bold
|
||||||
hi MoreMsg ctermfg=DarkGreen gui=bold guifg=SeaGreen
|
hi MoreMsg ctermfg=DarkGreen gui=bold guifg=SeaGreen
|
||||||
hi NonText ctermfg=Blue gui=bold guifg=gray guibg=white
|
hi NonText ctermfg=Blue gui=bold guifg=gray guibg=white
|
||||||
hi Pmenu guibg=LightBlue
|
hi Pmenu guibg=LightBlue
|
||||||
hi PmenuSel ctermfg=White ctermbg=DarkBlue guifg=White guibg=DarkBlue
|
hi PmenuSel ctermfg=White ctermbg=DarkBlue guifg=White guibg=DarkBlue
|
||||||
hi Question ctermfg=DarkGreen gui=bold guifg=SeaGreen
|
hi Question ctermfg=DarkGreen gui=bold guifg=SeaGreen
|
||||||
hi Search ctermfg=NONE ctermbg=Yellow guibg=Yellow guifg=NONE
|
hi Search ctermfg=NONE ctermbg=Yellow guibg=Yellow guifg=NONE
|
||||||
hi SpecialKey ctermfg=DarkBlue guifg=Blue
|
hi SpecialKey ctermfg=DarkBlue guifg=Blue
|
||||||
hi StatusLine cterm=bold ctermbg=blue ctermfg=yellow guibg=gold guifg=blue
|
hi StatusLine cterm=bold ctermbg=blue ctermfg=yellow guibg=gold guifg=blue
|
||||||
hi StatusLineNC cterm=bold ctermbg=blue ctermfg=black guibg=gold guifg=blue
|
hi StatusLineNC cterm=bold ctermbg=blue ctermfg=black guibg=gold guifg=blue
|
||||||
hi Title ctermfg=DarkMagenta gui=bold guifg=Magenta
|
hi Title ctermfg=DarkMagenta gui=bold guifg=Magenta
|
||||||
hi VertSplit cterm=reverse gui=reverse
|
hi VertSplit cterm=reverse gui=reverse
|
||||||
hi Visual ctermbg=NONE cterm=reverse gui=reverse guifg=Grey guibg=fg
|
hi Visual ctermbg=NONE cterm=reverse gui=reverse guifg=Grey guibg=fg
|
||||||
hi VisualNOS cterm=underline,bold gui=underline,bold
|
hi VisualNOS cterm=underline,bold gui=underline,bold
|
||||||
hi WarningMsg ctermfg=DarkRed guifg=Red
|
hi WarningMsg ctermfg=DarkRed guifg=Red
|
||||||
hi WildMenu ctermfg=Black ctermbg=Yellow guibg=Yellow guifg=Black
|
hi WildMenu ctermfg=Black ctermbg=Yellow guibg=Yellow guifg=Black
|
||||||
|
|
||||||
" syntax highlighting
|
" syntax highlighting
|
||||||
hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2
|
hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*arabic.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*arabic.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Apr 25
|
*autocmd.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -162,7 +162,7 @@ was last defined. Example: >
|
|||||||
|
|
||||||
:verbose autocmd BufEnter
|
:verbose autocmd BufEnter
|
||||||
FileExplorer BufEnter
|
FileExplorer BufEnter
|
||||||
* call s:LocalBrowse(expand("<amatch>"))
|
* call s:LocalBrowse(expand("<amatch>"))
|
||||||
Last set from /usr/share/vim/vim-7.0/plugin/NetrwPlugin.vim
|
Last set from /usr/share/vim/vim-7.0/plugin/NetrwPlugin.vim
|
||||||
<
|
<
|
||||||
See |:verbose-cmd| for more information.
|
See |:verbose-cmd| for more information.
|
||||||
@ -884,8 +884,8 @@ buffer actually still exists (it becomes unlisted), thus the autocommands are
|
|||||||
still executed.
|
still executed.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. Buffer-local autocommands *autocmd-buflocal* *autocmd-buffer-local*
|
7. Buffer-local autocommands *autocmd-buflocal* *autocmd-buffer-local*
|
||||||
*<buffer=N>* *<buffer=abuf>* *E680*
|
*<buffer=N>* *<buffer=abuf>* *E680*
|
||||||
|
|
||||||
Buffer-local autocommands are attached to a specific buffer. They are useful
|
Buffer-local autocommands are attached to a specific buffer. They are useful
|
||||||
if the buffer does not have a name and when the name does not match a specific
|
if the buffer does not have a name and when the name does not match a specific
|
||||||
@ -904,14 +904,14 @@ Examples: >
|
|||||||
|
|
||||||
All the commands for autocommands also work with buffer-local autocommands,
|
All the commands for autocommands also work with buffer-local autocommands,
|
||||||
simply use the special string instead of the pattern. Examples: >
|
simply use the special string instead of the pattern. Examples: >
|
||||||
:au! * <buffer> " remove buffer-local autocommands for
|
:au! * <buffer> " remove buffer-local autocommands for
|
||||||
" current buffer
|
" current buffer
|
||||||
:au! * <buffer=33> " remove buffer-local autocommands for
|
:au! * <buffer=33> " remove buffer-local autocommands for
|
||||||
" buffer #33
|
" buffer #33
|
||||||
:dobuf :au! CursorHold <buffer> " remove autocmd for given event for all
|
:dobuf :au! CursorHold <buffer> " remove autocmd for given event for all
|
||||||
" buffers
|
" buffers
|
||||||
:au * <buffer> " list buffer-local autocommands for
|
:au * <buffer> " list buffer-local autocommands for
|
||||||
" current buffer
|
" current buffer
|
||||||
|
|
||||||
Note that when an autocommand is defined for the current buffer, it is stored
|
Note that when an autocommand is defined for the current buffer, it is stored
|
||||||
with the buffer number. Thus it uses the form "<buffer=12>", where 12 is the
|
with the buffer number. Thus it uses the form "<buffer=12>", where 12 is the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 7.0f. Last change: 2006 Apr 25
|
*change.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -470,7 +470,7 @@ For example: >
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
4. Complex changes *complex-change*
|
4. Complex changes *complex-change*
|
||||||
|
|
||||||
4.1 Filter commands *filter*
|
4.1 Filter commands *filter*
|
||||||
|
|
||||||
A filter is a program that accepts text at standard input, changes it in some
|
A filter is a program that accepts text at standard input, changes it in some
|
||||||
way, and sends it to standard output. You can use the commands below to send
|
way, and sends it to standard output. You can use the commands below to send
|
||||||
@ -900,7 +900,7 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
*<MiddleMouse>*
|
*<MiddleMouse>*
|
||||||
["x]<MiddleMouse> Put the text from a register before the cursor [count]
|
["x]<MiddleMouse> Put the text from a register before the cursor [count]
|
||||||
times. Uses the "* register, unless another is
|
times. Uses the "* register, unless another is
|
||||||
specified.
|
specified.
|
||||||
Leaves the cursor at the end of the new text.
|
Leaves the cursor at the end of the new text.
|
||||||
Using the mouse only works when 'mouse' contains 'n'
|
Using the mouse only works when 'mouse' contains 'n'
|
||||||
or 'a'.
|
or 'a'.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*cmdline.txt* For Vim version 7.0f. Last change: 2006 Mar 16
|
*cmdline.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -663,7 +663,7 @@ closed fold. See |fold-behavior|.
|
|||||||
Reverse Range *E493*
|
Reverse Range *E493*
|
||||||
|
|
||||||
A range should have the lower line number first. If this is not the case, Vim
|
A range should have the lower line number first. If this is not the case, Vim
|
||||||
will ask you if it should swap the line numbers.
|
will ask you if it should swap the line numbers.
|
||||||
Backwards range given, OK to swap ~
|
Backwards range given, OK to swap ~
|
||||||
This is not done within the global command ":g".
|
This is not done within the global command ":g".
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*debug.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*debug.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -10,7 +10,7 @@ This is for debugging Vim itself, when it doesn't work properly.
|
|||||||
For debugging Vim scripts, functions, etc. see |debug-scripts|
|
For debugging Vim scripts, functions, etc. see |debug-scripts|
|
||||||
|
|
||||||
1. Location of a crash, using gcc and gdb |debug-gcc|
|
1. Location of a crash, using gcc and gdb |debug-gcc|
|
||||||
2. Windows Bug Reporting |debug-win32|
|
2. Windows Bug Reporting |debug-win32|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ This also applies when using the MingW tools.
|
|||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
2. Windows Bug Reporting *debug-win32*
|
2. Windows Bug Reporting *debug-win32*
|
||||||
|
|
||||||
If the Windows version of Vim crashes in a reproducible manner, you can take
|
If the Windows version of Vim crashes in a reproducible manner, you can take
|
||||||
some steps to provide a useful bug report.
|
some steps to provide a useful bug report.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*debugger.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*debugger.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Mar 09
|
*develop.txt* For Vim version 7.0g. Last change: 2006 Mar 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 7.0f. Last change: 2006 Apr 14
|
*diff.txt* For Vim version 7.0g. Last change: 2006 Apr 14
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*digraph.txt* For Vim version 7.0f. Last change: 2006 Apr 25
|
*digraph.txt* For Vim version 7.0g. Last change: 2006 Apr 25
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*editing.txt* For Vim version 7.0f. Last change: 2006 Apr 29
|
*editing.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -433,9 +433,9 @@ Where {optname} is one of: *++ff* *++enc* *++bin* *++nobin* *++edit*
|
|||||||
enc or encoding overrides 'fileencoding'
|
enc or encoding overrides 'fileencoding'
|
||||||
bin or binary sets 'binary'
|
bin or binary sets 'binary'
|
||||||
nobin or nobinary resets 'binary'
|
nobin or nobinary resets 'binary'
|
||||||
bad specifies behavior for bad characters
|
bad specifies behavior for bad characters
|
||||||
edit for |:read| only: keep option values as if editing
|
edit for |:read| only: keep option values as if editing
|
||||||
a file
|
a file
|
||||||
|
|
||||||
{value} cannot contain white space. It can be any valid value for these
|
{value} cannot contain white space. It can be any valid value for these
|
||||||
options. Examples: >
|
options. Examples: >
|
||||||
@ -453,7 +453,7 @@ The argument of "++bad=" specifies what happens with characters that can't be
|
|||||||
converted and illegal bytes. It can be one of three things:
|
converted and illegal bytes. It can be one of three things:
|
||||||
++bad=X A single-byte character that replaces each bad character.
|
++bad=X A single-byte character that replaces each bad character.
|
||||||
++bad=keep Keep bad characters without conversion. Note that this may
|
++bad=keep Keep bad characters without conversion. Note that this may
|
||||||
result in illegal bytes in your text!
|
result in illegal bytes in your text!
|
||||||
++bad=drop Remove the bad characters.
|
++bad=drop Remove the bad characters.
|
||||||
|
|
||||||
The default is like "++bad=?": Replace each bad character with a question
|
The default is like "++bad=?": Replace each bad character with a question
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.0f. Last change: 2006 Apr 29
|
*eval.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1681,7 +1681,7 @@ remote_read( {serverid}) String read reply string
|
|||||||
remote_send( {server}, {string} [, {idvar}])
|
remote_send( {server}, {string} [, {idvar}])
|
||||||
String send key sequence
|
String send key sequence
|
||||||
remove( {list}, {idx} [, {end}]) any remove items {idx}-{end} from {list}
|
remove( {list}, {idx} [, {end}]) any remove items {idx}-{end} from {list}
|
||||||
remove( {dict}, {key}) any remove entry {key} from {dict}
|
remove( {dict}, {key}) any remove entry {key} from {dict}
|
||||||
rename( {from}, {to}) Number rename (move) file from {from} to {to}
|
rename( {from}, {to}) Number rename (move) file from {from} to {to}
|
||||||
repeat( {expr}, {count}) String repeat {expr} {count} times
|
repeat( {expr}, {count}) String repeat {expr} {count} times
|
||||||
resolve( {filename}) String get filename a shortcut points to
|
resolve( {filename}) String get filename a shortcut points to
|
||||||
@ -2323,7 +2323,7 @@ exists({expr}) The result is a Number, which is non-zero if {expr} is
|
|||||||
#group#event autocommand defined for this group and
|
#group#event autocommand defined for this group and
|
||||||
event.
|
event.
|
||||||
#group#event#pattern
|
#group#event#pattern
|
||||||
autocommand defined for this group,
|
autocommand defined for this group,
|
||||||
event and pattern.
|
event and pattern.
|
||||||
##event autocommand for this event is
|
##event autocommand for this event is
|
||||||
supported.
|
supported.
|
||||||
@ -2450,7 +2450,7 @@ extend({expr1}, {expr2} [, {expr3}]) *extend()*
|
|||||||
used to decide what to do:
|
used to decide what to do:
|
||||||
{expr3} = "keep": keep the value of {expr1}
|
{expr3} = "keep": keep the value of {expr1}
|
||||||
{expr3} = "force": use the value of {expr2}
|
{expr3} = "force": use the value of {expr2}
|
||||||
{expr3} = "error": give an error message *E737*
|
{expr3} = "error": give an error message *E737*
|
||||||
When {expr3} is omitted then "force" is assumed.
|
When {expr3} is omitted then "force" is assumed.
|
||||||
|
|
||||||
{expr1} is changed when {expr2} is not empty. If necessary
|
{expr1} is changed when {expr2} is not empty. If necessary
|
||||||
@ -3538,7 +3538,7 @@ match({expr}, {pat}[, {start}[, {count}]]) *match()*
|
|||||||
|
|
||||||
|
|
||||||
matcharg({nr}) *matcharg()*
|
matcharg({nr}) *matcharg()*
|
||||||
Selects the {nr} match item, as set with a |:match|,
|
Selects the {nr} match item, as set with a |:match|,
|
||||||
|:2match| or |:3match| command.
|
|:2match| or |:3match| command.
|
||||||
Return a |List| with two elements:
|
Return a |List| with two elements:
|
||||||
The name of the highlight group used
|
The name of the highlight group used
|
||||||
@ -3696,7 +3696,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
" 99: E42 asdfasdfasdfasdfasdfasdfasdfas" ~
|
" 99: E42 asdfasdfasdfasdfasdfasdfasdfas" ~
|
||||||
|
|
||||||
Often used items are:
|
Often used items are:
|
||||||
%s string
|
%s string
|
||||||
%6s string right-aligned in 6 bytes
|
%6s string right-aligned in 6 bytes
|
||||||
%.9s string truncated to 9 bytes
|
%.9s string truncated to 9 bytes
|
||||||
%c single byte
|
%c single byte
|
||||||
@ -3717,7 +3717,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
|
|
||||||
% [flags] [field-width] [.precision] type
|
% [flags] [field-width] [.precision] type
|
||||||
|
|
||||||
flags
|
flags
|
||||||
Zero or more of the following flags:
|
Zero or more of the following flags:
|
||||||
|
|
||||||
# The value should be converted to an "alternate
|
# The value should be converted to an "alternate
|
||||||
@ -3779,7 +3779,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
< This limits the length of the text used from "line" to
|
< This limits the length of the text used from "line" to
|
||||||
"width" bytes.
|
"width" bytes.
|
||||||
|
|
||||||
The conversion specifiers and their meanings are:
|
The conversion specifiers and their meanings are:
|
||||||
|
|
||||||
doxX The Number argument is converted to signed decimal
|
doxX The Number argument is converted to signed decimal
|
||||||
(d), unsigned octal (o), or unsigned hexadecimal (x
|
(d), unsigned octal (o), or unsigned hexadecimal (x
|
||||||
@ -3833,10 +3833,10 @@ range({expr} [, {max} [, {stride}]]) *range()*
|
|||||||
empty list. When the maximum is more than one before the
|
empty list. When the maximum is more than one before the
|
||||||
start this is an error.
|
start this is an error.
|
||||||
Examples: >
|
Examples: >
|
||||||
range(4) " [0, 1, 2, 3]
|
range(4) " [0, 1, 2, 3]
|
||||||
range(2, 4) " [2, 3, 4]
|
range(2, 4) " [2, 3, 4]
|
||||||
range(2, 9, 3) " [2, 5, 8]
|
range(2, 9, 3) " [2, 5, 8]
|
||||||
range(2, -2, -1) " [2, 1, 0, -1, -2]
|
range(2, -2, -1) " [2, 1, 0, -1, -2]
|
||||||
range(0) " []
|
range(0) " []
|
||||||
range(2, 0) " error!
|
range(2, 0) " error!
|
||||||
<
|
<
|
||||||
@ -4100,7 +4100,7 @@ search({pattern} [, {flags} [, {stopline}]]) *search()*
|
|||||||
|
|
||||||
searchdecl({name} [, {global} [, {thisblock}]]) *searchdecl()*
|
searchdecl({name} [, {global} [, {thisblock}]]) *searchdecl()*
|
||||||
Search for the declaration of {name}.
|
Search for the declaration of {name}.
|
||||||
|
|
||||||
With a non-zero {global} argument it works like |gD|, find
|
With a non-zero {global} argument it works like |gD|, find
|
||||||
first match in the file. Otherwise it works like |gd|, find
|
first match in the file. Otherwise it works like |gd|, find
|
||||||
first match in the function.
|
first match in the function.
|
||||||
@ -4306,7 +4306,7 @@ setpos({expr}, {list})
|
|||||||
[bufnum, lnum, col, off]
|
[bufnum, lnum, col, off]
|
||||||
|
|
||||||
"bufnum" is the buffer number. Zero can be used for the
|
"bufnum" is the buffer number. Zero can be used for the
|
||||||
current buffer. Setting the cursor is only possible for
|
current buffer. Setting the cursor is only possible for
|
||||||
the current buffer. To set a mark in another buffer you can
|
the current buffer. To set a mark in another buffer you can
|
||||||
use the |bufnr()| function to turn a file name into a buffer
|
use the |bufnr()| function to turn a file name into a buffer
|
||||||
number.
|
number.
|
||||||
@ -4334,7 +4334,7 @@ setqflist({list} [, {action}]) *setqflist()*
|
|||||||
pattern search pattern used to locate the error
|
pattern search pattern used to locate the error
|
||||||
col column number
|
col column number
|
||||||
vcol when non-zero: "col" is visual column
|
vcol when non-zero: "col" is visual column
|
||||||
when zero: "col" is byte index
|
when zero: "col" is byte index
|
||||||
nr error number
|
nr error number
|
||||||
text description of the error
|
text description of the error
|
||||||
type single-character error type, 'E', 'W', etc.
|
type single-character error type, 'E', 'W', etc.
|
||||||
@ -4478,7 +4478,7 @@ spellbadword([{sentence}])
|
|||||||
The return value is a list with two items:
|
The return value is a list with two items:
|
||||||
- The badly spelled word or an empty string.
|
- The badly spelled word or an empty string.
|
||||||
- The type of the spelling error:
|
- The type of the spelling error:
|
||||||
"bad" spelling mistake
|
"bad" spelling mistake
|
||||||
"rare" rare word
|
"rare" rare word
|
||||||
"local" word only valid in another region
|
"local" word only valid in another region
|
||||||
"caps" word should start with Capital
|
"caps" word should start with Capital
|
||||||
@ -4545,7 +4545,7 @@ str2nr( {expr} [, {base}]) *str2nr()*
|
|||||||
When {base} is 16 a leading "0x" or "0X" is ignored. With a
|
When {base} is 16 a leading "0x" or "0X" is ignored. With a
|
||||||
different base the result will be zero.
|
different base the result will be zero.
|
||||||
Text after the number is silently ignored.
|
Text after the number is silently ignored.
|
||||||
|
|
||||||
|
|
||||||
strftime({format} [, {time}]) *strftime()*
|
strftime({format} [, {time}]) *strftime()*
|
||||||
The result is a String, which is a formatted date and time, as
|
The result is a String, which is a formatted date and time, as
|
||||||
@ -4581,7 +4581,7 @@ stridx({haystack}, {needle} [, {start}]) *stridx()*
|
|||||||
:echo stridx("An Example", "Example") 3
|
:echo stridx("An Example", "Example") 3
|
||||||
:echo stridx("Starting point", "Start") 0
|
:echo stridx("Starting point", "Start") 0
|
||||||
:echo stridx("Starting point", "start") -1
|
:echo stridx("Starting point", "start") -1
|
||||||
< *strstr()* *strchr()*
|
< *strstr()* *strchr()*
|
||||||
stridx() works similar to the C function strstr(). When used
|
stridx() works similar to the C function strstr(). When used
|
||||||
with a single character it works similar to strchr().
|
with a single character it works similar to strchr().
|
||||||
|
|
||||||
@ -4638,7 +4638,7 @@ strridx({haystack}, {needle} [, {start}]) *strridx()*
|
|||||||
If the {needle} is empty the length of {haystack} is returned.
|
If the {needle} is empty the length of {haystack} is returned.
|
||||||
See also |stridx()|. Examples: >
|
See also |stridx()|. Examples: >
|
||||||
:echo strridx("an angry armadillo", "an") 3
|
:echo strridx("an angry armadillo", "an") 3
|
||||||
< *strrchr()*
|
< *strrchr()*
|
||||||
When used with a single character it works similar to the C
|
When used with a single character it works similar to the C
|
||||||
function strrchr().
|
function strrchr().
|
||||||
|
|
||||||
@ -4937,10 +4937,11 @@ virtcol({expr}) *virtcol()*
|
|||||||
|
|
||||||
visualmode([expr]) *visualmode()*
|
visualmode([expr]) *visualmode()*
|
||||||
The result is a String, which describes the last Visual mode
|
The result is a String, which describes the last Visual mode
|
||||||
used. Initially it returns an empty string, but once Visual
|
used in the current buffer. Initially it returns an empty
|
||||||
mode has been used, it returns "v", "V", or "<CTRL-V>" (a
|
string, but once Visual mode has been used, it returns "v",
|
||||||
single CTRL-V character) for character-wise, line-wise, or
|
"V", or "<CTRL-V>" (a single CTRL-V character) for
|
||||||
block-wise Visual mode respectively.
|
character-wise, line-wise, or block-wise Visual mode
|
||||||
|
respectively.
|
||||||
Example: >
|
Example: >
|
||||||
:exe "normal " . visualmode()
|
:exe "normal " . visualmode()
|
||||||
< This enters the same Visual mode as before. It is also useful
|
< This enters the same Visual mode as before. It is also useful
|
||||||
@ -5301,7 +5302,7 @@ last defined. Example: >
|
|||||||
<
|
<
|
||||||
See |:verbose-cmd| for more information.
|
See |:verbose-cmd| for more information.
|
||||||
|
|
||||||
*E124* *E125*
|
*E124* *E125*
|
||||||
:fu[nction][!] {name}([arguments]) [range] [abort] [dict]
|
:fu[nction][!] {name}([arguments]) [range] [abort] [dict]
|
||||||
Define a new function by the name {name}. The name
|
Define a new function by the name {name}. The name
|
||||||
must be made of alphanumeric characters and '_', and
|
must be made of alphanumeric characters and '_', and
|
||||||
@ -5754,7 +5755,7 @@ This would call the function "my_func_whizz(parameter)".
|
|||||||
variable is indicated before the value:
|
variable is indicated before the value:
|
||||||
<nothing> String
|
<nothing> String
|
||||||
# Number
|
# Number
|
||||||
* Funcref
|
* Funcref
|
||||||
|
|
||||||
|
|
||||||
:unl[et][!] {name} ... *:unlet* *:unl* *E108*
|
:unl[et][!] {name} ... *:unlet* *:unl* *E108*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*farsi.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*farsi.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Apr 28
|
*filetype.txt* For Vim version 7.0g. Last change: 2006 Apr 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*fold.txt* For Vim version 7.0f. Last change: 2006 Mar 29
|
*fold.txt* For Vim version 7.0g. Last change: 2006 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*getscript.txt* For Vim version 7.0f. Last change: 2006 Mar 24
|
*getscript.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
Get the Latest VimScripts
|
Get the Latest VimScripts
|
||||||
|
|
||||||
@ -6,10 +6,10 @@ Authors: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamilyA.Mbiz>
|
|||||||
(remove NOSPAM from the email address)
|
(remove NOSPAM from the email address)
|
||||||
*GetLatestVimScripts-copyright*
|
*GetLatestVimScripts-copyright*
|
||||||
Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
||||||
The VIM LICENSE applies to GetLatestVimScripts.vim and
|
The VIM LICENSE applies to GetLatestVimScripts.vim and
|
||||||
GetLatestVimScripts.txt (see |copyright|) except use
|
GetLatestVimScripts.txt (see |copyright|) except use
|
||||||
"GetLatestVimScripts" instead of "Vim".
|
"GetLatestVimScripts" instead of "Vim".
|
||||||
No warranty, express or implied. Use At-Your-Own-Risk.
|
No warranty, express or implied. Use At-Your-Own-Risk.
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@ -99,12 +99,12 @@ Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
|||||||
plugin, GetLatestVimScripts will find it and use it to build user's
|
plugin, GetLatestVimScripts will find it and use it to build user's
|
||||||
GetLatestVimScripts.dat files:
|
GetLatestVimScripts.dat files:
|
||||||
>
|
>
|
||||||
src_id
|
src_id
|
||||||
v
|
v
|
||||||
" GetLatestVimScripts: ### ### yourscriptname
|
" GetLatestVimScripts: ### ### yourscriptname
|
||||||
^
|
^
|
||||||
scriptid
|
scriptid
|
||||||
<
|
<
|
||||||
As an author, you should include such a line in to refer to your own
|
As an author, you should include such a line in to refer to your own
|
||||||
script plus any additional lines describing any plugin dependencies it
|
script plus any additional lines describing any plugin dependencies it
|
||||||
may have. Same format, of course!
|
may have. Same format, of course!
|
||||||
@ -146,12 +146,12 @@ Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
|||||||
to do to install them (please refer to the script's "install"
|
to do to install them (please refer to the script's "install"
|
||||||
directions). On the other hand, most scripts will be
|
directions). On the other hand, most scripts will be
|
||||||
auto-installable.
|
auto-installable.
|
||||||
|
|
||||||
To let GetLatestVimScripts do an autoinstall, the data file's comment
|
To let GetLatestVimScripts do an autoinstall, the data file's comment
|
||||||
field should begin with (surrounding blanks are ignored):
|
field should begin with (surrounding blanks are ignored):
|
||||||
|
|
||||||
:AutoInstall:
|
:AutoInstall:
|
||||||
|
|
||||||
Both colons are needed, and it should begin the comment
|
Both colons are needed, and it should begin the comment
|
||||||
(yourscriptname) field.
|
(yourscriptname) field.
|
||||||
|
|
||||||
@ -160,16 +160,16 @@ Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
|||||||
>
|
>
|
||||||
let g:GetLatestVimScripts_allowautoinstall= 0
|
let g:GetLatestVimScripts_allowautoinstall= 0
|
||||||
<
|
<
|
||||||
|
|
||||||
With :AutoInstall: enabled, as it is by default, files which end with
|
With :AutoInstall: enabled, as it is by default, files which end with
|
||||||
|
|
||||||
---.tar.bz2 : decompressed and untarred in [.vim|vimfiles] directory
|
---.tar.bz2 : decompressed and untarred in [.vim|vimfiles] directory
|
||||||
---.tar.gz : decompressed and untarred in [.vim|vimfiles] directory
|
---.tar.gz : decompressed and untarred in [.vim|vimfiles] directory
|
||||||
---.vim.bz2 : decompressed and moved to the .vim/plugin directory
|
---.vim.bz2 : decompressed and moved to the .vim/plugin directory
|
||||||
---.vim.gz : decompressed and moved to the .vim/plugin directory
|
---.vim.gz : decompressed and moved to the .vim/plugin directory
|
||||||
---.zip : unzipped in [.vim|vimfiles] directory
|
---.zip : unzipped in [.vim|vimfiles] directory
|
||||||
---.vim : moved to [.vim|vimfiles]/plugin directory
|
---.vim : moved to [.vim|vimfiles]/plugin directory
|
||||||
|
|
||||||
and which merely need to have their components placed by the
|
and which merely need to have their components placed by the
|
||||||
untar/gunzip or move-to-plugin-directory process should be
|
untar/gunzip or move-to-plugin-directory process should be
|
||||||
auto-installable.
|
auto-installable.
|
||||||
@ -186,7 +186,7 @@ Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
|||||||
Currently, vim's after/syntax only supports by-filetype scripts (in
|
Currently, vim's after/syntax only supports by-filetype scripts (in
|
||||||
blockhl.vim's case, that's after/syntax/c.vim). Hence, auto-install
|
blockhl.vim's case, that's after/syntax/c.vim). Hence, auto-install
|
||||||
would possibly overwrite the current user's after/syntax/c.vim file.
|
would possibly overwrite the current user's after/syntax/c.vim file.
|
||||||
|
|
||||||
In my own case, I use <aftersyntax.vim> (renamed to
|
In my own case, I use <aftersyntax.vim> (renamed to
|
||||||
after/syntax/c.vim) to allow a after/syntax/c/ directory:
|
after/syntax/c.vim) to allow a after/syntax/c/ directory:
|
||||||
>
|
>
|
||||||
@ -221,7 +221,7 @@ Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
|||||||
Move the file from GetLatest/ to the following directory
|
Move the file from GetLatest/ to the following directory
|
||||||
Unix : $HOME/.vim
|
Unix : $HOME/.vim
|
||||||
Windows: $HOME\vimfiles
|
Windows: $HOME\vimfiles
|
||||||
|
|
||||||
if the downloaded file ends with ".bz2"
|
if the downloaded file ends with ".bz2"
|
||||||
bunzip2 it
|
bunzip2 it
|
||||||
else if the downloaded file ends with ".gz"
|
else if the downloaded file ends with ".gz"
|
||||||
@ -238,66 +238,66 @@ Copyright: (c) 2004-2005 by Charles E. Campbell, Jr.
|
|||||||
7. GetLatestVimScripts History *getlatestvimscripts-history* *glvs-hist*
|
7. GetLatestVimScripts History *getlatestvimscripts-history* *glvs-hist*
|
||||||
|
|
||||||
v20 Dec 23, 2005 : * Eric Haarbauer found&fixed a bug with unzip use;
|
v20 Dec 23, 2005 : * Eric Haarbauer found&fixed a bug with unzip use;
|
||||||
unzip needs the -o flag to overwrite.
|
unzip needs the -o flag to overwrite.
|
||||||
v19 Nov 28, 2005 : * v18's GetLatestVimScript line accessed the wrong
|
v19 Nov 28, 2005 : * v18's GetLatestVimScript line accessed the wrong
|
||||||
script! Fixed.
|
script! Fixed.
|
||||||
v18 Mar 21, 2005 : * bugfix to automatic database construction
|
v18 Mar 21, 2005 : * bugfix to automatic database construction
|
||||||
* bugfix - nowrapscan caused an error
|
* bugfix - nowrapscan caused an error
|
||||||
(tnx to David Green for the fix)
|
(tnx to David Green for the fix)
|
||||||
Apr 01, 2005 * if shell is bash, "mv" instead of "ren" used in
|
Apr 01, 2005 * if shell is bash, "mv" instead of "ren" used in
|
||||||
:AutoInstall:s, even though its o/s is windows
|
:AutoInstall:s, even though its o/s is windows
|
||||||
Apr 01, 2005 * when downloading errors occurred, GLVS was
|
Apr 01, 2005 * when downloading errors occurred, GLVS was
|
||||||
terminating early. It now just goes on to trying
|
terminating early. It now just goes on to trying
|
||||||
the next script (after trying three times to
|
the next script (after trying three times to
|
||||||
download a script description page)
|
download a script description page)
|
||||||
Apr 20, 2005 * bugfix - when a failure to download occurred,
|
Apr 20, 2005 * bugfix - when a failure to download occurred,
|
||||||
GetLatestVimScripts would stop early and claim that
|
GetLatestVimScripts would stop early and claim that
|
||||||
everything was current. Fixed.
|
everything was current. Fixed.
|
||||||
v17 Aug 25, 2004 : * g:GetLatestVimScripts_allowautoinstall, which
|
v17 Aug 25, 2004 : * g:GetLatestVimScripts_allowautoinstall, which
|
||||||
defaults to 1, can be used to prevent all
|
defaults to 1, can be used to prevent all
|
||||||
:AutoInstall:
|
:AutoInstall:
|
||||||
v16 Aug 25, 2004 : * made execution of bunzip2/gunzip/tar/zip silent
|
v16 Aug 25, 2004 : * made execution of bunzip2/gunzip/tar/zip silent
|
||||||
* fixed bug with :AutoInstall: use of helptags
|
* fixed bug with :AutoInstall: use of helptags
|
||||||
v15 Aug 24, 2004 : * bugfix: the "0 0 comment" download prevention wasn't
|
v15 Aug 24, 2004 : * bugfix: the "0 0 comment" download prevention wasn't
|
||||||
always preventing downloads (just usually). Fixed.
|
always preventing downloads (just usually). Fixed.
|
||||||
v14 Aug 24, 2004 : * bugfix -- helptags was using dotvim, rather than
|
v14 Aug 24, 2004 : * bugfix -- helptags was using dotvim, rather than
|
||||||
s:dotvim. Fixed.
|
s:dotvim. Fixed.
|
||||||
v13 Aug 23, 2004 : * will skip downloading a file if its scriptid or srcid
|
v13 Aug 23, 2004 : * will skip downloading a file if its scriptid or srcid
|
||||||
is zero. Useful for script authors; that way their
|
is zero. Useful for script authors; that way their
|
||||||
own GetLatestVimScripts activity won't overwrite
|
own GetLatestVimScripts activity won't overwrite
|
||||||
their scripts.
|
their scripts.
|
||||||
v12 Aug 23, 2004 : * bugfix - a "return" got left in the distribution that
|
v12 Aug 23, 2004 : * bugfix - a "return" got left in the distribution that
|
||||||
was intended only for testing. Removed, now works.
|
was intended only for testing. Removed, now works.
|
||||||
* :AutoInstall: implemented
|
* :AutoInstall: implemented
|
||||||
v11 Aug 20, 2004 : * GetLatestVimScripts is now a plugin:
|
v11 Aug 20, 2004 : * GetLatestVimScripts is now a plugin:
|
||||||
* :GetLatestVimScripts command
|
* :GetLatestVimScripts command
|
||||||
* (runtimepath)/GetLatest/GetLatestVimScripts.dat
|
* (runtimepath)/GetLatest/GetLatestVimScripts.dat
|
||||||
now holds scripts that need updating
|
now holds scripts that need updating
|
||||||
v10 Apr 19, 2004 : * moved history from script to doc
|
v10 Apr 19, 2004 : * moved history from script to doc
|
||||||
v9 Jan 23, 2004 : windows (win32/win16/win95) will use
|
v9 Jan 23, 2004 : windows (win32/win16/win95) will use
|
||||||
double quotes ("") whereas other systems will use
|
double quotes ("") whereas other systems will use
|
||||||
single quotes ('') around the urls in calls via wget
|
single quotes ('') around the urls in calls via wget
|
||||||
v8 Dec 01, 2003 : makes three tries at downloading
|
v8 Dec 01, 2003 : makes three tries at downloading
|
||||||
v7 Sep 02, 2003 : added error messages if "Click on..." or "src_id="
|
v7 Sep 02, 2003 : added error messages if "Click on..." or "src_id="
|
||||||
not found in downloaded webpage
|
not found in downloaded webpage
|
||||||
Uses t_ti, t_te, and rs to make progress visible
|
Uses t_ti, t_te, and rs to make progress visible
|
||||||
v6 Aug 06, 2003 : final status messages now display summary of work
|
v6 Aug 06, 2003 : final status messages now display summary of work
|
||||||
( "Downloaded someqty scripts" or
|
( "Downloaded someqty scripts" or
|
||||||
"Everything was current")
|
"Everything was current")
|
||||||
Now GetLatestVimScripts is careful about downloading
|
Now GetLatestVimScripts is careful about downloading
|
||||||
GetLatestVimScripts.vim itself!
|
GetLatestVimScripts.vim itself!
|
||||||
(goes to <NEW_GetLatestVimScripts.vim>)
|
(goes to <NEW_GetLatestVimScripts.vim>)
|
||||||
v5 Aug 04, 2003 : missing an endif near bottom
|
v5 Aug 04, 2003 : missing an endif near bottom
|
||||||
v4 Jun 17, 2003 : redraw! just before each "considering" message
|
v4 Jun 17, 2003 : redraw! just before each "considering" message
|
||||||
v3 May 27, 2003 : Protects downloaded files from errant shell
|
v3 May 27, 2003 : Protects downloaded files from errant shell
|
||||||
expansions with single quotes: '...'
|
expansions with single quotes: '...'
|
||||||
v2 May 14, 2003 : extracts name of item to be obtained from the
|
v2 May 14, 2003 : extracts name of item to be obtained from the
|
||||||
script file. Uses it instead of comment field
|
script file. Uses it instead of comment field
|
||||||
for output filename; comment is used in the
|
for output filename; comment is used in the
|
||||||
"considering..." line and is now just a comment!
|
"considering..." line and is now just a comment!
|
||||||
* Fixed a bug: a string-of-numbers is not the
|
* Fixed a bug: a string-of-numbers is not the
|
||||||
same as a number, so I added zero to them
|
same as a number, so I added zero to them
|
||||||
and they became numbers. Fixes comparison.
|
and they became numbers. Fixes comparison.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help
|
vim:tw=78:ts=8:ft=help
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui.txt* For Vim version 7.0f. Last change: 2006 Apr 02
|
*gui.txt* For Vim version 7.0g. Last change: 2006 Apr 02
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui_w16.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*gui_w16.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*gui_w32.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*gui_x11.txt* For Vim version 7.0f. Last change: 2005 Dec 06
|
*gui_x11.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -12,7 +12,7 @@ Vim's Graphical User Interface *gui-x11* *GUI-X11*
|
|||||||
4. Various |gui-x11-various|
|
4. Various |gui-x11-various|
|
||||||
5. GTK version |gui-gtk|
|
5. GTK version |gui-gtk|
|
||||||
6. GNOME version |gui-gnome|
|
6. GNOME version |gui-gnome|
|
||||||
7. KDE version |gui-kde|
|
7. KDE version |gui-kde|
|
||||||
8. Compiling |gui-x11-compiling|
|
8. Compiling |gui-x11-compiling|
|
||||||
9. X11 selection mechanism |x11-selection|
|
9. X11 selection mechanism |x11-selection|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*hangulin.txt* For Vim version 7.0f. Last change: 2006 Apr 02
|
*hangulin.txt* For Vim version 7.0g. 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.0f. Last change: 2003 May 11
|
*hebrew.txt* For Vim version 7.0g. Last change: 2003 May 11
|
||||||
|
|
||||||
|
|
||||||
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.0f. Last change: 2006 Apr 02
|
*help.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
VIM - main help file
|
VIM - main help file
|
||||||
k
|
k
|
||||||
@ -18,12 +18,12 @@ Get specific help: It is possible to go directly to whatever you want help
|
|||||||
*help-context*
|
*help-context*
|
||||||
WHAT PREPEND EXAMPLE ~
|
WHAT PREPEND EXAMPLE ~
|
||||||
Normal mode command (nothing) :help x
|
Normal mode command (nothing) :help x
|
||||||
Visual mode command v_ :help v_u
|
Visual mode command v_ :help v_u
|
||||||
Insert mode command i_ :help i_<Esc>
|
Insert mode command i_ :help i_<Esc>
|
||||||
Command-line command : :help :quit
|
Command-line command : :help :quit
|
||||||
Command-line editing c_ :help c_<Del>
|
Command-line editing c_ :help c_<Del>
|
||||||
Vim command argument - :help -r
|
Vim command argument - :help -r
|
||||||
Option ' :help 'textwidth'
|
Option ' :help 'textwidth'
|
||||||
Search for help: Type ":help word", then hit CTRL-D to see matching
|
Search for help: Type ":help word", then hit CTRL-D to see matching
|
||||||
help entries for "word".
|
help entries for "word".
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*howto.txt* For Vim version 7.0f. Last change: 2006 Apr 02
|
*howto.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*if_cscop.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Mar 06
|
*if_mzsch.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Sergey Khorev
|
VIM REFERENCE MANUAL by Sergey Khorev
|
||||||
@ -41,7 +41,7 @@ For downloading MzScheme and other info:
|
|||||||
*:mzfile* *:mzf*
|
*:mzfile* *:mzf*
|
||||||
:[range]mzf[ile] {file} Execute the MzScheme script in {file}. {not in Vi}
|
:[range]mzf[ile] {file} Execute the MzScheme script in {file}. {not in Vi}
|
||||||
All statements are executed in the namespace of the
|
All statements are executed in the namespace of the
|
||||||
buffer that was current during :mzfile start.
|
buffer that was current during :mzfile start.
|
||||||
If you want to access other namespaces, use
|
If you want to access other namespaces, use
|
||||||
'parameterize'.
|
'parameterize'.
|
||||||
|
|
||||||
@ -196,8 +196,8 @@ Buffers *mzscheme-buffer*
|
|||||||
(set-buff-line {linenr} {string} [buffer])
|
(set-buff-line {linenr} {string} [buffer])
|
||||||
Set a line in a buffer. If {string} is #f,
|
Set a line in a buffer. If {string} is #f,
|
||||||
the line gets deleted. The [buffer]
|
the line gets deleted. The [buffer]
|
||||||
argument is optional. If omitted, the
|
argument is optional. If omitted, the
|
||||||
current buffer will be used.
|
current buffer will be used.
|
||||||
(get-buff-line-list {start} {end} [buffer])
|
(get-buff-line-list {start} {end} [buffer])
|
||||||
Get a list of lines in a buffer. {Start}
|
Get a list of lines in a buffer. {Start}
|
||||||
and {end} are 1-based. {Start} is
|
and {end} are 1-based. {Start} is
|
||||||
@ -262,7 +262,7 @@ In a console window type "path" to see what directories are used.
|
|||||||
|
|
||||||
The names of the DLLs must match the MzScheme version Vim was compiled with.
|
The names of the DLLs must match the MzScheme version Vim was compiled with.
|
||||||
For MzScheme version 209 they will be "libmzsch209_000.dll" and
|
For MzScheme version 209 they will be "libmzsch209_000.dll" and
|
||||||
"libmzgc209_000.dll". To know for sure edit "gvim.exe" and search for
|
"libmzgc209_000.dll". To know for sure edit "gvim.exe" and search for
|
||||||
"libmzsch\d\d\d_\d\d\d\.dll\c".
|
"libmzsch\d\d\d_\d\d\d\.dll\c".
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_ole.txt* For Vim version 7.0f. Last change: 2006 Mar 06
|
*if_ole.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@ -169,7 +169,7 @@ In .Net Studio choose from the menu Tools->External Tools...
|
|||||||
Add
|
Add
|
||||||
Title - Vim
|
Title - Vim
|
||||||
Command - c:\vim\vim63\gvim.exe
|
Command - c:\vim\vim63\gvim.exe
|
||||||
Arguments - --servername VS_NET --remote-silent "+call cursor($(CurLine), $(CurCol))" $(ItemPath)
|
Arguments - --servername VS_NET --remote-silent "+call cursor($(CurLine), $(CurCol))" $(ItemPath)
|
||||||
Init Dir - Empty
|
Init Dir - Empty
|
||||||
|
|
||||||
Now, when you open a file in .Net, you can choose from the .Net menu:
|
Now, when you open a file in .Net, you can choose from the .Net menu:
|
||||||
@ -182,14 +182,14 @@ like. You might also be able to set this as your default editor.
|
|||||||
If you refine this further, please post back to the Vim maillist so we have a
|
If you refine this further, please post back to the Vim maillist so we have a
|
||||||
record of it.
|
record of it.
|
||||||
|
|
||||||
--servername VS_NET
|
--servername VS_NET
|
||||||
This will create a new instance of vim called VS_NET. So if you open multiple
|
This will create a new instance of vim called VS_NET. So if you open multiple
|
||||||
files from VS, they will use the same instance of Vim. This allows you to
|
files from VS, they will use the same instance of Vim. This allows you to
|
||||||
have multiple copies of Vim running, but you can control which one has VS
|
have multiple copies of Vim running, but you can control which one has VS
|
||||||
files in it.
|
files in it.
|
||||||
|
|
||||||
--remote-silent "+call cursor(10, 27)"
|
--remote-silent "+call cursor(10, 27)"
|
||||||
- Places the cursor on line 10 column 27
|
- Places the cursor on line 10 column 27
|
||||||
In Vim >
|
In Vim >
|
||||||
:h --remote-silent for mor details
|
:h --remote-silent for mor details
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_perl.txt* For Vim version 7.0f. Last change: 2006 Mar 06
|
*if_perl.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Jan 20
|
*if_pyth.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@ -134,7 +134,7 @@ vim.eval(str) *python-eval*
|
|||||||
evaluator (see |expression|). Returns the expression result as:
|
evaluator (see |expression|). Returns the expression result as:
|
||||||
- a string if the Vim expression evaluates to a string or number
|
- a string if the Vim expression evaluates to a string or number
|
||||||
- a list if the Vim expression evaluates to a Vim list
|
- a list if the Vim expression evaluates to a Vim list
|
||||||
- a dictionary if the Vim expression evaluates to a Vim dictionary
|
- a dictionary if the Vim expression evaluates to a Vim dictionary
|
||||||
Dictionaries and lists are recursively expanded.
|
Dictionaries and lists are recursively expanded.
|
||||||
Examples: >
|
Examples: >
|
||||||
:py text_width = vim.eval("&tw")
|
:py text_width = vim.eval("&tw")
|
||||||
@ -142,7 +142,7 @@ vim.eval(str) *python-eval*
|
|||||||
# string.atoi() to convert to
|
# string.atoi() to convert to
|
||||||
# a number.
|
# a number.
|
||||||
|
|
||||||
:py tagList = vim.eval('taglist("eval_expr")')
|
:py tagList = vim.eval('taglist("eval_expr")')
|
||||||
< The latter will return a python list of python dicts, for instance:
|
< The latter will return a python list of python dicts, for instance:
|
||||||
[{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name':
|
[{'cmd': '/^eval_expr(arg, nextcmd)$/', 'static': 0, 'name':
|
||||||
'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}]
|
'eval_expr', 'kind': 'f', 'filename': './src/eval.c'}]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_ruby.txt* For Vim version 7.0f. Last change: 2006 Mar 26
|
*if_ruby.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Shugo Maeda
|
VIM REFERENCE MANUAL by Shugo Maeda
|
||||||
@ -147,7 +147,7 @@ self[{n}] = {str}
|
|||||||
delete({n}) Deletes a line from the buffer. {n} is the line number.
|
delete({n}) Deletes a line from the buffer. {n} is the line number.
|
||||||
append({n}, {str})
|
append({n}, {str})
|
||||||
Appends a line after the line {n}.
|
Appends a line after the line {n}.
|
||||||
line Returns the current line of the buffer if the buffer is
|
line Returns the current line of the buffer if the buffer is
|
||||||
active.
|
active.
|
||||||
line = {str} Sets the current line of the buffer if the buffer is active.
|
line = {str} Sets the current line of the buffer if the buffer is active.
|
||||||
line_number Returns the number of the current line if the buffer is
|
line_number Returns the number of the current line if the buffer is
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_sniff.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*if_sniff.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_tcl.txt* For Vim version 7.0f. Last change: 2006 Mar 06
|
*if_tcl.txt* For Vim version 7.0g. Last change: 2006 Mar 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Ingo Wilken
|
VIM REFERENCE MANUAL by Ingo Wilken
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*indent.txt* For Vim version 7.0f. Last change: 2006 Apr 25
|
*indent.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -412,8 +412,8 @@ assume a 'shiftwidth' of 4.
|
|||||||
|
|
||||||
cino= cino=M1 >
|
cino= cino=M1 >
|
||||||
if (cond1 && if (cond1 &&
|
if (cond1 && if (cond1 &&
|
||||||
cond2 cond2
|
cond2 cond2
|
||||||
) )
|
) )
|
||||||
<
|
<
|
||||||
*java-cinoptions* *java-indenting*
|
*java-cinoptions* *java-indenting*
|
||||||
jN Indent java anonymous classes correctly. The value 'N' is
|
jN Indent java anonymous classes correctly. The value 'N' is
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 7.0f. Last change: 2006 Apr 10
|
*index.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -748,7 +748,7 @@ tag char note action in Normal mode ~
|
|||||||
|gu| gu{motion} 2 make Nmove text lowercase
|
|gu| gu{motion} 2 make Nmove text lowercase
|
||||||
|gv| gv reselect the previous Visual area
|
|gv| gv reselect the previous Visual area
|
||||||
|gw| gw{motion} 2 format Nmove text and keep cursor
|
|gw| gw{motion} 2 format Nmove text and keep cursor
|
||||||
|g@| g@{motion} call 'operatorfunc'
|
|g@| g@{motion} call 'operatorfunc'
|
||||||
|g~| g~{motion} 2 swap case for Nmove text
|
|g~| g~{motion} 2 swap case for Nmove text
|
||||||
|g<Down>| g<Down> 1 same as "gj"
|
|g<Down>| g<Down> 1 same as "gj"
|
||||||
|g<End>| g<End> 1 same as "g$"
|
|g<End>| g<End> 1 same as "g$"
|
||||||
@ -1336,7 +1336,7 @@ The commands are sorted on the non-optional part of their name.
|
|||||||
|:profdel| :profd[el] stop profiling a function or script
|
|:profdel| :profd[el] stop profiling a function or script
|
||||||
|:profile| :prof[ile] profiling functions and scripts
|
|:profile| :prof[ile] profiling functions and scripts
|
||||||
|:promptfind| :pro[mtfind] open GUI dialog for searching
|
|:promptfind| :pro[mtfind] open GUI dialog for searching
|
||||||
|:promptrepl| :promtr[epl] open GUI dialog for search/replace
|
|:promptrepl| :promtr[epl] open GUI dialog for search/replace
|
||||||
|:perldo| :perld[o] execute Perl command for each line
|
|:perldo| :perld[o] execute Perl command for each line
|
||||||
|:pop| :po[p] jump to older entry in tag stack
|
|:pop| :po[p] jump to older entry in tag stack
|
||||||
|:popup| :pop[up] popup a menu by name
|
|:popup| :pop[up] popup a menu by name
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*insert.txt* For Vim version 7.0f. Last change: 2006 Apr 26
|
*insert.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1351,7 +1351,7 @@ Script completes:
|
|||||||
class. To find class location and contents tags file is required. Because
|
class. To find class location and contents tags file is required. Because
|
||||||
PHP isn't strongly typed language user can use @var tag to declare class: >
|
PHP isn't strongly typed language user can use @var tag to declare class: >
|
||||||
|
|
||||||
/* @var $myVar myClass */
|
/* @var $myVar myClass */
|
||||||
$myVar->
|
$myVar->
|
||||||
<
|
<
|
||||||
Still, to find myClass contents tags file is required.
|
Still, to find myClass contents tags file is required.
|
||||||
@ -1375,7 +1375,7 @@ automatically switch to HTML/CSS/JavaScript completion. Note: contrary to
|
|||||||
original HTML files completion of tags (and only tags) isn't context aware.
|
original HTML files completion of tags (and only tags) isn't context aware.
|
||||||
|
|
||||||
|
|
||||||
RUBY *ft-ruby-omni*
|
RUBY *ft-ruby-omni*
|
||||||
|
|
||||||
Completion of Ruby code requires that vim be built with |+ruby|.
|
Completion of Ruby code requires that vim be built with |+ruby|.
|
||||||
|
|
||||||
@ -1385,16 +1385,16 @@ and modules defined in the current buffer.
|
|||||||
|
|
||||||
The completions provided by CTRL-X CTRL-O are sensitive to the context:
|
The completions provided by CTRL-X CTRL-O are sensitive to the context:
|
||||||
|
|
||||||
CONTEXT COMPLETIONS PROVIDED ~
|
CONTEXT COMPLETIONS PROVIDED ~
|
||||||
|
|
||||||
1. Not inside a class definition Classes, constants and globals
|
1. Not inside a class definition Classes, constants and globals
|
||||||
|
|
||||||
2. Inside a class definition Methods or constants defined in the class
|
2. Inside a class definition Methods or constants defined in the class
|
||||||
|
|
||||||
3. After '.', '::' or ':' Methods applicable to the object being
|
3. After '.', '::' or ':' Methods applicable to the object being
|
||||||
dereferenced
|
dereferenced
|
||||||
|
|
||||||
4. After ':' or ':foo' Symbol name (beginning with 'foo')
|
4. After ':' or ':foo' Symbol name (beginning with 'foo')
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
- Vim will load/evaluate code in order to provide completions. This may
|
- Vim will load/evaluate code in order to provide completions. This may
|
||||||
@ -1557,7 +1557,7 @@ Note: Tag names in data file MUST not contain namespace description. Check
|
|||||||
xsl.vim for example.
|
xsl.vim for example.
|
||||||
|
|
||||||
|
|
||||||
DTD -> Vim *dtd2vim*
|
DTD -> Vim *dtd2vim*
|
||||||
|
|
||||||
On |www| is script |dtd2vim| which parses DTD and creates XML data file
|
On |www| is script |dtd2vim| which parses DTD and creates XML data file
|
||||||
for Vim XML omni completion.
|
for Vim XML omni completion.
|
||||||
@ -1565,7 +1565,7 @@ for Vim XML omni completion.
|
|||||||
dtd2vim: http://www.vim.org/scripts/script.php?script_id=1462
|
dtd2vim: http://www.vim.org/scripts/script.php?script_id=1462
|
||||||
|
|
||||||
Check there and beginning of file for details of usage.
|
Check there and beginning of file for details of usage.
|
||||||
Script requires perl and:
|
Script requires perl and:
|
||||||
|
|
||||||
perlSGML: http://savannah.nongnu.org/projects/perlsgml
|
perlSGML: http://savannah.nongnu.org/projects/perlsgml
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*intro.txt* For Vim version 7.0f. Last change: 2006 Apr 20
|
*intro.txt* For Vim version 7.0g. Last change: 2006 Apr 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 7.0f. Last change: 2006 Apr 25
|
*map.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -218,8 +218,14 @@ The result of the InsertDot() function will be inserted. It could check the
|
|||||||
text before the cursor and start omni completion when some condition is met.
|
text before the cursor and start omni completion when some condition is met.
|
||||||
|
|
||||||
Be very careful about side effects! The expression is evaluated while
|
Be very careful about side effects! The expression is evaluated while
|
||||||
obtaining characters, if you change buffer text, move the cursor, edit another
|
obtaining characters, you may very well make the command dysfunctional.
|
||||||
file, etc. you may very well make command dysfunctional.
|
For this reason the following is blocked:
|
||||||
|
- changing the buffer text |textlock|
|
||||||
|
- editing another buffer
|
||||||
|
- the |:normal| command
|
||||||
|
- moving the cursor is allowed, but it is restored afterwards
|
||||||
|
If you want the mapping to do any of these let the returned characters do
|
||||||
|
that.
|
||||||
|
|
||||||
Here is an example that inserts a list number that increases: >
|
Here is an example that inserts a list number that increases: >
|
||||||
let counter = 0
|
let counter = 0
|
||||||
@ -269,28 +275,28 @@ Overview of which map command works in which mode:
|
|||||||
|
|
||||||
*mapmode-nvo* *mapmode-n* *mapmode-v* *mapmode-o*
|
*mapmode-nvo* *mapmode-n* *mapmode-v* *mapmode-o*
|
||||||
commands: modes: ~
|
commands: modes: ~
|
||||||
Normal Visual+Select Operator-pending ~
|
Normal Visual+Select Operator-pending ~
|
||||||
:map :noremap :unmap :mapclear yes yes yes
|
:map :noremap :unmap :mapclear yes yes yes
|
||||||
:nmap :nnoremap :nunmap :nmapclear yes - -
|
:nmap :nnoremap :nunmap :nmapclear yes - -
|
||||||
:vmap :vnoremap :vunmap :vmapclear - yes -
|
:vmap :vnoremap :vunmap :vmapclear - yes -
|
||||||
:omap :onoremap :ounmap :omapclear - - yes
|
:omap :onoremap :ounmap :omapclear - - yes
|
||||||
|
|
||||||
:nunmap can also be used outside of a monastery.
|
:nunmap can also be used outside of a monastery.
|
||||||
*mapmode-x* *mapmode-s*
|
*mapmode-x* *mapmode-s*
|
||||||
Some commands work both in Visual and Select mode, some in only one. Note
|
Some commands work both in Visual and Select mode, some in only one. Note
|
||||||
that quite often "Visual" is mentioned where both Visual and Select mode
|
that quite often "Visual" is mentioned where both Visual and Select mode
|
||||||
apply. |Select-mode-mapping|
|
apply. |Select-mode-mapping|
|
||||||
|
|
||||||
commands: modes: ~
|
commands: modes: ~
|
||||||
Visual Select ~
|
Visual Select ~
|
||||||
:vmap :vnoremap :vunmap :vmapclear yes yes
|
:vmap :vnoremap :vunmap :vmapclear yes yes
|
||||||
:xmap :xnoremap :xunmap :xmapclear yes -
|
:xmap :xnoremap :xunmap :xmapclear yes -
|
||||||
:smap :snoremap :sunmap :smapclear - yes
|
:smap :snoremap :sunmap :smapclear - yes
|
||||||
|
|
||||||
*mapmode-ic* *mapmode-i* *mapmode-c* *mapmode-l*
|
*mapmode-ic* *mapmode-i* *mapmode-c* *mapmode-l*
|
||||||
Some commands work both in Insert mode and Command-line mode, some not:
|
Some commands work both in Insert mode and Command-line mode, some not:
|
||||||
|
|
||||||
commands: modes: ~
|
commands: modes: ~
|
||||||
Insert Command-line Lang-Arg ~
|
Insert Command-line Lang-Arg ~
|
||||||
:map! :noremap! :unmap! :mapclear! yes yes -
|
:map! :noremap! :unmap! :mapclear! yes yes -
|
||||||
:imap :inoremap :iunmap :imapclear yes - -
|
:imap :inoremap :iunmap :imapclear yes - -
|
||||||
@ -366,7 +372,7 @@ last defined. Example: >
|
|||||||
|
|
||||||
:verbose map <C-W>*
|
:verbose map <C-W>*
|
||||||
n <C-W>* * <C-W><C-S>*
|
n <C-W>* * <C-W><C-S>*
|
||||||
Last set from /home/abcd/.vimrc
|
Last set from /home/abcd/.vimrc
|
||||||
|
|
||||||
See |:verbose-cmd| for more information.
|
See |:verbose-cmd| for more information.
|
||||||
|
|
||||||
@ -872,7 +878,7 @@ When 'verbose' is non-zero, listing an abbreviation will also display where it
|
|||||||
was last defined. Example: >
|
was last defined. Example: >
|
||||||
|
|
||||||
:verbose abbreviate
|
:verbose abbreviate
|
||||||
! teh the
|
! teh the
|
||||||
Last set from /home/abcd/vim/abbr.vim
|
Last set from /home/abcd/vim/abbr.vim
|
||||||
|
|
||||||
See |:verbose-cmd| for more information.
|
See |:verbose-cmd| for more information.
|
||||||
@ -1083,10 +1089,10 @@ When 'verbose' is non-zero, listing a command will also display where it was
|
|||||||
last defined. Example: >
|
last defined. Example: >
|
||||||
|
|
||||||
:verbose command TOhtml
|
:verbose command TOhtml
|
||||||
Name Args Range Complete Definition
|
< Name Args Range Complete Definition ~
|
||||||
TOhtml 0 % :call Convert2HTML(<line1>, <line2>)
|
TOhtml 0 % :call Convert2HTML(<line1>, <line2>) ~
|
||||||
Last set from /usr/share/vim/vim-7.0/plugin/tohtml.vim
|
Last set from /usr/share/vim/vim-7.0/plugin/tohtml.vim ~
|
||||||
<
|
|
||||||
See |:verbose-cmd| for more information.
|
See |:verbose-cmd| for more information.
|
||||||
|
|
||||||
*E174* *E182*
|
*E174* *E182*
|
||||||
@ -1295,7 +1301,7 @@ To allow commands to pass their arguments on to a user-defined function, there
|
|||||||
is a special form <f-args> ("function args"). This splits the command
|
is a special form <f-args> ("function args"). This splits the command
|
||||||
arguments at spaces and Tabs, quotes each argument individually, and the
|
arguments at spaces and Tabs, quotes each argument individually, and the
|
||||||
<f-args> sequence is replaced by the comma-separated list of quoted arguments.
|
<f-args> sequence is replaced by the comma-separated list of quoted arguments.
|
||||||
See the Mycmd example below. If no arguments are given <f-args> is removed.
|
See the Mycmd example below. If no arguments are given <f-args> is removed.
|
||||||
|
|
||||||
Examples >
|
Examples >
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*mbyte.txt* For Vim version 7.0f. Last change: 2006 Apr 21
|
*mbyte.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||||
@ -352,7 +352,7 @@ u ucs2be same as ucs-2 (big endian)
|
|||||||
u ucs-2be same as ucs-2 (big endian)
|
u ucs-2be same as ucs-2 (big endian)
|
||||||
u ucs-4be same as ucs-4 (big endian)
|
u ucs-4be same as ucs-4 (big endian)
|
||||||
default stands for the default value of 'encoding', depends on the
|
default stands for the default value of 'encoding', depends on the
|
||||||
environment
|
environment
|
||||||
|
|
||||||
For the UCS codes the byte order matters. This is tricky, use UTF-8 whenever
|
For the UCS codes the byte order matters. This is tricky, use UTF-8 whenever
|
||||||
you can. The default is to use big-endian (most significant byte comes
|
you can. The default is to use big-endian (most significant byte comes
|
||||||
@ -774,7 +774,7 @@ is suitable for complex input, such as CJK.
|
|||||||
locale if you make a correct input table. Xcin can be found at:
|
locale if you make a correct input table. Xcin can be found at:
|
||||||
http://xcin.linux.org.tw/
|
http://xcin.linux.org.tw/
|
||||||
Others are scim: http://scim.freedesktop.org/ and fcitx:
|
Others are scim: http://scim.freedesktop.org/ and fcitx:
|
||||||
http://www.fcitx.org/
|
http://www.fcitx.org/
|
||||||
|
|
||||||
- Conversion Server
|
- Conversion Server
|
||||||
*conversion-server*
|
*conversion-server*
|
||||||
@ -1261,7 +1261,7 @@ is no longer relevant in the GTK+ 2 GUI.
|
|||||||
*mbyte-combining* *mbyte-composing*
|
*mbyte-combining* *mbyte-composing*
|
||||||
A composing or combining character is used to change the meaning of the
|
A composing or combining character is used to change the meaning of the
|
||||||
character before it. The combining characters are drawn on top of the
|
character before it. The combining characters are drawn on top of the
|
||||||
preceding character.
|
preceding character.
|
||||||
Up to two combining characters can be used by default. This can be changed
|
Up to two combining characters can be used by default. This can be changed
|
||||||
with the 'maxcombine' option.
|
with the 'maxcombine' option.
|
||||||
When editing text a composing character is mostly considered part of the
|
When editing text a composing character is mostly considered part of the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*message.txt* For Vim version 7.0f. Last change: 2006 Apr 11
|
*message.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -297,7 +297,7 @@ happens when you use ":w! filename" and a swapfile is found.
|
|||||||
to delete the swapfile. Edit {filename} to find out information about the
|
to delete the swapfile. Edit {filename} to find out information about the
|
||||||
swapfile.
|
swapfile.
|
||||||
- If you want to write anyway prepend ":silent!" to the command. For example: >
|
- If you want to write anyway prepend ":silent!" to the command. For example: >
|
||||||
:silent! w! /tmp/test
|
:silent! w! /tmp/test
|
||||||
< The special command is needed, since you already added the ! for overwriting
|
< The special command is needed, since you already added the ! for overwriting
|
||||||
an existing file.
|
an existing file.
|
||||||
|
|
||||||
@ -796,7 +796,7 @@ Type effect ~
|
|||||||
d down a page (half a screen)
|
d down a page (half a screen)
|
||||||
<Space> or <PageDown> down a screen
|
<Space> or <PageDown> down a screen
|
||||||
G down all the way, until the hit-enter
|
G down all the way, until the hit-enter
|
||||||
prompt
|
prompt
|
||||||
|
|
||||||
<BS> or k or <Up> one line back (*)
|
<BS> or k or <Up> one line back (*)
|
||||||
u up a page (half a screen) (*)
|
u up a page (half a screen) (*)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*mlang.txt* For Vim version 7.0f. Last change: 2004 Feb 24
|
*mlang.txt* For Vim version 7.0g. Last change: 2004 Feb 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 7.0f. Last change: 2006 Apr 29
|
*motion.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -780,7 +780,7 @@ g'{mark} g`{mark}
|
|||||||
< to list marks 'a' and 'B'. {not in Vi}
|
< to list marks 'a' and 'B'. {not in Vi}
|
||||||
|
|
||||||
*:delm* *:delmarks*
|
*:delm* *:delmarks*
|
||||||
:delm[arks] {marks} Delete the specified marks. Marks that can be deleted
|
:delm[arks] {marks} Delete the specified marks. Marks that can be deleted
|
||||||
include A-Z and 0-9. You cannot delete the ' mark.
|
include A-Z and 0-9. You cannot delete the ' mark.
|
||||||
They can be specified by giving the list of mark
|
They can be specified by giving the list of mark
|
||||||
names, or with a range, separated with a dash. Spaces
|
names, or with a range, separated with a dash. Spaces
|
||||||
@ -854,11 +854,17 @@ was made yet in the current file.
|
|||||||
|
|
||||||
*'<* *`<*
|
*'<* *`<*
|
||||||
'< `< To the first character of the last selected Visual
|
'< `< To the first character of the last selected Visual
|
||||||
area in the current buffer. {not in Vi}.
|
area in the current buffer. For block mode it may
|
||||||
|
also be the last character in the first line (to be
|
||||||
|
able to define the block). {not in Vi}.
|
||||||
|
|
||||||
*'>* *`>*
|
*'>* *`>*
|
||||||
'> `> To the last character of the last selected Visual
|
'> `> To the last character of the last selected Visual
|
||||||
area in the current buffer. {not in Vi}.
|
area in the current buffer. For block mode it may
|
||||||
|
also be the first character of the last line (to be
|
||||||
|
able to define the block). Note that 'selection'
|
||||||
|
applies, the position may be just after the Visual
|
||||||
|
area. {not in Vi}.
|
||||||
|
|
||||||
*''* *``*
|
*''* *``*
|
||||||
'' `` To the position before the latest jump, or where the
|
'' `` To the position before the latest jump, or where the
|
||||||
@ -985,7 +991,7 @@ These commands are not marks themselves, but jump to a mark:
|
|||||||
<
|
<
|
||||||
Note that ":keepjumps" must be used for every command.
|
Note that ":keepjumps" must be used for every command.
|
||||||
When invoking a function the commands in that function
|
When invoking a function the commands in that function
|
||||||
can still change the jumplist. Also, for
|
can still change the jumplist. Also, for
|
||||||
":keepjumps exe 'command '" the "command" won't keep
|
":keepjumps exe 'command '" the "command" won't keep
|
||||||
jumps. Instead use: ":exe 'keepjumps command'"
|
jumps. Instead use: ":exe 'keepjumps command'"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*netbeans.txt* For Vim version 7.0f. Last change: 2006 Mar 09
|
*netbeans.txt* For Vim version 7.0g. Last change: 2006 Mar 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur
|
VIM REFERENCE MANUAL by Gordon Prieur
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 7.0f. Last change: 2006 Apr 29
|
*options.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1192,7 +1192,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
written
|
written
|
||||||
nowrite buffer which will not be written
|
nowrite buffer which will not be written
|
||||||
acwrite buffer which will always be written with BufWriteCmd
|
acwrite buffer which will always be written with BufWriteCmd
|
||||||
autocommands. {not available when compiled without the
|
autocommands. {not available when compiled without the
|
||||||
|+autocmd| feature}
|
|+autocmd| feature}
|
||||||
quickfix quickfix buffer, contains list of errors |:cwindow|
|
quickfix quickfix buffer, contains list of errors |:cwindow|
|
||||||
or list of locations |:lwindow|
|
or list of locations |:lwindow|
|
||||||
@ -1648,7 +1648,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
sufficient colors are available. |ins-completion-menu|
|
sufficient colors are available. |ins-completion-menu|
|
||||||
|
|
||||||
menuone Use the popup menu also when there is only one match.
|
menuone Use the popup menu also when there is only one match.
|
||||||
Useful when there is additional information about the
|
Useful when there is additional information about the
|
||||||
match, e.g., what file it comes from.
|
match, e.g., what file it comes from.
|
||||||
|
|
||||||
longest Only insert the longest common text of the matches. If
|
longest Only insert the longest common text of the matches. If
|
||||||
@ -1658,7 +1658,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
used.
|
used.
|
||||||
|
|
||||||
preview Show extra information about the currently selected
|
preview Show extra information about the currently selected
|
||||||
completion in the preview window.
|
completion in the preview window.
|
||||||
|
|
||||||
*'confirm'* *'cf'* *'noconfirm'* *'nocf'*
|
*'confirm'* *'cf'* *'noconfirm'* *'nocf'*
|
||||||
'confirm' 'cf' boolean (default off)
|
'confirm' 'cf' boolean (default off)
|
||||||
@ -1954,7 +1954,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
+ When included, a ":write file" command will reset the
|
+ When included, a ":write file" command will reset the
|
||||||
'modified' flag of the buffer, even though the buffer
|
'modified' flag of the buffer, even though the buffer
|
||||||
itself may still be different from its file.
|
itself may still be different from its file.
|
||||||
*cpo-star*
|
*cpo-star*
|
||||||
* Use ":*" in the same way as ":@". When not included,
|
* Use ":*" in the same way as ":@". When not included,
|
||||||
":*" is an alias for ":'<,'>", select the Visual area.
|
":*" is an alias for ":'<,'>", select the Visual area.
|
||||||
*cpo-<*
|
*cpo-<*
|
||||||
@ -1973,7 +1973,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
when $VIM_POSIX was set on startup. |posix|
|
when $VIM_POSIX was set on startup. |posix|
|
||||||
|
|
||||||
contains behavior ~
|
contains behavior ~
|
||||||
*cpo-#*
|
*cpo-#*
|
||||||
# A count before "D", "o" and "O" has no effect.
|
# A count before "D", "o" and "O" has no effect.
|
||||||
*cpo-&*
|
*cpo-&*
|
||||||
& When ":preserve" was used keep the swap file when
|
& When ":preserve" was used keep the swap file when
|
||||||
@ -2990,9 +2990,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
operator. When this option is empty 'formatprg' is used.
|
operator. When this option is empty 'formatprg' is used.
|
||||||
|
|
||||||
The |v:lnum| variable holds the first line to be formatted.
|
The |v:lnum| variable holds the first line to be formatted.
|
||||||
The |v:count| variable the number of lines to be formatted.
|
The |v:count| variable holds the number of lines to be formatted.
|
||||||
The |v:char| variable the character to be inserted. This can be
|
The |v:char| variable holds the character that is going to be
|
||||||
empty. Don't insert it yet!
|
inserted. This can be empty. Don't insert it yet!
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
:set formatexpr=mylang#Format()
|
:set formatexpr=mylang#Format()
|
||||||
@ -3370,7 +3370,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
't' Include tearoff menu items. Currently only works for Win32,
|
't' Include tearoff menu items. Currently only works for Win32,
|
||||||
GTK+, and Motif 1.2 GUI.
|
GTK+, and Motif 1.2 GUI.
|
||||||
'T' Include Toolbar. Currently only in Win32, GTK+, Motif, Photon
|
'T' Include Toolbar. Currently only in Win32, GTK+, Motif, Photon
|
||||||
and Athena GUIs.
|
and Athena GUIs.
|
||||||
|
|
||||||
'r' Right-hand scrollbar is always present.
|
'r' Right-hand scrollbar is always present.
|
||||||
'R' Right-hand scrollbar is present when there is a vertically
|
'R' Right-hand scrollbar is present when there is a vertically
|
||||||
@ -4294,7 +4294,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
is off and there is text preceding the character
|
is off and there is text preceding the character
|
||||||
visible in the first column.
|
visible in the first column.
|
||||||
nbsp:c Character to show for a non-breakable space (character
|
nbsp:c Character to show for a non-breakable space (character
|
||||||
0xA0, 160). Left blank when omitted.
|
0xA0, 160). Left blank when omitted.
|
||||||
|
|
||||||
The characters ':' and ',' should not be used. UTF-8 characters can
|
The characters ':' and ',' should not be used. UTF-8 characters can
|
||||||
be used when 'encoding' is "utf-8", otherwise only printable
|
be used when 'encoding' is "utf-8", otherwise only printable
|
||||||
@ -6408,7 +6408,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
also used in all buffer related split commands, for
|
also used in all buffer related split commands, for
|
||||||
example ":sbuffer", ":sbnext", or ":sbrewind".
|
example ":sbuffer", ":sbnext", or ":sbrewind".
|
||||||
usetab Like "useopen", but also consider windows in other tab
|
usetab Like "useopen", but also consider windows in other tab
|
||||||
pages.
|
pages.
|
||||||
split If included, split the current window before loading
|
split If included, split the current window before loading
|
||||||
a buffer. Otherwise: do not split, use current window.
|
a buffer. Otherwise: do not split, use current window.
|
||||||
Supported in |quickfix| commands that display errors.
|
Supported in |quickfix| commands that display errors.
|
||||||
@ -6988,7 +6988,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
"s" = button state
|
"s" = button state
|
||||||
"c" = column plus 33
|
"c" = column plus 33
|
||||||
"r" = row plus 33
|
"r" = row plus 33
|
||||||
This only works up to 223 columns! See "dec" for a
|
This only works up to 223 columns! See "dec" for a
|
||||||
solution.
|
solution.
|
||||||
xterm2 Works like "xterm", but with the xterm reporting the
|
xterm2 Works like "xterm", but with the xterm reporting the
|
||||||
mouse position while the mouse is dragged. This works
|
mouse position while the mouse is dragged. This works
|
||||||
@ -7479,7 +7479,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
A list of words that change how command line completion is done.
|
A list of words that change how command line completion is done.
|
||||||
Currently only one word is allowed:
|
Currently only one word is allowed:
|
||||||
tagfile When using CTRL-D to list matching tags, the kind of
|
tagfile When using CTRL-D to list matching tags, the kind of
|
||||||
tag and the file of the tag is listed. Only one match
|
tag and the file of the tag is listed. Only one match
|
||||||
is displayed per line. Often used tag kinds are:
|
is displayed per line. Often used tag kinds are:
|
||||||
d #define
|
d #define
|
||||||
f function
|
f function
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_390.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*os_390.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*os_amiga.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*os_beos.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Mar 30
|
*os_dos.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Mar 29
|
*os_mac.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||||
@ -84,7 +84,7 @@ Q: How do I start the GUI from the command line?
|
|||||||
A: Assuming that Vim.app is located in /Applications:
|
A: Assuming that Vim.app is located in /Applications:
|
||||||
open /Applications/Vim.app
|
open /Applications/Vim.app
|
||||||
Or:
|
Or:
|
||||||
/Applications/Vim.app/Contents/MacOS/Vim -g {arguments}
|
/Applications/Vim.app/Contents/MacOS/Vim -g {arguments}
|
||||||
|
|
||||||
Q: How can I set $PATH to something reasonable when I start Vim.app from the
|
Q: How can I set $PATH to something reasonable when I start Vim.app from the
|
||||||
GUI or with open?
|
GUI or with open?
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_mint.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*os_mint.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*os_msdos.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*os_os2.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Slootman
|
VIM REFERENCE MANUAL by Paul Slootman
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_qnx.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*os_qnx.txt* For Vim version 7.0g. 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.0f. Last change: 2005 Mar 29
|
*os_risc.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Thomas Leonard
|
VIM REFERENCE MANUAL by Thomas Leonard
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_unix.txt* For Vim version 7.0f. Last change: 2005 Mar 29
|
*os_unix.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Mar 02
|
*os_vms.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
@ -50,8 +50,8 @@ To use the precompiled binary version, you need one of these archives:
|
|||||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||||
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
||||||
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
||||||
vim-XX-exe-axp-term.zip Alpha console executables
|
vim-XX-exe-axp-term.zip Alpha console executables
|
||||||
vim-XX-exe-vax-gui.zip VAX GUI executables
|
vim-XX-exe-vax-gui.zip VAX GUI executables
|
||||||
vim-XX-exe-vax-term.zip VAX console executables
|
vim-XX-exe-vax-term.zip VAX console executables
|
||||||
@ -61,7 +61,7 @@ and of course (optional)
|
|||||||
|
|
||||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
|
The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
|
||||||
|
|
||||||
For GTK executables you will need GTKLIB that is available for
|
For GTK executables you will need GTKLIB that is available for
|
||||||
Alpha and IA64 platform.
|
Alpha and IA64 platform.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@ -249,10 +249,10 @@ line parameter is uppercase "/" sign must be used.
|
|||||||
Examples:
|
Examples:
|
||||||
>
|
>
|
||||||
vim -R filename ! means: -r List swap files and exit
|
vim -R filename ! means: -r List swap files and exit
|
||||||
vim -/r filename ! means: -R Readonly mode (like "view")
|
vim -/r filename ! means: -R Readonly mode (like "view")
|
||||||
vim -u <vimrc> ! means: -u Use <vimrc> instead of any .vimrc
|
vim -u <vimrc> ! means: -u Use <vimrc> instead of any .vimrc
|
||||||
vim -/u <gvimrc> ! means: -U Use <gvimrc> instead of any .gvimrc
|
vim -/u <gvimrc> ! means: -U Use <gvimrc> instead of any .gvimrc
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
7. GUI mode questions *vms-gui*
|
7. GUI mode questions *vms-gui*
|
||||||
@ -356,7 +356,7 @@ number, try these settings. >
|
|||||||
|
|
||||||
:set nobackup " does not create *.*_ backup files
|
:set nobackup " does not create *.*_ backup files
|
||||||
:set nowritebackup " does not have any purpose on VMS. It's the
|
:set nowritebackup " does not have any purpose on VMS. It's the
|
||||||
" default.
|
" default.
|
||||||
|
|
||||||
Recovery is working perfect as well from the default swap file.
|
Recovery is working perfect as well from the default swap file.
|
||||||
Read more with :help swapfile
|
Read more with :help swapfile
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*os_win32.txt* For Vim version 7.0f. Last change: 2006 Apr 02
|
*os_win32.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by George Reilly
|
VIM REFERENCE MANUAL by George Reilly
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pattern.txt* For Vim version 7.0f. Last change: 2006 Apr 29
|
*pattern.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1018,13 +1018,13 @@ x A single character, with no special meaning, matches itself
|
|||||||
- An equivalence class. This means that characters are matched that
|
- An equivalence class. This means that characters are matched that
|
||||||
have almost the same meaning, e.g., when ignoring accents. The form
|
have almost the same meaning, e.g., when ignoring accents. The form
|
||||||
is:
|
is:
|
||||||
[=a=]
|
[=a=]
|
||||||
Currently this is only implemented for latin1. Also works for the
|
Currently this is only implemented for latin1. Also works for the
|
||||||
latin1 characters in utf-8 and latin9.
|
latin1 characters in utf-8 and latin9.
|
||||||
*/[[.* *[..]*
|
*/[[.* *[..]*
|
||||||
- A collation element. This currently simply accepts a single
|
- A collation element. This currently simply accepts a single
|
||||||
character in the form:
|
character in the form:
|
||||||
[.a.]
|
[.a.]
|
||||||
*/\]*
|
*/\]*
|
||||||
- To include a literal ']', '^', '-' or '\' in the collection, put a
|
- To include a literal ']', '^', '-' or '\' in the collection, put a
|
||||||
backslash before it: "[xyz\]]", "[\^xyz]", "[xy\-z]" and "[xyz\\]".
|
backslash before it: "[xyz\]]", "[\^xyz]", "[xy\-z]" and "[xyz\\]".
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_gzip.txt* For Vim version 7.0f. Last change: 2002 Oct 29
|
*pi_gzip.txt* For Vim version 7.0g. Last change: 2002 Oct 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
*pi_netrw.txt* For Vim version 7.0f. Last change: 2006 Apr 28
|
*pi_netrw.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
|
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||||
|
|
||||||
|
|
||||||
*dav* *http* *network* *rcp* *scp*
|
*dav* *http* *network* *rcp* *scp*
|
||||||
*fetch* *netrw* *Nread* *rsync* *sftp*
|
*fetch* *netrw* *Nread* *rsync* *sftp*
|
||||||
*ftp* *netrw.vim* *Nwrite* *netrw-file*
|
*ftp* *netrw.vim* *Nwrite* *netrw-file*
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
0. Contents *netrw-contents*
|
0. Contents *netrw-contents*
|
||||||
@ -68,8 +68,8 @@ The Netrw plugin is generally sourced automatically as it is a
|
|||||||
have plugins available which can be done with the following
|
have plugins available which can be done with the following
|
||||||
two lines in your <.vimrc>: >
|
two lines in your <.vimrc>: >
|
||||||
|
|
||||||
set nocp " 'compatible' is not set
|
set nocp " 'compatible' is not set
|
||||||
filetype plugin on " plugins are enabled
|
filetype plugin on " plugins are enabled
|
||||||
<
|
<
|
||||||
You can avoid loading this plugin by setting the "loaded_netrw" variable
|
You can avoid loading this plugin by setting the "loaded_netrw" variable
|
||||||
in your <.vimrc> file: >
|
in your <.vimrc> file: >
|
||||||
@ -85,8 +85,8 @@ Netrw makes reading, writing, and browsing over a network connection easy!
|
|||||||
First, make sure that you have plugins enabled, so you'll need to have at
|
First, make sure that you have plugins enabled, so you'll need to have at
|
||||||
least the following in your <.vimrc>: (or see |netrw-activate|) >
|
least the following in your <.vimrc>: (or see |netrw-activate|) >
|
||||||
|
|
||||||
set nocp " 'compatible' is not set
|
set nocp " 'compatible' is not set
|
||||||
filetype plugin on " plugins are enabled
|
filetype plugin on " plugins are enabled
|
||||||
<
|
<
|
||||||
(see |'cp'| and |:filetype-plugin-on|)
|
(see |'cp'| and |:filetype-plugin-on|)
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ and has lines resembling >
|
|||||||
machine HOSTNAME login USERID password "PASSWORD"
|
machine HOSTNAME login USERID password "PASSWORD"
|
||||||
machine HOSTNAME login USERID password "PASSWORD"
|
machine HOSTNAME login USERID password "PASSWORD"
|
||||||
...
|
...
|
||||||
default login USERID password "PASSWORD"
|
default login USERID password "PASSWORD"
|
||||||
<
|
<
|
||||||
How about browsing -- ie. you just want to look around before editing a
|
How about browsing -- ie. you just want to look around before editing a
|
||||||
file. For browsing on your current host, just "edit" a directory: >
|
file. For browsing on your current host, just "edit" a directory: >
|
||||||
@ -140,7 +140,7 @@ CONTROLLING EXTERNAL APPLICATIONS *netrw-externapp*
|
|||||||
dav: *g:netrw_dav_cmd* = "cadaver"
|
dav: *g:netrw_dav_cmd* = "cadaver"
|
||||||
fetch: *g:netrw_fetch_cmd* = "fetch -o" if fetch is available
|
fetch: *g:netrw_fetch_cmd* = "fetch -o" if fetch is available
|
||||||
ftp: *g:netrw_ftp_cmd* = "ftp"
|
ftp: *g:netrw_ftp_cmd* = "ftp"
|
||||||
http: *g:netrw_http_cmd* = "fetch -o" if fetch is available
|
http: *g:netrw_http_cmd* = "fetch -o" if fetch is available
|
||||||
http: g:netrw_http_cmd = "wget -q -O" If wget is available
|
http: g:netrw_http_cmd = "wget -q -O" If wget is available
|
||||||
rcp: *g:netrw_rcp_cmd* = "rcp"
|
rcp: *g:netrw_rcp_cmd* = "rcp"
|
||||||
rsync: *g:netrw_rsync_cmd* = "rsync -a"
|
rsync: *g:netrw_rsync_cmd* = "rsync -a"
|
||||||
@ -226,7 +226,7 @@ VARIABLES *netrw-variables*
|
|||||||
This option is ignored if you're using unix
|
This option is ignored if you're using unix
|
||||||
|
|
||||||
*g:netrw_use_nt_rcp* =0 don't use the rcp of WinNT, Win2000 and WinXP
|
*g:netrw_use_nt_rcp* =0 don't use the rcp of WinNT, Win2000 and WinXP
|
||||||
=1 use WinNT's rcp in binary mode (default)
|
=1 use WinNT's rcp in binary mode (default)
|
||||||
|
|
||||||
PATHS *netrw-path*
|
PATHS *netrw-path*
|
||||||
|
|
||||||
@ -303,48 +303,48 @@ additional prompting.
|
|||||||
|
|
||||||
*netrw-urls*
|
*netrw-urls*
|
||||||
+=================================+============================+============+
|
+=================================+============================+============+
|
||||||
| Reading | Writing | Uses |
|
| Reading | Writing | Uses |
|
||||||
+=================================+============================+============+
|
+=================================+============================+============+
|
||||||
| DAV: | | |
|
| DAV: | | |
|
||||||
| dav://host/path | | cadaver |
|
| dav://host/path | | cadaver |
|
||||||
| :Nread dav://host/path | :Nwrite dav://host/path | cadaver |
|
| :Nread dav://host/path | :Nwrite dav://host/path | cadaver |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| FETCH: | | |
|
| FETCH: | | |
|
||||||
| fetch://[user@]host/path | | |
|
| fetch://[user@]host/path | | |
|
||||||
| fetch://[user@]host:http/path | Not Available | fetch |
|
| fetch://[user@]host:http/path | Not Available | fetch |
|
||||||
| :Nread fetch://[user@]host/path| | |
|
| :Nread fetch://[user@]host/path| | |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| FILE: | | |
|
| FILE: | | |
|
||||||
| file:///* | file:///* | |
|
| file:///* | file:///* | |
|
||||||
| file://localhost/* | file://localhost/* | |
|
| file://localhost/* | file://localhost/* | |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| FTP: (*3) | (*3) | |
|
| FTP: (*3) | (*3) | |
|
||||||
| ftp://[user@]host/path | ftp://[user@]host/path | ftp (*2) |
|
| ftp://[user@]host/path | ftp://[user@]host/path | ftp (*2) |
|
||||||
| :Nread ftp://host/path | :Nwrite ftp://host/path | ftp+.netrc |
|
| :Nread ftp://host/path | :Nwrite ftp://host/path | ftp+.netrc |
|
||||||
| :Nread host path | :Nwrite host path | ftp+.netrc |
|
| :Nread host path | :Nwrite host path | ftp+.netrc |
|
||||||
| :Nread host uid pass path | :Nwrite host uid pass path | ftp |
|
| :Nread host uid pass path | :Nwrite host uid pass path | ftp |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| HTTP: wget is executable: (*4) | | |
|
| HTTP: wget is executable: (*4) | | |
|
||||||
| http://[user@]host/path | Not Available | wget |
|
| http://[user@]host/path | Not Available | wget |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| HTTP: fetch is executable (*4) | | |
|
| HTTP: fetch is executable (*4) | | |
|
||||||
| http://[user@]host/path | Not Available | fetch |
|
| http://[user@]host/path | Not Available | fetch |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| RCP: | | |
|
| RCP: | | |
|
||||||
| rcp://[user@]host/path | rcp://[user@]host/path | rcp |
|
| rcp://[user@]host/path | rcp://[user@]host/path | rcp |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| RSYNC: | | |
|
| RSYNC: | | |
|
||||||
| rsync://[user@]host/path | rsync://[user@]host/path | rsync |
|
| rsync://[user@]host/path | rsync://[user@]host/path | rsync |
|
||||||
| :Nread rsync://host/path | :Nwrite rsync://host/path | rsync |
|
| :Nread rsync://host/path | :Nwrite rsync://host/path | rsync |
|
||||||
| :Nread rcp://host/path | :Nwrite rcp://host/path | rcp |
|
| :Nread rcp://host/path | :Nwrite rcp://host/path | rcp |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| SCP: | | |
|
| SCP: | | |
|
||||||
| scp://[user@]host/path | scp://[user@]host/path | scp |
|
| scp://[user@]host/path | scp://[user@]host/path | scp |
|
||||||
| :Nread scp://host/path | :Nwrite scp://host/path | scp (*1) |
|
| :Nread scp://host/path | :Nwrite scp://host/path | scp (*1) |
|
||||||
+---------------------------------+----------------------------+------------+
|
+---------------------------------+----------------------------+------------+
|
||||||
| SFTP: | | |
|
| SFTP: | | |
|
||||||
| sftp://[user@]host/path | sftp://[user@]host/path | sftp |
|
| sftp://[user@]host/path | sftp://[user@]host/path | sftp |
|
||||||
| :Nread sftp://host/path | :Nwrite sftp://host/path | sftp (*1) |
|
| :Nread sftp://host/path | :Nwrite sftp://host/path | sftp (*1) |
|
||||||
+=================================+============================+============+
|
+=================================+============================+============+
|
||||||
|
|
||||||
(*1) For an absolute path use scp://machine//path.
|
(*1) For an absolute path use scp://machine//path.
|
||||||
@ -353,7 +353,7 @@ additional prompting.
|
|||||||
work with your ftp client. Otherwise the script will
|
work with your ftp client. Otherwise the script will
|
||||||
prompt for user-id and pasword.
|
prompt for user-id and pasword.
|
||||||
|
|
||||||
(*3) for ftp, "machine" may be machine#port or machine:port
|
(*3) for ftp, "machine" may be machine#port or machine:port
|
||||||
if a different port is needed than the standard ftp port
|
if a different port is needed than the standard ftp port
|
||||||
|
|
||||||
(*4) for http:..., if wget is available it will be used. Otherwise,
|
(*4) for http:..., if wget is available it will be used. Otherwise,
|
||||||
@ -459,7 +459,7 @@ see |netrw-urls|).
|
|||||||
strings.
|
strings.
|
||||||
|
|
||||||
:NetrwSettings This command is desribed in |netrw-settings| -- used to
|
:NetrwSettings This command is desribed in |netrw-settings| -- used to
|
||||||
display netrw settings and change netrw behavior.
|
display netrw settings and change netrw behavior.
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@ -469,37 +469,37 @@ The script <netrw.vim> uses several variables which can affect <netrw.vim>'s
|
|||||||
behavior. These variables typically may be set in the user's <.vimrc> file:
|
behavior. These variables typically may be set in the user's <.vimrc> file:
|
||||||
(also see |netrw-settings|) >
|
(also see |netrw-settings|) >
|
||||||
|
|
||||||
-------------
|
-------------
|
||||||
Netrw Options
|
Netrw Options
|
||||||
-------------
|
-------------
|
||||||
Option Meaning
|
Option Meaning
|
||||||
-------------- -----------------------------------------------
|
-------------- -----------------------------------------------
|
||||||
<
|
<
|
||||||
b:netrw_col Holds current cursor position (during NetWrite)
|
b:netrw_col Holds current cursor position (during NetWrite)
|
||||||
g:netrw_cygwin =1 assume scp under windows is from cygwin
|
g:netrw_cygwin =1 assume scp under windows is from cygwin
|
||||||
(default/windows)
|
(default/windows)
|
||||||
=0 assume scp under windows accepts windows
|
=0 assume scp under windows accepts windows
|
||||||
style paths (default/else)
|
style paths (default/else)
|
||||||
g:netrw_ftp =0 use default ftp (uid password)
|
g:netrw_ftp =0 use default ftp (uid password)
|
||||||
g:netrw_ftpmode ="binary" (default)
|
g:netrw_ftpmode ="binary" (default)
|
||||||
="ascii" (your choice)
|
="ascii" (your choice)
|
||||||
g:netrw_ignorenetrc =1 (default)
|
g:netrw_ignorenetrc =1 (default)
|
||||||
if you have a <.netrc> file but you don't
|
if you have a <.netrc> file but you don't
|
||||||
want it used, then set this variable. Its
|
want it used, then set this variable. Its
|
||||||
mere existence is enough to cause <.netrc>
|
mere existence is enough to cause <.netrc>
|
||||||
to be ignored.
|
to be ignored.
|
||||||
b:netrw_lastfile Holds latest method/machine/path.
|
b:netrw_lastfile Holds latest method/machine/path.
|
||||||
b:netrw_line Holds current line number (during NetWrite)
|
b:netrw_line Holds current line number (during NetWrite)
|
||||||
g:netrw_passwd Holds current password for ftp.
|
g:netrw_passwd Holds current password for ftp.
|
||||||
g:netrw_silent =0 transfers done normally
|
g:netrw_silent =0 transfers done normally
|
||||||
=1 transfers done silently
|
=1 transfers done silently
|
||||||
g:netrw_uid Holds current user-id for ftp.
|
g:netrw_uid Holds current user-id for ftp.
|
||||||
=1 use alternate ftp (user uid password)
|
=1 use alternate ftp (user uid password)
|
||||||
(see |netrw-options|)
|
(see |netrw-options|)
|
||||||
g:netrw_use_nt_rcp =0 don't use WinNT/2K/XP's rcp (default)
|
g:netrw_use_nt_rcp =0 don't use WinNT/2K/XP's rcp (default)
|
||||||
=1 use WinNT/2K/XP's rcp, binary mode
|
=1 use WinNT/2K/XP's rcp, binary mode
|
||||||
g:netrw_win95ftp =0 use unix-style ftp even if win95/98/ME/etc
|
g:netrw_win95ftp =0 use unix-style ftp even if win95/98/ME/etc
|
||||||
=1 use default method to do ftp >
|
=1 use default method to do ftp >
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
<
|
<
|
||||||
The script will also make use of the following variables internally, albeit
|
The script will also make use of the following variables internally, albeit
|
||||||
@ -522,21 +522,21 @@ Netrw supports a number of protocols. These protocols are invoked using the
|
|||||||
variables listed below, and may be modified by the user.
|
variables listed below, and may be modified by the user.
|
||||||
>
|
>
|
||||||
------------------------
|
------------------------
|
||||||
Protocol Control Options
|
Protocol Control Options
|
||||||
------------------------
|
------------------------
|
||||||
Option Type Setting Meaning
|
Option Type Setting Meaning
|
||||||
--------- -------- -------------- ---------------------------
|
--------- -------- -------------- ---------------------------
|
||||||
<
|
<
|
||||||
netrw_ftp variable =doesn't exist userid set by "user userid"
|
netrw_ftp variable =doesn't exist userid set by "user userid"
|
||||||
=0 userid set by "user userid"
|
=0 userid set by "user userid"
|
||||||
=1 userid set by "userid"
|
=1 userid set by "userid"
|
||||||
NetReadFixup function =doesn't exist no change
|
NetReadFixup function =doesn't exist no change
|
||||||
=exists Allows user to have files
|
=exists Allows user to have files
|
||||||
read via ftp automatically
|
read via ftp automatically
|
||||||
transformed however they wish
|
transformed however they wish
|
||||||
by NetReadFixup()
|
by NetReadFixup()
|
||||||
g:netrw_dav_cmd variable ="cadaver"
|
g:netrw_dav_cmd variable ="cadaver"
|
||||||
g:netrw_fetch_cmd variable ="fetch -o" if fetch is available
|
g:netrw_fetch_cmd variable ="fetch -o" if fetch is available
|
||||||
g:netrw_ftp_cmd variable ="ftp"
|
g:netrw_ftp_cmd variable ="ftp"
|
||||||
g:netrw_http_cmd variable ="fetch -o" if fetch is available
|
g:netrw_http_cmd variable ="fetch -o" if fetch is available
|
||||||
g:netrw_http_cmd variable ="wget -O" else if wget is available
|
g:netrw_http_cmd variable ="wget -O" else if wget is available
|
||||||
@ -565,11 +565,11 @@ temporary file:
|
|||||||
IF g:netrw_ftp !exists or is not 1 IF g:netrw_ftp exists and is 1
|
IF g:netrw_ftp !exists or is not 1 IF g:netrw_ftp exists and is 1
|
||||||
---------------------------------- ------------------------------
|
---------------------------------- ------------------------------
|
||||||
<
|
<
|
||||||
open machine [port] open machine [port]
|
open machine [port] open machine [port]
|
||||||
user userid password userid password
|
user userid password userid password
|
||||||
[g:netrw_ftpmode] password
|
[g:netrw_ftpmode] password
|
||||||
get filename tempfile [g:netrw_ftpmode]
|
get filename tempfile [g:netrw_ftpmode]
|
||||||
get filename tempfile >
|
get filename tempfile >
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
<
|
<
|
||||||
Netrw then executes the lines above by use of a filter:
|
Netrw then executes the lines above by use of a filter:
|
||||||
@ -611,7 +611,7 @@ messages) you may write a NetReadFixup(tmpfile) function:
|
|||||||
elseif a:method == 7 "rsync
|
elseif a:method == 7 "rsync
|
||||||
elseif a:method == 8 "fetch
|
elseif a:method == 8 "fetch
|
||||||
elseif a:method == 9 "sftp
|
elseif a:method == 9 "sftp
|
||||||
else " complain
|
else " complain
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
>
|
>
|
||||||
@ -625,8 +625,8 @@ itself:
|
|||||||
if has("win95") && g:netrw_win95ftp
|
if has("win95") && g:netrw_win95ftp
|
||||||
fun! NetReadFixup(method, line1, line2)
|
fun! NetReadFixup(method, line1, line2)
|
||||||
if method == 3 " ftp (no <.netrc>)
|
if method == 3 " ftp (no <.netrc>)
|
||||||
let fourblanklines= line2 - 3
|
let fourblanklines= line2 - 3
|
||||||
silent fourblanklines.",".line2."g/^\s*/d"
|
silent fourblanklines.",".line2."g/^\s*/d"
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
endif
|
endif
|
||||||
@ -672,9 +672,9 @@ MAPS *netrw-maps*
|
|||||||
|
|
||||||
QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
|
QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
|
||||||
>
|
>
|
||||||
------- -----------
|
------- -----------
|
||||||
Command Explanation
|
Command Explanation
|
||||||
------- -----------
|
------- -----------
|
||||||
< <F1> Causes Netrw to issue help
|
< <F1> Causes Netrw to issue help
|
||||||
<cr> Netrw will enter the directory or read the file |netrw-cr|
|
<cr> Netrw will enter the directory or read the file |netrw-cr|
|
||||||
<del> Netrw will attempt to remove the file/directory |netrw-del|
|
<del> Netrw will attempt to remove the file/directory |netrw-del|
|
||||||
@ -724,8 +724,8 @@ NETRW BROWSER VARIABLES *netrw-browse-var*
|
|||||||
|
|
||||||
*g:netrw_browse_split* when browsing, <cr> will open the file by:
|
*g:netrw_browse_split* when browsing, <cr> will open the file by:
|
||||||
=0: re-using the same window
|
=0: re-using the same window
|
||||||
=1: horizontally splitting the window first
|
=1: horizontally splitting the window first
|
||||||
=2: vertically splitting the window first
|
=2: vertically splitting the window first
|
||||||
|
|
||||||
*g:netrw_browsex_viewer* specify user's preference for a viewer: >
|
*g:netrw_browsex_viewer* specify user's preference for a viewer: >
|
||||||
"kfmclient exec"
|
"kfmclient exec"
|
||||||
@ -772,7 +772,7 @@ NETRW BROWSER VARIABLES *netrw-browse-var*
|
|||||||
*g:netrw_ftp_list_cmd* options for passing along to ftp for directory
|
*g:netrw_ftp_list_cmd* options for passing along to ftp for directory
|
||||||
listing. Defaults:
|
listing. Defaults:
|
||||||
unix or g:netrw_cygwin set: : "ls -lF"
|
unix or g:netrw_cygwin set: : "ls -lF"
|
||||||
otherwise "dir"
|
otherwise "dir"
|
||||||
|
|
||||||
*g:netrw_hide* if true, the hiding list is used
|
*g:netrw_hide* if true, the hiding list is used
|
||||||
default: =0
|
default: =0
|
||||||
@ -786,7 +786,7 @@ NETRW BROWSER VARIABLES *netrw-browse-var*
|
|||||||
|
|
||||||
*g:netrw_list_cmd* command for listing remote directories
|
*g:netrw_list_cmd* command for listing remote directories
|
||||||
default: (if ssh is executable)
|
default: (if ssh is executable)
|
||||||
"ssh HOSTNAME ls -FLa"
|
"ssh HOSTNAME ls -FLa"
|
||||||
|
|
||||||
*g:netrw_longlist* if =1, then long listing will be default
|
*g:netrw_longlist* if =1, then long listing will be default
|
||||||
|
|
||||||
@ -827,7 +827,7 @@ NETRW BROWSER VARIABLES *netrw-browse-var*
|
|||||||
*g:netrw_sort_sequence* when sorting by name, first sort by the
|
*g:netrw_sort_sequence* when sorting by name, first sort by the
|
||||||
comma-separated pattern sequence
|
comma-separated pattern sequence
|
||||||
default: '[\/]$,*,\.bak$,\.o$,\.h$,
|
default: '[\/]$,*,\.bak$,\.o$,\.h$,
|
||||||
\.info$,\.swp$,\.obj$'
|
\.info$,\.swp$,\.obj$'
|
||||||
|
|
||||||
*g:netrw_ssh_cmd* One may specify an executable command
|
*g:netrw_ssh_cmd* One may specify an executable command
|
||||||
to use instead of ssh for remote actions
|
to use instead of ssh for remote actions
|
||||||
@ -894,21 +894,21 @@ DIRECTORY EXPLORING COMMANDS *netrw-nexplore* *netrw-vexplore*
|
|||||||
|
|
||||||
:Explore[!] [dir]... Explore directory of current file *:Explore*
|
:Explore[!] [dir]... Explore directory of current file *:Explore*
|
||||||
:Sexplore[!] [dir]... Split&Explore directory of current file *:Sexplore*
|
:Sexplore[!] [dir]... Split&Explore directory of current file *:Sexplore*
|
||||||
:Hexplore[!] [dir]... Horizontal Split & Explore *:Hexplore*
|
:Hexplore[!] [dir]... Horizontal Split & Explore *:Hexplore*
|
||||||
:Vexplore[!] [dir]... Vertical Split & Explore *:Vexplore*
|
:Vexplore[!] [dir]... Vertical Split & Explore *:Vexplore*
|
||||||
|
|
||||||
Used with :Explore **/pattern :
|
Used with :Explore **/pattern :
|
||||||
:Nexplore............. go to next matching file *:Nexplore*
|
:Nexplore............. go to next matching file *:Nexplore*
|
||||||
:Pexplore............. go to previous matching file *:Pexplore*
|
:Pexplore............. go to previous matching file *:Pexplore*
|
||||||
|
|
||||||
:Explore will open the local-directory browser on the current file's
|
:Explore will open the local-directory browser on the current file's
|
||||||
directory (or on directory [dir] if specified). The window will be
|
directory (or on directory [dir] if specified). The window will be
|
||||||
split only if the file has been modified, otherwise the browsing
|
split only if the file has been modified, otherwise the browsing
|
||||||
window will take over that window. Normally the splitting is taken
|
window will take over that window. Normally the splitting is taken
|
||||||
horizontally.
|
horizontally.
|
||||||
:Explore! is like :Explore, but will use vertical splitting.
|
:Explore! is like :Explore, but will use vertical splitting.
|
||||||
:Sexplore will always split the window before invoking the local-directory
|
:Sexplore will always split the window before invoking the local-directory
|
||||||
browser. As with Explore, the splitting is normally done
|
browser. As with Explore, the splitting is normally done
|
||||||
horizontally.
|
horizontally.
|
||||||
:Sexplore! [dir] is like :Sexplore, but the splitting will be done vertically.
|
:Sexplore! [dir] is like :Sexplore, but the splitting will be done vertically.
|
||||||
:Hexplore [dir] does an :Explore with |:belowright| horizontal splitting.
|
:Hexplore [dir] does an :Explore with |:belowright| horizontal splitting.
|
||||||
@ -1005,7 +1005,7 @@ BROWSING *netrw-cr*
|
|||||||
Browsing is simple: move the cursor onto a file or directory of interest.
|
Browsing is simple: move the cursor onto a file or directory of interest.
|
||||||
Hitting the <cr> (the return key) will select the file or directory.
|
Hitting the <cr> (the return key) will select the file or directory.
|
||||||
Directories will themselves be listed, and files will be opened using the
|
Directories will themselves be listed, and files will be opened using the
|
||||||
protocol given in the original read request.
|
protocol given in the original read request.
|
||||||
|
|
||||||
CAVEAT: There are three forms of listing (see |netrw-i|). Netrw assumes
|
CAVEAT: There are three forms of listing (see |netrw-i|). Netrw assumes
|
||||||
that two or more spaces delimit filenames and directory names for the long
|
that two or more spaces delimit filenames and directory names for the long
|
||||||
@ -1255,7 +1255,7 @@ Netrw determines which special handler by the following method:
|
|||||||
If g:netrw_browsex_viewer == '-', then netrwFileHandler() will be
|
If g:netrw_browsex_viewer == '-', then netrwFileHandler() will be
|
||||||
invoked first (see |netrw_filehandler|).
|
invoked first (see |netrw_filehandler|).
|
||||||
|
|
||||||
* for Windows 32 or 64, the url and FileProtocolHandler dlls are used.
|
* for Windows 32 or 64, the url and FileProtocolHandler dlls are used.
|
||||||
* for Gnome (with gnome-open): gnome-open is used.
|
* for Gnome (with gnome-open): gnome-open is used.
|
||||||
* for KDE (with kfmclient): kfmclient is used.
|
* for KDE (with kfmclient): kfmclient is used.
|
||||||
* otherwise the netrwFileHandler plugin is used.
|
* otherwise the netrwFileHandler plugin is used.
|
||||||
@ -1270,7 +1270,7 @@ The netrwFileHandler applies a user-defined function to a file, based on its
|
|||||||
extension. Of course, the handler function must exist for it to be called!
|
extension. Of course, the handler function must exist for it to be called!
|
||||||
>
|
>
|
||||||
Ex. mypgm.html x ->
|
Ex. mypgm.html x ->
|
||||||
netrwFileHandler_html("scp://user@host/some/path/mypgm.html")
|
netrwFileHandler_html("scp://user@host/some/path/mypgm.html")
|
||||||
<
|
<
|
||||||
See the <plugin/netrwFileHandlers.vim> for an example of how to handle an html
|
See the <plugin/netrwFileHandlers.vim> for an example of how to handle an html
|
||||||
file with mozilla.
|
file with mozilla.
|
||||||
@ -1525,7 +1525,7 @@ which is loaded automatically at startup (assuming :set nocp).
|
|||||||
* g:netrw_browsex_viewer implemented
|
* g:netrw_browsex_viewer implemented
|
||||||
* Mikolaj Machowski pointed out that gnome-open is often
|
* Mikolaj Machowski pointed out that gnome-open is often
|
||||||
executable under KDE systems, although it is effectively
|
executable under KDE systems, although it is effectively
|
||||||
not functional. NetBrowseX now looks for "kicker" as
|
not functional. NetBrowseX now looks for "kicker" as
|
||||||
a running process to determine if KDE is actually the
|
a running process to determine if KDE is actually the
|
||||||
really running.
|
really running.
|
||||||
* Explorer's O functionality was inadvertently left out.
|
* Explorer's O functionality was inadvertently left out.
|
||||||
@ -1583,7 +1583,7 @@ which is loaded automatically at startup (assuming :set nocp).
|
|||||||
in order to allow them to be used for motions
|
in order to allow them to be used for motions
|
||||||
v65: * Browser functions now use NetOptionSave/Restore; in particular,
|
v65: * Browser functions now use NetOptionSave/Restore; in particular,
|
||||||
netrw now works around the report setting
|
netrw now works around the report setting
|
||||||
v64: * Bugfix - browsing a "/" directory (Unix) yielded buffers
|
v64: * Bugfix - browsing a "/" directory (Unix) yielded buffers
|
||||||
named "[Scratch]" instead of "/"
|
named "[Scratch]" instead of "/"
|
||||||
* Bugfix - remote browsing with ftp was omitting the ./ and ../
|
* Bugfix - remote browsing with ftp was omitting the ./ and ../
|
||||||
v63: * netrw now takes advantage of autoload (and requires 7.0)
|
v63: * netrw now takes advantage of autoload (and requires 7.0)
|
||||||
@ -1741,12 +1741,12 @@ which is loaded automatically at startup (assuming :set nocp).
|
|||||||
|
|
||||||
Jérôme Augé -- also using new buffer method with ftp+.netrc
|
Jérôme Augé -- also using new buffer method with ftp+.netrc
|
||||||
Bram Moolenaar -- obviously vim itself, :e and v:cmdarg use,
|
Bram Moolenaar -- obviously vim itself, :e and v:cmdarg use,
|
||||||
fetch,...
|
fetch,...
|
||||||
Yasuhiro Matsumoto -- pointing out undo+0r problem and a solution
|
Yasuhiro Matsumoto -- pointing out undo+0r problem and a solution
|
||||||
Erik Warendorph -- for several suggestions (g:netrw_..._cmd
|
Erik Warendorph -- for several suggestions (g:netrw_..._cmd
|
||||||
variables, rsync etc)
|
variables, rsync etc)
|
||||||
Doug Claar -- modifications to test for success with ftp
|
Doug Claar -- modifications to test for success with ftp
|
||||||
operation
|
operation
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:fdm=marker
|
vim:tw=78:ts=8:ft=help:norl:fdm=marker
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_paren.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*pi_paren.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_spec.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*pi_spec.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||||
|
|
||||||
by Gustavo Niemeyer ~
|
by Gustavo Niemeyer ~
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
*pi_tar.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*pi_tar.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
+====================+
|
+====================+
|
||||||
| Tar File Interface |
|
| Tar File Interface |
|
||||||
+====================+
|
+====================+
|
||||||
|
|
||||||
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
||||||
(remove NOSPAM from Campbell's email first)
|
(remove NOSPAM from Campbell's email first)
|
||||||
@ -31,11 +31,11 @@ Copyright: The GPL (gnu public license) applies to *tar-copyright*
|
|||||||
|
|
||||||
These options are variables that one may change, typically in one's
|
These options are variables that one may change, typically in one's
|
||||||
<.vimrc> file.
|
<.vimrc> file.
|
||||||
Default
|
Default
|
||||||
Variable Value Explanation
|
Variable Value Explanation
|
||||||
*g:tar_browseoptions* "Ptf" used to get a list of contents
|
*g:tar_browseoptions* "Ptf" used to get a list of contents
|
||||||
*g:tar_readoptions* "OPxf" used to extract a file from a tarball
|
*g:tar_readoptions* "OPxf" used to extract a file from a tarball
|
||||||
*g:tar_cmd* "tar" the name of the tar program
|
*g:tar_cmd* "tar" the name of the tar program
|
||||||
*g:tar_writeoptions* "uf" used to update/replace a file
|
*g:tar_writeoptions* "uf" used to update/replace a file
|
||||||
|
|
||||||
|
|
||||||
@ -44,19 +44,19 @@ Copyright: The GPL (gnu public license) applies to *tar-copyright*
|
|||||||
|
|
||||||
v7 Mar 22, 2006 * work on making tar plugin work across network
|
v7 Mar 22, 2006 * work on making tar plugin work across network
|
||||||
Mar 27, 2006 * g:tar_cmd now available for users to change the name
|
Mar 27, 2006 * g:tar_cmd now available for users to change the name
|
||||||
of the tar program to be used. By default, of course,
|
of the tar program to be used. By default, of course,
|
||||||
its "tar".
|
its "tar".
|
||||||
v6 Dec 21, 2005 * writing to files not in directories caused problems -
|
v6 Dec 21, 2005 * writing to files not in directories caused problems -
|
||||||
fixed (pointed out by Christian Robinson)
|
fixed (pointed out by Christian Robinson)
|
||||||
v5 Nov 22, 2005 * report option workaround installed
|
v5 Nov 22, 2005 * report option workaround installed
|
||||||
v3 Sep 16, 2005 * handles writing files in an archive back to the
|
v3 Sep 16, 2005 * handles writing files in an archive back to the
|
||||||
archive
|
archive
|
||||||
Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
|
Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
|
||||||
Oct 18, 2005 * handles writing to compressed archives
|
Oct 18, 2005 * handles writing to compressed archives
|
||||||
Nov 03, 2005 * handles writing tarfiles across a network using
|
Nov 03, 2005 * handles writing tarfiles across a network using
|
||||||
netrw#NetWrite()
|
netrw#NetWrite()
|
||||||
v2 * converted to use Vim7's new autoload feature by
|
v2 * converted to use Vim7's new autoload feature by
|
||||||
Bram Moolenaar
|
Bram Moolenaar
|
||||||
v1 (original) * Michael Toren (see http://michael.toren.net/code/)
|
v1 (original) * Michael Toren (see http://michael.toren.net/code/)
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_vimball.txt* For Vim version 7.0f. Last change: 2006 Apr 27
|
*pi_vimball.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
----------------
|
----------------
|
||||||
Vimball Archiver
|
Vimball Archiver
|
||||||
@ -7,8 +7,8 @@
|
|||||||
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
||||||
(remove NOSPAM from Campbell's email first)
|
(remove NOSPAM from Campbell's email first)
|
||||||
Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. *Vimball-copyright*
|
Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. *Vimball-copyright*
|
||||||
The VIM LICENSE applies to Vimball.vim, and Vimball.txt
|
The VIM LICENSE applies to Vimball.vim, and Vimball.txt
|
||||||
(see |copyright|) except use "Vimball" instead of "Vim".
|
(see |copyright|) except use "Vimball" instead of "Vim".
|
||||||
No warranty, express or implied.
|
No warranty, express or implied.
|
||||||
Use At-Your-Own-Risk!
|
Use At-Your-Own-Risk!
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. *Vimball-copyright*
|
|||||||
line.
|
line.
|
||||||
|
|
||||||
:VimballList *vimball-vimballlist*
|
:VimballList *vimball-vimballlist*
|
||||||
|
|
||||||
This command will tell Vimball to list the files in the archive, along
|
This command will tell Vimball to list the files in the archive, along
|
||||||
with their lengths in lines.
|
with their lengths in lines.
|
||||||
|
|
||||||
@ -62,22 +62,22 @@ Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. *Vimball-copyright*
|
|||||||
3. Vimball History *vimball-history* {{{1
|
3. Vimball History *vimball-history* {{{1
|
||||||
|
|
||||||
11 : Apr 27, 2006 * VimballList would create missing subdirectories that
|
11 : Apr 27, 2006 * VimballList would create missing subdirectories that
|
||||||
the vimball specified were needed. Fixed.
|
the vimball specified were needed. Fixed.
|
||||||
10 : Apr 27, 2006 * moved all setting saving/restoration to a pair of
|
10 : Apr 27, 2006 * moved all setting saving/restoration to a pair of
|
||||||
functions. Included some more settings in them
|
functions. Included some more settings in them
|
||||||
which frequently cause trouble.
|
which frequently cause trouble.
|
||||||
9 : Apr 26, 2006 * various changes to support Windows prediliction
|
9 : Apr 26, 2006 * various changes to support Windows prediliction
|
||||||
for backslashes and spaces in file and directory
|
for backslashes and spaces in file and directory
|
||||||
names.
|
names.
|
||||||
7 : Apr 25, 2006 * bypasses foldenable
|
7 : Apr 25, 2006 * bypasses foldenable
|
||||||
* uses more exe and less norm! (:yank :put etc)
|
* uses more exe and less norm! (:yank :put etc)
|
||||||
* does better at insuring a "Press ENTER" prompt
|
* does better at insuring a "Press ENTER" prompt
|
||||||
appears to keep its messages visible
|
appears to keep its messages visible
|
||||||
4 : Mar 31, 2006 * BufReadPost seems to fire twice; BufReadEnter
|
4 : Mar 31, 2006 * BufReadPost seems to fire twice; BufReadEnter
|
||||||
only fires once, so the "Source this file..."
|
only fires once, so the "Source this file..."
|
||||||
message is now issued only once.
|
message is now issued only once.
|
||||||
3 : Mar 20, 2006 * removed query, now requires sourcing to be
|
3 : Mar 20, 2006 * removed query, now requires sourcing to be
|
||||||
extracted (:so %). Message to that effect
|
extracted (:so %). Message to that effect
|
||||||
included.
|
included.
|
||||||
* :VimballList now shows files that would be
|
* :VimballList now shows files that would be
|
||||||
extracted.
|
extracted.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pi_zip.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*pi_zip.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
+====================+
|
+====================+
|
||||||
| Zip File Interface |
|
| Zip File Interface |
|
||||||
@ -7,7 +7,7 @@
|
|||||||
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
|
||||||
(remove NOSPAM from Campbell's email first)
|
(remove NOSPAM from Campbell's email first)
|
||||||
Copyright: Copyright (C) 2005,2006 Charles E Campbell, Jr {{{1 *zip-copyright*
|
Copyright: Copyright (C) 2005,2006 Charles E Campbell, Jr {{{1 *zip-copyright*
|
||||||
Permission is hereby granted to use and distribute this code,
|
Permission is hereby granted to use and distribute this code,
|
||||||
with or without modifications, provided that this copyright
|
with or without modifications, provided that this copyright
|
||||||
notice is copied with it. Like anything else that's free,
|
notice is copied with it. Like anything else that's free,
|
||||||
zip.vim, zipPlugin.vim, and pi_zip.txt are provided *as is*
|
zip.vim, zipPlugin.vim, and pi_zip.txt are provided *as is*
|
||||||
@ -34,21 +34,21 @@ Copyright: Copyright (C) 2005,2006 Charles E Campbell, Jr {{{1 *zip-copyright*
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
3. History *zip-history*
|
3. History *zip-history*
|
||||||
v8 Apr 10, 2006 * Bram Moolenaar reported that he received an error message
|
v8 Apr 10, 2006 * Bram Moolenaar reported that he received an error message
|
||||||
due to "Pattern not found: ^.*\%0c"; this was caused by
|
due to "Pattern not found: ^.*\%0c"; this was caused by
|
||||||
stridx finding a Name... at the beginning of the line;
|
stridx finding a Name... at the beginning of the line;
|
||||||
zip.vim tried 4,$s/^.*\%0c//, but that doesn't work.
|
zip.vim tried 4,$s/^.*\%0c//, but that doesn't work.
|
||||||
Fixed.
|
Fixed.
|
||||||
v7 Mar 22, 2006 * escaped some characters that can cause filename handling
|
v7 Mar 22, 2006 * escaped some characters that can cause filename handling
|
||||||
problems.
|
problems.
|
||||||
v6 Dec 21, 2005 * writing to files not in directories caused problems -
|
v6 Dec 21, 2005 * writing to files not in directories caused problems -
|
||||||
fixed (pointed out by Christian Robinson)
|
fixed (pointed out by Christian Robinson)
|
||||||
v5 Nov 22, 2005 * report option workaround installed
|
v5 Nov 22, 2005 * report option workaround installed
|
||||||
v3 Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
|
v3 Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
|
||||||
v2 Sep 16, 2005 * silenced some commands (avoiding hit-enter prompt)
|
v2 Sep 16, 2005 * silenced some commands (avoiding hit-enter prompt)
|
||||||
* began testing under Windows; works thus far
|
* began testing under Windows; works thus far
|
||||||
* filetype detection fixed
|
* filetype detection fixed
|
||||||
Nov 03, 2005 * handles writing zipfiles across a network using
|
Nov 03, 2005 * handles writing zipfiles across a network using
|
||||||
netrw#NetWrite()
|
netrw#NetWrite()
|
||||||
v1 Sep 15, 2005 * Initial release, had browsing, reading, and writing
|
v1 Sep 15, 2005 * Initial release, had browsing, reading, and writing
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*print.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*print.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -10,7 +10,7 @@ Printing *printing*
|
|||||||
2. Print options |print-options|
|
2. Print options |print-options|
|
||||||
3. PostScript Printing |postscript-printing|
|
3. PostScript Printing |postscript-printing|
|
||||||
4. PostScript Printing Encoding |postscript-print-encoding|
|
4. PostScript Printing Encoding |postscript-print-encoding|
|
||||||
5. PostScript CJK Printing |postscript-cjk-printing|
|
5. PostScript CJK Printing |postscript-cjk-printing|
|
||||||
6. PostScript Printing Troubleshooting |postscript-print-trouble|
|
6. PostScript Printing Troubleshooting |postscript-print-trouble|
|
||||||
7. PostScript Utilities |postscript-print-util|
|
7. PostScript Utilities |postscript-print-util|
|
||||||
8. Formfeed Characters |printing-formfeed|
|
8. Formfeed Characters |printing-formfeed|
|
||||||
@ -218,7 +218,7 @@ Sets the CJK character set to be used when generating CJK output from
|
|||||||
Japanese JIS_C_1978
|
Japanese JIS_C_1978
|
||||||
JIS_X_1983
|
JIS_X_1983
|
||||||
JIS_X_1990
|
JIS_X_1990
|
||||||
MSWINDOWS Win3.1/95J (JIS X 1997 + NEC +
|
MSWINDOWS Win3.1/95J (JIS X 1997 + NEC +
|
||||||
IBM extensions)
|
IBM extensions)
|
||||||
KANJITALK6 Apple Mac KanjiTalk V6.x
|
KANJITALK6 Apple Mac KanjiTalk V6.x
|
||||||
KANJITALK7 Apple Mac KanjiTalk V7.x
|
KANJITALK7 Apple Mac KanjiTalk V7.x
|
||||||
@ -254,7 +254,7 @@ possible. The following tables show the valid combinations:
|
|||||||
KANJITALK7 x
|
KANJITALK7 x
|
||||||
|
|
||||||
euc-kr cp949 ucs-2 utf-8 ~
|
euc-kr cp949 ucs-2 utf-8 ~
|
||||||
Korean KS_X_1992 x
|
Korean KS_X_1992 x
|
||||||
MAC x
|
MAC x
|
||||||
MSWINDOWS x
|
MSWINDOWS x
|
||||||
ISO10646 x x
|
ISO10646 x x
|
||||||
@ -307,7 +307,7 @@ character set: >
|
|||||||
:set printmbfont=r:WadaMin-Regular,b:WadaMin-Bold,c:yes
|
:set printmbfont=r:WadaMin-Regular,b:WadaMin-Bold,c:yes
|
||||||
<
|
<
|
||||||
*popt-option*
|
*popt-option*
|
||||||
'printoptions' 'popt' string (default "")
|
'printoptions' 'popt' string (default "")
|
||||||
global
|
global
|
||||||
This is a comma-separated list of items that control the format of the output
|
This is a comma-separated list of items that control the format of the output
|
||||||
of |:hardcopy|:
|
of |:hardcopy|:
|
||||||
@ -336,7 +336,7 @@ of |:hardcopy|:
|
|||||||
thus useful when printing large files.
|
thus useful when printing large files.
|
||||||
syntax:y Do syntax highlighting.
|
syntax:y Do syntax highlighting.
|
||||||
syntax:a (default) Use syntax highlighting if the printer appears to be
|
syntax:a (default) Use syntax highlighting if the printer appears to be
|
||||||
able to print color or grey.
|
able to print color or grey.
|
||||||
|
|
||||||
number:y Include line numbers in the printed output.
|
number:y Include line numbers in the printed output.
|
||||||
number:n (default) No line numbers.
|
number:n (default) No line numbers.
|
||||||
@ -346,16 +346,16 @@ of |:hardcopy|:
|
|||||||
|
|
||||||
duplex:off Print on one side.
|
duplex:off Print on one side.
|
||||||
duplex:long (default) Print on both sides (when possible), bind on long
|
duplex:long (default) Print on both sides (when possible), bind on long
|
||||||
side.
|
side.
|
||||||
duplex:short Print on both sides (when possible), bind on short
|
duplex:short Print on both sides (when possible), bind on short
|
||||||
side.
|
side.
|
||||||
|
|
||||||
collate:y (default) Collating: 1 2 3, 1 2 3, 1 2 3
|
collate:y (default) Collating: 1 2 3, 1 2 3, 1 2 3
|
||||||
collate:n No collating: 1 1 1, 2 2 2, 3 3 3
|
collate:n No collating: 1 1 1, 2 2 2, 3 3 3
|
||||||
|
|
||||||
jobsplit:n (default) Do all copies in one print job
|
jobsplit:n (default) Do all copies in one print job
|
||||||
jobsplit:y Do each copy as a separate print job. Useful when
|
jobsplit:y Do each copy as a separate print job. Useful when
|
||||||
doing N-up postprocessing.
|
doing N-up postprocessing.
|
||||||
|
|
||||||
portrait:y (default) Orientation is portrait.
|
portrait:y (default) Orientation is portrait.
|
||||||
portrait:n Orientation is landscape.
|
portrait:n Orientation is landscape.
|
||||||
@ -379,7 +379,7 @@ of |:hardcopy|:
|
|||||||
tabloid 27.96 x 43.13 11 x 17
|
tabloid 27.96 x 43.13 11 x 17
|
||||||
|
|
||||||
formfeed:n (default) Treat form feed characters (0x0c) as a normal print
|
formfeed:n (default) Treat form feed characters (0x0c) as a normal print
|
||||||
character.
|
character.
|
||||||
formfeed:y When a form feed character is encountered, continue
|
formfeed:y When a form feed character is encountered, continue
|
||||||
printing of the current line at the beginning of the
|
printing of the current line at the beginning of the
|
||||||
first line on a new page.
|
first line on a new page.
|
||||||
@ -484,7 +484,7 @@ Traditional Chinese fonts available at:
|
|||||||
|
|
||||||
http://examples.oreilly.com/cjkvinfo/adobe/samples/
|
http://examples.oreilly.com/cjkvinfo/adobe/samples/
|
||||||
|
|
||||||
You can find descriptions of the various fonts in the read me file at
|
You can find descriptions of the various fonts in the read me file at
|
||||||
|
|
||||||
http://examples.oreilly.com/cjkvinfo/adobe/00README
|
http://examples.oreilly.com/cjkvinfo/adobe/00README
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*quickfix.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -88,7 +88,7 @@ command with 'l'.
|
|||||||
all, go to the [count] previous error. See |:cc| for
|
all, go to the [count] previous error. See |:cc| for
|
||||||
[!] and 'switchbuf'.
|
[!] and 'switchbuf'.
|
||||||
|
|
||||||
|
|
||||||
:[count]lN[ext][!] *:lp* *:lprevious* *:lN* *:lNext*
|
:[count]lN[ext][!] *:lp* *:lprevious* *:lN* *:lNext*
|
||||||
:[count]lp[revious][!] Same as ":cNext" and ":cprevious", except the location
|
:[count]lp[revious][!] Same as ":cNext" and ":cprevious", except the location
|
||||||
list for the current window is used instead of the
|
list for the current window is used instead of the
|
||||||
@ -158,12 +158,12 @@ command with 'l'.
|
|||||||
You can not use the -q command-line option to set
|
You can not use the -q command-line option to set
|
||||||
the location list.
|
the location list.
|
||||||
|
|
||||||
|
|
||||||
:cg[etfile][!] [errorfile] *:cg* *:cgetfile*
|
:cg[etfile][!] [errorfile] *:cg* *:cgetfile*
|
||||||
Read the error file. Just like ":cfile" but don't
|
Read the error file. Just like ":cfile" but don't
|
||||||
jump to the first error.
|
jump to the first error.
|
||||||
|
|
||||||
|
|
||||||
:lg[etfile][!] [errorfile] *:lg* *:lgetfile*
|
:lg[etfile][!] [errorfile] *:lg* *:lgetfile*
|
||||||
Same as ":cgetfile", except the location list for the
|
Same as ":cgetfile", except the location list for the
|
||||||
current window is used instead of the quickfix list.
|
current window is used instead of the quickfix list.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quickref.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*quickref.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -588,58 +588,58 @@ In Insert or Command-line mode:
|
|||||||
the help.
|
the help.
|
||||||
|
|
||||||
Short explanation of each option: *option-list*
|
Short explanation of each option: *option-list*
|
||||||
'aleph' 'al' ASCII code of the letter Aleph (Hebrew)
|
'aleph' 'al' ASCII code of the letter Aleph (Hebrew)
|
||||||
'allowrevins' 'ari' allow CTRL-_ in Insert and Command-line mode
|
'allowrevins' 'ari' allow CTRL-_ in Insert and Command-line mode
|
||||||
'altkeymap' 'akm' for default second language (Farsi/Hebrew)
|
'altkeymap' 'akm' for default second language (Farsi/Hebrew)
|
||||||
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
'ambiwidth' 'ambw' what to do with Unicode chars of ambiguous width
|
||||||
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
'antialias' 'anti' Mac OS X: use smooth, antialiased fonts
|
||||||
'autochdir' 'acd' change directory to the file in the current window
|
'autochdir' 'acd' change directory to the file in the current window
|
||||||
'arabic' 'arab' for Arabic as a default second language
|
'arabic' 'arab' for Arabic as a default second language
|
||||||
'arabicshape' 'arshape' do shaping for Arabic characters
|
'arabicshape' 'arshape' do shaping for Arabic characters
|
||||||
'autoindent' 'ai' take indent for new line from previous line
|
'autoindent' 'ai' take indent for new line from previous line
|
||||||
'autoread' 'ar' autom. read file when changed outside of Vim
|
'autoread' 'ar' autom. read file when changed outside of Vim
|
||||||
'autowrite' 'aw' automatically write file if changed
|
'autowrite' 'aw' automatically write file if changed
|
||||||
'autowriteall' 'awa' as 'autowrite', but works with more commands
|
'autowriteall' 'awa' as 'autowrite', but works with more commands
|
||||||
'background' 'bg' "dark" or "light", used for highlight colors
|
'background' 'bg' "dark" or "light", used for highlight colors
|
||||||
'backspace' 'bs' how backspace works at start of line
|
'backspace' 'bs' how backspace works at start of line
|
||||||
'backup' 'bk' keep backup file after overwriting a file
|
'backup' 'bk' keep backup file after overwriting a file
|
||||||
'backupcopy' 'bkc' make backup as a copy, don't rename the file
|
'backupcopy' 'bkc' make backup as a copy, don't rename the file
|
||||||
'backupdir' 'bdir' list of directories for the backup file
|
'backupdir' 'bdir' list of directories for the backup file
|
||||||
'backupext' 'bex' extension used for the backup file
|
'backupext' 'bex' extension used for the backup file
|
||||||
'backupskip' 'bsk' no backup for files that match these patterns
|
'backupskip' 'bsk' no backup for files that match these patterns
|
||||||
'balloondelay' 'bdlay' delay in mS before a balloon may pop up
|
'balloondelay' 'bdlay' delay in mS before a balloon may pop up
|
||||||
'ballooneval' 'beval' switch on balloon evaluation
|
'ballooneval' 'beval' switch on balloon evaluation
|
||||||
'balloonexpr' 'bexpr' expression to show in balloon
|
'balloonexpr' 'bexpr' expression to show in balloon
|
||||||
'binary' 'bin' read/write/edit file in binary mode
|
'binary' 'bin' read/write/edit file in binary mode
|
||||||
'bioskey' 'biosk' MS-DOS: use bios calls for input characters
|
'bioskey' 'biosk' MS-DOS: use bios calls for input characters
|
||||||
'bomb' prepend a Byte Order Mark to the file
|
'bomb' prepend a Byte Order Mark to the file
|
||||||
'breakat' 'brk' characters that may cause a line break
|
'breakat' 'brk' characters that may cause a line break
|
||||||
'browsedir' 'bsdir' which directory to start browsing in
|
'browsedir' 'bsdir' which directory to start browsing in
|
||||||
'bufhidden' 'bh' what to do when buffer is no longer in window
|
'bufhidden' 'bh' what to do when buffer is no longer in window
|
||||||
'buflisted' 'bl' whether the buffer shows up in the buffer list
|
'buflisted' 'bl' whether the buffer shows up in the buffer list
|
||||||
'buftype' 'bt' special type of buffer
|
'buftype' 'bt' special type of buffer
|
||||||
'casemap' 'cmp' specifies how case of letters is changed
|
'casemap' 'cmp' specifies how case of letters is changed
|
||||||
'cdpath' 'cd' list of directories searched with ":cd"
|
'cdpath' 'cd' list of directories searched with ":cd"
|
||||||
'cedit' key used to open the command-line window
|
'cedit' key used to open the command-line window
|
||||||
'charconvert' 'ccv' expression for character encoding conversion
|
'charconvert' 'ccv' expression for character encoding conversion
|
||||||
'cindent' 'cin' do C program indenting
|
'cindent' 'cin' do C program indenting
|
||||||
'cinkeys' 'cink' keys that trigger indent when 'cindent' is set
|
'cinkeys' 'cink' keys that trigger indent when 'cindent' is set
|
||||||
'cinoptions' 'cino' how to do indenting when 'cindent' is set
|
'cinoptions' 'cino' how to do indenting when 'cindent' is set
|
||||||
'cinwords' 'cinw' words where 'si' and 'cin' add an indent
|
'cinwords' 'cinw' words where 'si' and 'cin' add an indent
|
||||||
'clipboard' 'cb' use the clipboard as the unnamed register
|
'clipboard' 'cb' use the clipboard as the unnamed register
|
||||||
'cmdheight' 'ch' number of lines to use for the command-line
|
'cmdheight' 'ch' number of lines to use for the command-line
|
||||||
'cmdwinheight' 'cwh' height of the command-line window
|
'cmdwinheight' 'cwh' height of the command-line window
|
||||||
'columns' 'co' number of columns in the display
|
'columns' 'co' number of columns in the display
|
||||||
'comments' 'com' patterns that can start a comment line
|
'comments' 'com' patterns that can start a comment line
|
||||||
'commentstring' 'cms' template for comments; used for fold marker
|
'commentstring' 'cms' template for comments; used for fold marker
|
||||||
'compatible' 'cp' behave Vi-compatible as much as possible
|
'compatible' 'cp' behave Vi-compatible as much as possible
|
||||||
'complete' 'cpt' specify how Insert mode completion works
|
'complete' 'cpt' specify how Insert mode completion works
|
||||||
'completefunc' 'cfu' function to be used for Insert mode completion
|
'completefunc' 'cfu' function to be used for Insert mode completion
|
||||||
'completeopt' 'cot' options for Insert mode completion
|
'completeopt' 'cot' options for Insert mode completion
|
||||||
'confirm' 'cf' ask what to do about unsaved/read-only files
|
'confirm' 'cf' ask what to do about unsaved/read-only files
|
||||||
'conskey' 'consk' get keys directly from console (MS-DOS only)
|
'conskey' 'consk' get keys directly from console (MS-DOS only)
|
||||||
'copyindent' 'ci' make 'autoindent' use existing indent structure
|
'copyindent' 'ci' make 'autoindent' use existing indent structure
|
||||||
'cpoptions' 'cpo' flags for Vi-compatible behavior
|
'cpoptions' 'cpo' flags for Vi-compatible behavior
|
||||||
'cscopepathcomp' 'cspc' how many components of the path to show
|
'cscopepathcomp' 'cspc' how many components of the path to show
|
||||||
'cscopeprg' 'csprg' command to execute cscope
|
'cscopeprg' 'csprg' command to execute cscope
|
||||||
'cscopequickfix' 'csqf' use quickfix window for cscope results
|
'cscopequickfix' 'csqf' use quickfix window for cscope results
|
||||||
@ -648,288 +648,288 @@ Short explanation of each option: *option-list*
|
|||||||
'cscopeverbose' 'csverb' give messages when adding a cscope database
|
'cscopeverbose' 'csverb' give messages when adding a cscope database
|
||||||
'cursorcolumn' 'cuc' highlight the screen column of the cursor
|
'cursorcolumn' 'cuc' highlight the screen column of the cursor
|
||||||
'cursorline' 'cul' highlight the screen line of the cursor
|
'cursorline' 'cul' highlight the screen line of the cursor
|
||||||
'debug' set to "msg" to see all error messages
|
'debug' set to "msg" to see all error messages
|
||||||
'define' 'def' pattern to be used to find a macro definition
|
'define' 'def' pattern to be used to find a macro definition
|
||||||
'delcombine' 'deco' delete combining characters on their own
|
'delcombine' 'deco' delete combining characters on their own
|
||||||
'dictionary' 'dict' list of file names used for keyword completion
|
'dictionary' 'dict' list of file names used for keyword completion
|
||||||
'diff' use diff mode for the current window
|
'diff' use diff mode for the current window
|
||||||
'diffexpr' 'dex' expression used to obtain a diff file
|
'diffexpr' 'dex' expression used to obtain a diff file
|
||||||
'diffopt' 'dip' options for using diff mode
|
'diffopt' 'dip' options for using diff mode
|
||||||
'digraph' 'dg' enable the entering of digraphs in Insert mode
|
'digraph' 'dg' enable the entering of digraphs in Insert mode
|
||||||
'directory' 'dir' list of directory names for the swap file
|
'directory' 'dir' list of directory names for the swap file
|
||||||
'display' 'dy' list of flags for how to display text
|
'display' 'dy' list of flags for how to display text
|
||||||
'eadirection' 'ead' in which direction 'equalalways' works
|
'eadirection' 'ead' in which direction 'equalalways' works
|
||||||
'edcompatible' 'ed' toggle flags of ":substitute" command
|
'edcompatible' 'ed' toggle flags of ":substitute" command
|
||||||
'encoding' 'enc' encoding used internally
|
'encoding' 'enc' encoding used internally
|
||||||
'endofline' 'eol' write <EOL> for last line in file
|
'endofline' 'eol' write <EOL> for last line in file
|
||||||
'equalalways' 'ea' windows are automatically made the same size
|
'equalalways' 'ea' windows are automatically made the same size
|
||||||
'equalprg' 'ep' external program to use for "=" command
|
'equalprg' 'ep' external program to use for "=" command
|
||||||
'errorbells' 'eb' ring the bell for error messages
|
'errorbells' 'eb' ring the bell for error messages
|
||||||
'errorfile' 'ef' name of the errorfile for the QuickFix mode
|
'errorfile' 'ef' name of the errorfile for the QuickFix mode
|
||||||
'errorformat' 'efm' description of the lines in the error file
|
'errorformat' 'efm' description of the lines in the error file
|
||||||
'esckeys' 'ek' recognize function keys in Insert mode
|
'esckeys' 'ek' recognize function keys in Insert mode
|
||||||
'eventignore' 'ei' autocommand events that are ignored
|
'eventignore' 'ei' autocommand events that are ignored
|
||||||
'expandtab' 'et' use spaces when <Tab> is inserted
|
'expandtab' 'et' use spaces when <Tab> is inserted
|
||||||
'exrc' 'ex' read .vimrc and .exrc in the current directory
|
'exrc' 'ex' read .vimrc and .exrc in the current directory
|
||||||
'fileencoding' 'fenc' file encoding for multi-byte text
|
'fileencoding' 'fenc' file encoding for multi-byte text
|
||||||
'fileencodings' 'fencs' automatically detected character encodings
|
'fileencodings' 'fencs' automatically detected character encodings
|
||||||
'fileformat' 'ff' file format used for file I/O
|
'fileformat' 'ff' file format used for file I/O
|
||||||
'fileformats' 'ffs' automatically detected values for 'fileformat'
|
'fileformats' 'ffs' automatically detected values for 'fileformat'
|
||||||
'filetype' 'ft' type of file, used for autocommands
|
'filetype' 'ft' type of file, used for autocommands
|
||||||
'fillchars' 'fcs' characters to use for displaying special items
|
'fillchars' 'fcs' characters to use for displaying special items
|
||||||
'fkmap' 'fk' Farsi keyboard mapping
|
'fkmap' 'fk' Farsi keyboard mapping
|
||||||
'foldclose' 'fcl' close a fold when the cursor leaves it
|
'foldclose' 'fcl' close a fold when the cursor leaves it
|
||||||
'foldcolumn' 'fdc' width of the column used to indicate folds
|
'foldcolumn' 'fdc' width of the column used to indicate folds
|
||||||
'foldenable' 'fen' set to display all folds open
|
'foldenable' 'fen' set to display all folds open
|
||||||
'foldexpr' 'fde' expression used when 'foldmethod' is "expr"
|
'foldexpr' 'fde' expression used when 'foldmethod' is "expr"
|
||||||
'foldignore' 'fdi' ignore lines when 'foldmethod' is "indent"
|
'foldignore' 'fdi' ignore lines when 'foldmethod' is "indent"
|
||||||
'foldlevel' 'fdl' close folds with a level higher than this
|
'foldlevel' 'fdl' close folds with a level higher than this
|
||||||
'foldlevelstart' 'fdls' 'foldlevel' when starting to edit a file
|
'foldlevelstart' 'fdls' 'foldlevel' when starting to edit a file
|
||||||
'foldmarker' 'fmr' markers used when 'foldmethod' is "marker"
|
'foldmarker' 'fmr' markers used when 'foldmethod' is "marker"
|
||||||
'foldmethod' 'fdm' folding type
|
'foldmethod' 'fdm' folding type
|
||||||
'foldminlines' 'fml' minimum number of lines for a fold to be closed
|
'foldminlines' 'fml' minimum number of lines for a fold to be closed
|
||||||
'foldnestmax' 'fdn' maximum fold depth
|
'foldnestmax' 'fdn' maximum fold depth
|
||||||
'foldopen' 'fdo' for which commands a fold will be opened
|
'foldopen' 'fdo' for which commands a fold will be opened
|
||||||
'foldtext' 'fdt' expression used to display for a closed fold
|
'foldtext' 'fdt' expression used to display for a closed fold
|
||||||
'formatlistpat' 'flp' pattern used to recognize a list header
|
'formatlistpat' 'flp' pattern used to recognize a list header
|
||||||
'formatoptions' 'fo' how automatic formatting is to be done
|
'formatoptions' 'fo' how automatic formatting is to be done
|
||||||
'formatprg' 'fp' name of external program used with "gq" command
|
'formatprg' 'fp' name of external program used with "gq" command
|
||||||
'formatexpr' 'fex' expression used with "gq" command
|
'formatexpr' 'fex' expression used with "gq" command
|
||||||
'fsync' 'fs' whether to invoke fsync() after file write
|
'fsync' 'fs' whether to invoke fsync() after file write
|
||||||
'gdefault' 'gd' the ":substitute" flag 'g' is default on
|
'gdefault' 'gd' the ":substitute" flag 'g' is default on
|
||||||
'grepformat' 'gfm' format of 'grepprg' output
|
'grepformat' 'gfm' format of 'grepprg' output
|
||||||
'grepprg' 'gp' program to use for ":grep"
|
'grepprg' 'gp' program to use for ":grep"
|
||||||
'guicursor' 'gcr' GUI: settings for cursor shape and blinking
|
'guicursor' 'gcr' GUI: settings for cursor shape and blinking
|
||||||
'guifont' 'gfn' GUI: Name(s) of font(s) to be used
|
'guifont' 'gfn' GUI: Name(s) of font(s) to be used
|
||||||
'guifontset' 'gfs' GUI: Names of multi-byte fonts to be used
|
'guifontset' 'gfs' GUI: Names of multi-byte fonts to be used
|
||||||
'guifontwide' 'gfw' list of font names for double-wide characters
|
'guifontwide' 'gfw' list of font names for double-wide characters
|
||||||
'guiheadroom' 'ghr' GUI: pixels room for window decorations
|
'guiheadroom' 'ghr' GUI: pixels room for window decorations
|
||||||
'guioptions' 'go' GUI: Which components and options are used
|
'guioptions' 'go' GUI: Which components and options are used
|
||||||
'guipty' GUI: try to use a pseudo-tty for ":!" commands
|
'guipty' GUI: try to use a pseudo-tty for ":!" commands
|
||||||
'guitablabel' 'gtl' GUI: custom label for a tab page
|
'guitablabel' 'gtl' GUI: custom label for a tab page
|
||||||
'guitabtooltip' 'gtt' GUI: custom tooltip for a tab page
|
'guitabtooltip' 'gtt' GUI: custom tooltip for a tab page
|
||||||
'helpfile' 'hf' full path name of the main help file
|
'helpfile' 'hf' full path name of the main help file
|
||||||
'helpheight' 'hh' minimum height of a new help window
|
'helpheight' 'hh' minimum height of a new help window
|
||||||
'helplang' 'hlg' preferred help languages
|
'helplang' 'hlg' preferred help languages
|
||||||
'hidden' 'hid' don't unload buffer when it is |abandon|ed
|
'hidden' 'hid' don't unload buffer when it is |abandon|ed
|
||||||
'highlight' 'hl' sets highlighting mode for various occasions
|
'highlight' 'hl' sets highlighting mode for various occasions
|
||||||
'hlsearch' 'hls' highlight matches with last search pattern
|
'hlsearch' 'hls' highlight matches with last search pattern
|
||||||
'history' 'hi' number of command-lines that are remembered
|
'history' 'hi' number of command-lines that are remembered
|
||||||
'hkmap' 'hk' Hebrew keyboard mapping
|
'hkmap' 'hk' Hebrew keyboard mapping
|
||||||
'hkmapp' 'hkp' phonetic Hebrew keyboard mapping
|
'hkmapp' 'hkp' phonetic Hebrew keyboard mapping
|
||||||
'icon' let Vim set the text of the window icon
|
'icon' let Vim set the text of the window icon
|
||||||
'iconstring' string to use for the Vim icon text
|
'iconstring' string to use for the Vim icon text
|
||||||
'ignorecase' 'ic' ignore case in search patterns
|
'ignorecase' 'ic' ignore case in search patterns
|
||||||
'imactivatekey' 'imak' key that activates the X input method
|
'imactivatekey' 'imak' key that activates the X input method
|
||||||
'imcmdline' 'imc' use IM when starting to edit a command line
|
'imcmdline' 'imc' use IM when starting to edit a command line
|
||||||
'imdisable' 'imd' do not use the IM in any mode
|
'imdisable' 'imd' do not use the IM in any mode
|
||||||
'iminsert' 'imi' use :lmap or IM in Insert mode
|
'iminsert' 'imi' use :lmap or IM in Insert mode
|
||||||
'imsearch' 'ims' use :lmap or IM when typing a search pattern
|
'imsearch' 'ims' use :lmap or IM when typing a search pattern
|
||||||
'include' 'inc' pattern to be used to find an include file
|
'include' 'inc' pattern to be used to find an include file
|
||||||
'includeexpr' 'inex' expression used to process an include line
|
'includeexpr' 'inex' expression used to process an include line
|
||||||
'incsearch' 'is' highlight match while typing search pattern
|
'incsearch' 'is' highlight match while typing search pattern
|
||||||
'indentexpr' 'inde' expression used to obtain the indent of a line
|
'indentexpr' 'inde' expression used to obtain the indent of a line
|
||||||
'indentkeys' 'indk' keys that trigger indenting with 'indentexpr'
|
'indentkeys' 'indk' keys that trigger indenting with 'indentexpr'
|
||||||
'infercase' 'inf' adjust case of match for keyword completion
|
'infercase' 'inf' adjust case of match for keyword completion
|
||||||
'insertmode' 'im' start the edit of a file in Insert mode
|
'insertmode' 'im' start the edit of a file in Insert mode
|
||||||
'isfname' 'isf' characters included in file names and pathnames
|
'isfname' 'isf' characters included in file names and pathnames
|
||||||
'isident' 'isi' characters included in identifiers
|
'isident' 'isi' characters included in identifiers
|
||||||
'iskeyword' 'isk' characters included in keywords
|
'iskeyword' 'isk' characters included in keywords
|
||||||
'isprint' 'isp' printable characters
|
'isprint' 'isp' printable characters
|
||||||
'joinspaces' 'js' two spaces after a period with a join command
|
'joinspaces' 'js' two spaces after a period with a join command
|
||||||
'key' encryption key
|
'key' encryption key
|
||||||
'keymap' 'kmp' name of a keyboard mapping
|
'keymap' 'kmp' name of a keyboard mapping
|
||||||
'keymodel' 'km' enable starting/stopping selection with keys
|
'keymodel' 'km' enable starting/stopping selection with keys
|
||||||
'keywordprg' 'kp' program to use for the "K" command
|
'keywordprg' 'kp' program to use for the "K" command
|
||||||
'langmap' 'lmap' alphabetic characters for other language mode
|
'langmap' 'lmap' alphabetic characters for other language mode
|
||||||
'langmenu' 'lm' language to be used for the menus
|
'langmenu' 'lm' language to be used for the menus
|
||||||
'laststatus' 'ls' tells when last window has status lines
|
'laststatus' 'ls' tells when last window has status lines
|
||||||
'lazyredraw' 'lz' don't redraw while executing macros
|
'lazyredraw' 'lz' don't redraw while executing macros
|
||||||
'linebreak' 'lbr' wrap long lines at a blank
|
'linebreak' 'lbr' wrap long lines at a blank
|
||||||
'lines' number of lines in the display
|
'lines' number of lines in the display
|
||||||
'linespace' 'lsp' number of pixel lines to use between characters
|
'linespace' 'lsp' number of pixel lines to use between characters
|
||||||
'lisp' automatic indenting for Lisp
|
'lisp' automatic indenting for Lisp
|
||||||
'lispwords' 'lw' words that change how lisp indenting works
|
'lispwords' 'lw' words that change how lisp indenting works
|
||||||
'list' show <Tab> and <EOL>
|
'list' show <Tab> and <EOL>
|
||||||
'listchars' 'lcs' characters for displaying in list mode
|
'listchars' 'lcs' characters for displaying in list mode
|
||||||
'loadplugins' 'lpl' load plugin scripts when starting up
|
'loadplugins' 'lpl' load plugin scripts when starting up
|
||||||
'macatsui' Mac GUI: use ATSUI text drawing
|
'macatsui' Mac GUI: use ATSUI text drawing
|
||||||
'magic' changes special characters in search patterns
|
'magic' changes special characters in search patterns
|
||||||
'makeef' 'mef' name of the errorfile for ":make"
|
'makeef' 'mef' name of the errorfile for ":make"
|
||||||
'makeprg' 'mp' program to use for the ":make" command
|
'makeprg' 'mp' program to use for the ":make" command
|
||||||
'matchpairs' 'mps' pairs of characters that "%" can match
|
'matchpairs' 'mps' pairs of characters that "%" can match
|
||||||
'matchtime' 'mat' tenths of a second to show matching paren
|
'matchtime' 'mat' tenths of a second to show matching paren
|
||||||
'maxcombine' 'mco' maximum nr of combining characters displayed
|
'maxcombine' 'mco' maximum nr of combining characters displayed
|
||||||
'maxfuncdepth' 'mfd' maximum recursive depth for user functions
|
'maxfuncdepth' 'mfd' maximum recursive depth for user functions
|
||||||
'maxmapdepth' 'mmd' maximum recursive depth for mapping
|
'maxmapdepth' 'mmd' maximum recursive depth for mapping
|
||||||
'maxmem' 'mm' maximum memory (in Kbyte) used for one buffer
|
'maxmem' 'mm' maximum memory (in Kbyte) used for one buffer
|
||||||
'maxmempattern' 'mmp' maximum memory (in Kbyte) used for pattern search
|
'maxmempattern' 'mmp' maximum memory (in Kbyte) used for pattern search
|
||||||
'maxmemtot' 'mmt' maximum memory (in Kbyte) used for all buffers
|
'maxmemtot' 'mmt' maximum memory (in Kbyte) used for all buffers
|
||||||
'menuitems' 'mis' maximum number of items in a menu
|
'menuitems' 'mis' maximum number of items in a menu
|
||||||
'mkspellmem' 'msm' memory used before |:mkspell| compresses the tree
|
'mkspellmem' 'msm' memory used before |:mkspell| compresses the tree
|
||||||
'modeline' 'ml' recognize modelines at start or end of file
|
'modeline' 'ml' recognize modelines at start or end of file
|
||||||
'modelines' 'mls' number of lines checked for modelines
|
'modelines' 'mls' number of lines checked for modelines
|
||||||
'modifiable' 'ma' changes to the text are not possible
|
'modifiable' 'ma' changes to the text are not possible
|
||||||
'modified' 'mod' buffer has been modified
|
'modified' 'mod' buffer has been modified
|
||||||
'more' pause listings when the whole screen is filled
|
'more' pause listings when the whole screen is filled
|
||||||
'mouse' enable the use of mouse clicks
|
'mouse' enable the use of mouse clicks
|
||||||
'mousefocus' 'mousef' keyboard focus follows the mouse
|
'mousefocus' 'mousef' keyboard focus follows the mouse
|
||||||
'mousehide' 'mh' hide mouse pointer while typing
|
'mousehide' 'mh' hide mouse pointer while typing
|
||||||
'mousemodel' 'mousem' changes meaning of mouse buttons
|
'mousemodel' 'mousem' changes meaning of mouse buttons
|
||||||
'mouseshape' 'mouses' shape of the mouse pointer in different modes
|
'mouseshape' 'mouses' shape of the mouse pointer in different modes
|
||||||
'mousetime' 'mouset' max time between mouse double-click
|
'mousetime' 'mouset' max time between mouse double-click
|
||||||
'mzquantum' 'mzq' the interval between polls for MzScheme threads
|
'mzquantum' 'mzq' the interval between polls for MzScheme threads
|
||||||
'nrformats' 'nf' number formats recognized for CTRL-A command
|
'nrformats' 'nf' number formats recognized for CTRL-A command
|
||||||
'number' 'nu' print the line number in front of each line
|
'number' 'nu' print the line number in front of each line
|
||||||
'numberwidth' 'nuw' number of columns used for the line number
|
'numberwidth' 'nuw' number of columns used for the line number
|
||||||
'omnifunc' 'ofu' function for filetype-specific completion
|
'omnifunc' 'ofu' function for filetype-specific completion
|
||||||
'operatorfunc' 'opfunc' funtion to be called for |g@| operator
|
'operatorfunc' 'opfunc' funtion to be called for |g@| operator
|
||||||
'osfiletype' 'oft' operating system-specific filetype information
|
'osfiletype' 'oft' operating system-specific filetype information
|
||||||
'paragraphs' 'para' nroff macros that separate paragraphs
|
'paragraphs' 'para' nroff macros that separate paragraphs
|
||||||
'paste' allow pasting text
|
'paste' allow pasting text
|
||||||
'pastetoggle' 'pt' key code that causes 'paste' to toggle
|
'pastetoggle' 'pt' key code that causes 'paste' to toggle
|
||||||
'patchexpr' 'pex' expression used to patch a file
|
'patchexpr' 'pex' expression used to patch a file
|
||||||
'patchmode' 'pm' keep the oldest version of a file
|
'patchmode' 'pm' keep the oldest version of a file
|
||||||
'path' 'pa' list of directories searched with "gf" et.al.
|
'path' 'pa' list of directories searched with "gf" et.al.
|
||||||
'preserveindent' 'pi' preserve the indent structure when reindenting
|
'preserveindent' 'pi' preserve the indent structure when reindenting
|
||||||
'previewheight' 'pvh' height of the preview window
|
'previewheight' 'pvh' height of the preview window
|
||||||
'previewwindow' 'pvw' identifies the preview window
|
'previewwindow' 'pvw' identifies the preview window
|
||||||
'printdevice' 'pdev' name of the printer to be used for :hardcopy
|
'printdevice' 'pdev' name of the printer to be used for :hardcopy
|
||||||
'printencoding' 'penc' encoding to be used for printing
|
'printencoding' 'penc' encoding to be used for printing
|
||||||
'printexpr' 'pexpr' expression used to print PostScript for :hardcopy
|
'printexpr' 'pexpr' expression used to print PostScript for :hardcopy
|
||||||
'printfont' 'pfn' name of the font to be used for :hardcopy
|
'printfont' 'pfn' name of the font to be used for :hardcopy
|
||||||
'printheader' 'pheader' format of the header used for :hardcopy
|
'printheader' 'pheader' format of the header used for :hardcopy
|
||||||
'printmbcharset' 'pmbcs' CJK character set to be used for :hardcopy
|
'printmbcharset' 'pmbcs' CJK character set to be used for :hardcopy
|
||||||
'printmbfont' 'pmbfn' font names to be used for CJK output of :hardcopy
|
'printmbfont' 'pmbfn' font names to be used for CJK output of :hardcopy
|
||||||
'printoptions' 'popt' controls the format of :hardcopy output
|
'printoptions' 'popt' controls the format of :hardcopy output
|
||||||
'pumheight'' 'ph' maximum height of the popup menu
|
'pumheight'' 'ph' maximum height of the popup menu
|
||||||
'quoteescape' 'qe' escape characters used in a string
|
'quoteescape' 'qe' escape characters used in a string
|
||||||
'readonly' 'ro' disallow writing the buffer
|
'readonly' 'ro' disallow writing the buffer
|
||||||
'remap' allow mappings to work recursively
|
'remap' allow mappings to work recursively
|
||||||
'report' threshold for reporting nr. of lines changed
|
'report' threshold for reporting nr. of lines changed
|
||||||
'restorescreen' 'rs' Win32: restore screen when exiting
|
'restorescreen' 'rs' Win32: restore screen when exiting
|
||||||
'revins' 'ri' inserting characters will work backwards
|
'revins' 'ri' inserting characters will work backwards
|
||||||
'rightleft' 'rl' window is right-to-left oriented
|
'rightleft' 'rl' window is right-to-left oriented
|
||||||
'rightleftcmd' 'rlc' commands for which editing works right-to-left
|
'rightleftcmd' 'rlc' commands for which editing works right-to-left
|
||||||
'ruler' 'ru' show cursor line and column in the status line
|
'ruler' 'ru' show cursor line and column in the status line
|
||||||
'rulerformat' 'ruf' custom format for the ruler
|
'rulerformat' 'ruf' custom format for the ruler
|
||||||
'runtimepath' 'rtp' list of directories used for runtime files
|
'runtimepath' 'rtp' list of directories used for runtime files
|
||||||
'scroll' 'scr' lines to scroll with CTRL-U and CTRL-D
|
'scroll' 'scr' lines to scroll with CTRL-U and CTRL-D
|
||||||
'scrollbind' 'scb' scroll in window as other windows scroll
|
'scrollbind' 'scb' scroll in window as other windows scroll
|
||||||
'scrolljump' 'sj' minimum number of lines to scroll
|
'scrolljump' 'sj' minimum number of lines to scroll
|
||||||
'scrolloff' 'so' minimum nr. of lines above and below cursor
|
'scrolloff' 'so' minimum nr. of lines above and below cursor
|
||||||
'scrollopt' 'sbo' how 'scrollbind' should behave
|
'scrollopt' 'sbo' how 'scrollbind' should behave
|
||||||
'sections' 'sect' nroff macros that separate sections
|
'sections' 'sect' nroff macros that separate sections
|
||||||
'secure' secure mode for reading .vimrc in current dir
|
'secure' secure mode for reading .vimrc in current dir
|
||||||
'selection' 'sel' what type of selection to use
|
'selection' 'sel' what type of selection to use
|
||||||
'selectmode' 'slm' when to use Select mode instead of Visual mode
|
'selectmode' 'slm' when to use Select mode instead of Visual mode
|
||||||
'sessionoptions' 'ssop' options for |:mksession|
|
'sessionoptions' 'ssop' options for |:mksession|
|
||||||
'shell' 'sh' name of shell to use for external commands
|
'shell' 'sh' name of shell to use for external commands
|
||||||
'shellcmdflag' 'shcf' flag to shell to execute one command
|
'shellcmdflag' 'shcf' flag to shell to execute one command
|
||||||
'shellpipe' 'sp' string to put output of ":make" in error file
|
'shellpipe' 'sp' string to put output of ":make" in error file
|
||||||
'shellquote' 'shq' quote character(s) for around shell command
|
'shellquote' 'shq' quote character(s) for around shell command
|
||||||
'shellredir' 'srr' string to put output of filter in a temp file
|
'shellredir' 'srr' string to put output of filter in a temp file
|
||||||
'shellslash' 'ssl' use forward slash for shell file names
|
'shellslash' 'ssl' use forward slash for shell file names
|
||||||
'shelltemp' 'stmp' whether to use a temp file for shell commands
|
'shelltemp' 'stmp' whether to use a temp file for shell commands
|
||||||
'shelltype' 'st' Amiga: influences how to use a shell
|
'shelltype' 'st' Amiga: influences how to use a shell
|
||||||
'shellxquote' 'sxq' like 'shellquote', but include redirection
|
'shellxquote' 'sxq' like 'shellquote', but include redirection
|
||||||
'shiftround' 'sr' round indent to multiple of shiftwidth
|
'shiftround' 'sr' round indent to multiple of shiftwidth
|
||||||
'shiftwidth' 'sw' number of spaces to use for (auto)indent step
|
'shiftwidth' 'sw' number of spaces to use for (auto)indent step
|
||||||
'shortmess' 'shm' list of flags, reduce length of messages
|
'shortmess' 'shm' list of flags, reduce length of messages
|
||||||
'shortname' 'sn' non-MS-DOS: Filenames assumed to be 8.3 chars
|
'shortname' 'sn' non-MS-DOS: Filenames assumed to be 8.3 chars
|
||||||
'showbreak' 'sbr' string to use at the start of wrapped lines
|
'showbreak' 'sbr' string to use at the start of wrapped lines
|
||||||
'showcmd' 'sc' show (partial) command in status line
|
'showcmd' 'sc' show (partial) command in status line
|
||||||
'showfulltag' 'sft' show full tag pattern when completing tag
|
'showfulltag' 'sft' show full tag pattern when completing tag
|
||||||
'showmatch' 'sm' briefly jump to matching bracket if insert one
|
'showmatch' 'sm' briefly jump to matching bracket if insert one
|
||||||
'showmode' 'smd' message on status line to show current mode
|
'showmode' 'smd' message on status line to show current mode
|
||||||
'showtabline' 'stal' tells when the tab pages line is displayed
|
'showtabline' 'stal' tells when the tab pages line is displayed
|
||||||
'sidescroll' 'ss' minimum number of columns to scroll horizontal
|
'sidescroll' 'ss' minimum number of columns to scroll horizontal
|
||||||
'sidescrolloff' 'siso' min. nr. of columns to left and right of cursor
|
'sidescrolloff' 'siso' min. nr. of columns to left and right of cursor
|
||||||
'smartcase' 'scs' no ignore case when pattern has uppercase
|
'smartcase' 'scs' no ignore case when pattern has uppercase
|
||||||
'smartindent' 'si' smart autoindenting for C programs
|
'smartindent' 'si' smart autoindenting for C programs
|
||||||
'smarttab' 'sta' use 'shiftwidth' when inserting <Tab>
|
'smarttab' 'sta' use 'shiftwidth' when inserting <Tab>
|
||||||
'softtabstop' 'sts' number of spaces that <Tab> uses while editing
|
'softtabstop' 'sts' number of spaces that <Tab> uses while editing
|
||||||
'spell' enable spell checking
|
'spell' enable spell checking
|
||||||
'spellcapcheck' 'spc' pattern to locate end of a sentence
|
'spellcapcheck' 'spc' pattern to locate end of a sentence
|
||||||
'spellfile' 'spf' files where |zg| and |zw| store words
|
'spellfile' 'spf' files where |zg| and |zw| store words
|
||||||
'spelllang' 'spl' language(s) to do spell checking for
|
'spelllang' 'spl' language(s) to do spell checking for
|
||||||
'spellsuggest' 'sps' method(s) used to suggest spelling corrections
|
'spellsuggest' 'sps' method(s) used to suggest spelling corrections
|
||||||
'splitbelow' 'sb' new window from split is below the current one
|
'splitbelow' 'sb' new window from split is below the current one
|
||||||
'splitright' 'spr' new window is put right of the current one
|
'splitright' 'spr' new window is put right of the current one
|
||||||
'startofline' 'sol' commands move cursor to first blank in line
|
'startofline' 'sol' commands move cursor to first blank in line
|
||||||
'statusline' 'stl' custom format for the status line
|
'statusline' 'stl' custom format for the status line
|
||||||
'suffixes' 'su' suffixes that are ignored with multiple match
|
'suffixes' 'su' suffixes that are ignored with multiple match
|
||||||
'suffixesadd' 'sua' suffixes added when searching for a file
|
'suffixesadd' 'sua' suffixes added when searching for a file
|
||||||
'swapfile' 'swf' whether to use a swapfile for a buffer
|
'swapfile' 'swf' whether to use a swapfile for a buffer
|
||||||
'swapsync' 'sws' how to sync the swap file
|
'swapsync' 'sws' how to sync the swap file
|
||||||
'switchbuf' 'swb' sets behavior when switching to another buffer
|
'switchbuf' 'swb' sets behavior when switching to another buffer
|
||||||
'synmaxcol' 'smc' maximum column to find syntax items
|
'synmaxcol' 'smc' maximum column to find syntax items
|
||||||
'syntax' 'syn' syntax to be loaded for current buffer
|
'syntax' 'syn' syntax to be loaded for current buffer
|
||||||
'tabstop' 'ts' number of spaces that <Tab> in file uses
|
'tabstop' 'ts' number of spaces that <Tab> in file uses
|
||||||
'tabline' 'tal' custom format for the console tab pages line
|
'tabline' 'tal' custom format for the console tab pages line
|
||||||
'tabpagemax' 'tpm' maximum number of tab pages for |-p| and "tab all"
|
'tabpagemax' 'tpm' maximum number of tab pages for |-p| and "tab all"
|
||||||
'tagbsearch' 'tbs' use binary searching in tags files
|
'tagbsearch' 'tbs' use binary searching in tags files
|
||||||
'taglength' 'tl' number of significant characters for a tag
|
'taglength' 'tl' number of significant characters for a tag
|
||||||
'tagrelative' 'tr' file names in tag file are relative
|
'tagrelative' 'tr' file names in tag file are relative
|
||||||
'tags' 'tag' list of file names used by the tag command
|
'tags' 'tag' list of file names used by the tag command
|
||||||
'tagstack' 'tgst' push tags onto the tag stack
|
'tagstack' 'tgst' push tags onto the tag stack
|
||||||
'term' name of the terminal
|
'term' name of the terminal
|
||||||
'termbidi' 'tbidi' terminal takes care of bi-directionality
|
'termbidi' 'tbidi' terminal takes care of bi-directionality
|
||||||
'termencoding' 'tenc' character encoding used by the terminal
|
'termencoding' 'tenc' character encoding used by the terminal
|
||||||
'terse' shorten some messages
|
'terse' shorten some messages
|
||||||
'textauto' 'ta' obsolete, use 'fileformats'
|
'textauto' 'ta' obsolete, use 'fileformats'
|
||||||
'textmode' 'tx' obsolete, use 'fileformat'
|
'textmode' 'tx' obsolete, use 'fileformat'
|
||||||
'textwidth' 'tw' maximum width of text that is being inserted
|
'textwidth' 'tw' maximum width of text that is being inserted
|
||||||
'thesaurus' 'tsr' list of thesaurus files for keyword completion
|
'thesaurus' 'tsr' list of thesaurus files for keyword completion
|
||||||
'tildeop' 'top' tilde command "~" behaves like an operator
|
'tildeop' 'top' tilde command "~" behaves like an operator
|
||||||
'timeout' 'to' time out on mappings and key codes
|
'timeout' 'to' time out on mappings and key codes
|
||||||
'timeoutlen' 'tm' time out time in milliseconds
|
'timeoutlen' 'tm' time out time in milliseconds
|
||||||
'title' let Vim set the title of the window
|
'title' let Vim set the title of the window
|
||||||
'titlelen' percentage of 'columns' used for window title
|
'titlelen' percentage of 'columns' used for window title
|
||||||
'titleold' old title, restored when exiting
|
'titleold' old title, restored when exiting
|
||||||
'titlestring' string to use for the Vim window title
|
'titlestring' string to use for the Vim window title
|
||||||
'toolbar' 'tb' GUI: which items to show in the toolbar
|
'toolbar' 'tb' GUI: which items to show in the toolbar
|
||||||
'toolbariconsize' 'tbis' size of the toolbar icons (for GTK 2 only)
|
'toolbariconsize' 'tbis' size of the toolbar icons (for GTK 2 only)
|
||||||
'ttimeout' time out on mappings
|
'ttimeout' time out on mappings
|
||||||
'ttimeoutlen' 'ttm' time out time for key codes in milliseconds
|
'ttimeoutlen' 'ttm' time out time for key codes in milliseconds
|
||||||
'ttybuiltin' 'tbi' use built-in termcap before external termcap
|
'ttybuiltin' 'tbi' use built-in termcap before external termcap
|
||||||
'ttyfast' 'tf' indicates a fast terminal connection
|
'ttyfast' 'tf' indicates a fast terminal connection
|
||||||
'ttymouse' 'ttym' type of mouse codes generated
|
'ttymouse' 'ttym' type of mouse codes generated
|
||||||
'ttyscroll' 'tsl' maximum number of lines for a scroll
|
'ttyscroll' 'tsl' maximum number of lines for a scroll
|
||||||
'ttytype' 'tty' alias for 'term'
|
'ttytype' 'tty' alias for 'term'
|
||||||
'undolevels' 'ul' maximum number of changes that can be undone
|
'undolevels' 'ul' maximum number of changes that can be undone
|
||||||
'updatecount' 'uc' after this many characters flush swap file
|
'updatecount' 'uc' after this many characters flush swap file
|
||||||
'updatetime' 'ut' after this many milliseconds flush swap file
|
'updatetime' 'ut' after this many milliseconds flush swap file
|
||||||
'verbose' 'vbs' give informative messages
|
'verbose' 'vbs' give informative messages
|
||||||
'verbosefile' 'vfile' file to write messages in
|
'verbosefile' 'vfile' file to write messages in
|
||||||
'viewdir' 'vdir' directory where to store files with :mkview
|
'viewdir' 'vdir' directory where to store files with :mkview
|
||||||
'viewoptions' 'vop' specifies what to save for :mkview
|
'viewoptions' 'vop' specifies what to save for :mkview
|
||||||
'viminfo' 'vi' use .viminfo file upon startup and exiting
|
'viminfo' 'vi' use .viminfo file upon startup and exiting
|
||||||
'virtualedit' 've' when to use virtual editing
|
'virtualedit' 've' when to use virtual editing
|
||||||
'visualbell' 'vb' use visual bell instead of beeping
|
'visualbell' 'vb' use visual bell instead of beeping
|
||||||
'warn' warn for shell command when buffer was changed
|
'warn' warn for shell command when buffer was changed
|
||||||
'weirdinvert' 'wi' for terminals that have weird inversion method
|
'weirdinvert' 'wi' for terminals that have weird inversion method
|
||||||
'whichwrap' 'ww' allow specified keys to cross line boundaries
|
'whichwrap' 'ww' allow specified keys to cross line boundaries
|
||||||
'wildchar' 'wc' command-line character for wildcard expansion
|
'wildchar' 'wc' command-line character for wildcard expansion
|
||||||
'wildcharm' 'wcm' like 'wildchar' but also works when mapped
|
'wildcharm' 'wcm' like 'wildchar' but also works when mapped
|
||||||
'wildignore' 'wig' files matching these patterns are not completed
|
'wildignore' 'wig' files matching these patterns are not completed
|
||||||
'wildmenu' 'wmnu' use menu for command line completion
|
'wildmenu' 'wmnu' use menu for command line completion
|
||||||
'wildmode' 'wim' mode for 'wildchar' command-line expansion
|
'wildmode' 'wim' mode for 'wildchar' command-line expansion
|
||||||
'wildoptions' 'wop' specifies how command line completion is done.
|
'wildoptions' 'wop' specifies how command line completion is done.
|
||||||
'winaltkeys' 'wak' when the windows system handles ALT keys
|
'winaltkeys' 'wak' when the windows system handles ALT keys
|
||||||
'winheight' 'wh' minimum number of lines for the current window
|
'winheight' 'wh' minimum number of lines for the current window
|
||||||
'winfixheight' 'wfh' keep window height when opening/closing windows
|
'winfixheight' 'wfh' keep window height when opening/closing windows
|
||||||
'winfixwidth' 'wfw' keep window width when opening/closing windows
|
'winfixwidth' 'wfw' keep window width when opening/closing windows
|
||||||
'winminheight' 'wmh' minimum number of lines for any window
|
'winminheight' 'wmh' minimum number of lines for any window
|
||||||
'winminwidth' 'wmw' minimal number of columns for any window
|
'winminwidth' 'wmw' minimal number of columns for any window
|
||||||
'winwidth' 'wiw' minimal number of columns for current window
|
'winwidth' 'wiw' minimal number of columns for current window
|
||||||
'wrap' long lines wrap and continue on the next line
|
'wrap' long lines wrap and continue on the next line
|
||||||
'wrapmargin' 'wm' chars from the right where wrapping starts
|
'wrapmargin' 'wm' chars from the right where wrapping starts
|
||||||
'wrapscan' 'ws' searches wrap around the end of the file
|
'wrapscan' 'ws' searches wrap around the end of the file
|
||||||
'write' writing to a file is allowed
|
'write' writing to a file is allowed
|
||||||
'writeany' 'wa' write to file with no need for "!" override
|
'writeany' 'wa' write to file with no need for "!" override
|
||||||
'writebackup' 'wb' make a backup before overwriting a file
|
'writebackup' 'wb' make a backup before overwriting a file
|
||||||
'writedelay' 'wd' delay this many msec for each char (for debug)
|
'writedelay' 'wd' delay this many msec for each char (for debug)
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*Q_ur* Undo/Redo commands
|
*Q_ur* Undo/Redo commands
|
||||||
|
|
||||||
@ -975,7 +975,7 @@ Short explanation of each option: *option-list*
|
|||||||
|ga| ga show ascii value of character under cursor in
|
|ga| ga show ascii value of character under cursor in
|
||||||
decimal, hex, and octal
|
decimal, hex, and octal
|
||||||
|g8| g8 for utf-8 encoding: show byte sequence for
|
|g8| g8 for utf-8 encoding: show byte sequence for
|
||||||
character under cursor in hex.
|
character under cursor in hex.
|
||||||
|g_CTRL-G| g CTRL-G show cursor column, line, and character
|
|g_CTRL-G| g CTRL-G show cursor column, line, and character
|
||||||
position
|
position
|
||||||
|CTRL-C| CTRL-C during searches: Interrupt the search
|
|CTRL-C| CTRL-C during searches: Interrupt the search
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quotes.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*quotes.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Apr 24
|
*recover.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Apr 24
|
*remote.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -45,19 +45,19 @@ The following command line arguments are available:
|
|||||||
--remote-wait-silent [+{cmd}] {file} ... *--remote-wait-silent*
|
--remote-wait-silent [+{cmd}] {file} ... *--remote-wait-silent*
|
||||||
As --remote-wait, but don't complain if there
|
As --remote-wait, but don't complain if there
|
||||||
is no server.
|
is no server.
|
||||||
*--remote-tab*
|
*--remote-tab*
|
||||||
--remote-tab Like --remote but open each file in a new
|
--remote-tab Like --remote but open each file in a new
|
||||||
tabpage.
|
tabpage.
|
||||||
*--remote-tab-silent*
|
*--remote-tab-silent*
|
||||||
--remote-tab-silent Like --remote-silent but open each file in a
|
--remote-tab-silent Like --remote-silent but open each file in a
|
||||||
new tabpage.
|
new tabpage.
|
||||||
*--remote-tab-wait*
|
*--remote-tab-wait*
|
||||||
--remote-tab-wait Like --remote-wait but open each file in a new
|
--remote-tab-wait Like --remote-wait but open each file in a new
|
||||||
tabpage.
|
tabpage.
|
||||||
|
|
||||||
*--remote-tab-wait-silent*
|
*--remote-tab-wait-silent*
|
||||||
--remote-tab-wait-silent Like --remote-wait-silent but open each file
|
--remote-tab-wait-silent Like --remote-wait-silent but open each file
|
||||||
in a new tabpage.
|
in a new tabpage.
|
||||||
*--servername*
|
*--servername*
|
||||||
--servername {name} Become the server {name}. When used together
|
--servername {name} Become the server {name}. When used together
|
||||||
with one of the --remote commands: connect to
|
with one of the --remote commands: connect to
|
||||||
@ -67,7 +67,7 @@ The following command line arguments are available:
|
|||||||
--remote-send {keys} Send {keys} to server and exit.
|
--remote-send {keys} Send {keys} to server and exit.
|
||||||
*--remote-expr*
|
*--remote-expr*
|
||||||
--remote-expr {expr} Evaluate {expr} in server and print the result
|
--remote-expr {expr} Evaluate {expr} in server and print the result
|
||||||
on stdout.
|
on stdout.
|
||||||
*--serverlist*
|
*--serverlist*
|
||||||
--serverlist Output a list of server names.
|
--serverlist Output a list of server names.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*repeat.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*repeat.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -606,11 +606,11 @@ numbers prepended for the explanation:
|
|||||||
4 Self time: 0.002006 ~
|
4 Self time: 0.002006 ~
|
||||||
5 ~
|
5 ~
|
||||||
6 count total (s) self (s) ~
|
6 count total (s) self (s) ~
|
||||||
7 9 0.000096 for i in range(8) ~
|
7 9 0.000096 for i in range(8) ~
|
||||||
8 8 0.153655 0.000410 call Test3() ~
|
8 8 0.153655 0.000410 call Test3() ~
|
||||||
9 8 0.000070 endfor ~
|
9 8 0.000070 endfor ~
|
||||||
10 " Ask a question ~
|
10 " Ask a question ~
|
||||||
11 1 0.001341 echo input("give me an answer: ") ~
|
11 1 0.001341 echo input("give me an answer: ") ~
|
||||||
|
|
||||||
The header (lines 1-4) gives the time for the whole function. The "Total"
|
The header (lines 1-4) gives the time for the whole function. The "Total"
|
||||||
time is the time passed while the function was executing. The "Self" time is
|
time is the time passed while the function was executing. The "Self" time is
|
||||||
@ -649,7 +649,7 @@ mind there are various things that may clobber the results:
|
|||||||
|
|
||||||
- Functions that are deleted before Vim exits will not produce profiling
|
- Functions that are deleted before Vim exits will not produce profiling
|
||||||
information. You can check the |v:profiling| variable if needed: >
|
information. You can check the |v:profiling| variable if needed: >
|
||||||
:if !v:profiling
|
:if !v:profiling
|
||||||
: delfunc MyFunc
|
: delfunc MyFunc
|
||||||
:endif
|
:endif
|
||||||
<
|
<
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*rileft.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*rileft.txt* For Vim version 7.0g. 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.0f. Last change: 2006 Apr 24
|
*russian.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Vassily Ragosin
|
VIM REFERENCE MANUAL by Vassily Ragosin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*scroll.txt* For Vim version 7.0f. Last change: 2006 Apr 24
|
*scroll.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
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