mirror of
https://github.com/vim/vim
synced 2025-07-20 13:22:43 +00:00
Compare commits
118 Commits
Author | SHA1 | Date | |
---|---|---|---|
37175409d7 | |||
42205551b1 | |||
7a43cb9cb5 | |||
7416f3e73a | |||
15bf76d40b | |||
8c34aa09a4 | |||
c537947100 | |||
0529b3eb01 | |||
751ba616d1 | |||
0c0d4eca4d | |||
f2405ed232 | |||
57002ad70c | |||
036986f150 | |||
8820b48654 | |||
40ebc0afda | |||
f3757f0c87 | |||
0f39a82b07 | |||
b27523ff7a | |||
4a5a8dd6e5 | |||
d8492792f2 | |||
fe70c51983 | |||
42f45b850d | |||
88d298aed8 | |||
84be8b6660 | |||
26a280c47a | |||
ffea8c99d9 | |||
977d037336 | |||
025a6b708a | |||
1c46544412 | |||
91acfffc1e | |||
47ffb905f3 | |||
abb4d5f73f | |||
b5aedf3e22 | |||
8774845ce1 | |||
454709baff | |||
2fcf6688bc | |||
a95ab32120 | |||
38a3d6c960 | |||
1ef73e33c9 | |||
ad2cfb54b7 | |||
eb992cb90f | |||
69a92fb5ae | |||
056f700031 | |||
644df41c44 | |||
ee1dd1cdc1 | |||
41042f3cfd | |||
5f69fee26e | |||
c3c766ea8c | |||
12d1dc9155 | |||
7720ba8599 | |||
bb962262eb | |||
e8512d7fed | |||
65408f7dfb | |||
ad4187e6fc | |||
300af82eca | |||
a6c07603ca | |||
f7e894dfb6 | |||
6b64394f34 | |||
f411a3c5af | |||
f58a8475e1 | |||
2c7292dc5b | |||
214641f77d | |||
066029ef92 | |||
a382868115 | |||
0fbff646d5 | |||
4366319697 | |||
0f9ea22c11 | |||
d5841f28d4 | |||
a1c8ecfda9 | |||
5558d19432 | |||
11dd8c1201 | |||
a54d2fc0d3 | |||
595297d6d5 | |||
eadbc2b461 | |||
3f3897e41f | |||
7f73b54631 | |||
08cab96087 | |||
391b1dd040 | |||
24d7636e98 | |||
cf5fdf7d16 | |||
a0107bdf87 | |||
358f6b0a36 | |||
caf6434ac9 | |||
66727e1607 | |||
5a66dfb25e | |||
59716a27bd | |||
f8ab1b14fd | |||
abc39ab642 | |||
98e83b2956 | |||
e0c31f6a30 | |||
5f53dd3f74 | |||
cb03642399 | |||
5342f00ff9 | |||
1159b168dd | |||
b113c3a618 | |||
5b3af14b34 | |||
b5e8377364 | |||
d512e17ea4 | |||
10a8da0594 | |||
88e7688eda | |||
aeb661e1f4 | |||
38632faf63 | |||
74a47162a0 | |||
0c8485f0e4 | |||
3eb1637b1b | |||
6d3c8586fc | |||
5074a0e033 | |||
ba748c8a84 | |||
376407674f | |||
a713ff819d | |||
14c2e18b63 | |||
a12e40351d | |||
c43a8b8de0 | |||
2f5463df01 | |||
f7506cade4 | |||
92769c3928 | |||
95c526e1f6 | |||
d3f78dc9eb |
1
.gitignore
vendored
1
.gitignore
vendored
@ -78,6 +78,7 @@ src/testdir/test.log
|
|||||||
src/testdir/dostmp/*
|
src/testdir/dostmp/*
|
||||||
src/testdir/messages
|
src/testdir/messages
|
||||||
src/testdir/viminfo
|
src/testdir/viminfo
|
||||||
|
src/testdir/opt_test.vim
|
||||||
src/memfile_test
|
src/memfile_test
|
||||||
src/json_test
|
src/json_test
|
||||||
src/message_test
|
src/message_test
|
||||||
|
15
.travis.yml
15
.travis.yml
@ -19,14 +19,12 @@ env:
|
|||||||
- BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
- BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
||||||
# ASAN build
|
# ASAN build
|
||||||
- BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -fsanitize=address -fno-omit-frame-pointer" FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no
|
- BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||||
|
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan"
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
git:
|
|
||||||
depth: 20
|
|
||||||
|
|
||||||
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
|
||||||
# exclude some builds on mac os x and linux
|
# exclude some builds on mac os x and linux
|
||||||
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
|
||||||
@ -42,11 +40,13 @@ matrix:
|
|||||||
env: BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
env: BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -fsanitize=address -fno-omit-frame-pointer" FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no
|
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||||
|
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan"
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -fsanitize=address -fno-omit-frame-pointer" FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no
|
env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
|
||||||
|
FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan"
|
||||||
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
@ -92,7 +92,10 @@ script:
|
|||||||
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
|
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
|
||||||
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
|
||||||
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; fi
|
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; fi
|
||||||
|
- if [ -n "$ASAN_OPTIONS" ]; then export PATH=/usr/lib/llvm-$(clang -v 2>&1 | sed -n 's/.*version \([1-9]\.[0-9][0-9]*\).*/\1/p')/bin:$PATH; fi
|
||||||
- make $SHADOWOPT $TEST
|
- make $SHADOWOPT $TEST
|
||||||
|
- if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do cat "$log"; err=1; done; fi
|
||||||
|
- if [ -n "$err" ]; then exit 1; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [ "$COVERAGE" = "yes" ]; then ~/.local/bin/coveralls -b $SRCDIR -x .xs -e ${SRCDIR}/xxd -e ${SRCDIR}/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi
|
- if [ "$COVERAGE" = "yes" ]; then ~/.local/bin/coveralls -b $SRCDIR -x .xs -e ${SRCDIR}/xxd -e ${SRCDIR}/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi
|
||||||
|
2
Filelist
2
Filelist
@ -97,6 +97,7 @@ SRC_ALL = \
|
|||||||
src/tee/tee.c \
|
src/tee/tee.c \
|
||||||
src/xxd/xxd.c \
|
src/xxd/xxd.c \
|
||||||
src/main.aap \
|
src/main.aap \
|
||||||
|
src/testdir/gen_opt_test.vim \
|
||||||
src/testdir/main.aap \
|
src/testdir/main.aap \
|
||||||
src/testdir/README.txt \
|
src/testdir/README.txt \
|
||||||
src/testdir/Make_all.mak \
|
src/testdir/Make_all.mak \
|
||||||
@ -109,6 +110,7 @@ SRC_ALL = \
|
|||||||
src/testdir/setup.vim \
|
src/testdir/setup.vim \
|
||||||
src/testdir/gui_init.vim \
|
src/testdir/gui_init.vim \
|
||||||
src/testdir/setup_gui.vim \
|
src/testdir/setup_gui.vim \
|
||||||
|
src/testdir/gui_preinit.vim \
|
||||||
src/testdir/test[0-9]*.ok \
|
src/testdir/test[0-9]*.ok \
|
||||||
src/testdir/test[0-9]*a.ok \
|
src/testdir/test[0-9]*a.ok \
|
||||||
src/testdir/test_[a-z]*.ok \
|
src/testdir/test_[a-z]*.ok \
|
||||||
|
4
Makefile
4
Makefile
@ -120,8 +120,9 @@ MINOR = 0
|
|||||||
#
|
#
|
||||||
# MS-Windows:
|
# MS-Windows:
|
||||||
# - Run make on Unix to update the ".mo" files.
|
# - Run make on Unix to update the ".mo" files.
|
||||||
# - Get libintl-8.dll and libiconv-2.dll. E.g. from
|
# - Get libintl-8.dll, libiconv-2.dll and libgcc_s_sjlj-1.dll. E.g. from
|
||||||
# https://mlocati.github.io/gettext-iconv-windows/ .
|
# https://mlocati.github.io/gettext-iconv-windows/ .
|
||||||
|
# Use the "shared-32.zip file and extract the archive to get the files.
|
||||||
# Put them in the top directory, "make dosrt" uses them.
|
# Put them in the top directory, "make dosrt" uses them.
|
||||||
# - > make dossrc
|
# - > make dossrc
|
||||||
# > make dosrt
|
# > make dosrt
|
||||||
@ -468,6 +469,7 @@ dosrt_files: dist prepare no_title.vim
|
|||||||
done
|
done
|
||||||
cp libintl-8.dll dist/vim/$(VIMRTDIR)/
|
cp libintl-8.dll dist/vim/$(VIMRTDIR)/
|
||||||
cp libiconv-2.dll dist/vim/$(VIMRTDIR)/
|
cp libiconv-2.dll dist/vim/$(VIMRTDIR)/
|
||||||
|
cp libgcc_s_sjlj-1.dll dist/vim/$(VIMRTDIR)/
|
||||||
|
|
||||||
|
|
||||||
# Used before uploading. Don't delete the AAPDIR/sign files!
|
# Used before uploading. Don't delete the AAPDIR/sign files!
|
||||||
|
@ -385,6 +385,7 @@ SectionEnd
|
|||||||
File ${VIMRT}\libintl-8.dll
|
File ${VIMRT}\libintl-8.dll
|
||||||
File ${VIMRT}\libiconv-2.dll
|
File ${VIMRT}\libiconv-2.dll
|
||||||
File /nonfatal ${VIMRT}\libwinpthread-1.dll
|
File /nonfatal ${VIMRT}\libwinpthread-1.dll
|
||||||
|
File /nonfatal ${VIMRT}\libgcc_s_sjlj-1.dll
|
||||||
SectionEnd
|
SectionEnd
|
||||||
!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 Apr 30
|
" Last Change: 2017 Mar 04
|
||||||
|
|
||||||
function! javascriptcomplete#CompleteJS(findstart, base)
|
function! javascriptcomplete#CompleteJS(findstart, base)
|
||||||
if a:findstart
|
if a:findstart
|
||||||
@ -563,7 +563,7 @@ function! javascriptcomplete#CompleteJS(findstart, base)
|
|||||||
for i in arguments
|
for i in arguments
|
||||||
let g:ia = i
|
let g:ia = i
|
||||||
let f_elements = matchlist(i, 'function\s\+\(\k\+\)\s*(\(.\{-}\))')
|
let f_elements = matchlist(i, 'function\s\+\(\k\+\)\s*(\(.\{-}\))')
|
||||||
if len(f_elements) == 3
|
if len(f_elements) >= 3
|
||||||
let b:js_menuinfo[f_elements[1].'('] = f_elements[2]
|
let b:js_menuinfo[f_elements[1].'('] = f_elements[2]
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: BDF to PCF Conversion
|
" Compiler: BDF to PCF Conversion
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2006-04-19
|
" Latest Revision: 2006-04-19
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: GNU C Compiler
|
" Compiler: GNU C Compiler
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2010-10-14
|
" Latest Revision: 2010-10-14
|
||||||
" added line suggested by Anton Lindqvist 2016 Mar 31
|
" added line suggested by Anton Lindqvist 2016 Mar 31
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: reStructuredText Documentation Format
|
" Compiler: reStructuredText Documentation Format
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2006-04-19
|
" Latest Revision: 2006-04-19
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2016 Sep 02
|
" Last change: 2017 Mar 08
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
" Except when Vim is run with "-u NONE" or "-C".
|
" Except when Vim is run with "-u NONE" or "-C".
|
||||||
@ -21,7 +21,10 @@ endif
|
|||||||
|
|
||||||
" Use Vim settings, rather than Vi settings (much better!).
|
" Use Vim settings, rather than Vi settings (much better!).
|
||||||
" This must be first, because it changes other options as a side effect.
|
" This must be first, because it changes other options as a side effect.
|
||||||
set nocompatible
|
" Avoid side effects when it was already reset.
|
||||||
|
if &compatible
|
||||||
|
set nocompatible
|
||||||
|
endif
|
||||||
|
|
||||||
" Allow backspacing over everything in insert mode.
|
" Allow backspacing over everything in insert mode.
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
@ -276,7 +276,7 @@ If you want to keep the changed buffer without saving it, switch on the
|
|||||||
|
|
||||||
*:vie* *:view*
|
*:vie* *:view*
|
||||||
:vie[w][!] [++opt] [+cmd] file
|
:vie[w][!] [++opt] [+cmd] file
|
||||||
When used in Ex mode: Leave |Ex mode|, go back to
|
When used in Ex mode: Leave |Ex-mode|, go back to
|
||||||
Normal mode. Otherwise same as |:edit|, but set
|
Normal mode. Otherwise same as |:edit|, but set
|
||||||
'readonly' option for this buffer. {not in Vi}
|
'readonly' option for this buffer. {not in Vi}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 8.0. Last change: 2017 Feb 17
|
*eval.txt* For Vim version 8.0. Last change: 2017 Mar 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1789,8 +1789,11 @@ v:progpath Contains the command with which Vim was invoked, including the
|
|||||||
|--remote-expr|.
|
|--remote-expr|.
|
||||||
To get the full path use: >
|
To get the full path use: >
|
||||||
echo exepath(v:progpath)
|
echo exepath(v:progpath)
|
||||||
< NOTE: This does not work when the command is a relative path
|
< If the path is relative it will be expanded to the full path,
|
||||||
and the current directory has changed.
|
so that it still works after `:cd`. Thus starting "./vim"
|
||||||
|
results in "/home/user/path/to/vim/src/vim".
|
||||||
|
On MS-Windows the executable may be called "vim.exe", but the
|
||||||
|
".exe" is not added to v:progpath.
|
||||||
Read-only.
|
Read-only.
|
||||||
|
|
||||||
*v:register* *register-variable*
|
*v:register* *register-variable*
|
||||||
@ -1901,6 +1904,8 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
|
|||||||
|
|
||||||
*v:testing* *testing-variable*
|
*v:testing* *testing-variable*
|
||||||
v:testing Must be set before using `test_garbagecollect_now()`.
|
v:testing Must be set before using `test_garbagecollect_now()`.
|
||||||
|
Also, when set certain error messages won't be shown for 2
|
||||||
|
seconds. (e.g. "'dictionary' option is empty")
|
||||||
|
|
||||||
*v:this_session* *this_session-variable*
|
*v:this_session* *this_session-variable*
|
||||||
v:this_session Full filename of the last loaded or saved session file. See
|
v:this_session Full filename of the last loaded or saved session file. See
|
||||||
@ -1981,19 +1986,27 @@ argidx() Number current index in the argument list
|
|||||||
arglistid([{winnr} [, {tabnr}]]) Number argument list id
|
arglistid([{winnr} [, {tabnr}]]) Number argument list id
|
||||||
argv({nr}) String {nr} entry of the argument list
|
argv({nr}) String {nr} entry of the argument list
|
||||||
argv() List the argument list
|
argv() List the argument list
|
||||||
assert_equal({exp}, {act} [, {msg}]) none assert {exp} is equal to {act}
|
assert_equal({exp}, {act} [, {msg}])
|
||||||
assert_exception({error} [, {msg}]) none assert {error} is in v:exception
|
none assert {exp} is equal to {act}
|
||||||
assert_fails({cmd} [, {error}]) none assert {cmd} fails
|
assert_exception({error} [, {msg}])
|
||||||
assert_false({actual} [, {msg}]) none assert {actual} is false
|
none assert {error} is in v:exception
|
||||||
|
assert_fails({cmd} [, {error}]) none assert {cmd} fails
|
||||||
|
assert_false({actual} [, {msg}])
|
||||||
|
none assert {actual} is false
|
||||||
assert_inrange({lower}, {upper}, {actual} [, {msg}])
|
assert_inrange({lower}, {upper}, {actual} [, {msg}])
|
||||||
none assert {actual} is inside the range
|
none assert {actual} is inside the range
|
||||||
assert_match({pat}, {text} [, {msg}]) none assert {pat} matches {text}
|
assert_match({pat}, {text} [, {msg}])
|
||||||
assert_notequal({exp}, {act} [, {msg}]) none assert {exp} is not equal {act}
|
none assert {pat} matches {text}
|
||||||
assert_notmatch({pat}, {text} [, {msg}]) none assert {pat} not matches {text}
|
assert_notequal({exp}, {act} [, {msg}])
|
||||||
assert_true({actual} [, {msg}]) none assert {actual} is true
|
none assert {exp} is not equal {act}
|
||||||
|
assert_notmatch({pat}, {text} [, {msg}])
|
||||||
|
none assert {pat} not matches {text}
|
||||||
|
assert_report({msg}) none report a test failure
|
||||||
|
assert_true({actual} [, {msg}]) none assert {actual} is true
|
||||||
asin({expr}) Float arc sine of {expr}
|
asin({expr}) Float arc sine of {expr}
|
||||||
atan({expr}) Float arc tangent of {expr}
|
atan({expr}) Float arc tangent of {expr}
|
||||||
atan2({expr1}, {expr2}) Float arc tangent of {expr1} / {expr2}
|
atan2({expr1}, {expr2}) Float arc tangent of {expr1} / {expr2}
|
||||||
|
balloon_show({msg}) none show {msg} inside the balloon
|
||||||
browse({save}, {title}, {initdir}, {default})
|
browse({save}, {title}, {initdir}, {default})
|
||||||
String put up a file requester
|
String put up a file requester
|
||||||
browsedir({title}, {initdir}) String put up a directory requester
|
browsedir({title}, {initdir}) String put up a directory requester
|
||||||
@ -2256,6 +2269,8 @@ remote_peek({serverid} [, {retvar}])
|
|||||||
remote_read({serverid}) String read reply string
|
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
|
||||||
|
remote_startserver({name}) none become server {name}
|
||||||
|
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}
|
||||||
@ -2356,14 +2371,15 @@ tempname() String name for a temporary file
|
|||||||
test_alloc_fail({id}, {countdown}, {repeat})
|
test_alloc_fail({id}, {countdown}, {repeat})
|
||||||
none make memory allocation fail
|
none make memory allocation fail
|
||||||
test_autochdir() none enable 'autochdir' during startup
|
test_autochdir() none enable 'autochdir' during startup
|
||||||
test_disable_char_avail({expr}) none test without typeahead
|
|
||||||
test_garbagecollect_now() none free memory right now for testing
|
test_garbagecollect_now() none free memory right now for testing
|
||||||
|
test_ignore_error({expr}) none ignore a specific error
|
||||||
test_null_channel() Channel null value for testing
|
test_null_channel() Channel null value for testing
|
||||||
test_null_dict() Dict null value for testing
|
test_null_dict() Dict null value for testing
|
||||||
test_null_job() Job null value for testing
|
test_null_job() Job null value for testing
|
||||||
test_null_list() List null value for testing
|
test_null_list() List null value for testing
|
||||||
test_null_partial() Funcref null value for testing
|
test_null_partial() Funcref null value for testing
|
||||||
test_null_string() String null value for testing
|
test_null_string() String null value for testing
|
||||||
|
test_override({expr}, {val}) none test with Vim internal overrides
|
||||||
test_settime({expr}) none set current time for testing
|
test_settime({expr}) none set current time for testing
|
||||||
timer_info([{id}]) List information about timers
|
timer_info([{id}]) List information about timers
|
||||||
timer_pause({id}, {pause}) none pause or unpause a timer
|
timer_pause({id}, {pause}) none pause or unpause a timer
|
||||||
@ -2574,7 +2590,10 @@ assert_notmatch({pattern}, {actual} [, {msg}])
|
|||||||
The opposite of `assert_match()`: add an error message to
|
The opposite of `assert_match()`: add an error message to
|
||||||
|v:errors| when {pattern} matches {actual}.
|
|v:errors| when {pattern} matches {actual}.
|
||||||
|
|
||||||
assert_true({actual} [, {msg}]) *assert_true()*
|
assert_report({msg}) *assert_report()*
|
||||||
|
Report a test failure directly, using {msg}.
|
||||||
|
|
||||||
|
assert_true({actual} [, {msg}]) *assert_true()*
|
||||||
When {actual} is not true an error message is added to
|
When {actual} is not true an error message is added to
|
||||||
|v:errors|, like with |assert_equal()|.
|
|v:errors|, like with |assert_equal()|.
|
||||||
A value is TRUE when it is a non-zero number. When {actual}
|
A value is TRUE when it is a non-zero number. When {actual}
|
||||||
@ -2618,6 +2637,28 @@ atan2({expr1}, {expr2}) *atan2()*
|
|||||||
< 2.356194
|
< 2.356194
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
|
balloon_show({msg}) *balloon_show()*
|
||||||
|
Show {msg} inside the balloon.
|
||||||
|
Example: >
|
||||||
|
func GetBalloonContent()
|
||||||
|
" initiate getting the content
|
||||||
|
return ''
|
||||||
|
endfunc
|
||||||
|
set balloonexpr=GetBalloonContent()
|
||||||
|
|
||||||
|
func BalloonCallback(result)
|
||||||
|
call balloon_show(a:result)
|
||||||
|
endfunc
|
||||||
|
<
|
||||||
|
The intended use is that fetching the content of the balloon
|
||||||
|
is initiated from 'balloonexpr'. It will invoke an
|
||||||
|
asynchronous method, in which a callback invokes
|
||||||
|
balloon_show(). The 'balloonexpr' itself can return an
|
||||||
|
empty string or a placeholder.
|
||||||
|
|
||||||
|
When showing a balloon is not possible nothing happens, no
|
||||||
|
error message.
|
||||||
|
{only available when compiled with the +balloon_eval feature}
|
||||||
|
|
||||||
*browse()*
|
*browse()*
|
||||||
browse({save}, {title}, {initdir}, {default})
|
browse({save}, {title}, {initdir}, {default})
|
||||||
@ -2813,176 +2854,6 @@ ceil({expr}) *ceil()*
|
|||||||
< 4.0
|
< 4.0
|
||||||
{only available when compiled with the |+float| feature}
|
{only available when compiled with the |+float| feature}
|
||||||
|
|
||||||
changenr() *changenr()*
|
|
||||||
Return the number of the most recent change. This is the same
|
|
||||||
number as what is displayed with |:undolist| and can be used
|
|
||||||
with the |:undo| command.
|
|
||||||
When a change was made it is the number of that change. After
|
|
||||||
redo it is the number of the redone change. After undo it is
|
|
||||||
one less than the number of the undone change.
|
|
||||||
|
|
||||||
char2nr({expr}[, {utf8}]) *char2nr()*
|
|
||||||
Return number value of the first char in {expr}. Examples: >
|
|
||||||
char2nr(" ") returns 32
|
|
||||||
char2nr("ABC") returns 65
|
|
||||||
< When {utf8} is omitted or zero, the current 'encoding' is used.
|
|
||||||
Example for "utf-8": >
|
|
||||||
char2nr("<22>") returns 225
|
|
||||||
char2nr("<22>"[0]) returns 195
|
|
||||||
< With {utf8} set to 1, always treat as utf-8 characters.
|
|
||||||
A combining character is a separate character.
|
|
||||||
|nr2char()| does the opposite.
|
|
||||||
|
|
||||||
cindent({lnum}) *cindent()*
|
|
||||||
Get the amount of indent for line {lnum} according the C
|
|
||||||
indenting rules, as with 'cindent'.
|
|
||||||
The indent is counted in spaces, the value of 'tabstop' is
|
|
||||||
relevant. {lnum} is used just like in |getline()|.
|
|
||||||
When {lnum} is invalid or Vim was not compiled the |+cindent|
|
|
||||||
feature, -1 is returned.
|
|
||||||
See |C-indenting|.
|
|
||||||
|
|
||||||
clearmatches() *clearmatches()*
|
|
||||||
Clears all matches previously defined by |matchadd()| and the
|
|
||||||
|:match| commands.
|
|
||||||
|
|
||||||
*col()*
|
|
||||||
col({expr}) The result is a Number, which is the byte index of the column
|
|
||||||
position given with {expr}. The accepted positions are:
|
|
||||||
. the cursor position
|
|
||||||
$ the end of the cursor line (the result is the
|
|
||||||
number of bytes in the cursor line plus one)
|
|
||||||
'x position of mark x (if the mark is not set, 0 is
|
|
||||||
returned)
|
|
||||||
v In Visual mode: the start of the Visual area (the
|
|
||||||
cursor is the end). When not in Visual mode
|
|
||||||
returns the cursor position. Differs from |'<| in
|
|
||||||
that it's updated right away.
|
|
||||||
Additionally {expr} can be [lnum, col]: a |List| with the line
|
|
||||||
and column number. Most useful when the column is "$", to get
|
|
||||||
the last column of a specific line. When "lnum" or "col" is
|
|
||||||
out of range then col() returns zero.
|
|
||||||
To get the line number use |line()|. To get both use
|
|
||||||
|getpos()|.
|
|
||||||
For the screen column position use |virtcol()|.
|
|
||||||
Note that only marks in the current file can be used.
|
|
||||||
Examples: >
|
|
||||||
col(".") column of cursor
|
|
||||||
col("$") length of cursor line plus one
|
|
||||||
col("'t") column of mark t
|
|
||||||
col("'" . markname) column of mark markname
|
|
||||||
< The first column is 1. 0 is returned for an error.
|
|
||||||
For an uppercase mark the column may actually be in another
|
|
||||||
buffer.
|
|
||||||
For the cursor position, when 'virtualedit' is active, the
|
|
||||||
column is one higher if the cursor is after the end of the
|
|
||||||
line. This can be used to obtain the column in Insert mode: >
|
|
||||||
:imap <F2> <C-O>:let save_ve = &ve<CR>
|
|
||||||
\<C-O>:set ve=all<CR>
|
|
||||||
\<C-O>:echo col(".") . "\n" <Bar>
|
|
||||||
\let &ve = save_ve<CR>
|
|
||||||
<
|
|
||||||
|
|
||||||
complete({startcol}, {matches}) *complete()* *E785*
|
|
||||||
Set the matches for Insert mode completion.
|
|
||||||
Can only be used in Insert mode. You need to use a mapping
|
|
||||||
with CTRL-R = (see |i_CTRL-R|). It does not work after CTRL-O
|
|
||||||
or with an expression mapping.
|
|
||||||
{startcol} is the byte offset in the line where the completed
|
|
||||||
text start. The text up to the cursor is the original text
|
|
||||||
that will be replaced by the matches. Use col('.') for an
|
|
||||||
empty string. "col('.') - 1" will replace one character by a
|
|
||||||
match.
|
|
||||||
{matches} must be a |List|. Each |List| item is one match.
|
|
||||||
See |complete-items| for the kind of items that are possible.
|
|
||||||
Note that the after calling this function you need to avoid
|
|
||||||
inserting anything that would cause completion to stop.
|
|
||||||
The match can be selected with CTRL-N and CTRL-P as usual with
|
|
||||||
Insert mode completion. The popup menu will appear if
|
|
||||||
specified, see |ins-completion-menu|.
|
|
||||||
Example: >
|
|
||||||
inoremap <F5> <C-R>=ListMonths()<CR>
|
|
||||||
|
|
||||||
func! ListMonths()
|
|
||||||
call complete(col('.'), ['January', 'February', 'March',
|
|
||||||
\ 'April', 'May', 'June', 'July', 'August', 'September',
|
|
||||||
\ 'October', 'November', 'December'])
|
|
||||||
return ''
|
|
||||||
endfunc
|
|
||||||
< This isn't very useful, but it shows how it works. Note that
|
|
||||||
an empty string is returned to avoid a zero being inserted.
|
|
||||||
|
|
||||||
complete_add({expr}) *complete_add()*
|
|
||||||
Add {expr} to the list of matches. Only to be used by the
|
|
||||||
function specified with the 'completefunc' option.
|
|
||||||
Returns 0 for failure (empty string or out of memory),
|
|
||||||
1 when the match was added, 2 when the match was already in
|
|
||||||
the list.
|
|
||||||
See |complete-functions| for an explanation of {expr}. It is
|
|
||||||
the same as one item in the list that 'omnifunc' would return.
|
|
||||||
|
|
||||||
complete_check() *complete_check()*
|
|
||||||
Check for a key typed while looking for completion matches.
|
|
||||||
This is to be used when looking for matches takes some time.
|
|
||||||
Returns |TRUE| when searching for matches is to be aborted,
|
|
||||||
zero otherwise.
|
|
||||||
Only to be used by the function specified with the
|
|
||||||
'completefunc' option.
|
|
||||||
|
|
||||||
*confirm()*
|
|
||||||
confirm({msg} [, {choices} [, {default} [, {type}]]])
|
|
||||||
Confirm() offers the user a dialog, from which a choice can be
|
|
||||||
made. It returns the number of the choice. For the first
|
|
||||||
choice this is 1.
|
|
||||||
Note: confirm() is only supported when compiled with dialog
|
|
||||||
support, see |+dialog_con| and |+dialog_gui|.
|
|
||||||
|
|
||||||
{msg} is displayed in a |dialog| with {choices} as the
|
|
||||||
alternatives. When {choices} is missing or empty, "&OK" is
|
|
||||||
used (and translated).
|
|
||||||
{msg} is a String, use '\n' to include a newline. Only on
|
|
||||||
some systems the string is wrapped when it doesn't fit.
|
|
||||||
|
|
||||||
{choices} is a String, with the individual choices separated
|
|
||||||
by '\n', e.g. >
|
|
||||||
confirm("Save changes?", "&Yes\n&No\n&Cancel")
|
|
||||||
< The letter after the '&' is the shortcut key for that choice.
|
|
||||||
Thus you can type 'c' to select "Cancel". The shortcut does
|
|
||||||
not need to be the first letter: >
|
|
||||||
confirm("file has been modified", "&Save\nSave &All")
|
|
||||||
< For the console, the first letter of each choice is used as
|
|
||||||
the default shortcut key.
|
|
||||||
|
|
||||||
The optional {default} argument is the number of the choice
|
|
||||||
that is made if the user hits <CR>. Use 1 to make the first
|
|
||||||
choice the default one. Use 0 to not set a default. If
|
|
||||||
{default} is omitted, 1 is used.
|
|
||||||
|
|
||||||
The optional {type} argument gives the type of dialog. This
|
|
||||||
is only used for the icon of the GTK, Mac, Motif and Win32
|
|
||||||
GUI. It can be one of these values: "Error", "Question",
|
|
||||||
"Info", "Warning" or "Generic". Only the first character is
|
|
||||||
relevant. When {type} is omitted, "Generic" is used.
|
|
||||||
|
|
||||||
If the user aborts the dialog by pressing <Esc>, CTRL-C,
|
|
||||||
or another valid interrupt key, confirm() returns 0.
|
|
||||||
|
|
||||||
An example: >
|
|
||||||
:let choice = confirm("What do you want?", "&Apples\n&Oranges\n&Bananas", 2)
|
|
||||||
:if choice == 0
|
|
||||||
: echo "make up your mind!"
|
|
||||||
:elseif choice == 3
|
|
||||||
: echo "tasteful"
|
|
||||||
:else
|
|
||||||
: echo "I prefer bananas myself."
|
|
||||||
:endif
|
|
||||||
< In a GUI dialog, buttons are used. The layout of the buttons
|
|
||||||
depends on the 'v' flag in 'guioptions'. If it is included,
|
|
||||||
the buttons are always put vertically. Otherwise, confirm()
|
|
||||||
tries to put the buttons in one horizontal line. If they
|
|
||||||
don't fit, a vertical layout is used anyway. For some systems
|
|
||||||
the horizontal layout is always used.
|
|
||||||
|
|
||||||
ch_canread({handle}) *ch_canread()*
|
ch_canread({handle}) *ch_canread()*
|
||||||
Return non-zero when there is something to read from {handle}.
|
Return non-zero when there is something to read from {handle}.
|
||||||
{handle} can be a Channel or a Job that has a Channel.
|
{handle} can be a Channel or a Job that has a Channel.
|
||||||
@ -3172,6 +3043,176 @@ ch_status({handle} [, {options}]) *ch_status()*
|
|||||||
"err". For example, to get the error status: >
|
"err". For example, to get the error status: >
|
||||||
ch_status(job, {"part": "err"})
|
ch_status(job, {"part": "err"})
|
||||||
<
|
<
|
||||||
|
changenr() *changenr()*
|
||||||
|
Return the number of the most recent change. This is the same
|
||||||
|
number as what is displayed with |:undolist| and can be used
|
||||||
|
with the |:undo| command.
|
||||||
|
When a change was made it is the number of that change. After
|
||||||
|
redo it is the number of the redone change. After undo it is
|
||||||
|
one less than the number of the undone change.
|
||||||
|
|
||||||
|
char2nr({expr}[, {utf8}]) *char2nr()*
|
||||||
|
Return number value of the first char in {expr}. Examples: >
|
||||||
|
char2nr(" ") returns 32
|
||||||
|
char2nr("ABC") returns 65
|
||||||
|
< When {utf8} is omitted or zero, the current 'encoding' is used.
|
||||||
|
Example for "utf-8": >
|
||||||
|
char2nr("<22>") returns 225
|
||||||
|
char2nr("<22>"[0]) returns 195
|
||||||
|
< With {utf8} set to 1, always treat as utf-8 characters.
|
||||||
|
A combining character is a separate character.
|
||||||
|
|nr2char()| does the opposite.
|
||||||
|
|
||||||
|
cindent({lnum}) *cindent()*
|
||||||
|
Get the amount of indent for line {lnum} according the C
|
||||||
|
indenting rules, as with 'cindent'.
|
||||||
|
The indent is counted in spaces, the value of 'tabstop' is
|
||||||
|
relevant. {lnum} is used just like in |getline()|.
|
||||||
|
When {lnum} is invalid or Vim was not compiled the |+cindent|
|
||||||
|
feature, -1 is returned.
|
||||||
|
See |C-indenting|.
|
||||||
|
|
||||||
|
clearmatches() *clearmatches()*
|
||||||
|
Clears all matches previously defined by |matchadd()| and the
|
||||||
|
|:match| commands.
|
||||||
|
|
||||||
|
*col()*
|
||||||
|
col({expr}) The result is a Number, which is the byte index of the column
|
||||||
|
position given with {expr}. The accepted positions are:
|
||||||
|
. the cursor position
|
||||||
|
$ the end of the cursor line (the result is the
|
||||||
|
number of bytes in the cursor line plus one)
|
||||||
|
'x position of mark x (if the mark is not set, 0 is
|
||||||
|
returned)
|
||||||
|
v In Visual mode: the start of the Visual area (the
|
||||||
|
cursor is the end). When not in Visual mode
|
||||||
|
returns the cursor position. Differs from |'<| in
|
||||||
|
that it's updated right away.
|
||||||
|
Additionally {expr} can be [lnum, col]: a |List| with the line
|
||||||
|
and column number. Most useful when the column is "$", to get
|
||||||
|
the last column of a specific line. When "lnum" or "col" is
|
||||||
|
out of range then col() returns zero.
|
||||||
|
To get the line number use |line()|. To get both use
|
||||||
|
|getpos()|.
|
||||||
|
For the screen column position use |virtcol()|.
|
||||||
|
Note that only marks in the current file can be used.
|
||||||
|
Examples: >
|
||||||
|
col(".") column of cursor
|
||||||
|
col("$") length of cursor line plus one
|
||||||
|
col("'t") column of mark t
|
||||||
|
col("'" . markname) column of mark markname
|
||||||
|
< The first column is 1. 0 is returned for an error.
|
||||||
|
For an uppercase mark the column may actually be in another
|
||||||
|
buffer.
|
||||||
|
For the cursor position, when 'virtualedit' is active, the
|
||||||
|
column is one higher if the cursor is after the end of the
|
||||||
|
line. This can be used to obtain the column in Insert mode: >
|
||||||
|
:imap <F2> <C-O>:let save_ve = &ve<CR>
|
||||||
|
\<C-O>:set ve=all<CR>
|
||||||
|
\<C-O>:echo col(".") . "\n" <Bar>
|
||||||
|
\let &ve = save_ve<CR>
|
||||||
|
<
|
||||||
|
|
||||||
|
complete({startcol}, {matches}) *complete()* *E785*
|
||||||
|
Set the matches for Insert mode completion.
|
||||||
|
Can only be used in Insert mode. You need to use a mapping
|
||||||
|
with CTRL-R = (see |i_CTRL-R|). It does not work after CTRL-O
|
||||||
|
or with an expression mapping.
|
||||||
|
{startcol} is the byte offset in the line where the completed
|
||||||
|
text start. The text up to the cursor is the original text
|
||||||
|
that will be replaced by the matches. Use col('.') for an
|
||||||
|
empty string. "col('.') - 1" will replace one character by a
|
||||||
|
match.
|
||||||
|
{matches} must be a |List|. Each |List| item is one match.
|
||||||
|
See |complete-items| for the kind of items that are possible.
|
||||||
|
Note that the after calling this function you need to avoid
|
||||||
|
inserting anything that would cause completion to stop.
|
||||||
|
The match can be selected with CTRL-N and CTRL-P as usual with
|
||||||
|
Insert mode completion. The popup menu will appear if
|
||||||
|
specified, see |ins-completion-menu|.
|
||||||
|
Example: >
|
||||||
|
inoremap <F5> <C-R>=ListMonths()<CR>
|
||||||
|
|
||||||
|
func! ListMonths()
|
||||||
|
call complete(col('.'), ['January', 'February', 'March',
|
||||||
|
\ 'April', 'May', 'June', 'July', 'August', 'September',
|
||||||
|
\ 'October', 'November', 'December'])
|
||||||
|
return ''
|
||||||
|
endfunc
|
||||||
|
< This isn't very useful, but it shows how it works. Note that
|
||||||
|
an empty string is returned to avoid a zero being inserted.
|
||||||
|
|
||||||
|
complete_add({expr}) *complete_add()*
|
||||||
|
Add {expr} to the list of matches. Only to be used by the
|
||||||
|
function specified with the 'completefunc' option.
|
||||||
|
Returns 0 for failure (empty string or out of memory),
|
||||||
|
1 when the match was added, 2 when the match was already in
|
||||||
|
the list.
|
||||||
|
See |complete-functions| for an explanation of {expr}. It is
|
||||||
|
the same as one item in the list that 'omnifunc' would return.
|
||||||
|
|
||||||
|
complete_check() *complete_check()*
|
||||||
|
Check for a key typed while looking for completion matches.
|
||||||
|
This is to be used when looking for matches takes some time.
|
||||||
|
Returns |TRUE| when searching for matches is to be aborted,
|
||||||
|
zero otherwise.
|
||||||
|
Only to be used by the function specified with the
|
||||||
|
'completefunc' option.
|
||||||
|
|
||||||
|
*confirm()*
|
||||||
|
confirm({msg} [, {choices} [, {default} [, {type}]]])
|
||||||
|
Confirm() offers the user a dialog, from which a choice can be
|
||||||
|
made. It returns the number of the choice. For the first
|
||||||
|
choice this is 1.
|
||||||
|
Note: confirm() is only supported when compiled with dialog
|
||||||
|
support, see |+dialog_con| and |+dialog_gui|.
|
||||||
|
|
||||||
|
{msg} is displayed in a |dialog| with {choices} as the
|
||||||
|
alternatives. When {choices} is missing or empty, "&OK" is
|
||||||
|
used (and translated).
|
||||||
|
{msg} is a String, use '\n' to include a newline. Only on
|
||||||
|
some systems the string is wrapped when it doesn't fit.
|
||||||
|
|
||||||
|
{choices} is a String, with the individual choices separated
|
||||||
|
by '\n', e.g. >
|
||||||
|
confirm("Save changes?", "&Yes\n&No\n&Cancel")
|
||||||
|
< The letter after the '&' is the shortcut key for that choice.
|
||||||
|
Thus you can type 'c' to select "Cancel". The shortcut does
|
||||||
|
not need to be the first letter: >
|
||||||
|
confirm("file has been modified", "&Save\nSave &All")
|
||||||
|
< For the console, the first letter of each choice is used as
|
||||||
|
the default shortcut key.
|
||||||
|
|
||||||
|
The optional {default} argument is the number of the choice
|
||||||
|
that is made if the user hits <CR>. Use 1 to make the first
|
||||||
|
choice the default one. Use 0 to not set a default. If
|
||||||
|
{default} is omitted, 1 is used.
|
||||||
|
|
||||||
|
The optional {type} argument gives the type of dialog. This
|
||||||
|
is only used for the icon of the GTK, Mac, Motif and Win32
|
||||||
|
GUI. It can be one of these values: "Error", "Question",
|
||||||
|
"Info", "Warning" or "Generic". Only the first character is
|
||||||
|
relevant. When {type} is omitted, "Generic" is used.
|
||||||
|
|
||||||
|
If the user aborts the dialog by pressing <Esc>, CTRL-C,
|
||||||
|
or another valid interrupt key, confirm() returns 0.
|
||||||
|
|
||||||
|
An example: >
|
||||||
|
:let choice = confirm("What do you want?", "&Apples\n&Oranges\n&Bananas", 2)
|
||||||
|
:if choice == 0
|
||||||
|
: echo "make up your mind!"
|
||||||
|
:elseif choice == 3
|
||||||
|
: echo "tasteful"
|
||||||
|
:else
|
||||||
|
: echo "I prefer bananas myself."
|
||||||
|
:endif
|
||||||
|
< In a GUI dialog, buttons are used. The layout of the buttons
|
||||||
|
depends on the 'v' flag in 'guioptions'. If it is included,
|
||||||
|
the buttons are always put vertically. Otherwise, confirm()
|
||||||
|
tries to put the buttons in one horizontal line. If they
|
||||||
|
don't fit, a vertical layout is used anyway. For some systems
|
||||||
|
the horizontal layout is always used.
|
||||||
|
|
||||||
*copy()*
|
*copy()*
|
||||||
copy({expr}) Make a copy of {expr}. For Numbers and Strings this isn't
|
copy({expr}) Make a copy of {expr}. For Numbers and Strings this isn't
|
||||||
different from using {expr} directly.
|
different from using {expr} directly.
|
||||||
@ -3428,7 +3469,7 @@ execute({command} [, {silent}]) *execute()*
|
|||||||
"" no `:silent` used
|
"" no `:silent` used
|
||||||
"silent" `:silent` used
|
"silent" `:silent` used
|
||||||
"silent!" `:silent!` used
|
"silent!" `:silent!` used
|
||||||
The default is 'silent'. Note that with "silent!", unlike
|
The default is "silent". Note that with "silent!", unlike
|
||||||
`:redir`, error messages are dropped. When using an external
|
`:redir`, error messages are dropped. When using an external
|
||||||
command the screen may be messed up, use `system()` instead.
|
command the screen may be messed up, use `system()` instead.
|
||||||
*E930*
|
*E930*
|
||||||
@ -3894,11 +3935,14 @@ foldtext() Returns a String, to be displayed for a closed fold. This is
|
|||||||
|v:foldstart|, |v:foldend| and |v:folddashes| variables.
|
|v:foldstart|, |v:foldend| and |v:folddashes| variables.
|
||||||
The returned string looks like this: >
|
The returned string looks like this: >
|
||||||
+-- 45 lines: abcdef
|
+-- 45 lines: abcdef
|
||||||
< The number of dashes depends on the foldlevel. The "45" is
|
< The number of leading dashes depends on the foldlevel. The
|
||||||
the number of lines in the fold. "abcdef" is the text in the
|
"45" is the number of lines in the fold. "abcdef" is the text
|
||||||
first non-blank line of the fold. Leading white space, "//"
|
in the first non-blank line of the fold. Leading white space,
|
||||||
or "/*" and the text from the 'foldmarker' and 'commentstring'
|
"//" or "/*" and the text from the 'foldmarker' and
|
||||||
options is removed.
|
'commentstring' options is removed.
|
||||||
|
When used to draw the actual foldtext, the rest of the line
|
||||||
|
will be filled with the fold char from the 'fillchars'
|
||||||
|
setting.
|
||||||
{not available when compiled without the |+folding| feature}
|
{not available when compiled without the |+folding| feature}
|
||||||
|
|
||||||
foldtextresult({lnum}) *foldtextresult()*
|
foldtextresult({lnum}) *foldtextresult()*
|
||||||
@ -4030,10 +4074,10 @@ get({dict}, {key} [, {default}])
|
|||||||
get({func}, {what})
|
get({func}, {what})
|
||||||
Get an item with from Funcref {func}. Possible values for
|
Get an item with from Funcref {func}. Possible values for
|
||||||
{what} are:
|
{what} are:
|
||||||
'name' The function name
|
"name" The function name
|
||||||
'func' The function
|
"func" The function
|
||||||
'dict' The dictionary
|
"dict" The dictionary
|
||||||
'args' The list with arguments
|
"args" The list with arguments
|
||||||
|
|
||||||
*getbufinfo()*
|
*getbufinfo()*
|
||||||
getbufinfo([{expr}])
|
getbufinfo([{expr}])
|
||||||
@ -6343,6 +6387,7 @@ remote_send({server}, {string} [, {idvar}])
|
|||||||
See also |clientserver| |RemoteReply|.
|
See also |clientserver| |RemoteReply|.
|
||||||
This function is not available in the |sandbox|.
|
This function is not available in the |sandbox|.
|
||||||
{only available when compiled with the |+clientserver| feature}
|
{only available when compiled with the |+clientserver| feature}
|
||||||
|
|
||||||
Note: Any errors will be reported in the server and may mess
|
Note: Any errors will be reported in the server and may mess
|
||||||
up the display.
|
up the display.
|
||||||
Examples: >
|
Examples: >
|
||||||
@ -6354,6 +6399,12 @@ remote_send({server}, {string} [, {idvar}])
|
|||||||
:echo remote_send("gvim", ":sleep 10 | echo ".
|
:echo remote_send("gvim", ":sleep 10 | echo ".
|
||||||
\ 'server2client(expand("<client>"), "HELLO")<CR>')
|
\ 'server2client(expand("<client>"), "HELLO")<CR>')
|
||||||
<
|
<
|
||||||
|
*remote_startserver()* *E941* *E942*
|
||||||
|
remote_startserver({name})
|
||||||
|
Become the server {name}. This fails if already running as a
|
||||||
|
server, when |v:servername| is not empty.
|
||||||
|
{only available when compiled with the |+clientserver| feature}
|
||||||
|
|
||||||
remove({list}, {idx} [, {end}]) *remove()*
|
remove({list}, {idx} [, {end}]) *remove()*
|
||||||
Without {end}: Remove the item at {idx} from |List| {list} and
|
Without {end}: Remove the item at {idx} from |List| {list} and
|
||||||
return the item.
|
return the item.
|
||||||
@ -7711,7 +7762,7 @@ taglist({expr}) *taglist()*
|
|||||||
may appear, they give the name of the entity the tag is
|
may appear, they give the name of the entity the tag is
|
||||||
contained in.
|
contained in.
|
||||||
|
|
||||||
The ex-command 'cmd' can be either an ex search pattern, a
|
The ex-command "cmd" can be either an ex search pattern, a
|
||||||
line number or a line number followed by a byte number.
|
line number or a line number followed by a byte number.
|
||||||
|
|
||||||
If there are no matching tags, then an empty list is returned.
|
If there are no matching tags, then an empty list is returned.
|
||||||
@ -7770,20 +7821,21 @@ test_autochdir() *test_autochdir()*
|
|||||||
Set a flag to enable the effect of 'autochdir' before Vim
|
Set a flag to enable the effect of 'autochdir' before Vim
|
||||||
startup has finished.
|
startup has finished.
|
||||||
|
|
||||||
*test_disable_char_avail()*
|
|
||||||
test_disable_char_avail({expr})
|
|
||||||
When {expr} is 1 the internal char_avail() function will
|
|
||||||
return |FALSE|. When {expr} is 0 the char_avail() function will
|
|
||||||
function normally.
|
|
||||||
Only use this for a test where typeahead causes the test not
|
|
||||||
to work. E.g., to trigger the CursorMovedI autocommand event.
|
|
||||||
|
|
||||||
test_garbagecollect_now() *test_garbagecollect_now()*
|
test_garbagecollect_now() *test_garbagecollect_now()*
|
||||||
Like garbagecollect(), but executed right away. This must
|
Like garbagecollect(), but executed right away. This must
|
||||||
only be called directly to avoid any structure to exist
|
only be called directly to avoid any structure to exist
|
||||||
internally, and |v:testing| must have been set before calling
|
internally, and |v:testing| must have been set before calling
|
||||||
any function.
|
any function.
|
||||||
|
|
||||||
|
test_ignore_error({expr}) *test_ignore_error()*
|
||||||
|
Ignore any error containing {expr}. A normal message is given
|
||||||
|
instead.
|
||||||
|
This is only meant to be used in tests, where catching the
|
||||||
|
error with try/catch cannot be used (because it skips over
|
||||||
|
following code).
|
||||||
|
{expr} is used literally, not as a pattern.
|
||||||
|
There is currently no way to revert this.
|
||||||
|
|
||||||
test_null_channel() *test_null_channel()*
|
test_null_channel() *test_null_channel()*
|
||||||
Return a Channel that is null. Only useful for testing.
|
Return a Channel that is null. Only useful for testing.
|
||||||
{only available when compiled with the +channel feature}
|
{only available when compiled with the +channel feature}
|
||||||
@ -7804,6 +7856,18 @@ test_null_partial() *test_null_partial()*
|
|||||||
test_null_string() *test_null_string()*
|
test_null_string() *test_null_string()*
|
||||||
Return a String that is null. Only useful for testing.
|
Return a String that is null. Only useful for testing.
|
||||||
|
|
||||||
|
test_override({name}, {val}) *test_override()*
|
||||||
|
Overrides certain parts of Vims internal processing to be able
|
||||||
|
to run tests. Only to be used for testing Vim!
|
||||||
|
The override is enabled when {val} is non-zero and removed
|
||||||
|
when {val} is zero.
|
||||||
|
Current supported values for name are:
|
||||||
|
|
||||||
|
name effect when {val} is non-zero ~
|
||||||
|
redraw disable the redrawing() function
|
||||||
|
char_avail disable the char_avail() function
|
||||||
|
ALL clear all overrides ({val} is not used)
|
||||||
|
|
||||||
test_settime({expr}) *test_settime()*
|
test_settime({expr}) *test_settime()*
|
||||||
Set the time Vim uses internally. Currently only used for
|
Set the time Vim uses internally. Currently only used for
|
||||||
timestamps in the history, as they are used in viminfo, and
|
timestamps in the history, as they are used in viminfo, and
|
||||||
|
@ -64,7 +64,7 @@ whichever is lower. These are empty or white lines and lines starting
|
|||||||
with a character in 'foldignore'. White space is skipped before checking for
|
with a character in 'foldignore'. White space is skipped before checking for
|
||||||
characters in 'foldignore'. For C use "#" to ignore preprocessor lines.
|
characters in 'foldignore'. For C use "#" to ignore preprocessor lines.
|
||||||
|
|
||||||
When you want to ignore lines in another way, use the 'expr' method. The
|
When you want to ignore lines in another way, use the "expr" method. The
|
||||||
|indent()| function can be used in 'foldexpr' to get the indent of a line.
|
|indent()| function can be used in 'foldexpr' to get the indent of a line.
|
||||||
|
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ fold level. But note that foldlevel() may return -1 if the level is not known
|
|||||||
yet. And it returns the level at the start of the line, while a fold might
|
yet. And it returns the level at the start of the line, while a fold might
|
||||||
end in that line.
|
end in that line.
|
||||||
|
|
||||||
It may happened that folds are not updated properly. You can use |zx| or |zX|
|
It may happen that folds are not updated properly. You can use |zx| or |zX|
|
||||||
to force updating folds.
|
to force updating folds.
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,8 +81,8 @@ And there should be no ':set guifont'. If it exists, then Gvim ignores
|
|||||||
':set guifontset'. It means VIM runs without fontset supporting.
|
':set guifontset'. It means VIM runs without fontset supporting.
|
||||||
So, you can see only English. Hangul does not be correctly displayed.
|
So, you can see only English. Hangul does not be correctly displayed.
|
||||||
|
|
||||||
After 'fontset' feature is enabled, VIM does not allow using english
|
After "fontset" feature is enabled, VIM does not allow using english
|
||||||
font only in 'font' setting for syntax.
|
font only in "font" setting for syntax.
|
||||||
For example, if you use >
|
For example, if you use >
|
||||||
:set guifontset=eng_font,your_font
|
:set guifontset=eng_font,your_font
|
||||||
in your .gvimrc, then you should do for syntax >
|
in your .gvimrc, then you should do for syntax >
|
||||||
|
@ -314,7 +314,7 @@ the applicable Vim version. The last field specifies the last modification
|
|||||||
date of the file. Each field is separated by a tab.
|
date of the file. Each field is separated by a tab.
|
||||||
|
|
||||||
At the bottom of the help file, place a Vim modeline to set the 'textwidth'
|
At the bottom of the help file, place a Vim modeline to set the 'textwidth'
|
||||||
and 'tabstop' options and the 'filetype' to 'help'. Never set a global option
|
and 'tabstop' options and the 'filetype' to "help". Never set a global option
|
||||||
in such a modeline, that can have consequences undesired by whoever reads that
|
in such a modeline, that can have consequences undesired by whoever reads that
|
||||||
help.
|
help.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Feb 17
|
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Mar 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@ -17,6 +17,7 @@ The Python Interface to Vim *python* *Python*
|
|||||||
9. Dynamic loading |python-dynamic|
|
9. Dynamic loading |python-dynamic|
|
||||||
10. Python 3 |python3|
|
10. Python 3 |python3|
|
||||||
11. Python X |python_x|
|
11. Python X |python_x|
|
||||||
|
12. Building with Python support |python-building|
|
||||||
|
|
||||||
{Vi does not have any of these commands}
|
{Vi does not have any of these commands}
|
||||||
|
|
||||||
@ -174,8 +175,8 @@ vim.eval(str) *python-eval*
|
|||||||
|
|
||||||
: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'}] ~
|
||||||
|
|
||||||
vim.bindeval(str) *python-bindeval*
|
vim.bindeval(str) *python-bindeval*
|
||||||
Like |python-eval|, but returns special objects described in
|
Like |python-eval|, but returns special objects described in
|
||||||
@ -819,7 +820,7 @@ the other one from being available.
|
|||||||
11. Python X *python_x* *pythonx*
|
11. Python X *python_x* *pythonx*
|
||||||
|
|
||||||
Because most python code can be written so that it works with python 2.6+ and
|
Because most python code can be written so that it works with python 2.6+ and
|
||||||
python 3 the pyx* functions and commands have been writen. They work exactly
|
python 3 the pyx* functions and commands have been written. They work exactly
|
||||||
the same as the Python 2 and 3 variants, but select the Python version using
|
the same as the Python 2 and 3 variants, but select the Python version using
|
||||||
the 'pyxversion' setting.
|
the 'pyxversion' setting.
|
||||||
|
|
||||||
@ -867,7 +868,7 @@ When compiled with both |+python| and |+python3|, the test depends on the
|
|||||||
it is not available then Python 2. If 'pyxversion' is 2 or 3, it tests only
|
it is not available then Python 2. If 'pyxversion' is 2 or 3, it tests only
|
||||||
Python 2 or 3 respectively.
|
Python 2 or 3 respectively.
|
||||||
|
|
||||||
Note that for has('pythonx') to work it may try to dynamically load Python 3
|
Note that for `has('pythonx')` to work it may try to dynamically load Python 3
|
||||||
or 2. This may have side effects, especially when Vim can only load one of
|
or 2. This may have side effects, especially when Vim can only load one of
|
||||||
the two.
|
the two.
|
||||||
|
|
||||||
@ -879,5 +880,27 @@ If a user prefers Python 2 and want to fallback to Python 3, he needs to set
|
|||||||
set pyx=3
|
set pyx=3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
12. Building with Python support *python-building*
|
||||||
|
|
||||||
|
A few hints for building with Python 2 or 3 support.
|
||||||
|
|
||||||
|
UNIX
|
||||||
|
|
||||||
|
See src/Makefile for how to enable including the Python interface.
|
||||||
|
|
||||||
|
On Ubuntu you will want to install these packages for Python 2:
|
||||||
|
python
|
||||||
|
python-dev
|
||||||
|
For Python 3:
|
||||||
|
python3
|
||||||
|
pytyon3-dev
|
||||||
|
For Python 3.6:
|
||||||
|
python3.6
|
||||||
|
pytyon3.6-dev
|
||||||
|
|
||||||
|
If you have more than one version of Python 3, you need to link python3 to the
|
||||||
|
one you prefer, before running configure.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
@ -72,7 +72,7 @@ To see what version of Ruby you have: >
|
|||||||
|
|
||||||
*:rubyfile* *:rubyf*
|
*:rubyfile* *:rubyf*
|
||||||
:rubyf[ile] {file} Execute the Ruby script in {file}. This is the same as
|
:rubyf[ile] {file} Execute the Ruby script in {file}. This is the same as
|
||||||
":ruby load 'file'", but allows file name completion.
|
`:ruby load 'file'`, but allows file name completion.
|
||||||
|
|
||||||
Executing Ruby commands is not possible in the |sandbox|.
|
Executing Ruby commands is not possible in the |sandbox|.
|
||||||
|
|
||||||
|
@ -324,6 +324,21 @@ The examples below assume a 'shiftwidth' of 4.
|
|||||||
{ {
|
{ {
|
||||||
void function(); void function();
|
void function(); void function();
|
||||||
} }
|
} }
|
||||||
|
<
|
||||||
|
*cino-E*
|
||||||
|
EN Indent inside C++ linkage specifications (extern "C" or
|
||||||
|
extern "C++") N characters extra compared to a normal block.
|
||||||
|
(default 0).
|
||||||
|
|
||||||
|
cino= cino=E-s >
|
||||||
|
extern "C" { extern "C" {
|
||||||
|
void function(); void function();
|
||||||
|
} }
|
||||||
|
|
||||||
|
extern "C" extern "C"
|
||||||
|
{ {
|
||||||
|
void function(); void function();
|
||||||
|
} }
|
||||||
<
|
<
|
||||||
*cino-p*
|
*cino-p*
|
||||||
pN Parameter declarations for K&R-style function declarations will
|
pN Parameter declarations for K&R-style function declarations will
|
||||||
@ -554,7 +569,7 @@ The examples below assume a 'shiftwidth' of 4.
|
|||||||
|
|
||||||
|
|
||||||
The defaults, spelled out in full, are:
|
The defaults, spelled out in full, are:
|
||||||
cinoptions=>s,e0,n0,f0,{0,}0,^0,L-1,:s,=s,l0,b0,gs,hs,N0,ps,ts,is,+s,
|
cinoptions=>s,e0,n0,f0,{0,}0,^0,L-1,:s,=s,l0,b0,gs,hs,N0,E0,ps,ts,is,+s,
|
||||||
c3,C0,/0,(2s,us,U0,w0,W0,k0,m0,j0,J0,)20,*70,#0
|
c3,C0,/0,(2s,us,U0,w0,W0,k0,m0,j0,J0,)20,*70,#0
|
||||||
|
|
||||||
Vim puts a line in column 1 if:
|
Vim puts a line in column 1 if:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 8.0. Last change: 2016 Sep 27
|
*index.txt* For Vim version 8.0. Last change: 2017 Feb 23
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1004,10 +1004,12 @@ tag command action in Command-line editing mode ~
|
|||||||
|c_<CR>| <CR> execute entered command
|
|c_<CR>| <CR> execute entered command
|
||||||
|c_CTRL-M| CTRL-M same as <CR>
|
|c_CTRL-M| CTRL-M same as <CR>
|
||||||
|c_CTRL-N| CTRL-N after using 'wildchar' with multiple matches:
|
|c_CTRL-N| CTRL-N after using 'wildchar' with multiple matches:
|
||||||
go to next match, otherwise: same as <Down>
|
go to next match, otherwise: recall older
|
||||||
|
command-line from history.
|
||||||
CTRL-O not used
|
CTRL-O not used
|
||||||
|c_CTRL-P| CTRL-P after using 'wildchar' with multiple matches:
|
|c_CTRL-P| CTRL-P after using 'wildchar' with multiple matches:
|
||||||
go to previous match, otherwise: same as <Up>
|
go to previous match, otherwise: recall older
|
||||||
|
command-line from history.
|
||||||
|c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
|
|c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
|
||||||
control flow
|
control flow
|
||||||
|c_CTRL-R| CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
|
|c_CTRL-R| CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
|
||||||
|
@ -1103,7 +1103,7 @@ items:
|
|||||||
empty when non-zero this match will be added even when it is
|
empty when non-zero this match will be added even when it is
|
||||||
an empty string
|
an empty string
|
||||||
|
|
||||||
All of these except 'icase', 'dup' and 'empty' must be a string. If an item
|
All of these except "icase", "dup" and "empty" must be a string. If an item
|
||||||
does not meet these requirements then an error message is given and further
|
does not meet these requirements then an error message is given and further
|
||||||
items in the list are not used. You can mix string and Dictionary items in
|
items in the list are not used. You can mix string and Dictionary items in
|
||||||
the returned list.
|
the returned list.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*map.txt* For Vim version 8.0. Last change: 2016 Oct 15
|
*map.txt* For Vim version 8.0. Last change: 2017 Mar 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -584,7 +584,8 @@ Upper and lowercase differences are ignored.
|
|||||||
|
|
||||||
*map-comments*
|
*map-comments*
|
||||||
It is not possible to put a comment after these commands, because the '"'
|
It is not possible to put a comment after these commands, because the '"'
|
||||||
character is considered to be part of the {lhs} or {rhs}.
|
character is considered to be part of the {lhs} or {rhs}. However, one can
|
||||||
|
use |", since this starts a new, empty command with a comment.
|
||||||
|
|
||||||
*map_bar* *map-bar*
|
*map_bar* *map-bar*
|
||||||
Since the '|' character is used to separate a map command from the next
|
Since the '|' character is used to separate a map command from the next
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*mlang.txt* For Vim version 8.0. Last change: 2016 Jan 16
|
*mlang.txt* For Vim version 8.0. Last change: 2017 Mar 04
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -179,6 +179,7 @@ Send an e-mail to the Vim maintainer <maintainer@vim.org>.
|
|||||||
special characters like "&" and "<Tab>" need to be
|
special characters like "&" and "<Tab>" need to be
|
||||||
included. Spaces and dots need to be escaped with a
|
included. Spaces and dots need to be escaped with a
|
||||||
backslash, just like in other |:menu| commands.
|
backslash, just like in other |:menu| commands.
|
||||||
|
Case in {english} is ignored.
|
||||||
|
|
||||||
See the $VIMRUNTIME/lang directory for examples.
|
See the $VIMRUNTIME/lang directory for examples.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*motion.txt* For Vim version 8.0. Last change: 2016 Nov 24
|
*motion.txt* For Vim version 8.0. Last change: 2017 Mar 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -193,7 +193,7 @@ l or *l*
|
|||||||
|
|
||||||
*$* *<End>* *<kEnd>*
|
*$* *<End>* *<kEnd>*
|
||||||
$ or <End> To the end of the line. When a count is given also go
|
$ or <End> To the end of the line. When a count is given also go
|
||||||
[count - 1] lines downward |inclusive|.
|
[count - 1] lines downward. |inclusive| motion.
|
||||||
In Visual mode the cursor goes to just after the last
|
In Visual mode the cursor goes to just after the last
|
||||||
character in the line.
|
character in the line.
|
||||||
When 'virtualedit' is active, "$" may move the cursor
|
When 'virtualedit' is active, "$" may move the cursor
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.0. Last change: 2017 Feb 09
|
*options.txt* For Vim version 8.0. Last change: 2017 Mar 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -727,6 +727,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
which can be easier to read at certain sizes on certain displays.
|
which can be easier to read at certain sizes on certain displays.
|
||||||
Setting this option can sometimes cause problems if 'guifont' is set
|
Setting this option can sometimes cause problems if 'guifont' is set
|
||||||
to its default (empty string).
|
to its default (empty string).
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
|
*'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
|
||||||
'autochdir' 'acd' boolean (default off)
|
'autochdir' 'acd' boolean (default off)
|
||||||
@ -760,6 +761,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
- Disable the use of 'keymap' (without changing its value).
|
- Disable the use of 'keymap' (without changing its value).
|
||||||
Note that 'arabicshape' and 'delcombine' are not reset (it is a global
|
Note that 'arabicshape' and 'delcombine' are not reset (it is a global
|
||||||
option).
|
option).
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
Also see |arabic.txt|.
|
Also see |arabic.txt|.
|
||||||
|
|
||||||
*'arabicshape'* *'arshape'*
|
*'arabicshape'* *'arshape'*
|
||||||
@ -781,6 +783,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
form.
|
form.
|
||||||
Arabic is a complex language which requires other settings, for
|
Arabic is a complex language which requires other settings, for
|
||||||
further details see |arabic.txt|.
|
further details see |arabic.txt|.
|
||||||
|
NOTE: This option is set when 'compatible' is set.
|
||||||
|
|
||||||
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
|
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
|
||||||
'autoindent' 'ai' boolean (default off)
|
'autoindent' 'ai' boolean (default off)
|
||||||
@ -993,6 +996,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
the system may refuse to do this. In that case the "auto" value will
|
the system may refuse to do this. In that case the "auto" value will
|
||||||
again not rename the file.
|
again not rename the file.
|
||||||
|
|
||||||
|
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||||
|
set and to the Vim default value when 'compatible' is reset.
|
||||||
|
|
||||||
*'backupdir'* *'bdir'*
|
*'backupdir'* *'bdir'*
|
||||||
'backupdir' 'bdir' string (default for Amiga: ".,t:",
|
'backupdir' 'bdir' string (default for Amiga: ".,t:",
|
||||||
for MS-DOS and Win32: ".,$TEMP,c:/tmp,c:/temp"
|
for MS-DOS and Win32: ".,$TEMP,c:/tmp,c:/temp"
|
||||||
@ -1120,6 +1126,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
set bexpr=MyBalloonExpr()
|
set bexpr=MyBalloonExpr()
|
||||||
set ballooneval
|
set ballooneval
|
||||||
<
|
<
|
||||||
|
Also see |balloon_show()|, can be used if the content of the balloon
|
||||||
|
is to be fetched asynchronously.
|
||||||
|
|
||||||
NOTE: The balloon is displayed only if the cursor is on a text
|
NOTE: The balloon is displayed only if the cursor is on a text
|
||||||
character. If the result of evaluating 'balloonexpr' is not empty,
|
character. If the result of evaluating 'balloonexpr' is not empty,
|
||||||
Vim does not try to send a message to an external debugger (Netbeans
|
Vim does not try to send a message to an external debugger (Netbeans
|
||||||
@ -1136,6 +1145,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
< When they are supported "\n" characters will start a new line. If the
|
< When they are supported "\n" characters will start a new line. If the
|
||||||
expression evaluates to a |List| this is equal to using each List item
|
expression evaluates to a |List| this is equal to using each List item
|
||||||
as a string and putting "\n" in between them.
|
as a string and putting "\n" in between them.
|
||||||
|
NOTE: This option is set to "" when 'compatible' is set.
|
||||||
|
|
||||||
*'belloff'* *'bo'*
|
*'belloff'* *'bo'*
|
||||||
'belloff' 'bo' string (default "")
|
'belloff' 'bo' string (default "")
|
||||||
@ -1173,8 +1183,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
wildmode More matches in |cmdline-completion| available
|
wildmode More matches in |cmdline-completion| available
|
||||||
(depends on the 'wildmode' setting).
|
(depends on the 'wildmode' setting).
|
||||||
|
|
||||||
This is most useful, to fine tune when in insert mode the bell should
|
This is most useful to fine tune when in Insert mode the bell should
|
||||||
be rung. For normal mode and ex commands, the bell is often rung to
|
be rung. For Normal mode and Ex commands, the bell is often rung to
|
||||||
indicate that an error occurred. It can be silenced by adding the
|
indicate that an error occurred. It can be silenced by adding the
|
||||||
"error" keyword.
|
"error" keyword.
|
||||||
|
|
||||||
@ -1256,6 +1266,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Every wrapped line will continue visually indented (same amount of
|
Every wrapped line will continue visually indented (same amount of
|
||||||
space as the beginning of that line), thus preserving horizontal blocks
|
space as the beginning of that line), thus preserving horizontal blocks
|
||||||
of text.
|
of text.
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'breakindentopt'* *'briopt'*
|
*'breakindentopt'* *'briopt'*
|
||||||
'breakindentopt' 'briopt' string (default empty)
|
'breakindentopt' 'briopt' string (default empty)
|
||||||
@ -1432,6 +1443,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
:exe "set cedit=\<Esc>"
|
:exe "set cedit=\<Esc>"
|
||||||
< |Nvi| also has this option, but it only uses the first character.
|
< |Nvi| also has this option, but it only uses the first character.
|
||||||
See |cmdwin|.
|
See |cmdwin|.
|
||||||
|
NOTE: This option is set to the Vim default value when 'compatible'
|
||||||
|
is reset.
|
||||||
|
|
||||||
*'charconvert'* *'ccv'* *E202* *E214* *E513*
|
*'charconvert'* *'ccv'* *E202* *E214* *E513*
|
||||||
'charconvert' 'ccv' string (default "")
|
'charconvert' 'ccv' string (default "")
|
||||||
@ -1702,12 +1715,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
This option has the effect of making Vim either more Vi-compatible, or
|
This option has the effect of making Vim either more Vi-compatible, or
|
||||||
make Vim behave in a more useful way.
|
make Vim behave in a more useful way.
|
||||||
|
|
||||||
This is a special kind of option, because when it's set or reset,
|
This is a special kind of option, because when it's set or reset,
|
||||||
other options are also changed as a side effect. CAREFUL: Setting or
|
other options are also changed as a side effect.
|
||||||
resetting this option can have a lot of unexpected effects: Mappings
|
NOTE: Setting or resetting this option can have a lot of unexpected
|
||||||
are interpreted in another way, undo behaves differently, etc. If you
|
effects: Mappings are interpreted in another way, undo behaves
|
||||||
set this option in your vimrc file, you should probably put it at the
|
differently, etc. If you set this option in your vimrc file, you
|
||||||
very start.
|
should probably put it at the very start.
|
||||||
|
|
||||||
By default this option is on and the Vi defaults are used for the
|
By default this option is on and the Vi defaults are used for the
|
||||||
options. This default was chosen for those people who want to use Vim
|
options. This default was chosen for those people who want to use Vim
|
||||||
just like Vi, and don't even (want to) know about the 'compatible'
|
just like Vi, and don't even (want to) know about the 'compatible'
|
||||||
@ -1722,70 +1737,98 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|posix-compliance|.
|
|posix-compliance|.
|
||||||
You can also set this option with the "-C" argument, and reset it with
|
You can also set this option with the "-C" argument, and reset it with
|
||||||
"-N". See |-C| and |-N|.
|
"-N". See |-C| and |-N|.
|
||||||
Switching this option off makes the Vim defaults be used for options
|
See 'cpoptions' for more fine tuning of Vi compatibility.
|
||||||
that have a different Vi and Vim default value. See the options
|
|
||||||
marked with a '+' below. Other options are not modified.
|
|
||||||
At the moment this option is set, several other options will be set
|
|
||||||
or reset to make Vim as Vi-compatible as possible. See the table
|
|
||||||
below. This can be used if you want to revert to Vi compatible
|
|
||||||
editing.
|
|
||||||
See also 'cpoptions'.
|
|
||||||
|
|
||||||
option + set value effect ~
|
When this option is set, numerous other options are set to make Vim as
|
||||||
|
Vi-compatible as possible. When this option is unset, various options
|
||||||
|
are set to make Vim more useful. The table below lists all the
|
||||||
|
options affected.
|
||||||
|
The {?} column indicates when the options are affected:
|
||||||
|
+ Means that the option is set to the value given in {set value} when
|
||||||
|
'compatible' is set.
|
||||||
|
& Means that the option is set to the value given in {set value} when
|
||||||
|
'compatible' is set AND is set to its Vim default value when
|
||||||
|
'compatible' is unset.
|
||||||
|
- Means the option is NOT changed when setting 'compatible' but IS
|
||||||
|
set to its Vim default when 'compatible' is unset.
|
||||||
|
The {effect} column summarises the change when 'compatible' is set.
|
||||||
|
|
||||||
'allowrevins' off no CTRL-_ command
|
option ? set value effect ~
|
||||||
'backspace' "" normal backspace
|
|
||||||
'backupcopy' Unix: "yes" backup file is a copy
|
'allowrevins' + off no CTRL-_ command
|
||||||
else: "auto" copy or rename backup file
|
'antialias' + off don't use antialiased fonts
|
||||||
'backup' off no backup file
|
'arabic' + off reset arabic-related options
|
||||||
'cedit' + "" no key to open the |cmdwin|
|
'arabicshape' + on correct character shapes
|
||||||
'cindent' off no C code indentation
|
'backspace' + "" normal backspace
|
||||||
'cpoptions' + (all flags) Vi-compatible flags
|
'backup' + off no backup file
|
||||||
'cscopetag' off don't use cscope for ":tag"
|
'backupcopy' & Unix: "yes" backup file is a copy
|
||||||
'cscopetagorder' 0 see |cscopetagorder|
|
else: "auto" copy or rename backup file
|
||||||
'cscopeverbose' off see |cscopeverbose|
|
'balloonexpr' + "" text to show in evaluation balloon
|
||||||
'digraph' off no digraphs
|
'breakindent' + off don't indent when wrapping lines
|
||||||
'esckeys' + off no <Esc>-keys in Insert mode
|
'cedit' - {unchanged} {set vim default only on resetting 'cp'}
|
||||||
'expandtab' off tabs not expanded to spaces
|
'cindent' + off no C code indentation
|
||||||
'fileformats' + "" no automatic file format detection,
|
'compatible' - {unchanged} {set vim default only on resetting 'cp'}
|
||||||
|
'copyindent' + off don't copy indent structure
|
||||||
|
'cpoptions' & (all flags) Vi-compatible flags
|
||||||
|
'cscopepathcomp'+ 0 don't show directories in tags list
|
||||||
|
'cscoperelative'+ off
|
||||||
|
'cscopetag' + off don't use cscope for ":tag"
|
||||||
|
'cscopetagorder'+ 0 see |cscopetagorder|
|
||||||
|
'cscopeverbose' + off see |cscopeverbose|
|
||||||
|
'delcombine' + off unicode: delete whole char combination
|
||||||
|
'digraph' + off no digraphs
|
||||||
|
'esckeys' & off no <Esc>-keys in Insert mode
|
||||||
|
'expandtab' + off tabs not expanded to spaces
|
||||||
|
'fileformats' & "" no automatic file format detection,
|
||||||
"dos,unix" except for DOS, Windows and OS/2
|
"dos,unix" except for DOS, Windows and OS/2
|
||||||
'formatoptions' + "vt" Vi compatible formatting
|
'formatexpr' + "" use 'formatprg' for auto-formatting
|
||||||
'gdefault' off no default 'g' flag for ":s"
|
'formatoptions' & "vt" Vi compatible formatting
|
||||||
'history' + 0 no commandline history
|
'gdefault' + off no default 'g' flag for ":s"
|
||||||
'hkmap' off no Hebrew keyboard mapping
|
'history' & 0 no commandline history
|
||||||
'hkmapp' off no phonetic Hebrew keyboard mapping
|
'hkmap' + off no Hebrew keyboard mapping
|
||||||
'hlsearch' off no highlighting of search matches
|
'hkmapp' + off no phonetic Hebrew keyboard mapping
|
||||||
'incsearch' off no incremental searching
|
'hlsearch' + off no highlighting of search matches
|
||||||
'indentexpr' "" no indenting by expression
|
'incsearch' + off no incremental searching
|
||||||
'insertmode' off do not start in Insert mode
|
'indentexpr' + "" no indenting by expression
|
||||||
'iskeyword' + "@,48-57,_" keywords contain alphanumeric
|
'insertmode' + off do not start in Insert mode
|
||||||
|
'iskeyword' & "@,48-57,_" keywords contain alphanumeric
|
||||||
characters and '_'
|
characters and '_'
|
||||||
'joinspaces' on insert 2 spaces after period
|
'joinspaces' + on insert 2 spaces after period
|
||||||
'modeline' + off no modelines
|
'modeline' & off no modelines
|
||||||
'more' + off no pauses in listings
|
'more' & off no pauses in listings
|
||||||
'revins' off no reverse insert
|
'mzquantum' - {unchanged} {set vim default only on resetting 'cp'}
|
||||||
'ruler' off no ruler
|
'numberwidth' & 8 min number of columns for line number
|
||||||
'scrolljump' 1 no jump scroll
|
'preserveindent'+ off don't preserve current indent structure
|
||||||
'scrolloff' 0 no scroll offset
|
when changing it
|
||||||
'shiftround' off indent not rounded to shiftwidth
|
'revins' + off no reverse insert
|
||||||
'shortmess' + "" no shortening of messages
|
'ruler' + off no ruler
|
||||||
'showcmd' + off command characters not shown
|
'scrolljump' + 1 no jump scroll
|
||||||
'showmode' + off current mode not shown
|
'scrolloff' + 0 no scroll offset
|
||||||
'smartcase' off no automatic ignore case switch
|
'shelltemp' - {unchanged} {set vim default only on resetting 'cp'}
|
||||||
'smartindent' off no smart indentation
|
'shiftround' + off indent not rounded to shiftwidth
|
||||||
'smarttab' off no smart tab size
|
'shortmess' & "" no shortening of messages
|
||||||
'softtabstop' 0 tabs are always 'tabstop' positions
|
'showcmd' & off command characters not shown
|
||||||
'startofline' on goto startofline with some commands
|
'showmode' & off current mode not shown
|
||||||
'tagrelative' + off tag file names are not relative
|
'sidescrolloff' + 0 cursor moves to edge of screen in scroll
|
||||||
'textauto' + off no automatic textmode detection
|
'smartcase' + off no automatic ignore case switch
|
||||||
'textwidth' 0 no automatic line wrap
|
'smartindent' + off no smart indentation
|
||||||
'tildeop' off tilde is not an operator
|
'smarttab' + off no smart tab size
|
||||||
'ttimeout' off no terminal timeout
|
'softtabstop' + 0 tabs are always 'tabstop' positions
|
||||||
'viminfo' + {unchanged} no viminfo file
|
'startofline' + on goto startofline with some commands
|
||||||
'whichwrap' + "" left-right movements don't wrap
|
'tagcase' & "followic" 'ignorecase' when searching tags file
|
||||||
'wildchar' + CTRL-E only when the current value is <Tab>
|
'tagrelative' & off tag file names are not relative
|
||||||
|
'termguicolors' + off don't use highlight-(guifg|guibg)
|
||||||
|
'textauto' & off no automatic textmode detection
|
||||||
|
'textwidth' + 0 no automatic line wrap
|
||||||
|
'tildeop' + off tilde is not an operator
|
||||||
|
'ttimeout' + off no terminal timeout
|
||||||
|
'undofile' + off don't use an undo file
|
||||||
|
'viminfo' - {unchanged} {set Vim default only on resetting 'cp'}
|
||||||
|
'virtualedit' + "" cursor can only be placed on characters
|
||||||
|
'whichwrap' & "" left-right movements don't wrap
|
||||||
|
'wildchar' & CTRL-E only when the current value is <Tab>
|
||||||
use CTRL-E for cmdline completion
|
use CTRL-E for cmdline completion
|
||||||
'writebackup' on or off depends on the |+writebackup| feature
|
'writebackup' + on or off depends on the |+writebackup| feature
|
||||||
|
|
||||||
*'complete'* *'cpt'* *E535*
|
*'complete'* *'cpt'* *E535*
|
||||||
'complete' 'cpt' string (default: ".,w,b,u,t,i")
|
'complete' 'cpt' string (default: ".,w,b,u,t,i")
|
||||||
@ -1960,7 +2003,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
existing line. 'expandtab' has no effect on these characters, a Tab
|
existing line. 'expandtab' has no effect on these characters, a Tab
|
||||||
remains a Tab. If the new indent is greater than on the existing
|
remains a Tab. If the new indent is greater than on the existing
|
||||||
line, the remaining space is filled in the normal manner.
|
line, the remaining space is filled in the normal manner.
|
||||||
NOTE: 'copyindent' is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
Also see 'preserveindent'.
|
Also see 'preserveindent'.
|
||||||
|
|
||||||
*'cpoptions'* *'cpo'* *cpo*
|
*'cpoptions'* *'cpo'* *cpo*
|
||||||
@ -2321,6 +2364,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
Determines how many components of the path to show in a list of tags.
|
Determines how many components of the path to show in a list of tags.
|
||||||
See |cscopepathcomp|.
|
See |cscopepathcomp|.
|
||||||
|
NOTE: This option is set to 0 when 'compatible' is set.
|
||||||
|
|
||||||
*'cscopeprg'* *'csprg'*
|
*'cscopeprg'* *'csprg'*
|
||||||
'cscopeprg' 'csprg' string (default "cscope")
|
'cscopeprg' 'csprg' string (default "cscope")
|
||||||
@ -2350,6 +2394,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
In the absence of a prefix (-P) for cscope. setting this option enables
|
In the absence of a prefix (-P) for cscope. setting this option enables
|
||||||
to use the basename of cscope.out path as the prefix.
|
to use the basename of cscope.out path as the prefix.
|
||||||
See |cscoperelative|.
|
See |cscoperelative|.
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'cscopetag'* *'cst'* *'nocscopetag'* *'nocst'*
|
*'cscopetag'* *'cst'* *'nocscopetag'* *'nocst'*
|
||||||
'cscopetag' 'cst' boolean (default off)
|
'cscopetag' 'cst' boolean (default off)
|
||||||
@ -2469,6 +2514,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
This is useful for Arabic, Hebrew and many other languages where one
|
This is useful for Arabic, Hebrew and many other languages where one
|
||||||
may have combining characters overtop of base characters, and want
|
may have combining characters overtop of base characters, and want
|
||||||
to remove only the combining ones.
|
to remove only the combining ones.
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'dictionary'* *'dict'*
|
*'dictionary'* *'dict'*
|
||||||
'dictionary' 'dict' string (default "")
|
'dictionary' 'dict' string (default "")
|
||||||
@ -2883,6 +2929,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
done when writing the file. For reading see below.
|
done when writing the file. For reading see below.
|
||||||
When 'fileencoding' is empty, the same value as 'encoding' will be
|
When 'fileencoding' is empty, the same value as 'encoding' will be
|
||||||
used (no conversion when reading or writing a file).
|
used (no conversion when reading or writing a file).
|
||||||
|
No error will be given when the value is set, only when it is used,
|
||||||
|
only when writing a file.
|
||||||
Conversion will also be done when 'encoding' and 'fileencoding' are
|
Conversion will also be done when 'encoding' and 'fileencoding' are
|
||||||
both a Unicode encoding and 'fileencoding' is not utf-8. That's
|
both a Unicode encoding and 'fileencoding' is not utf-8. That's
|
||||||
because internally Unicode is always stored as utf-8.
|
because internally Unicode is always stored as utf-8.
|
||||||
@ -3387,6 +3435,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The expression will be evaluated in the |sandbox| when set from a
|
The expression will be evaluated in the |sandbox| when set from a
|
||||||
modeline, see |sandbox-option|. That stops the option from working,
|
modeline, see |sandbox-option|. That stops the option from working,
|
||||||
since changing the buffer text is not allowed.
|
since changing the buffer text is not allowed.
|
||||||
|
NOTE: This option is set to "" when 'compatible' is set.
|
||||||
|
|
||||||
*'formatoptions'* *'fo'*
|
*'formatoptions'* *'fo'*
|
||||||
'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt")
|
'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt")
|
||||||
@ -4046,31 +4095,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
define one. The default uses a different group for each occasion.
|
define one. The default uses a different group for each occasion.
|
||||||
See |highlight-default| for the default highlight groups.
|
See |highlight-default| for the default highlight groups.
|
||||||
|
|
||||||
*'hlsearch'* *'hls'* *'nohlsearch'* *'nohls'*
|
|
||||||
'hlsearch' 'hls' boolean (default off)
|
|
||||||
global
|
|
||||||
{not in Vi}
|
|
||||||
{not available when compiled without the
|
|
||||||
|+extra_search| feature}
|
|
||||||
When there is a previous search pattern, highlight all its matches.
|
|
||||||
The type of highlighting used can be set with the 'l' occasion in the
|
|
||||||
'highlight' option. This uses the "Search" highlight group by
|
|
||||||
default. Note that only the matching text is highlighted, any offsets
|
|
||||||
are not applied.
|
|
||||||
See also: 'incsearch' and |:match|.
|
|
||||||
When you get bored looking at the highlighted matches, you can turn it
|
|
||||||
off with |:nohlsearch|. This does not change the option value, as
|
|
||||||
soon as you use a search command, the highlighting comes back.
|
|
||||||
'redrawtime' specifies the maximum time spent on finding matches.
|
|
||||||
When the search pattern can match an end-of-line, Vim will try to
|
|
||||||
highlight all of the matched text. However, this depends on where the
|
|
||||||
search starts. This will be the first line in the window or the first
|
|
||||||
line below a closed fold. A match in a previous line which is not
|
|
||||||
drawn may not continue in a newly drawn line.
|
|
||||||
You can specify whether the highlight status is restored on startup
|
|
||||||
with the 'h' flag in 'viminfo' |viminfo-h|.
|
|
||||||
NOTE: This option is reset when 'compatible' is set.
|
|
||||||
|
|
||||||
*'history'* *'hi'*
|
*'history'* *'hi'*
|
||||||
'history' 'hi' number (Vim default: 50, Vi default: 0,
|
'history' 'hi' number (Vim default: 50, Vi default: 0,
|
||||||
set to 200 in |defaults.vim|)
|
set to 200 in |defaults.vim|)
|
||||||
@ -4103,6 +4127,31 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
When on, phonetic keyboard mapping is used. 'hkmap' must also be on.
|
When on, phonetic keyboard mapping is used. 'hkmap' must also be on.
|
||||||
This is useful if you have a non-Hebrew keyboard.
|
This is useful if you have a non-Hebrew keyboard.
|
||||||
See |rileft.txt|.
|
See |rileft.txt|.
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
|
*'hlsearch'* *'hls'* *'nohlsearch'* *'nohls'*
|
||||||
|
'hlsearch' 'hls' boolean (default off)
|
||||||
|
global
|
||||||
|
{not in Vi}
|
||||||
|
{not available when compiled without the
|
||||||
|
|+extra_search| feature}
|
||||||
|
When there is a previous search pattern, highlight all its matches.
|
||||||
|
The type of highlighting used can be set with the 'l' occasion in the
|
||||||
|
'highlight' option. This uses the "Search" highlight group by
|
||||||
|
default. Note that only the matching text is highlighted, any offsets
|
||||||
|
are not applied.
|
||||||
|
See also: 'incsearch' and |:match|.
|
||||||
|
When you get bored looking at the highlighted matches, you can turn it
|
||||||
|
off with |:nohlsearch|. This does not change the option value, as
|
||||||
|
soon as you use a search command, the highlighting comes back.
|
||||||
|
'redrawtime' specifies the maximum time spent on finding matches.
|
||||||
|
When the search pattern can match an end-of-line, Vim will try to
|
||||||
|
highlight all of the matched text. However, this depends on where the
|
||||||
|
search starts. This will be the first line in the window or the first
|
||||||
|
line below a closed fold. A match in a previous line which is not
|
||||||
|
drawn may not continue in a newly drawn line.
|
||||||
|
You can specify whether the highlight status is restored on startup
|
||||||
|
with the 'h' flag in 'viminfo' |viminfo-h|.
|
||||||
NOTE: This option is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'icon'* *'noicon'*
|
*'icon'* *'noicon'*
|
||||||
@ -4384,7 +4433,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
< Error messages will be suppressed, unless the 'debug' option contains
|
< Error messages will be suppressed, unless the 'debug' option contains
|
||||||
"msg".
|
"msg".
|
||||||
See |indent-expression|.
|
See |indent-expression|.
|
||||||
NOTE: This option is made empty when 'compatible' is set.
|
NOTE: This option is set to "" when 'compatible' is set.
|
||||||
|
|
||||||
The expression will be evaluated in the |sandbox| when set from a
|
The expression will be evaluated in the |sandbox| when set from a
|
||||||
modeline, see |sandbox-option|.
|
modeline, see |sandbox-option|.
|
||||||
@ -4959,6 +5008,25 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
|
*'makeencoding'* *'menc'*
|
||||||
|
'makeencoding' 'menc' string (default "")
|
||||||
|
global or local to buffer |global-local|
|
||||||
|
{only available when compiled with the |+multi_byte|
|
||||||
|
feature}
|
||||||
|
{not in Vi}
|
||||||
|
Encoding used for reading the output of external commands. When empty,
|
||||||
|
encoding is not converted.
|
||||||
|
This is used for `:make`, `:lmake`, `:grep`, `:lgrep`, `:grepadd`,
|
||||||
|
`:lgrepadd`, `:cfile`, `:cgetfile`, `:caddfile`, `:lfile`, `:lgetfile`,
|
||||||
|
and `:laddfile`.
|
||||||
|
|
||||||
|
This would be mostly useful when you use MS-Windows and set 'encoding'
|
||||||
|
to "utf-8". If |+iconv| is enabled and GNU libiconv is used, setting
|
||||||
|
'makeencoding' to "char" has the same effect as setting to the system
|
||||||
|
locale encoding. Example: >
|
||||||
|
:set encoding=utf-8
|
||||||
|
:set makeencoding=char " system locale is used
|
||||||
|
<
|
||||||
*'makeprg'* *'mp'*
|
*'makeprg'* *'mp'*
|
||||||
'makeprg' 'mp' string (default "make", VMS: "MMS")
|
'makeprg' 'mp' string (default "make", VMS: "MMS")
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
@ -5356,6 +5424,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
feature}
|
feature}
|
||||||
The number of milliseconds between polls for MzScheme threads.
|
The number of milliseconds between polls for MzScheme threads.
|
||||||
Negative or zero value means no thread scheduling.
|
Negative or zero value means no thread scheduling.
|
||||||
|
NOTE: This option is set to the Vim default value when 'compatible'
|
||||||
|
is reset.
|
||||||
|
|
||||||
*'nrformats'* *'nf'*
|
*'nrformats'* *'nf'*
|
||||||
'nrformats' 'nf' string (default "bin,octal,hex",
|
'nrformats' 'nf' string (default "bin,octal,hex",
|
||||||
@ -5421,7 +5491,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
is set. Thus with the Vim default of 4 there is room for a line number
|
is set. Thus with the Vim default of 4 there is room for a line number
|
||||||
up to 999. When the buffer has 1000 lines five columns will be used.
|
up to 999. When the buffer has 1000 lines five columns will be used.
|
||||||
The minimum value is 1, the maximum value is 10.
|
The minimum value is 1, the maximum value is 10.
|
||||||
NOTE: 'numberwidth' is reset to 8 when 'compatible' is set.
|
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||||
|
set and to the Vim default value when 'compatible' is reset.
|
||||||
|
|
||||||
*'omnifunc'* *'ofu'*
|
*'omnifunc'* *'ofu'*
|
||||||
'omnifunc' 'ofu' string (default: empty)
|
'omnifunc' 'ofu' string (default: empty)
|
||||||
@ -5661,7 +5732,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
a Tab.
|
a Tab.
|
||||||
NOTE: When using ">>" multiple times the resulting indent is a mix of
|
NOTE: When using ">>" multiple times the resulting indent is a mix of
|
||||||
tabs and spaces. You might not like this.
|
tabs and spaces. You might not like this.
|
||||||
NOTE: 'preserveindent' is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
Also see 'copyindent'.
|
Also see 'copyindent'.
|
||||||
Use |:retab| to clean up white space.
|
Use |:retab| to clean up white space.
|
||||||
|
|
||||||
@ -6399,9 +6470,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
"-f" is not inside the quotes, because it is not part of the command
|
"-f" is not inside the quotes, because it is not part of the command
|
||||||
name. And Vim automagically recognizes the backslashes that are path
|
name. And Vim automagically recognizes the backslashes that are path
|
||||||
separators.
|
separators.
|
||||||
For Dos 32 bits (DJGPP), you can set the $DJSYSFLAGS environment
|
|
||||||
variable to change the way external commands are executed. See the
|
|
||||||
libc.inf file of DJGPP.
|
|
||||||
Under MS-Windows, when the executable ends in ".com" it must be
|
Under MS-Windows, when the executable ends in ".com" it must be
|
||||||
included. Thus setting the shell to "command.com" or "4dos.com"
|
included. Thus setting the shell to "command.com" or "4dos.com"
|
||||||
works, but "command" and "4dos" do not work for all commands (e.g.,
|
works, but "command" and "4dos" do not work for all commands (e.g.,
|
||||||
@ -6541,6 +6609,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'shelltemp' is off.
|
'shelltemp' is off.
|
||||||
The `system()` function does not respect this option and always uses
|
The `system()` function does not respect this option and always uses
|
||||||
temp files.
|
temp files.
|
||||||
|
NOTE: This option is set to the Vim default value when 'compatible'
|
||||||
|
is reset.
|
||||||
|
|
||||||
*'shelltype'* *'st'*
|
*'shelltype'* *'st'*
|
||||||
'shelltype' 'st' number (default 0)
|
'shelltype' 'st' number (default 0)
|
||||||
@ -6857,7 +6927,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
mapping: ":inoremap # X^H#", where ^H is entered with CTRL-V CTRL-H.
|
mapping: ":inoremap # X^H#", where ^H is entered with CTRL-V CTRL-H.
|
||||||
When using the ">>" command, lines starting with '#' are not shifted
|
When using the ">>" command, lines starting with '#' are not shifted
|
||||||
right.
|
right.
|
||||||
NOTE: 'smartindent' is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
This option is reset when 'paste' is set and restored when 'paste' is
|
This option is reset when 'paste' is set and restored when 'paste' is
|
||||||
reset.
|
reset.
|
||||||
|
|
||||||
@ -7045,7 +7115,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
word. The expression must evaluate to a List of
|
word. The expression must evaluate to a List of
|
||||||
Lists, each with a suggestion and a score.
|
Lists, each with a suggestion and a score.
|
||||||
Example:
|
Example:
|
||||||
[['the', 33], ['that', 44]]
|
[['the', 33], ['that', 44]] ~
|
||||||
Set 'verbose' and use |z=| to see the scores that the
|
Set 'verbose' and use |z=| to see the scores that the
|
||||||
internal methods use. A lower score is better.
|
internal methods use. A lower score is better.
|
||||||
This may invoke |spellsuggest()| if you temporarily
|
This may invoke |spellsuggest()| if you temporarily
|
||||||
@ -7512,6 +7582,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
ignore Ignore case
|
ignore Ignore case
|
||||||
match Match case
|
match Match case
|
||||||
smart Ignore case unless an upper case letter is used
|
smart Ignore case unless an upper case letter is used
|
||||||
|
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||||
|
set and to the Vim default value when 'compatible' is reset.
|
||||||
|
|
||||||
*'taglength'* *'tl'*
|
*'taglength'* *'tl'*
|
||||||
'taglength' 'tl' number (default 0)
|
'taglength' 'tl' number (default 0)
|
||||||
@ -7658,6 +7730,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
compatible terminal.
|
compatible terminal.
|
||||||
If setting this option does not work (produces a colorless UI)
|
If setting this option does not work (produces a colorless UI)
|
||||||
reading |xterm-true-color| might help.
|
reading |xterm-true-color| might help.
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'terse'* *'noterse'*
|
*'terse'* *'noterse'*
|
||||||
'terse' boolean (default off)
|
'terse' boolean (default off)
|
||||||
@ -8068,6 +8141,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The undo file is not read when 'undoreload' causes the buffer from
|
The undo file is not read when 'undoreload' causes the buffer from
|
||||||
before a reload to be saved for undo.
|
before a reload to be saved for undo.
|
||||||
When 'undofile' is turned off the undo file is NOT deleted.
|
When 'undofile' is turned off the undo file is NOT deleted.
|
||||||
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'undolevels'* *'ul'*
|
*'undolevels'* *'ul'*
|
||||||
'undolevels' 'ul' number (default 100, 1000 for Unix, VMS,
|
'undolevels' 'ul' number (default 100, 1000 for Unix, VMS,
|
||||||
@ -8323,6 +8397,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
|
|
||||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||||
security reasons.
|
security reasons.
|
||||||
|
NOTE: This option is set to the Vim default value when 'compatible'
|
||||||
|
is reset.
|
||||||
|
|
||||||
*'virtualedit'* *'ve'*
|
*'virtualedit'* *'ve'*
|
||||||
'virtualedit' 've' string (default "")
|
'virtualedit' 've' string (default "")
|
||||||
@ -8351,6 +8427,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The `g$` command will move to the end of the screen line.
|
The `g$` command will move to the end of the screen line.
|
||||||
It doesn't make sense to combine "all" with "onemore", but you will
|
It doesn't make sense to combine "all" with "onemore", but you will
|
||||||
not get a warning for it.
|
not get a warning for it.
|
||||||
|
NOTE: This option is set to "" when 'compatible' is set.
|
||||||
|
|
||||||
*'visualbell'* *'vb'* *'novisualbell'* *'novb'* *beep*
|
*'visualbell'* *'vb'* *'novisualbell'* *'novb'* *beep*
|
||||||
'visualbell' 'vb' boolean (default off)
|
'visualbell' 'vb' boolean (default off)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*pattern.txt* For Vim version 8.0. Last change: 2016 Sep 11
|
*pattern.txt* For Vim version 8.0. Last change: 2017 Mar 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -869,10 +869,13 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
|
|||||||
\%V Match inside the Visual area. When Visual mode has already been
|
\%V Match inside the Visual area. When Visual mode has already been
|
||||||
stopped match in the area that |gv| would reselect.
|
stopped match in the area that |gv| would reselect.
|
||||||
This is a |/zero-width| match. To make sure the whole pattern is
|
This is a |/zero-width| match. To make sure the whole pattern is
|
||||||
inside the Visual area put it at the start and end of the pattern,
|
inside the Visual area put it at the start and just before the end of
|
||||||
e.g.: >
|
the pattern, e.g.: >
|
||||||
|
/\%Vfoo.*ba\%Vr
|
||||||
|
< This also works if only "foo bar" was Visually selected. This: >
|
||||||
/\%Vfoo.*bar\%V
|
/\%Vfoo.*bar\%V
|
||||||
< Only works for the current buffer.
|
< would match "foo bar" if the Visual selection continues after the "r".
|
||||||
|
Only works for the current buffer.
|
||||||
|
|
||||||
*/\%#* *cursor-position*
|
*/\%#* *cursor-position*
|
||||||
\%# Matches with the cursor position. Only works when matching in a
|
\%# Matches with the cursor position. Only works when matching in a
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 8.0. Last change: 2016 Nov 04
|
*quickfix.txt* For Vim version 8.0. Last change: 2017 Mar 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -45,10 +45,13 @@ The 'errorformat' option should be set to match the error messages from your
|
|||||||
compiler (see |errorformat| below).
|
compiler (see |errorformat| below).
|
||||||
|
|
||||||
*location-list* *E776*
|
*location-list* *E776*
|
||||||
A location list is similar to a quickfix list and contains a list of positions
|
A location list is a window-local quickfix list. You get one after commands
|
||||||
in files. A location list is associated with a window and each window can
|
like `:lvimgrep`, `:lgrep`, `:lhelpgrep`, `:lmake`, etc., which create a
|
||||||
have a separate location list. A location list can be associated with only
|
location list instead of a quickfix list as the corresponding `:vimgrep`,
|
||||||
one window. The location list is independent of the quickfix list.
|
`:grep`, `:helpgrep`, `:make` do.
|
||||||
|
A location list is associated with a window and each window can have a
|
||||||
|
separate location list. A location list can be associated with only one
|
||||||
|
window. The location list is independent of the quickfix list.
|
||||||
|
|
||||||
When a window with a location list is split, the new window gets a copy of the
|
When a window with a location list is split, the new window gets a copy of the
|
||||||
location list. When there are no longer any references to a location list,
|
location list. When there are no longer any references to a location list,
|
||||||
@ -164,6 +167,9 @@ processing a quickfix or location list command, it will be aborted.
|
|||||||
keep Vim running while compiling. If you give the
|
keep Vim running while compiling. If you give the
|
||||||
name of the errorfile, the 'errorfile' option will
|
name of the errorfile, the 'errorfile' option will
|
||||||
be set to [errorfile]. See |:cc| for [!].
|
be set to [errorfile]. See |:cc| for [!].
|
||||||
|
If the encoding of the error file differs from the
|
||||||
|
'encoding' option, you can use the 'makeencoding'
|
||||||
|
option to specify the encoding.
|
||||||
|
|
||||||
*:lf* *:lfile*
|
*:lf* *:lfile*
|
||||||
:lf[ile][!] [errorfile] Same as ":cfile", except the location list for the
|
:lf[ile][!] [errorfile] Same as ":cfile", except the location list for the
|
||||||
@ -175,6 +181,9 @@ processing a quickfix or location list command, it will be aborted.
|
|||||||
: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.
|
||||||
|
If the encoding of the error file differs from the
|
||||||
|
'encoding' option, you can use the 'makeencoding'
|
||||||
|
option to specify the encoding.
|
||||||
|
|
||||||
|
|
||||||
:lg[etfile] [errorfile] *:lg* *:lgetfile*
|
:lg[etfile] [errorfile] *:lg* *:lgetfile*
|
||||||
@ -185,6 +194,9 @@ processing a quickfix or location list command, it will be aborted.
|
|||||||
:caddf[ile] [errorfile] Read the error file and add the errors from the
|
:caddf[ile] [errorfile] Read the error file and add the errors from the
|
||||||
errorfile to the current quickfix list. If a quickfix
|
errorfile to the current quickfix list. If a quickfix
|
||||||
list is not present, then a new list is created.
|
list is not present, then a new list is created.
|
||||||
|
If the encoding of the error file differs from the
|
||||||
|
'encoding' option, you can use the 'makeencoding'
|
||||||
|
option to specify the encoding.
|
||||||
|
|
||||||
*:laddf* *:laddfile*
|
*:laddf* *:laddfile*
|
||||||
:laddf[ile] [errorfile] Same as ":caddfile", except the location list for the
|
:laddf[ile] [errorfile] Same as ":caddfile", except the location list for the
|
||||||
@ -320,6 +332,7 @@ use this code: >
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
au QuickfixCmdPost make call QfMakeConv()
|
au QuickfixCmdPost make call QfMakeConv()
|
||||||
|
Another option is using 'makeencoding'.
|
||||||
|
|
||||||
|
|
||||||
EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
||||||
@ -586,6 +599,9 @@ lists, use ":cnewer 99" first.
|
|||||||
like |:cnext| and |:cprevious|, see above.
|
like |:cnext| and |:cprevious|, see above.
|
||||||
This command does not accept a comment, any "
|
This command does not accept a comment, any "
|
||||||
characters are considered part of the arguments.
|
characters are considered part of the arguments.
|
||||||
|
If the encoding of the program output differs from the
|
||||||
|
'encoding' option, you can use the 'makeencoding'
|
||||||
|
option to specify the encoding.
|
||||||
|
|
||||||
*:lmak* *:lmake*
|
*:lmak* *:lmake*
|
||||||
:lmak[e][!] [arguments]
|
:lmak[e][!] [arguments]
|
||||||
@ -645,6 +661,7 @@ read the error messages: >
|
|||||||
au QuickfixCmdPost make call QfMakeConv()
|
au QuickfixCmdPost make call QfMakeConv()
|
||||||
|
|
||||||
(Example by Faque Cheng)
|
(Example by Faque Cheng)
|
||||||
|
Another option is using 'makeencoding'.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. Using :vimgrep and :grep *grep* *lid*
|
5. Using :vimgrep and :grep *grep* *lid*
|
||||||
@ -759,6 +776,9 @@ id-utils) in a similar way to its compiler integration (see |:make| above).
|
|||||||
When 'grepprg' is "internal" this works like
|
When 'grepprg' is "internal" this works like
|
||||||
|:vimgrep|. Note that the pattern needs to be
|
|:vimgrep|. Note that the pattern needs to be
|
||||||
enclosed in separator characters then.
|
enclosed in separator characters then.
|
||||||
|
If the encoding of the program output differs from the
|
||||||
|
'encoding' option, you can use the 'makeencoding'
|
||||||
|
option to specify the encoding.
|
||||||
|
|
||||||
*:lgr* *:lgrep*
|
*:lgr* *:lgrep*
|
||||||
:lgr[ep][!] [arguments] Same as ":grep", except the location list for the
|
:lgr[ep][!] [arguments] Same as ":grep", except the location list for the
|
||||||
@ -783,6 +803,10 @@ id-utils) in a similar way to its compiler integration (see |:make| above).
|
|||||||
\ | catch /E480:/
|
\ | catch /E480:/
|
||||||
\ | endtry"
|
\ | endtry"
|
||||||
<
|
<
|
||||||
|
If the encoding of the program output differs from the
|
||||||
|
'encoding' option, you can use the 'makeencoding'
|
||||||
|
option to specify the encoding.
|
||||||
|
|
||||||
*:lgrepa* *:lgrepadd*
|
*:lgrepa* *:lgrepadd*
|
||||||
:lgrepa[dd][!] [arguments]
|
:lgrepa[dd][!] [arguments]
|
||||||
Same as ":grepadd", except the location list for the
|
Same as ":grepadd", except the location list for the
|
||||||
@ -1399,7 +1423,7 @@ prints information about entering a directory in the form "Making all in dir".
|
|||||||
Making all in dir2 ./dir1/dir2
|
Making all in dir2 ./dir1/dir2
|
||||||
|
|
||||||
This can be solved by printing absolute directories in the "enter directory"
|
This can be solved by printing absolute directories in the "enter directory"
|
||||||
message or by printing "leave directory" messages..
|
message or by printing "leave directory" messages.
|
||||||
|
|
||||||
To avoid this problem, ensure to print absolute directory names and "leave
|
To avoid this problem, ensure to print absolute directory names and "leave
|
||||||
directory" messages.
|
directory" messages.
|
||||||
|
@ -782,6 +782,7 @@ Short explanation of each option: *option-list*
|
|||||||
'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"
|
||||||
|
'makeencoding' 'menc' encoding of external make/grep commands
|
||||||
'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
|
||||||
|
@ -221,7 +221,7 @@ past its buffer's limits.
|
|||||||
However, if a 'scrollbind' window that has a relative offset that is past its
|
However, if a 'scrollbind' window that has a relative offset that is past its
|
||||||
buffer's limits is given the cursor focus, the other 'scrollbind' windows must
|
buffer's limits is given the cursor focus, the other 'scrollbind' windows must
|
||||||
jump to a location where the current window's relative offset is valid. This
|
jump to a location where the current window's relative offset is valid. This
|
||||||
behavior can be changed by clearing the 'jump' flag from the 'scrollopt'
|
behavior can be changed by clearing the "jump" flag from the 'scrollopt'
|
||||||
option.
|
option.
|
||||||
|
|
||||||
*syncbind* *:syncbind* *:sync*
|
*syncbind* *:syncbind* *:sync*
|
||||||
|
@ -2646,9 +2646,9 @@ later, and part earlier) adds.
|
|||||||
|
|
||||||
RESTRUCTURED TEXT *rst.vim* *ft-rst-syntax*
|
RESTRUCTURED TEXT *rst.vim* *ft-rst-syntax*
|
||||||
|
|
||||||
You may set what syntax definitions should be used for code blocks via
|
You may set what syntax definitions should be used for code blocks via >
|
||||||
let rst_syntax_code_list = ['vim', 'lisp', ...]
|
let rst_syntax_code_list = ['vim', 'lisp', ...]
|
||||||
|
<
|
||||||
|
|
||||||
REXX *rexx.vim* *ft-rexx-syntax*
|
REXX *rexx.vim* *ft-rexx-syntax*
|
||||||
|
|
||||||
|
@ -427,6 +427,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'macatsui' options.txt /*'macatsui'*
|
'macatsui' options.txt /*'macatsui'*
|
||||||
'magic' options.txt /*'magic'*
|
'magic' options.txt /*'magic'*
|
||||||
'makeef' options.txt /*'makeef'*
|
'makeef' options.txt /*'makeef'*
|
||||||
|
'makeencoding' options.txt /*'makeencoding'*
|
||||||
'makeprg' options.txt /*'makeprg'*
|
'makeprg' options.txt /*'makeprg'*
|
||||||
'mat' options.txt /*'mat'*
|
'mat' options.txt /*'mat'*
|
||||||
'matchpairs' options.txt /*'matchpairs'*
|
'matchpairs' options.txt /*'matchpairs'*
|
||||||
@ -439,6 +440,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'maxmemtot' options.txt /*'maxmemtot'*
|
'maxmemtot' options.txt /*'maxmemtot'*
|
||||||
'mco' options.txt /*'mco'*
|
'mco' options.txt /*'mco'*
|
||||||
'mef' options.txt /*'mef'*
|
'mef' options.txt /*'mef'*
|
||||||
|
'menc' options.txt /*'menc'*
|
||||||
'menuitems' options.txt /*'menuitems'*
|
'menuitems' options.txt /*'menuitems'*
|
||||||
'mesg' vi_diff.txt /*'mesg'*
|
'mesg' vi_diff.txt /*'mesg'*
|
||||||
'mfd' options.txt /*'mfd'*
|
'mfd' options.txt /*'mfd'*
|
||||||
@ -965,6 +967,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
't_KJ' term.txt /*'t_KJ'*
|
't_KJ' term.txt /*'t_KJ'*
|
||||||
't_KK' term.txt /*'t_KK'*
|
't_KK' term.txt /*'t_KK'*
|
||||||
't_KL' term.txt /*'t_KL'*
|
't_KL' term.txt /*'t_KL'*
|
||||||
|
't_PE' term.txt /*'t_PE'*
|
||||||
|
't_PS' term.txt /*'t_PS'*
|
||||||
't_RB' term.txt /*'t_RB'*
|
't_RB' term.txt /*'t_RB'*
|
||||||
't_RI' term.txt /*'t_RI'*
|
't_RI' term.txt /*'t_RI'*
|
||||||
't_RV' term.txt /*'t_RV'*
|
't_RV' term.txt /*'t_RV'*
|
||||||
@ -4500,6 +4504,7 @@ E937 autocmd.txt /*E937*
|
|||||||
E938 eval.txt /*E938*
|
E938 eval.txt /*E938*
|
||||||
E939 change.txt /*E939*
|
E939 change.txt /*E939*
|
||||||
E94 windows.txt /*E94*
|
E94 windows.txt /*E94*
|
||||||
|
E940 eval.txt /*E940*
|
||||||
E95 message.txt /*E95*
|
E95 message.txt /*E95*
|
||||||
E96 diff.txt /*E96*
|
E96 diff.txt /*E96*
|
||||||
E97 diff.txt /*E97*
|
E97 diff.txt /*E97*
|
||||||
@ -5071,6 +5076,7 @@ backup-changed version4.txt /*backup-changed*
|
|||||||
backup-extension version4.txt /*backup-extension*
|
backup-extension version4.txt /*backup-extension*
|
||||||
backup-table editing.txt /*backup-table*
|
backup-table editing.txt /*backup-table*
|
||||||
balloon-eval debugger.txt /*balloon-eval*
|
balloon-eval debugger.txt /*balloon-eval*
|
||||||
|
balloon_show() eval.txt /*balloon_show()*
|
||||||
bar motion.txt /*bar*
|
bar motion.txt /*bar*
|
||||||
bars help.txt /*bars*
|
bars help.txt /*bars*
|
||||||
base_font_name_list mbyte.txt /*base_font_name_list*
|
base_font_name_list mbyte.txt /*base_font_name_list*
|
||||||
@ -5344,6 +5350,7 @@ cino-: indent.txt /*cino-:*
|
|||||||
cino-= indent.txt /*cino-=*
|
cino-= indent.txt /*cino-=*
|
||||||
cino-> indent.txt /*cino->*
|
cino-> indent.txt /*cino->*
|
||||||
cino-C indent.txt /*cino-C*
|
cino-C indent.txt /*cino-C*
|
||||||
|
cino-E indent.txt /*cino-E*
|
||||||
cino-J indent.txt /*cino-J*
|
cino-J indent.txt /*cino-J*
|
||||||
cino-L indent.txt /*cino-L*
|
cino-L indent.txt /*cino-L*
|
||||||
cino-M indent.txt /*cino-M*
|
cino-M indent.txt /*cino-M*
|
||||||
@ -7883,6 +7890,7 @@ python-bindeval if_pyth.txt /*python-bindeval*
|
|||||||
python-bindeval-objects if_pyth.txt /*python-bindeval-objects*
|
python-bindeval-objects if_pyth.txt /*python-bindeval-objects*
|
||||||
python-buffer if_pyth.txt /*python-buffer*
|
python-buffer if_pyth.txt /*python-buffer*
|
||||||
python-buffers if_pyth.txt /*python-buffers*
|
python-buffers if_pyth.txt /*python-buffers*
|
||||||
|
python-building if_pyth.txt /*python-building*
|
||||||
python-chdir if_pyth.txt /*python-chdir*
|
python-chdir if_pyth.txt /*python-chdir*
|
||||||
python-command if_pyth.txt /*python-command*
|
python-command if_pyth.txt /*python-command*
|
||||||
python-commands if_pyth.txt /*python-commands*
|
python-commands if_pyth.txt /*python-commands*
|
||||||
@ -8732,20 +8740,23 @@ termcap-options term.txt /*termcap-options*
|
|||||||
termcap-title term.txt /*termcap-title*
|
termcap-title term.txt /*termcap-title*
|
||||||
terminal-colors os_unix.txt /*terminal-colors*
|
terminal-colors os_unix.txt /*terminal-colors*
|
||||||
terminal-info term.txt /*terminal-info*
|
terminal-info term.txt /*terminal-info*
|
||||||
|
terminal-key-codes term.txt /*terminal-key-codes*
|
||||||
terminal-options term.txt /*terminal-options*
|
terminal-options term.txt /*terminal-options*
|
||||||
|
terminal-output-codes term.txt /*terminal-output-codes*
|
||||||
terminfo term.txt /*terminfo*
|
terminfo term.txt /*terminfo*
|
||||||
termresponse-variable eval.txt /*termresponse-variable*
|
termresponse-variable eval.txt /*termresponse-variable*
|
||||||
test-functions usr_41.txt /*test-functions*
|
test-functions usr_41.txt /*test-functions*
|
||||||
test_alloc_fail() eval.txt /*test_alloc_fail()*
|
test_alloc_fail() eval.txt /*test_alloc_fail()*
|
||||||
test_autochdir() eval.txt /*test_autochdir()*
|
test_autochdir() eval.txt /*test_autochdir()*
|
||||||
test_disable_char_avail() eval.txt /*test_disable_char_avail()*
|
|
||||||
test_garbagecollect_now() eval.txt /*test_garbagecollect_now()*
|
test_garbagecollect_now() eval.txt /*test_garbagecollect_now()*
|
||||||
|
test_ignore_error() eval.txt /*test_ignore_error()*
|
||||||
test_null_channel() eval.txt /*test_null_channel()*
|
test_null_channel() eval.txt /*test_null_channel()*
|
||||||
test_null_dict() eval.txt /*test_null_dict()*
|
test_null_dict() eval.txt /*test_null_dict()*
|
||||||
test_null_job() eval.txt /*test_null_job()*
|
test_null_job() eval.txt /*test_null_job()*
|
||||||
test_null_list() eval.txt /*test_null_list()*
|
test_null_list() eval.txt /*test_null_list()*
|
||||||
test_null_partial() eval.txt /*test_null_partial()*
|
test_null_partial() eval.txt /*test_null_partial()*
|
||||||
test_null_string() eval.txt /*test_null_string()*
|
test_null_string() eval.txt /*test_null_string()*
|
||||||
|
test_override() eval.txt /*test_override()*
|
||||||
test_settime() eval.txt /*test_settime()*
|
test_settime() eval.txt /*test_settime()*
|
||||||
testing eval.txt /*testing*
|
testing eval.txt /*testing*
|
||||||
testing-variable eval.txt /*testing-variable*
|
testing-variable eval.txt /*testing-variable*
|
||||||
|
@ -252,7 +252,7 @@ But any non-empty string means that the flag is set. An empty string means
|
|||||||
that the flag is not set. 't_CS' works like this too, but it isn't a termcap
|
that the flag is not set. 't_CS' works like this too, but it isn't a termcap
|
||||||
flag.
|
flag.
|
||||||
|
|
||||||
OUTPUT CODES
|
OUTPUT CODES *terminal-output-codes*
|
||||||
option meaning ~
|
option meaning ~
|
||||||
|
|
||||||
t_AB set background color (ANSI) *t_AB* *'t_AB'*
|
t_AB set background color (ANSI) *t_AB* *'t_AB'*
|
||||||
@ -333,7 +333,7 @@ Added by Vim (there are no standard codes for these):
|
|||||||
t_BD disable bracketed paste mode *t_BD* *'t_BD'*
|
t_BD disable bracketed paste mode *t_BD* *'t_BD'*
|
||||||
|xterm-bracketed-paste|
|
|xterm-bracketed-paste|
|
||||||
|
|
||||||
KEY CODES
|
KEY CODES *terminal-key-codes*
|
||||||
Note: Use the <> form if possible
|
Note: Use the <> form if possible
|
||||||
|
|
||||||
option name meaning ~
|
option name meaning ~
|
||||||
@ -424,8 +424,9 @@ Note: Use the <> form if possible
|
|||||||
t_KK <k8> keypad 8 *<k8>* *t_KK* *'t_KK'*
|
t_KK <k8> keypad 8 *<k8>* *t_KK* *'t_KK'*
|
||||||
t_KL <k9> keypad 9 *<k9>* *t_KL* *'t_KL'*
|
t_KL <k9> keypad 9 *<k9>* *t_KL* *'t_KL'*
|
||||||
<Mouse> leader of mouse code *<Mouse>*
|
<Mouse> leader of mouse code *<Mouse>*
|
||||||
t_PS start of bracketed paste |xterm-bracketed-paste| *t_PS* 't_PS'
|
*t_PS* *'t_PS'*
|
||||||
t_PE end of bracketed paste |xterm-bracketed-paste| *t_PE* 't_PE'
|
t_PS start of bracketed paste |xterm-bracketed-paste|
|
||||||
|
t_PE end of bracketed paste |xterm-bracketed-paste| *t_PE* *'t_PE'*
|
||||||
|
|
||||||
Note about t_so and t_mr: When the termcap entry "so" is not present the
|
Note about t_so and t_mr: When the termcap entry "so" is not present the
|
||||||
entry for "mr" is used. And vice versa. The same is done for "se" and "me".
|
entry for "mr" is used. And vice versa. The same is done for "se" and "me".
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 8.0. Last change: 2017 Feb 17
|
*todo.txt* For Vim version 8.0. Last change: 2017 Mar 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -35,16 +35,11 @@ entered there will not be repeated below, unless there is extra information.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
Patch 195 introduced a regression in tag priority. (Charles Campbell, 2017 Feb
|
Using "g<" after ":for x in [1,2,3]|echom x|endfor" looks wrong. (Marcin
|
||||||
10)
|
Szamotulski, 2017 Mar 12)
|
||||||
|
Also, using Ctrl-C clears the last part.
|
||||||
|
|
||||||
Memory leak in test97?
|
Test 45 fails on MS-Windows only before resetting 'sw'. Why?
|
||||||
|
|
||||||
exists('&t_k1') returns false even when t_k1 was set.
|
|
||||||
Use in test_assign.vim to only get value of &t_k1 if it exists. #1459
|
|
||||||
|
|
||||||
test_gui fails with Athena:
|
|
||||||
Caught exception in Test_1_set_secure(): Vim(gui):E285: Failed to create input context @ function RunTheTest[21]..Test_1_set_secure, line 2
|
|
||||||
|
|
||||||
+channel:
|
+channel:
|
||||||
- Try out background make plugin:
|
- Try out background make plugin:
|
||||||
@ -116,6 +111,19 @@ Regexp problems:
|
|||||||
- Difference between two engines: ".*\zs\/\@>\/" on text "///"
|
- Difference between two engines: ".*\zs\/\@>\/" on text "///"
|
||||||
(Chris Paul, 2016 Nov 13) New engine not greedy enough?
|
(Chris Paul, 2016 Nov 13) New engine not greedy enough?
|
||||||
|
|
||||||
|
Running test_gui and test_gui_init with Motif sometimes kills the window
|
||||||
|
manager. Problem with Motif?
|
||||||
|
|
||||||
|
Memory leak in test97? The string is actually freed. Weird.
|
||||||
|
|
||||||
|
Include rust files. Got all permissions?
|
||||||
|
|
||||||
|
dict_add_list and dict_add_dict may free item when failing. (2017 Mar 12,
|
||||||
|
Nikolai Pavlov, #1555)
|
||||||
|
|
||||||
|
Patch to add buffer name argument to taglist().
|
||||||
|
Ordering of tags in result of taglist call. (Duncan McDougall, #1194)
|
||||||
|
|
||||||
Add a toolbar in the terminal. Can be global, above all windows, or specific
|
Add a toolbar in the terminal. Can be global, above all windows, or specific
|
||||||
for one window.
|
for one window.
|
||||||
Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
|
Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
|
||||||
@ -127,79 +135,49 @@ What if there is an invalid character?
|
|||||||
|
|
||||||
Json string with trailing \u should be an error. (Lcd)
|
Json string with trailing \u should be an error. (Lcd)
|
||||||
|
|
||||||
Patch for double free setting 'ttytype' (Dominique, 2017 Feb 10, #1461)
|
On MS-Windows with 'clipboard' set to "unnamed" this doesn't work to double
|
||||||
|
lines: :g/^/normal yyp On Unix it works OK. (Bryce Orgill, 2016 Nov 5)
|
||||||
Patch for using uninitialized memory (Dominique, 2017 Feb 11, #1464)
|
Another example 2017 Mar 10.
|
||||||
|
|
||||||
Patch for crash setting 'guicursor'. (Dominique, 2017 Feb 11, #1465)
|
|
||||||
|
|
||||||
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
|
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
|
||||||
|
|
||||||
Patch to add test for 'number' and 'relativenumber'. (Ozaki Kiichi, #1447)
|
|
||||||
Now merged in test89 (Feb 12)
|
|
||||||
|
|
||||||
Patch to fix tabline redraw. (Christian Brabandt, 2017 Feb 10)
|
|
||||||
Better way to fix this?
|
|
||||||
|
|
||||||
When session file has name in argument list but the buffer was deleted, the
|
When session file has name in argument list but the buffer was deleted, the
|
||||||
buffer is not deleted when using the session file. (#1393)
|
buffer is not deleted when using the session file. (#1393)
|
||||||
Should add the buffer in hidden state.
|
Should add the buffer in hidden state.
|
||||||
|
|
||||||
Patch to change VimL to "Vim script". (Hirohito Higashi, 2017 Feb 14)
|
|
||||||
|
|
||||||
Invalid memory access with :normal command. (Dominique Pelle, 2017 Feb 14)
|
|
||||||
|
|
||||||
When "gf" excludes following ":99", jump to line 99.
|
|
||||||
Also when editing a file foo.txt:99 ?
|
|
||||||
|
|
||||||
When an item in the quickfix list has a file name that does not exist, behave
|
When an item in the quickfix list has a file name that does not exist, behave
|
||||||
like the item was not a match for :cnext.
|
like the item was not a match for :cnext.
|
||||||
|
|
||||||
Patch for warning about integer overflow in undo.c (King, 2017 Feb 12)
|
Patch to test regexp classes. (Dominique, 2017 Mar 13, #1560)
|
||||||
And another similar one.
|
Do we need to adjust the implementation?
|
||||||
|
Make different classes that depend on the system and that don't.
|
||||||
Patch for null pointer use in undo.c (King, 2017 Feb 12)
|
|
||||||
|
|
||||||
Patch to avoid using CTRL-O when do_cmdline_cmd is called. (James McCoy, 2017
|
|
||||||
Feb 7, #1453)
|
|
||||||
|
|
||||||
Patch for multi-byte line wrap. (Ozaki Kiichi, 2017 Feb 7, #1456)
|
|
||||||
|
|
||||||
Patch to show balloon with a function. (Jusufadis Bakamovic, #1449)
|
|
||||||
|
|
||||||
Wrong diff highlighting with three files. (2016 Oct 20, #1186)
|
Wrong diff highlighting with three files. (2016 Oct 20, #1186)
|
||||||
Also get E749 on exit.
|
Also get E749 on exit.
|
||||||
Another example in #1309
|
Another example in #1309
|
||||||
|
|
||||||
|
Patch to change all use of &sw to shiftwidth(). (Tyru, 2017 Feb 19)
|
||||||
|
Wait until maintainers integrate it.
|
||||||
|
|
||||||
Completion for user-defined commands does not work if a few characters were
|
Completion for user-defined commands does not work if a few characters were
|
||||||
already typed. (Dominique, 2017 Jan 26)
|
already typed. (Dominique, 2017 Jan 26)
|
||||||
|
|
||||||
Patch for nsis script to add a dll file. (Christian Brabandt, 2017 Feb 10)
|
|
||||||
Also include the .dll file?
|
|
||||||
|
|
||||||
Patch for capitalizations in menus. (Zhen-Huan Hu, 2017 Feb 9)
|
|
||||||
|
|
||||||
When deleting a mark or register, leave a tombstone, so that it's also deleted
|
When deleting a mark or register, leave a tombstone, so that it's also deleted
|
||||||
when writing viminfo (and the delete was the most recent action). #1339
|
when writing viminfo (and the delete was the most recent action). #1339
|
||||||
|
|
||||||
Patch for better explanation of 'compatible' side effects.
|
|
||||||
https://github.com/vim/vim/pull/1161/files
|
|
||||||
|
|
||||||
Patch to add 'makeencoding', useful when the system encoding differs from
|
|
||||||
Vim's 'encoding' setting. (Ken Takata, 2017 Jan 31)
|
|
||||||
|
|
||||||
Patch to adjust marks when adding a new line to the end of buffer in diff
|
|
||||||
mode. (James McCoy, 2016 Dec 14, #1329)
|
|
||||||
|
|
||||||
Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15,
|
Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15,
|
||||||
#1330)
|
#1330)
|
||||||
|
|
||||||
Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
|
Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
|
||||||
|
|
||||||
Patch to fix that test87 fails on Arch Linux. (Jesin, 2017 Feb 10)
|
|
||||||
|
|
||||||
Completion for :!cmd shows each match twice. #1435
|
Completion for :!cmd shows each match twice. #1435
|
||||||
|
|
||||||
|
GTK: When adding a timer from 'balloonexpr' it won't fire, because
|
||||||
|
g_main_context_iteration() doesn't return. Need to trigger an event when the
|
||||||
|
timer expires.
|
||||||
|
|
||||||
|
Screen update bug related to matchparen. (Chris Heath, 2017 Mar 4, #1532)
|
||||||
|
|
||||||
Rule to use "^" for statusline does not work if a space is defined with
|
Rule to use "^" for statusline does not work if a space is defined with
|
||||||
highlighting for both stl and stlnc. Patch by Ken Hamada (itchyny, 2016 Dec 11)
|
highlighting for both stl and stlnc. Patch by Ken Hamada (itchyny, 2016 Dec 11)
|
||||||
|
|
||||||
@ -209,14 +187,18 @@ highlighting for both stl and stlnc. Patch by Ken Hamada (itchyny, 2016 Dec 11)
|
|||||||
Using CTRL-G_U in InsertCharPre causes trouble for redo. (Israel Chauca
|
Using CTRL-G_U in InsertCharPre causes trouble for redo. (Israel Chauca
|
||||||
Fuentes, 2017 Feb 12, #1470)
|
Fuentes, 2017 Feb 12, #1470)
|
||||||
|
|
||||||
|
Check for errors E704 and E705 only does VAR_FUNC, should also do VAR_PARTIAL.
|
||||||
|
(Nikolai Pavlov, 2017 Mar 13, #1557)
|
||||||
|
Make a function to check for function-like type?
|
||||||
|
|
||||||
Screen updated delayed when using CTRL-O u in Insert mode.
|
Screen updated delayed when using CTRL-O u in Insert mode.
|
||||||
(Barlik, #1191) Perhaps because status message?
|
(Barlik, #1191) Perhaps because status message?
|
||||||
|
|
||||||
Patch to add buffer name argument to taglist().
|
Implement optional arguments for functions.
|
||||||
Ordering of tags in result of taglist call. (Duncan McDougall, #1194)
|
func Foo(start, count = 1 all = 1)
|
||||||
|
call Foo(12)
|
||||||
Patch to fix that b_ind_has_comment is not correctly reset. (Christian
|
call Foo(12, all = 0)
|
||||||
Brabandt, 2017 Feb 14, closes #1475)
|
call Foo(12, 15, 0)
|
||||||
|
|
||||||
writefile() does not abort as soon as an error is found. (Nikolai Pavlov,
|
writefile() does not abort as soon as an error is found. (Nikolai Pavlov,
|
||||||
2017 Feb 14, #1476)
|
2017 Feb 14, #1476)
|
||||||
@ -255,24 +237,30 @@ MS-Windows. Perhaps in \# the \ is seen as a path separator. (Axel Bender,
|
|||||||
2017 Feb 9) Can we expand wildcards first and send the path literally to the
|
2017 Feb 9) Can we expand wildcards first and send the path literally to the
|
||||||
receiving Vim? Or make an exception for #, it's not useful remotely.
|
receiving Vim? Or make an exception for #, it's not useful remotely.
|
||||||
|
|
||||||
|
":sbr" docs state it respect 'switchbuf', but "vsplit" does not cause a
|
||||||
|
vertical split. (Haldean Brown, 2017 Mar 1)
|
||||||
|
|
||||||
Use ADDR_OTHER instead of ADDR_LINES for many more commands.
|
Use ADDR_OTHER instead of ADDR_LINES for many more commands.
|
||||||
Add tests for using number larger than number of lines in buffer.
|
Add tests for using number larger than number of lines in buffer.
|
||||||
|
|
||||||
|
Might be useful to have isreadonly(), like we have islocked().
|
||||||
|
Avoids exceptions, e.g. when using the b: namespace as a dict.
|
||||||
|
|
||||||
Patch to make v:shell_error writable. (Christian Brabandt, 2016 Sep 27)
|
Patch to make v:shell_error writable. (Christian Brabandt, 2016 Sep 27)
|
||||||
Useful to restore it. Is there another solution?
|
Useful to restore it. Is there another solution?
|
||||||
|
|
||||||
"ci[" does not look for next [ like ci" does look for next ".
|
"ci[" does not look for next [ like ci" does look for next ".
|
||||||
(J.F. 2017 Jan 7)
|
(J.F. 2017 Jan 7)
|
||||||
|
|
||||||
On MS-Windows with 'clipboard' set to "unnamed" this doesn't work to double
|
|
||||||
lines: :g/^/normal yyp On Unix it works OK. (Bryce Orgill, 2016 Nov 5)
|
|
||||||
|
|
||||||
Patch for wrong cursor position on wrapped line, involving breakindent.
|
Patch for wrong cursor position on wrapped line, involving breakindent.
|
||||||
(Ozaki Kiichi, 2016 Nov 25)
|
(Ozaki Kiichi, 2016 Nov 25)
|
||||||
Does this also fix #1408 ?
|
Does this also fix #1408 ?
|
||||||
|
|
||||||
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
||||||
|
|
||||||
|
Window resizing with 'winfixheight': With a vertical split the height changes
|
||||||
|
anyway. (Tommy allen, 2017 Feb 21, #1502)
|
||||||
|
|
||||||
When adding an item to a new quickfix list make ":cnext" jump to that item.
|
When adding an item to a new quickfix list make ":cnext" jump to that item.
|
||||||
Make a difference being at the first item and not having used :cnext at all.
|
Make a difference being at the first item and not having used :cnext at all.
|
||||||
(Afanasiy Fet, 2017 Jan 3)
|
(Afanasiy Fet, 2017 Jan 3)
|
||||||
@ -285,9 +273,6 @@ Patch to make it possible to extend a list with itself.
|
|||||||
|
|
||||||
Patch to add Zstandard compressed file support. (Nick Terrell, 2016 Oct 24)
|
Patch to add Zstandard compressed file support. (Nick Terrell, 2016 Oct 24)
|
||||||
|
|
||||||
Patch to add new regexp classes :ident:, :keyword:, :fname:.
|
|
||||||
(ichizok, 2016 Jan 12, #1373)
|
|
||||||
|
|
||||||
Patch to add trim() function. (Bukn, 2016 Nov 25, #1280)
|
Patch to add trim() function. (Bukn, 2016 Nov 25, #1280)
|
||||||
|
|
||||||
Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275)
|
Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275)
|
||||||
@ -461,6 +446,9 @@ Add stronger encryption. Could use libsodium (NaCl).
|
|||||||
https://github.com/jedisct1/libsodium/
|
https://github.com/jedisct1/libsodium/
|
||||||
Possibly include the needed code so that it can be build everywhere.
|
Possibly include the needed code so that it can be build everywhere.
|
||||||
|
|
||||||
|
Add a way to restart a timer. It's similar to timer_stop() and timer_start(),
|
||||||
|
but the reference remains valid.
|
||||||
|
|
||||||
Patch to add setbufline(). (email from Yasuhiro Matsumoto, patch by Ozaki
|
Patch to add setbufline(). (email from Yasuhiro Matsumoto, patch by Ozaki
|
||||||
Kiichi, 2016 Feb 28)
|
Kiichi, 2016 Feb 28)
|
||||||
Update Mar 8: https://gist.github.com/mattn/23c1f50999084992ca98
|
Update Mar 8: https://gist.github.com/mattn/23c1f50999084992ca98
|
||||||
@ -1082,6 +1070,9 @@ Patch for :tabcloseleft, after closing a tab go to left tab. (William Bowers,
|
|||||||
Patch to improve equivalence classes in regexp patterns.
|
Patch to improve equivalence classes in regexp patterns.
|
||||||
(Christian Brabandt, 2013 Jan 16, update Jan 17)
|
(Christian Brabandt, 2013 Jan 16, update Jan 17)
|
||||||
|
|
||||||
|
Patch to add new regexp classes :ident:, :keyword:, :fname:.
|
||||||
|
(ichizok, 2016 Jan 12, #1373)
|
||||||
|
|
||||||
Patch with suggestions for starting.txt. (Tony Mechelynck, 2012 Oct 24)
|
Patch with suggestions for starting.txt. (Tony Mechelynck, 2012 Oct 24)
|
||||||
But use Gnome instead of GTK?
|
But use Gnome instead of GTK?
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*usr_02.txt* For Vim version 8.0. Last change: 2016 Jan 16
|
*usr_02.txt* For Vim version 8.0. Last change: 2017 Mar 14
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@ -554,7 +554,7 @@ Summary: *help-summary* >
|
|||||||
8) Ex-commands always start with ":", so to go to the :s command help: >
|
8) Ex-commands always start with ":", so to go to the :s command help: >
|
||||||
:help :s
|
:help :s
|
||||||
|
|
||||||
9) Commands specifically for debugging start with ">". To go to to the help
|
9) Commands specifically for debugging start with ">". To go to the help
|
||||||
for the "cont" debug command: >
|
for the "cont" debug command: >
|
||||||
:help >cont
|
:help >cont
|
||||||
|
|
||||||
@ -663,7 +663,7 @@ Summary: *help-summary* >
|
|||||||
22) Autocommand events can be found by their name: >
|
22) Autocommand events can be found by their name: >
|
||||||
:help BufWinLeave
|
:help BufWinLeave
|
||||||
< To see all possible events: >
|
< To see all possible events: >
|
||||||
:help autocommands-events
|
:help autocommand-events
|
||||||
|
|
||||||
23) Command-line switches always start with "-". So for the help of the -f
|
23) Command-line switches always start with "-". So for the help of the -f
|
||||||
command switch of Vim use: >
|
command switch of Vim use: >
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 8.0. Last change: 2016 Nov 29
|
*usr_41.txt* For Vim version 8.0. Last change: 2017 Mar 09
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ Then there is the ":let i += 1" command. This does the same thing as
|
|||||||
to the same variable.
|
to the same variable.
|
||||||
|
|
||||||
The example was given to explain the commands, but would you really want to
|
The example was given to explain the commands, but would you really want to
|
||||||
make such a loop it can be written much more compact: >
|
make such a loop, it can be written much more compact: >
|
||||||
|
|
||||||
:for i in range(1, 4)
|
:for i in range(1, 4)
|
||||||
: echo "count is" i
|
: echo "count is" i
|
||||||
@ -693,6 +693,7 @@ Other computation: *bitwise-function*
|
|||||||
Variables: *var-functions*
|
Variables: *var-functions*
|
||||||
type() type of a variable
|
type() type of a variable
|
||||||
islocked() check if a variable is locked
|
islocked() check if a variable is locked
|
||||||
|
funcref() get a Funcref for a function reference
|
||||||
function() get a Funcref for a function name
|
function() get a Funcref for a function name
|
||||||
getbufvar() get a variable value from a specific buffer
|
getbufvar() get a variable value from a specific buffer
|
||||||
setbufvar() set a variable in a specific buffer
|
setbufvar() set a variable in a specific buffer
|
||||||
@ -884,6 +885,7 @@ GUI: *gui-functions*
|
|||||||
getfontname() get name of current font being used
|
getfontname() get name of current font being used
|
||||||
getwinposx() X position of the GUI Vim window
|
getwinposx() X position of the GUI Vim window
|
||||||
getwinposy() Y position of the GUI Vim window
|
getwinposy() Y position of the GUI Vim window
|
||||||
|
balloon_show() set the balloon content
|
||||||
|
|
||||||
Vim server: *server-functions*
|
Vim server: *server-functions*
|
||||||
serverlist() return the list of server names
|
serverlist() return the list of server names
|
||||||
@ -920,14 +922,16 @@ Testing: *test-functions*
|
|||||||
assert_fails() assert that a function call fails
|
assert_fails() assert that a function call fails
|
||||||
test_alloc_fail() make memory allocation fail
|
test_alloc_fail() make memory allocation fail
|
||||||
test_autochdir() enable 'autochdir' during startup
|
test_autochdir() enable 'autochdir' during startup
|
||||||
test_disable_char_avail() test without typeahead
|
test_override() test with Vim internal overrides
|
||||||
test_garbagecollect_now() free memory right now
|
test_garbagecollect_now() free memory right now
|
||||||
|
test_ignore_error() ignore a specific error message
|
||||||
test_null_channel() return a null Channel
|
test_null_channel() return a null Channel
|
||||||
test_null_dict() return a null Dict
|
test_null_dict() return a null Dict
|
||||||
test_null_job() return a null Job
|
test_null_job() return a null Job
|
||||||
test_null_list() return a null List
|
test_null_list() return a null List
|
||||||
test_null_partial() return a null Partial function
|
test_null_partial() return a null Partial function
|
||||||
test_null_string() return a null String
|
test_null_string() return a null String
|
||||||
|
test_settime() set the time Vim uses internally
|
||||||
|
|
||||||
Inter-process communication: *channel-functions*
|
Inter-process communication: *channel-functions*
|
||||||
ch_canread() check if there is something to read
|
ch_canread() check if there is something to read
|
||||||
@ -1588,7 +1592,7 @@ WHITE SPACE
|
|||||||
Blank lines are allowed and ignored.
|
Blank lines are allowed and ignored.
|
||||||
|
|
||||||
Leading whitespace characters (blanks and TABs) are always ignored. The
|
Leading whitespace characters (blanks and TABs) are always ignored. The
|
||||||
whitespaces between parameters (e.g. between the 'set' and the 'cpoptions' in
|
whitespaces between parameters (e.g. between the "set" and the "cpoptions" in
|
||||||
the example below) are reduced to one blank character and plays the role of a
|
the example below) are reduced to one blank character and plays the role of a
|
||||||
separator, the whitespaces after the last (visible) character may or may not
|
separator, the whitespaces after the last (visible) character may or may not
|
||||||
be ignored depending on the situation, see below.
|
be ignored depending on the situation, see below.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*various.txt* For Vim version 8.0. Last change: 2016 Sep 06
|
*various.txt* For Vim version 8.0. Last change: 2017 Feb 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -527,12 +527,14 @@ N *+X11* Unix only: can restore window title |X11|
|
|||||||
:redi[r] END End redirecting messages. {not in Vi}
|
:redi[r] END End redirecting messages. {not in Vi}
|
||||||
|
|
||||||
*:filt* *:filter*
|
*:filt* *:filter*
|
||||||
:filt[er] {pat} {command}
|
:filt[er][!] {pat} {command}
|
||||||
:filt[er] /{pat}/ {command}
|
:filt[er][!] /{pat}/ {command}
|
||||||
Restrict the output of {command} to matches with {pat}.
|
Restrict the output of {command} to lines matching
|
||||||
For example, to list only xml files: >
|
with {pat}. For example, to list only xml files: >
|
||||||
:filter /\.xml$/ oldfiles
|
:filter /\.xml$/ oldfiles
|
||||||
<
|
< If the [!] is given, restrict the output of {command}
|
||||||
|
to lines that do NOT match {pat}.
|
||||||
|
|
||||||
{pat} is a Vim search pattern. Instead of enclosing
|
{pat} is a Vim search pattern. Instead of enclosing
|
||||||
it in / any non-ID character (see |'isident'|) can be
|
it in / any non-ID character (see |'isident'|) can be
|
||||||
used, so long as it does not appear in {pat}. Without
|
used, so long as it does not appear in {pat}. Without
|
||||||
@ -634,7 +636,7 @@ K Run a program to lookup the keyword under the
|
|||||||
with the command >
|
with the command >
|
||||||
:!{program} {keyword}
|
:!{program} {keyword}
|
||||||
< There is an example of a program to use in the tools
|
< There is an example of a program to use in the tools
|
||||||
directory of Vim. It is called 'ref' and does a
|
directory of Vim. It is called "ref" and does a
|
||||||
simple spelling check.
|
simple spelling check.
|
||||||
Special cases:
|
Special cases:
|
||||||
- If 'keywordprg' begins with ":" it is invoked as
|
- If 'keywordprg' begins with ":" it is invoked as
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*version8.txt* For Vim version 8.0. Last change: 2017 Jan 15
|
*version8.txt* For Vim version 8.0. Last change: 2017 Mar 16
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -200,9 +200,9 @@ Options: ~
|
|||||||
'perldll' name of the Perl dynamic library
|
'perldll' name of the Perl dynamic library
|
||||||
'pythondll' name of the Python 2 dynamic library
|
'pythondll' name of the Python 2 dynamic library
|
||||||
'pythonthreedll' name of the Python 3 dynamic library
|
'pythonthreedll' name of the Python 3 dynamic library
|
||||||
'signcolumn' when to display the sign column
|
|
||||||
'renderoptions' options for text rendering on Windows
|
'renderoptions' options for text rendering on Windows
|
||||||
'rubydll' name of the Ruby dynamic library
|
'rubydll' name of the Ruby dynamic library
|
||||||
|
'signcolumn' when to display the sign column
|
||||||
'tagcase' how to handle case when searching in tags files
|
'tagcase' how to handle case when searching in tags files
|
||||||
'tcldll' name of the Tcl dynamic library
|
'tcldll' name of the Tcl dynamic library
|
||||||
'termguicolors' use GUI colors for the terminal
|
'termguicolors' use GUI colors for the terminal
|
||||||
@ -296,7 +296,7 @@ New and extended functions: ~
|
|||||||
|systemlist()| get the result of a shell command as a list
|
|systemlist()| get the result of a shell command as a list
|
||||||
|test_alloc_fail()| make memory allocation fail
|
|test_alloc_fail()| make memory allocation fail
|
||||||
|test_autochdir()| test 'autochdir' functionality
|
|test_autochdir()| test 'autochdir' functionality
|
||||||
|test_disable_char_avail()| test without typeahead
|
test_disable_char_avail() test without typeahead (removed later)
|
||||||
|test_garbagecollect_now()| free memory right now
|
|test_garbagecollect_now()| free memory right now
|
||||||
|test_null_channel()| return a null Channel
|
|test_null_channel()| return a null Channel
|
||||||
|test_null_dict()| return a null Dict
|
|test_null_dict()| return a null Dict
|
||||||
@ -426,7 +426,7 @@ When no vimrc file is found, the |defaults.vim| script is loaded to set more
|
|||||||
useful default values for new users. That includes setting 'nocompatible'.
|
useful default values for new users. That includes setting 'nocompatible'.
|
||||||
Thus Vim no longer starts up in Vi compatible mode. If you do want that,
|
Thus Vim no longer starts up in Vi compatible mode. If you do want that,
|
||||||
either create a .vimrc file that does "set compatible" or start Vim with
|
either create a .vimrc file that does "set compatible" or start Vim with
|
||||||
"Vim -C".
|
"vim -C".
|
||||||
|
|
||||||
|
|
||||||
Support removed ~
|
Support removed ~
|
||||||
@ -1866,7 +1866,7 @@ Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test60.in,
|
|||||||
src/testdir/test60.ok
|
src/testdir/test60.ok
|
||||||
|
|
||||||
Patch 7.4.237 (after 7.4.236)
|
Patch 7.4.237 (after 7.4.236)
|
||||||
Problem: When some patches was not included has("patch-7.4.123") may return
|
Problem: When some patches were not included has("patch-7.4.123") may return
|
||||||
true falsely.
|
true falsely.
|
||||||
Solution: Check for the specific patch number.
|
Solution: Check for the specific patch number.
|
||||||
Files: runtime/doc/eval.txt, src/eval.c
|
Files: runtime/doc/eval.txt, src/eval.c
|
||||||
@ -3436,7 +3436,7 @@ Files: runtime/doc/options.txt, src/Makefile, src/regexp.c, src/regexp.h,
|
|||||||
Patch 7.4.498 (after 7.4.497)
|
Patch 7.4.498 (after 7.4.497)
|
||||||
Problem: Typo in DOS makefile.
|
Problem: Typo in DOS makefile.
|
||||||
Solution: Change exists to exist. (Ken Takata)
|
Solution: Change exists to exist. (Ken Takata)
|
||||||
Files: src/testdirMake_dos.mak
|
Files: src/testdir/Make_dos.mak
|
||||||
|
|
||||||
Patch 7.4.499
|
Patch 7.4.499
|
||||||
Problem: substitute() can be slow with long strings.
|
Problem: substitute() can be slow with long strings.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim support file to detect file types
|
" Vim support file to detect file types
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2017 Jan 06
|
" Last Change: 2017 Mar 13
|
||||||
|
|
||||||
" Listen very carefully, I will say this only once
|
" Listen very carefully, I will say this only once
|
||||||
if exists("did_load_filetypes")
|
if exists("did_load_filetypes")
|
||||||
@ -1366,6 +1366,9 @@ endfunc
|
|||||||
" Not Quite C
|
" Not Quite C
|
||||||
au BufNewFile,BufRead *.nqc setf nqc
|
au BufNewFile,BufRead *.nqc setf nqc
|
||||||
|
|
||||||
|
" NSE - Nmap Script Engine - uses Lua syntax
|
||||||
|
au BufNewFile,BufRead *.nse setf lua
|
||||||
|
|
||||||
" NSIS
|
" NSIS
|
||||||
au BufNewFile,BufRead *.nsi,*.nsh setf nsis
|
au BufNewFile,BufRead *.nsi,*.nsh setf nsis
|
||||||
|
|
||||||
@ -2280,6 +2283,9 @@ au BufNewFile,BufRead .tidyrc,tidyrc setf tidy
|
|||||||
" TF mud client
|
" TF mud client
|
||||||
au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf
|
au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf
|
||||||
|
|
||||||
|
" tmux configuration
|
||||||
|
au BufNewFile,BufRead {.,}tmux*.conf setf tmux
|
||||||
|
|
||||||
" TPP - Text Presentation Program
|
" TPP - Text Presentation Program
|
||||||
au BufNewFile,BufReadPost *.tpp setf tpp
|
au BufNewFile,BufReadPost *.tpp setf tpp
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: a2ps(1) configuration file
|
" Language: a2ps(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: alsaconf(8) configuration file
|
" Language: alsaconf(8) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: GNU Arch inventory file
|
" Language: GNU Arch inventory file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Automake
|
" Language: Automake
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: BDF font definition
|
" Language: BDF font definition
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: calendar(1) input file
|
" Language: calendar(1) input file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2007-12-04
|
" Latest Revision: 2007-12-04
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: generic configuration file
|
" Language: generic configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: CRM114
|
" Language: CRM114
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: CSS
|
" Language: CSS
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: cvs(1) RC file
|
" Language: cvs(1) RC file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2007-12-04
|
" Latest Revision: 2007-12-04
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: dict(1) configuration file
|
" Language: dict(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: dictd(8) configuration file
|
" Language: dictd(8) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: dircolors(1) input file
|
" Language: dircolors(1) input file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Configuration File (ini file) for MSDOS/MS Windows
|
" Language: Configuration File (ini file) for MSDOS/MS Windows
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: elinks(1) configuration file
|
" Language: elinks(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: eterm(1) configuration file
|
" Language: eterm(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: fetchmail(1) RC File
|
" Language: fetchmail(1) RC File
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim ftplugin file
|
" Vim ftplugin file
|
||||||
" Language: FrameScript
|
" Language: FrameScript
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-19
|
" Latest Revision: 2008-07-19
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: gpg(1) configuration file
|
" Language: gpg(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: group(5) user group file
|
" Language: group(5) user group file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: grub(8) configuration file
|
" Language: grub(8) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" Vim filetype plugin
|
" Vim filetype plugin
|
||||||
" Language: Hamster Script
|
" Language: Hamster Script
|
||||||
" Version: 2.0.6.0
|
" Version: 2.0.6.0
|
||||||
" Maintainer: David Fishburn <fishburn@ianywhere.com>
|
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
||||||
" Last Change: Wed Nov 08 2006 12:03:09 PM
|
" Last Change: 2017 Mar 07
|
||||||
|
|
||||||
" Only do this when not done yet for this buffer
|
" Only do this when not done yet for this buffer
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
@ -13,6 +13,7 @@ endif
|
|||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
set cpo-=C
|
set cpo-=C
|
||||||
|
|
||||||
let b:undo_ftplugin = "setl fo< com< tw< commentstring<"
|
let b:undo_ftplugin = "setl fo< com< tw< commentstring<"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Haskell
|
" Language: Haskell
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Vim help file
|
" Language: Vim help file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2007-12-04
|
" Latest Revision: 2007-12-04
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: hosts_access(5) control file
|
" Language: hosts_access(5) control file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: indent(1) configuration file
|
" Language: indent(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: ld(1) script
|
" Language: ld(1) script
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: lftp(1) configuration file
|
" Language: lftp(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: libao.conf(5) configuration file
|
" Language: libao.conf(5) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: limits(5) configuration file
|
" Language: limits(5) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: login.access(5) configuration file
|
" Language: login.access(5) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: login.defs(5) configuration file
|
" Language: login.defs(5) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: m4
|
" Language: m4
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Mailcap configuration file
|
" Language: Mailcap configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: man.conf(5) - man configuration file
|
" Language: man.conf(5) - man configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: modules.conf(5) configuration file
|
" Language: modules.conf(5) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: mplayer(1) configuration file
|
" Language: mplayer(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: mutt RC File
|
" Language: mutt RC File
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2006-04-19
|
" Latest Revision: 2006-04-19
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: nanorc(5) - GNU nano configuration file
|
" Language: nanorc(5) - GNU nano configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: netrc(5) configuration file
|
" Language: netrc(5) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim ftplugin file
|
" Vim ftplugin file
|
||||||
" Language: NSIS script
|
" Language: NSIS script
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: pam(8) configuration file
|
" Language: pam(8) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: passwd(5) password file
|
" Language: passwd(5) password file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: pinfo(1) configuration file
|
" Language: pinfo(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: procmail(1) configuration file
|
" Language: procmail(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Prolog
|
" Language: Prolog
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: protocols(5) - Internet protocols definition file
|
" Language: protocols(5) - Internet protocols definition file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Quake[1-3] configuration file
|
" Language: Quake[1-3] configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Racc input file
|
" Language: Racc input file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: readline(3) configuration file
|
" Language: readline(3) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Relax NG compact syntax
|
" Language: Relax NG compact syntax
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: reStructuredText documentation format
|
" Language: reStructuredText documentation format
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: screen(1) configuration file
|
" Language: screen(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: sensors.conf(5) - libsensors configuration file
|
" Language: sensors.conf(5) - libsensors configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: services(5) - Internet network services list
|
" Language: services(5) - Internet network services list
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: setserial(8) configuration file
|
" Language: setserial(8) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Sieve filtering language input file
|
" Language: Sieve filtering language input file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: RFC 2614 - An API for Service Location configuration file
|
" Language: RFC 2614 - An API for Service Location configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: RFC 2614 - An API for Service Location registration file
|
" Language: RFC 2614 - An API for Service Location registration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-09
|
" Latest Revision: 2008-07-09
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user