mirror of
https://github.com/zoriya/vim.git
synced 2025-12-08 16:26:16 +00:00
Compare commits
140 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
3834e3d039 | ||
|
|
10c6029e28 | ||
|
|
8be2fbb670 | ||
|
|
b544f3c81f | ||
|
|
dc9a081712 | ||
|
|
60629d6425 | ||
|
|
24922ec233 | ||
|
|
354796c19a | ||
|
|
187a4f2814 | ||
|
|
1c410400fa | ||
|
|
3457d295f4 | ||
|
|
f06e5a549f | ||
|
|
218426896c | ||
|
|
ae177b7166 | ||
|
|
fe344a9875 | ||
|
|
b7a59906d7 | ||
|
|
d099e03370 | ||
|
|
bfd30590f6 | ||
|
|
3a25773772 | ||
|
|
49439c4cdf | ||
|
|
e7877fe0de | ||
|
|
673911457d | ||
|
|
d56a79d339 | ||
|
|
5acff71d3b | ||
|
|
46522af724 | ||
|
|
803452046b | ||
|
|
c525e3a1c2 | ||
|
|
3df0173fa6 | ||
|
|
8c50d50b6e | ||
|
|
507647da31 | ||
|
|
79518e2ace | ||
|
|
226c534291 | ||
|
|
4e9dbc74df | ||
|
|
343b8c0429 | ||
|
|
84b2a38145 | ||
|
|
1043467482 | ||
|
|
23a5558cfd | ||
|
|
75c19464ed | ||
|
|
24f8f543d4 | ||
|
|
913727e567 | ||
|
|
f1f6f3f7df | ||
|
|
31eb139b88 | ||
|
|
399c297aa9 | ||
|
|
8cc2a9c062 | ||
|
|
4d8505155e | ||
|
|
190b04cdd9 | ||
|
|
a9f8ffb634 | ||
|
|
43dded8c59 | ||
|
|
dad7309dd2 | ||
|
|
a76f59d817 | ||
|
|
65189a1294 | ||
|
|
6f785749db | ||
|
|
88989cc381 | ||
|
|
544d3bc9f0 | ||
|
|
13c724fb3a | ||
|
|
059b7482a2 | ||
|
|
2f9e575583 | ||
|
|
955f198fc5 | ||
|
|
e971df39a5 | ||
|
|
aaaf57d8a9 | ||
|
|
1fb0d49803 |
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: 10
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
4
Filelist
4
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 \
|
||||||
@@ -105,7 +106,10 @@ SRC_ALL = \
|
|||||||
src/testdir/sautest/autoload/*.vim \
|
src/testdir/sautest/autoload/*.vim \
|
||||||
src/testdir/runtest.vim \
|
src/testdir/runtest.vim \
|
||||||
src/testdir/shared.vim \
|
src/testdir/shared.vim \
|
||||||
|
src/testdir/view_util.vim \
|
||||||
src/testdir/setup.vim \
|
src/testdir/setup.vim \
|
||||||
|
src/testdir/gui_init.vim \
|
||||||
|
src/testdir/setup_gui.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
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,13 @@
|
|||||||
" Description: Perform Ada specific completion & tagging.
|
" Description: Perform Ada specific completion & tagging.
|
||||||
" Language: Ada (2005)
|
" Language: Ada (2005)
|
||||||
" $Id: ada.vim 887 2008-07-08 14:29:01Z krischik $
|
" $Id: ada.vim 887 2008-07-08 14:29:01Z krischik $
|
||||||
" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
|
" Maintainer: Mathias Brousset <mathiasb17@gmail.com>
|
||||||
|
" Martin Krischik <krischik@users.sourceforge.net>
|
||||||
" Taylor Venable <taylor@metasyntax.net>
|
" Taylor Venable <taylor@metasyntax.net>
|
||||||
" Neil Bird <neil@fnxweb.com>
|
" Neil Bird <neil@fnxweb.com>
|
||||||
" Ned Okie <nokie@radford.edu>
|
" Ned Okie <nokie@radford.edu>
|
||||||
" $Author: krischik $
|
" $Author: krischik $
|
||||||
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
|
" $Date: 2017-01-31 20:20:05 +0200 (Mon, 01 Jan 2017) $
|
||||||
" Version: 4.6
|
" Version: 4.6
|
||||||
" $Revision: 887 $
|
" $Revision: 887 $
|
||||||
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
|
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
|
||||||
@@ -23,6 +24,7 @@
|
|||||||
" 09.05.2007 MK Session just won't work no matter how much
|
" 09.05.2007 MK Session just won't work no matter how much
|
||||||
" tweaking is done
|
" tweaking is done
|
||||||
" 19.09.2007 NO still some mapleader problems
|
" 19.09.2007 NO still some mapleader problems
|
||||||
|
" 31.01.2017 MB fix more mapleader problems
|
||||||
" Help Page: ft-ada-functions
|
" Help Page: ft-ada-functions
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -447,7 +449,7 @@ function ada#Switch_Session (New_Session)
|
|||||||
|
|
||||||
if a:New_Session != v:this_session
|
if a:New_Session != v:this_session
|
||||||
"
|
"
|
||||||
" We actualy got a new session - otherwise there
|
" We actually got a new session - otherwise there
|
||||||
" is nothing to do.
|
" is nothing to do.
|
||||||
"
|
"
|
||||||
if strlen (v:this_session) > 0
|
if strlen (v:this_session) > 0
|
||||||
@@ -585,11 +587,11 @@ function ada#Map_Menu (Text, Keys, Command)
|
|||||||
\ " :" . a:Command . "<CR>"
|
\ " :" . a:Command . "<CR>"
|
||||||
execute
|
execute
|
||||||
\ "nnoremap <buffer>" .
|
\ "nnoremap <buffer>" .
|
||||||
\ escape(l:leader . "a" . a:Keys , '\') .
|
\ " <Leader>a" . a:Keys .
|
||||||
\" :" . a:Command
|
\" :" . a:Command
|
||||||
execute
|
execute
|
||||||
\ "inoremap <buffer>" .
|
\ "inoremap <buffer>" .
|
||||||
\ escape(l:leader . "a" . a:Keys , '\') .
|
\ " <Learder>a" . a:Keys .
|
||||||
\" <C-O>:" . a:Command
|
\" <C-O>:" . a:Command
|
||||||
endif
|
endif
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -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,4 +1,4 @@
|
|||||||
*change.txt* For Vim version 8.0. Last change: 2016 Nov 19
|
*change.txt* For Vim version 8.0. Last change: 2017 Feb 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -635,12 +635,14 @@ For other systems the tmpnam() library function is used.
|
|||||||
For the {pattern} see |pattern|.
|
For the {pattern} see |pattern|.
|
||||||
{string} can be a literal string, or something
|
{string} can be a literal string, or something
|
||||||
special; see |sub-replace-special|.
|
special; see |sub-replace-special|.
|
||||||
|
*E939*
|
||||||
When [range] and [count] are omitted, replace in the
|
When [range] and [count] are omitted, replace in the
|
||||||
current line only.
|
current line only. When [count] is given, replace in
|
||||||
When [count] is given, replace in [count] lines,
|
[count] lines, starting with the last line in [range].
|
||||||
starting with the last line in [range]. When [range]
|
When [range] is omitted start in the current line.
|
||||||
is omitted start in the current line.
|
[count] must be a positive number. Also see
|
||||||
Also see |cmdline-ranges|.
|
|cmdline-ranges|.
|
||||||
|
|
||||||
See |:s_flags| for [flags].
|
See |:s_flags| for [flags].
|
||||||
|
|
||||||
:[range]s[ubstitute] [flags] [count]
|
:[range]s[ubstitute] [flags] [count]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 8.0. Last change: 2016 Aug 24
|
*diff.txt* For Vim version 8.0. Last change: 2017 Feb 03
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -131,6 +131,8 @@ file for a moment and come back to the same file and be in diff mode again.
|
|||||||
related options only happens in a window that has 'diff' set,
|
related options only happens in a window that has 'diff' set,
|
||||||
if the current window does not have 'diff' set then no options
|
if the current window does not have 'diff' set then no options
|
||||||
in it are changed.
|
in it are changed.
|
||||||
|
Hidden buffers are also removed from the list of diff'ed
|
||||||
|
buffers.
|
||||||
|
|
||||||
The `:diffoff` command resets the relevant options to the values they had when
|
The `:diffoff` command resets the relevant options to the values they had when
|
||||||
using `:diffsplit`, `:diffpatch` , `:diffthis`. or starting Vim in diff mode.
|
using `:diffsplit`, `:diffpatch` , `:diffthis`. or starting Vim in diff mode.
|
||||||
@@ -164,7 +166,8 @@ The alignment of text will go wrong when:
|
|||||||
|
|
||||||
All the buffers edited in a window where the 'diff' option is set will join in
|
All the buffers edited in a window where the 'diff' option is set will join in
|
||||||
the diff. This is also possible for hidden buffers. They must have been
|
the diff. This is also possible for hidden buffers. They must have been
|
||||||
edited in a window first for this to be possible.
|
edited in a window first for this to be possible. To get rid of the hidden
|
||||||
|
buffers use `:diffoff!`.
|
||||||
|
|
||||||
*:DiffOrig* *diff-original-file*
|
*:DiffOrig* *diff-original-file*
|
||||||
Since 'diff' is a window-local option, it's possible to view the same buffer
|
Since 'diff' is a window-local option, it's possible to view the same buffer
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
*eval.txt* For Vim version 8.0. Last change: 2017 Mar 04
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1329,7 +1329,8 @@ b:changedtick The total number of changes to the current buffer. It is
|
|||||||
: let my_changedtick = b:changedtick
|
: let my_changedtick = b:changedtick
|
||||||
: call My_Update()
|
: call My_Update()
|
||||||
:endif
|
:endif
|
||||||
<
|
< You cannot change or delete the b:changedtick variable.
|
||||||
|
|
||||||
*window-variable* *w:var* *w:*
|
*window-variable* *w:var* *w:*
|
||||||
A variable name that is preceded with "w:" is local to the current window. It
|
A variable name that is preceded with "w:" is local to the current window. It
|
||||||
is deleted when the window is closed.
|
is deleted when the window is closed.
|
||||||
@@ -1788,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*
|
||||||
@@ -1980,19 +1984,20 @@ 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}]) none assert {exp} is equal to {act}
|
||||||
assert_exception({error} [, {msg}]) none assert {error} is in v:exception
|
assert_exception({error} [, {msg}]) none assert {error} is in v:exception
|
||||||
assert_fails({cmd} [, {error}]) none assert {cmd} fails
|
assert_fails({cmd} [, {error}]) none assert {cmd} fails
|
||||||
assert_false({actual} [, {msg}]) none assert {actual} is false
|
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}]) none assert {pat} matches {text}
|
||||||
assert_notequal({exp}, {act} [, {msg}]) none assert {exp} is not equal {act}
|
assert_notequal({exp}, {act} [, {msg}]) none assert {exp} is not equal {act}
|
||||||
assert_notmatch({pat}, {text} [, {msg}]) none assert {pat} not matches {text}
|
assert_notmatch({pat}, {text} [, {msg}]) none assert {pat} not matches {text}
|
||||||
assert_true({actual} [, {msg}]) none assert {actual} is true
|
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
|
||||||
@@ -2355,14 +2360,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
|
||||||
@@ -2617,6 +2623,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})
|
||||||
@@ -2812,176 +2840,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.
|
||||||
@@ -3171,6 +3029,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.
|
||||||
@@ -3427,7 +3455,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*
|
||||||
@@ -4029,10 +4057,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}])
|
||||||
@@ -4371,8 +4399,8 @@ getfontname([{name}]) *getfontname()*
|
|||||||
Only works when the GUI is running, thus not in your vimrc or
|
Only works when the GUI is running, thus not in your vimrc or
|
||||||
gvimrc file. Use the |GUIEnter| autocommand to use this
|
gvimrc file. Use the |GUIEnter| autocommand to use this
|
||||||
function just after the GUI has started.
|
function just after the GUI has started.
|
||||||
Note that the GTK 2 GUI accepts any font name, thus checking
|
Note that the GTK GUI accepts any font name, thus checking for
|
||||||
for a valid name does not work.
|
a valid name does not work.
|
||||||
|
|
||||||
getfperm({fname}) *getfperm()*
|
getfperm({fname}) *getfperm()*
|
||||||
The result is a String, which is the read, write, and execute
|
The result is a String, which is the read, write, and execute
|
||||||
@@ -5978,7 +6006,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
%e floating point number as 1.23e3, inf, -inf or nan
|
%e floating point number as 1.23e3, inf, -inf or nan
|
||||||
%E floating point number as 1.23E3, INF, -INF or NAN
|
%E floating point number as 1.23E3, INF, -INF or NAN
|
||||||
%g floating point number, as %f or %e depending on value
|
%g floating point number, as %f or %e depending on value
|
||||||
%G floating point number, as %f or %E depending on value
|
%G floating point number, as %F or %E depending on value
|
||||||
%% the % character itself
|
%% the % character itself
|
||||||
|
|
||||||
Conversion specifications start with '%' and end with the
|
Conversion specifications start with '%' and end with the
|
||||||
@@ -7710,7 +7738,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.
|
||||||
@@ -7783,6 +7811,15 @@ test_garbagecollect_now() *test_garbagecollect_now()*
|
|||||||
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}
|
||||||
@@ -7807,6 +7844,8 @@ 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
|
||||||
for undo.
|
for undo.
|
||||||
|
Using a value of 1 makes Vim not sleep after a warning or
|
||||||
|
error message.
|
||||||
{expr} must evaluate to a number. When the value is zero the
|
{expr} must evaluate to a number. When the value is zero the
|
||||||
normal behavior is restored.
|
normal behavior is restored.
|
||||||
|
|
||||||
@@ -8463,6 +8502,7 @@ toolbar Compiled with support for |gui-toolbar|.
|
|||||||
ttyin input is a terminal (tty)
|
ttyin input is a terminal (tty)
|
||||||
ttyout output is a terminal (tty)
|
ttyout output is a terminal (tty)
|
||||||
unix Unix version of Vim.
|
unix Unix version of Vim.
|
||||||
|
unnamedplus Compiled with support for "unnamedplus" in 'clipboard'
|
||||||
user_commands User-defined commands.
|
user_commands User-defined commands.
|
||||||
vertsplit Compiled with vertically split windows |:vsplit|.
|
vertsplit Compiled with vertically split windows |:vsplit|.
|
||||||
vim_starting True while initial source'ing takes place. |startup|
|
vim_starting True while initial source'ing takes place. |startup|
|
||||||
@@ -8966,6 +9006,11 @@ This does NOT work: >
|
|||||||
value and the global value are changed.
|
value and the global value are changed.
|
||||||
Example: >
|
Example: >
|
||||||
:let &path = &path . ',/usr/local/include'
|
:let &path = &path . ',/usr/local/include'
|
||||||
|
< This also works for terminal codes in the form t_xx.
|
||||||
|
But only for alphanumerical names. Example: >
|
||||||
|
:let &t_k1 = "\<Esc>[234;"
|
||||||
|
< When the code does not exist yet it will be created as
|
||||||
|
a terminal key code, there is no error.
|
||||||
|
|
||||||
:let &{option-name} .= {expr1}
|
:let &{option-name} .= {expr1}
|
||||||
For a string option: Append {expr1} to the value.
|
For a string option: Append {expr1} to the value.
|
||||||
@@ -9073,9 +9118,12 @@ This does NOT work: >
|
|||||||
:lockvar v
|
:lockvar v
|
||||||
:let v = 'asdf' " fails!
|
:let v = 'asdf' " fails!
|
||||||
:unlet v
|
:unlet v
|
||||||
< *E741*
|
< *E741* *E940*
|
||||||
If you try to change a locked variable you get an
|
If you try to change a locked variable you get an
|
||||||
error message: "E741: Value is locked: {name}"
|
error message: "E741: Value is locked: {name}".
|
||||||
|
If you try to lock or unlock a built-in variable you
|
||||||
|
get an error message: "E940: Cannot lock or unlock
|
||||||
|
variable {name}".
|
||||||
|
|
||||||
[depth] is relevant when locking a |List| or
|
[depth] is relevant when locking a |List| or
|
||||||
|Dictionary|. It specifies how deep the locking goes:
|
|Dictionary|. It specifies how deep the locking goes:
|
||||||
|
|||||||
@@ -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 >
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*helphelp.txt* For Vim version 8.0. Last change: 2016 Apr 01
|
*helphelp.txt* For Vim version 8.0. Last change: 2017 Feb 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -28,10 +28,16 @@ Help on help files *helphelp*
|
|||||||
|
|
||||||
*{subject}* *E149* *E661*
|
*{subject}* *E149* *E661*
|
||||||
:h[elp] {subject} Like ":help", additionally jump to the tag {subject}.
|
:h[elp] {subject} Like ":help", additionally jump to the tag {subject}.
|
||||||
{subject} can include wildcards like "*", "?" and
|
For example: >
|
||||||
|
:help options
|
||||||
|
|
||||||
|
< {subject} can include wildcards such as "*", "?" and
|
||||||
"[a-z]":
|
"[a-z]":
|
||||||
:help z? jump to help for any "z" command
|
:help z? jump to help for any "z" command
|
||||||
:help z. jump to the help for "z."
|
:help z. jump to the help for "z."
|
||||||
|
But when a tag exists it is taken literally:
|
||||||
|
:help :? jump to help for ":?"
|
||||||
|
|
||||||
If there is no full match for the pattern, or there
|
If there is no full match for the pattern, or there
|
||||||
are several matches, the "best" match will be used.
|
are several matches, the "best" match will be used.
|
||||||
A sophisticated algorithm is used to decide which
|
A sophisticated algorithm is used to decide which
|
||||||
@@ -68,18 +74,19 @@ Help on help files *helphelp*
|
|||||||
example to find help for CTRL-V in Insert mode: >
|
example to find help for CTRL-V in Insert mode: >
|
||||||
:help i^V
|
:help i^V
|
||||||
<
|
<
|
||||||
To use a regexp |pattern|, first do ":help" and then
|
It is also possible to first do ":help" and then
|
||||||
use ":tag {pattern}" in the help window. The
|
use ":tag {pattern}" in the help window. The
|
||||||
":tnext" command can then be used to jump to other
|
":tnext" command can then be used to jump to other
|
||||||
matches, "tselect" to list matches and choose one. >
|
matches, "tselect" to list matches and choose one. >
|
||||||
:help index| :tse z.
|
:help index
|
||||||
|
:tselect /.*mode
|
||||||
|
|
||||||
< When there is no argument you will see matches for
|
< When there is no argument you will see matches for
|
||||||
"help", to avoid listing all possible matches (that
|
"help", to avoid listing all possible matches (that
|
||||||
would be very slow).
|
would be very slow).
|
||||||
The number of matches displayed is limited to 300.
|
The number of matches displayed is limited to 300.
|
||||||
|
|
||||||
This command can be followed by '|' and another
|
The `:help` command can be followed by '|' and another
|
||||||
command, but you don't need to escape the '|' inside a
|
command, but you don't need to escape the '|' inside a
|
||||||
help command. So these both work: >
|
help command. So these both work: >
|
||||||
:help |
|
:help |
|
||||||
@@ -307,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.
|
||||||
|
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ Windows *mzscheme-window*
|
|||||||
5. mzeval() Vim function *mzscheme-mzeval*
|
5. mzeval() Vim function *mzscheme-mzeval*
|
||||||
|
|
||||||
To facilitate bi-directional interface, you can use |mzeval()| function to
|
To facilitate bi-directional interface, you can use |mzeval()| function to
|
||||||
evaluate MzScheme expressions and pass their values to VimL.
|
evaluate MzScheme expressions and pass their values to Vim script.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6. Using Function references *mzscheme-funcref*
|
6. Using Function references *mzscheme-funcref*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Feb 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
@@ -174,8 +174,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
|
||||||
@@ -676,11 +676,11 @@ vim.Function object *python-Function*
|
|||||||
dictionary. Note that explicit `self` keyword used when
|
dictionary. Note that explicit `self` keyword used when
|
||||||
calling resulting object overrides this attribute.
|
calling resulting object overrides this attribute.
|
||||||
auto_rebind Boolean. True if partial created from this Python object
|
auto_rebind Boolean. True if partial created from this Python object
|
||||||
and stored in the VimL dictionary should be automatically
|
and stored in the Vim script dictionary should be
|
||||||
rebound to the dictionary it is stored in when this
|
automatically rebound to the dictionary it is stored in
|
||||||
dictionary is indexed. Exposes Vim internal difference
|
when this dictionary is indexed. Exposes Vim internal
|
||||||
between `dict.func` (auto_rebind=True) and
|
difference between `dict.func` (auto_rebind=True) and
|
||||||
`function(dict.func,dict)` (auto_rebind=False). This
|
`function(dict.func,dict)` (auto_rebind=False). This
|
||||||
attribute makes no sense if `self` attribute is `None`.
|
attribute makes no sense if `self` attribute is `None`.
|
||||||
|
|
||||||
Constructor additionally accepts `args`, `self` and `auto_rebind`
|
Constructor additionally accepts `args`, `self` and `auto_rebind`
|
||||||
@@ -711,7 +711,7 @@ vim.Function object *python-Function*
|
|||||||
8. pyeval() and py3eval() Vim functions *python-pyeval*
|
8. pyeval() and py3eval() Vim functions *python-pyeval*
|
||||||
|
|
||||||
To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()|
|
To facilitate bi-directional interface, you can use |pyeval()| and |py3eval()|
|
||||||
functions to evaluate Python expressions and pass their values to VimL.
|
functions to evaluate Python expressions and pass their values to Vim script.
|
||||||
|pyxeval()| is also available.
|
|pyxeval()| is also available.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@@ -731,9 +731,11 @@ To use the Python interface the Python DLL must be in your search path. In a
|
|||||||
console window type "path" to see what directories are used. The 'pythondll'
|
console window type "path" to see what directories are used. The 'pythondll'
|
||||||
or 'pythonthreedll' option can be also used to specify the Python DLL.
|
or 'pythonthreedll' option can be also used to specify the Python DLL.
|
||||||
|
|
||||||
The name of the DLL must match the Python version Vim was compiled with.
|
The name of the DLL should match the Python version Vim was compiled with.
|
||||||
Currently the name is "python24.dll". That is for Python 2.4. To know for
|
Currently the name for Python 2 is "python27.dll", that is for Python 2.7.
|
||||||
sure edit "gvim.exe" and search for "python\d*.dll\c".
|
That is the default value for 'pythondll'. For Python 3 it is python35.dll
|
||||||
|
(Python 3.5). To know for sure edit "gvim.exe" and search for
|
||||||
|
"python\d*.dll\c".
|
||||||
|
|
||||||
|
|
||||||
Unix ~
|
Unix ~
|
||||||
@@ -817,7 +819,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.
|
||||||
|
|
||||||
@@ -865,7 +867,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.
|
||||||
|
|
||||||
|
|||||||
@@ -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 @@
|
|||||||
*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 @@
|
|||||||
*options.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
*options.txt* For Vim version 8.0. Last change: 2017 Mar 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1120,6 +1120,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
|
||||||
@@ -1702,12 +1705,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 +1727,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
|
||||||
|
else: "auto" copy or rename backup file
|
||||||
|
'balloonexpr' + "" text to show in evaluation balloon
|
||||||
|
'breakindent' + off don't indent when wrapping lines
|
||||||
|
'cedit' - {unchanged} {set vim default only on resetting 'cp'}
|
||||||
|
'cindent' + off no C code indentation
|
||||||
|
'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|
|
'cscopetagorder' 0 see |cscopetagorder|
|
||||||
'cscopeverbose' off see |cscopeverbose|
|
'cscopeverbose' + off see |cscopeverbose|
|
||||||
'digraph' off no digraphs
|
'delcombine' + off unicode: delete whole char combination
|
||||||
'esckeys' + off no <Esc>-keys in Insert mode
|
'digraph' + off no digraphs
|
||||||
'expandtab' off tabs not expanded to spaces
|
'esckeys' & off no <Esc>-keys in Insert mode
|
||||||
'fileformats' + "" no automatic file format detection,
|
'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")
|
||||||
@@ -2684,8 +2717,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|. It would most likely
|
This option cannot be set from a |modeline|. It would most likely
|
||||||
corrupt the text.
|
corrupt the text.
|
||||||
|
|
||||||
NOTE: For GTK+ 2 it is highly recommended to set 'encoding' to
|
NOTE: For GTK+ 2 or later, it is highly recommended to set 'encoding'
|
||||||
"utf-8". Although care has been taken to allow different values of
|
to "utf-8". Although care has been taken to allow different values of
|
||||||
'encoding', "utf-8" is the natural choice for the environment and
|
'encoding', "utf-8" is the natural choice for the environment and
|
||||||
avoids unnecessary conversion overhead. "utf-8" has not been made
|
avoids unnecessary conversion overhead. "utf-8" has not been made
|
||||||
the default to prevent different behavior of the GUI and terminal
|
the default to prevent different behavior of the GUI and terminal
|
||||||
@@ -2883,6 +2916,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.
|
||||||
@@ -3596,6 +3631,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
On systems where 'guifontset' is supported (X11) and 'guifontset' is
|
On systems where 'guifontset' is supported (X11) and 'guifontset' is
|
||||||
not empty, then 'guifont' is not used.
|
not empty, then 'guifont' is not used.
|
||||||
|
|
||||||
|
Note: As to the GTK GUIs, no error is given against any invalid names,
|
||||||
|
and the first element of the list is always picked up and made use of.
|
||||||
|
This is because, instead of identifying a given name with a font, the
|
||||||
|
GTK GUIs use it to construct a pattern and try to look up a font which
|
||||||
|
best matches the pattern among available fonts, and this way, the
|
||||||
|
matching never fails. An invalid name doesn't matter because a number
|
||||||
|
of font properties other than name will do to get the matching done.
|
||||||
|
|
||||||
Spaces after a comma are ignored. To include a comma in a font name
|
Spaces after a comma are ignored. To include a comma in a font name
|
||||||
precede it with a backslash. Setting an option requires an extra
|
precede it with a backslash. Setting an option requires an extra
|
||||||
backslash before a space and a backslash. See also
|
backslash before a space and a backslash. See also
|
||||||
@@ -3618,7 +3661,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The font name depends on the GUI used. See |setting-guifont| for a
|
The font name depends on the GUI used. See |setting-guifont| for a
|
||||||
way to set 'guifont' for various systems.
|
way to set 'guifont' for various systems.
|
||||||
|
|
||||||
For the GTK+ 2 GUI the font name looks like this: >
|
For the GTK+ 2 and 3 GUIs, the font name looks like this: >
|
||||||
:set guifont=Andale\ Mono\ 11
|
:set guifont=Andale\ Mono\ 11
|
||||||
< That's all. XLFDs are not used. For Chinese this is reported to work
|
< That's all. XLFDs are not used. For Chinese this is reported to work
|
||||||
well: >
|
well: >
|
||||||
@@ -3627,13 +3670,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
set guifontwide=Microsoft\ Yahei\ 12,WenQuanYi\ Zen\ Hei\ 12
|
set guifontwide=Microsoft\ Yahei\ 12,WenQuanYi\ Zen\ Hei\ 12
|
||||||
endif
|
endif
|
||||||
<
|
<
|
||||||
|
(Replace gui_gtk2 with gui_gtk3 for the GTK+ 3 GUI)
|
||||||
|
|
||||||
For Mac OSX you can use something like this: >
|
For Mac OSX you can use something like this: >
|
||||||
:set guifont=Monaco:h10
|
:set guifont=Monaco:h10
|
||||||
< Also see 'macatsui', it can help fix display problems.
|
< Also see 'macatsui', it can help fix display problems.
|
||||||
*E236*
|
*E236*
|
||||||
Note that the fonts must be mono-spaced (all characters have the same
|
Note that the fonts must be mono-spaced (all characters have the same
|
||||||
width). An exception is GTK 2: all fonts are accepted, but
|
width). An exception is GTK: all fonts are accepted, but mono-spaced
|
||||||
mono-spaced fonts look best.
|
fonts look best.
|
||||||
|
|
||||||
To preview a font on X11, you might be able to use the "xfontsel"
|
To preview a font on X11, you might be able to use the "xfontsel"
|
||||||
program. The "xlsfonts" program gives a list of all available fonts.
|
program. The "xlsfonts" program gives a list of all available fonts.
|
||||||
@@ -3671,7 +3716,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with GUI enabled and
|
{only available when compiled with GUI enabled and
|
||||||
with the |+xfontset| feature}
|
with the |+xfontset| feature}
|
||||||
{not available in the GTK+ 2 GUI}
|
{not available in the GTK+ GUI}
|
||||||
When not empty, specifies two (or more) fonts to be used. The first
|
When not empty, specifies two (or more) fonts to be used. The first
|
||||||
one for normal English, the second one for your special language. See
|
one for normal English, the second one for your special language. See
|
||||||
|xfontset|.
|
|xfontset|.
|
||||||
@@ -3700,7 +3745,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
Note: The size of these fonts must be exactly twice as wide as the one
|
Note: The size of these fonts must be exactly twice as wide as the one
|
||||||
specified with 'guifont' and the same height.
|
specified with 'guifont' and the same height.
|
||||||
|
|
||||||
All GUI versions but GTK+ 2:
|
All GUI versions but GTK+:
|
||||||
|
|
||||||
'guifontwide' is only used when 'encoding' is set to "utf-8" and
|
'guifontwide' is only used when 'encoding' is set to "utf-8" and
|
||||||
'guifontset' is empty or invalid.
|
'guifontset' is empty or invalid.
|
||||||
@@ -3708,7 +3753,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'guifontwide' is empty Vim will attempt to find a matching
|
'guifontwide' is empty Vim will attempt to find a matching
|
||||||
double-width font and set 'guifontwide' to it.
|
double-width font and set 'guifontwide' to it.
|
||||||
|
|
||||||
GTK+ 2 GUI only: *guifontwide_gtk2*
|
GTK+ GUI only: *guifontwide_gtk*
|
||||||
|
|
||||||
If set and valid, 'guifontwide' is always used for double width
|
If set and valid, 'guifontwide' is always used for double width
|
||||||
characters, even if 'encoding' is not set to "utf-8".
|
characters, even if 'encoding' is not set to "utf-8".
|
||||||
@@ -4949,6 +4994,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|
|
||||||
@@ -7035,7 +7099,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
|
||||||
@@ -7606,7 +7670,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
For further details see |arabic.txt|.
|
For further details see |arabic.txt|.
|
||||||
|
|
||||||
*'termencoding'* *'tenc'*
|
*'termencoding'* *'tenc'*
|
||||||
'termencoding' 'tenc' string (default ""; with GTK+ 2 GUI: "utf-8"; with
|
'termencoding' 'tenc' string (default ""; with GTK+ GUI: "utf-8"; with
|
||||||
Macintosh GUI: "macroman")
|
Macintosh GUI: "macroman")
|
||||||
global
|
global
|
||||||
{only available when compiled with the |+multi_byte|
|
{only available when compiled with the |+multi_byte|
|
||||||
@@ -7618,7 +7682,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
display). Except for the Mac when 'macatsui' is off, then
|
display). Except for the Mac when 'macatsui' is off, then
|
||||||
'termencoding' should be "macroman".
|
'termencoding' should be "macroman".
|
||||||
*E617*
|
*E617*
|
||||||
Note: This does not apply to the GTK+ 2 GUI. After the GUI has been
|
Note: This does not apply to the GTK+ GUI. After the GUI has been
|
||||||
successfully initialized, 'termencoding' is forcibly set to "utf-8".
|
successfully initialized, 'termencoding' is forcibly set to "utf-8".
|
||||||
Any attempts to set a different value will be rejected, and an error
|
Any attempts to set a different value will be rejected, and an error
|
||||||
message is shown.
|
message is shown.
|
||||||
@@ -7901,7 +7965,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'toolbariconsize' 'tbis' string (default "small")
|
'toolbariconsize' 'tbis' string (default "small")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only in the GTK+ 2 GUI}
|
{only in the GTK+ GUI}
|
||||||
Controls the size of toolbar icons. The possible values are:
|
Controls the size of toolbar icons. The possible values are:
|
||||||
tiny Use tiny icons.
|
tiny Use tiny icons.
|
||||||
small Use small icons (default).
|
small Use small icons (default).
|
||||||
|
|||||||
@@ -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.*bar\%V
|
/\%Vfoo.*ba\%Vr
|
||||||
< Only works for the current buffer.
|
< This works if "foo bar" (or more) was Visually selected. This: >
|
||||||
|
/\%Vfoo.*ba\%Vr
|
||||||
|
< 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
|
||||||
|
|||||||
@@ -164,6 +164,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 +178,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 +191,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 +329,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 +596,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 +658,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 +773,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 +800,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 +1420,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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*repeat.txt* For Vim version 8.0. Last change: 2016 Sep 11
|
*repeat.txt* For Vim version 8.0. Last change: 2017 Feb 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -305,6 +305,11 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
|||||||
Mark) in utf-8 format Vim will recognize it, no need
|
Mark) in utf-8 format Vim will recognize it, no need
|
||||||
to use ":scriptencoding utf-8" then.
|
to use ":scriptencoding utf-8" then.
|
||||||
|
|
||||||
|
If you set the 'encoding' option in your |.vimrc|,
|
||||||
|
`:scriptencoding` must be placed after that. E.g.: >
|
||||||
|
set encoding=utf-8
|
||||||
|
scriptencoding utf-8
|
||||||
|
<
|
||||||
When compiled without the |+multi_byte| feature this
|
When compiled without the |+multi_byte| feature this
|
||||||
command is ignored.
|
command is ignored.
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
|
|||||||
@@ -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*
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 8.0. Last change: 2017 Jan 17
|
*syntax.txt* For Vim version 8.0. Last change: 2017 Feb 06
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -1476,7 +1476,7 @@ algorithm should work in the vast majority of cases. In some cases, such as a
|
|||||||
file that begins with 500 or more full-line comments, the script may
|
file that begins with 500 or more full-line comments, the script may
|
||||||
incorrectly decide that the fortran code is in fixed form. If that happens,
|
incorrectly decide that the fortran code is in fixed form. If that happens,
|
||||||
just add a non-comment statement beginning anywhere in the first five columns
|
just add a non-comment statement beginning anywhere in the first five columns
|
||||||
of the first twenty five lines, save (:w) and then reload (:e!) the file.
|
of the first twenty-five lines, save (:w) and then reload (:e!) the file.
|
||||||
|
|
||||||
Tabs in fortran files ~
|
Tabs in fortran files ~
|
||||||
Tabs are not recognized by the Fortran standards. Tabs are not a good idea in
|
Tabs are not recognized by the Fortran standards. Tabs are not a good idea in
|
||||||
@@ -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*
|
||||||
|
|
||||||
@@ -2933,6 +2933,13 @@ reduce this, the "sh_maxlines" internal variable can be set. Example: >
|
|||||||
The default is to use the twice sh_minlines. Set it to a smaller number to
|
The default is to use the twice sh_minlines. Set it to a smaller number to
|
||||||
speed up displaying. The disadvantage is that highlight errors may appear.
|
speed up displaying. The disadvantage is that highlight errors may appear.
|
||||||
|
|
||||||
|
syntax/sh.vim tries to flag certain problems as errors; usually things like
|
||||||
|
extra ']'s, 'done's, 'fi's, etc. If you find the error handling problematic
|
||||||
|
for your purposes, you may suppress such error highlighting by putting
|
||||||
|
the following line in your .vimrc: >
|
||||||
|
|
||||||
|
let g:sh_no_error= 1
|
||||||
|
<
|
||||||
|
|
||||||
*sh-embed* *sh-awk*
|
*sh-embed* *sh-awk*
|
||||||
Sh: EMBEDDING LANGUAGES~
|
Sh: EMBEDDING LANGUAGES~
|
||||||
@@ -3235,11 +3242,11 @@ syntax highlighting script handles this with the following logic:
|
|||||||
* If g:tex_stylish exists and is 1
|
* If g:tex_stylish exists and is 1
|
||||||
then the file will be treated as a "sty" file, so the "_"
|
then the file will be treated as a "sty" file, so the "_"
|
||||||
will be allowed as part of keywords
|
will be allowed as part of keywords
|
||||||
(irregardless of g:tex_isk)
|
(regardless of g:tex_isk)
|
||||||
* Else if the file's suffix is sty, cls, clo, dtx, or ltx,
|
* Else if the file's suffix is sty, cls, clo, dtx, or ltx,
|
||||||
then the file will be treated as a "sty" file, so the "_"
|
then the file will be treated as a "sty" file, so the "_"
|
||||||
will be allowed as part of keywords
|
will be allowed as part of keywords
|
||||||
(irregardless of g:tex_isk)
|
(regardless of g:tex_isk)
|
||||||
|
|
||||||
* If g:tex_isk exists, then it will be used for the local 'iskeyword'
|
* If g:tex_isk exists, then it will be used for the local 'iskeyword'
|
||||||
* Else the local 'iskeyword' will be set to 48-57,a-z,A-Z,192-255
|
* Else the local 'iskeyword' will be set to 48-57,a-z,A-Z,192-255
|
||||||
@@ -3320,8 +3327,8 @@ Some folding is now supported with syntax/vim.vim: >
|
|||||||
g:vimsyn_folding =~ 't' : fold tcl script
|
g:vimsyn_folding =~ 't' : fold tcl script
|
||||||
<
|
<
|
||||||
*g:vimsyn_noerror*
|
*g:vimsyn_noerror*
|
||||||
Not all error highlighting that syntax/vim.vim does may be correct; VimL is a
|
Not all error highlighting that syntax/vim.vim does may be correct; Vim script
|
||||||
difficult language to highlight correctly. A way to suppress error
|
is a difficult language to highlight correctly. A way to suppress error
|
||||||
highlighting is to put the following line in your |vimrc|: >
|
highlighting is to put the following line in your |vimrc|: >
|
||||||
|
|
||||||
let g:vimsyn_noerror = 1
|
let g:vimsyn_noerror = 1
|
||||||
|
|||||||
@@ -139,6 +139,10 @@ something else.
|
|||||||
:+tabclose " close the next tab page
|
:+tabclose " close the next tab page
|
||||||
:1tabclose " close the first tab page
|
:1tabclose " close the first tab page
|
||||||
:$tabclose " close the last tab page
|
:$tabclose " close the last tab page
|
||||||
|
:tabclose -2 " close the two previous tab page
|
||||||
|
:tabclose + " close the next tab page
|
||||||
|
:tabclose 3 " close the third tab page
|
||||||
|
:tabclose $ " close the last tab page
|
||||||
<
|
<
|
||||||
*:tabo* *:tabonly*
|
*:tabo* *:tabonly*
|
||||||
:tabo[nly][!] Close all other tab pages.
|
:tabo[nly][!] Close all other tab pages.
|
||||||
@@ -153,13 +157,20 @@ something else.
|
|||||||
" one
|
" one
|
||||||
|
|
||||||
:{count}tabo[nly][!]
|
:{count}tabo[nly][!]
|
||||||
Close all tab pages except the {count}th one. >
|
:tabo[nly][!] {count}
|
||||||
|
Close all tab pages except {count} one. >
|
||||||
:.tabonly " as above
|
:.tabonly " as above
|
||||||
:-tabonly " close all tab pages except the previous
|
:-tabonly " close all tab pages except the previous
|
||||||
" one
|
" one
|
||||||
:+tabonly " close all tab pages except the next one
|
:+tabonly " close all tab pages except the next one
|
||||||
:1tabonly " close all tab pages except the first one
|
:1tabonly " close all tab pages except the first one
|
||||||
:$tabonly " close all tab pages except the last one
|
:$tabonly " close all tab pages except the last one
|
||||||
|
:tabonly - " close all tab pages except the previous
|
||||||
|
" one
|
||||||
|
:tabonly +2 " close all tab pages except the two next
|
||||||
|
" one
|
||||||
|
:tabonly 1 " close all tab pages except the first one
|
||||||
|
:tabonly $ " close all tab pages except the last one
|
||||||
|
|
||||||
|
|
||||||
SWITCHING TO ANOTHER TAB PAGE:
|
SWITCHING TO ANOTHER TAB PAGE:
|
||||||
@@ -174,7 +185,20 @@ gt *i_CTRL-<PageDown>* *i_<C-PageDown>*
|
|||||||
Go to the next tab page. Wraps around from the last to the
|
Go to the next tab page. Wraps around from the last to the
|
||||||
first one.
|
first one.
|
||||||
|
|
||||||
|
:{count}tabn[ext]
|
||||||
:tabn[ext] {count}
|
:tabn[ext] {count}
|
||||||
|
Go to tab page {count}. The first tab page has number one. >
|
||||||
|
:-tabnext " go to the previous tab page
|
||||||
|
:+tabnext " go to the next tab page
|
||||||
|
:+2tabnext " go to the two next tab page
|
||||||
|
:1tabnext " go to the first tab page
|
||||||
|
:$tabnext " go to the last tab page
|
||||||
|
:tabnext $ " as above
|
||||||
|
:tabnext - " go to the previous tab page
|
||||||
|
:tabnext -1 " as above
|
||||||
|
:tabnext + " go to the next tab page
|
||||||
|
:tabnext +1 " as above
|
||||||
|
|
||||||
{count}<C-PageDown>
|
{count}<C-PageDown>
|
||||||
{count}gt Go to tab page {count}. The first tab page has number one.
|
{count}gt Go to tab page {count}. The first tab page has number one.
|
||||||
|
|
||||||
|
|||||||
@@ -965,6 +965,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'*
|
||||||
@@ -4498,7 +4500,9 @@ E935 eval.txt /*E935*
|
|||||||
E936 autocmd.txt /*E936*
|
E936 autocmd.txt /*E936*
|
||||||
E937 autocmd.txt /*E937*
|
E937 autocmd.txt /*E937*
|
||||||
E938 eval.txt /*E938*
|
E938 eval.txt /*E938*
|
||||||
|
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*
|
||||||
@@ -5070,6 +5074,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*
|
||||||
@@ -6588,7 +6593,7 @@ gui-x11-various gui_x11.txt /*gui-x11-various*
|
|||||||
gui.txt gui.txt /*gui.txt*
|
gui.txt gui.txt /*gui.txt*
|
||||||
gui_w32.txt gui_w32.txt /*gui_w32.txt*
|
gui_w32.txt gui_w32.txt /*gui_w32.txt*
|
||||||
gui_x11.txt gui_x11.txt /*gui_x11.txt*
|
gui_x11.txt gui_x11.txt /*gui_x11.txt*
|
||||||
guifontwide_gtk2 options.txt /*guifontwide_gtk2*
|
guifontwide_gtk options.txt /*guifontwide_gtk*
|
||||||
guifontwide_win_mbyte options.txt /*guifontwide_win_mbyte*
|
guifontwide_win_mbyte options.txt /*guifontwide_win_mbyte*
|
||||||
guioptions_a options.txt /*guioptions_a*
|
guioptions_a options.txt /*guioptions_a*
|
||||||
guu change.txt /*guu*
|
guu change.txt /*guu*
|
||||||
@@ -8731,7 +8736,9 @@ 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*
|
||||||
@@ -8739,6 +8746,7 @@ 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_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()*
|
||||||
|
|||||||
@@ -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 Jan 28
|
*todo.txt* For Vim version 8.0. Last change: 2017 Mar 05
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -105,30 +105,31 @@ 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?
|
||||||
|
|
||||||
'] mark invalid after undoing insert "hello".
|
Running test_gui and test_gui_init with Motif sometimes kills the window
|
||||||
|
manager. Problem with Motif?
|
||||||
|
|
||||||
When using symbolic links, a package path will not be inserted at the right
|
Memory leak in test97? The string is actually freed. Weird.
|
||||||
position in 'runtimepath'. (Dugan Chen, 2016 Nov 18)
|
|
||||||
|
Add a toolbar in the terminal. Can be global, above all windows, or specific
|
||||||
|
for one window.
|
||||||
|
Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
|
||||||
|
tb_highlight(winid, 'ToolBar')
|
||||||
|
tb_get(winid)
|
||||||
|
|
||||||
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
|
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
|
||||||
What if there is an invalid character?
|
What if there is an invalid character?
|
||||||
|
|
||||||
Allow using json with empty key? Dict already has it.
|
|
||||||
|
|
||||||
Json string with trailing \u should be an error. (Lcd)
|
Json string with trailing \u should be an error. (Lcd)
|
||||||
|
|
||||||
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
|
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
|
||||||
|
|
||||||
Patch: Make mode() return "ix" or "Rx" when in completion mode.
|
|
||||||
(Yegappan Lakshmanan, 2017 Jan 19, #1397, update Jan 22)
|
|
||||||
|
|
||||||
With Visual selection of a multi-byte character the '] mark is on the last
|
|
||||||
byte, should be first byte?
|
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
@@ -136,20 +137,17 @@ 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
|
||||||
|
|
||||||
Completion for user-defined commands does not work if a few chararacters were
|
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
|
||||||
already typed. (Dominique, 2017 Jan 26)
|
already typed. (Dominique, 2017 Jan 26)
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
Relevant neovim patch:
|
|
||||||
https://github.com/neovim/neovim/pull/5737#issuecomment-266055165
|
|
||||||
|
|
||||||
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
|
Patch to add 'makeencoding', useful when the system encoding differs from
|
||||||
Vim's 'encoding' setting. (Ken Takata, 2017 Jan 6)
|
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
|
Patch to adjust marks when adding a new line to the end of buffer in diff
|
||||||
mode. (James McCoy, 2016 Dec 14, #1329)
|
mode. (James McCoy, 2016 Dec 14, #1329)
|
||||||
@@ -159,18 +157,43 @@ Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15,
|
|||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
8 "stl" and "stlnc" in 'fillchars' don't work for multi-byte characters.
|
8 "stl" and "stlnc" in 'fillchars' don't work for multi-byte characters.
|
||||||
Patch by Christian Wellenbrock, 2013 Jul 5.
|
Patch by Christian Wellenbrock, 2013 Jul 5.
|
||||||
|
|
||||||
|
Using CTRL-G_U in InsertCharPre causes trouble for redo. (Israel Chauca
|
||||||
|
Fuentes, 2017 Feb 12, #1470)
|
||||||
|
|
||||||
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().
|
Patch to add buffer name argument to taglist().
|
||||||
Ordering of tags in result of taglist call. (Duncan McDougall, #1194)
|
Ordering of tags in result of taglist call. (Duncan McDougall, #1194)
|
||||||
|
|
||||||
|
Patch to fix that b_ind_has_comment is not correctly reset. (Christian
|
||||||
|
Brabandt, 2017 Feb 14, closes #1475)
|
||||||
|
|
||||||
|
writefile() does not abort as soon as an error is found. (Nikolai Pavlov,
|
||||||
|
2017 Feb 14, #1476)
|
||||||
|
|
||||||
|
Patch to support on-the-spot and over-the-spot input method. (Ken Takata, 2017
|
||||||
|
Feb 14).
|
||||||
|
|
||||||
|
Add a command to take a range of lines, filter them and put the output
|
||||||
|
somewhere else. :{range}copy {dest} !cmd
|
||||||
|
|
||||||
Patch to fix that empty first tab is not in session.
|
Patch to fix that empty first tab is not in session.
|
||||||
(Hirohito Higashi, 2016 Nov 25, #1282)
|
(Hirohito Higashi, 2016 Nov 25, #1282)
|
||||||
|
|
||||||
@@ -184,6 +207,9 @@ The TermResponse event is not triggered when a plugin has set 'eventignore' to
|
|||||||
"all". Netrw does this. (Gary Johnson, 2017 Jan 24)
|
"all". Netrw does this. (Gary Johnson, 2017 Jan 24)
|
||||||
Postpone the event until 'eventignore' is reset.
|
Postpone the event until 'eventignore' is reset.
|
||||||
|
|
||||||
|
Patch to make urxvt mouse work better, recognize Esc[*M termcap code.
|
||||||
|
(Maurice Bos, 2017 Feb 17, #1486)
|
||||||
|
|
||||||
Once .exe with updated installer is available: Add remark to download page
|
Once .exe with updated installer is available: Add remark to download page
|
||||||
about /S and /D options (Ken Takata, 2016 Apr 13)
|
about /S and /D options (Ken Takata, 2016 Apr 13)
|
||||||
Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
|
Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
|
||||||
@@ -191,9 +217,20 @@ Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
|
|||||||
Problem passing non-UTF-8 strings to Python 3. (Björn Linse, 2016 Sep 11,
|
Problem passing non-UTF-8 strings to Python 3. (Björn Linse, 2016 Sep 11,
|
||||||
#1053) With patch, does it work?
|
#1053) With patch, does it work?
|
||||||
|
|
||||||
|
Using --remote to open a file in which a # appears does not work on
|
||||||
|
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
|
||||||
|
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?
|
||||||
|
|
||||||
@@ -209,6 +246,9 @@ 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)
|
||||||
@@ -228,6 +268,8 @@ 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)
|
||||||
|
|
||||||
|
Patch to change argument of :marks. (LemonBoy, 2017 Jan 29, #1426)
|
||||||
|
|
||||||
On Windows buffer completion sees backslash as escape char instead of path
|
On Windows buffer completion sees backslash as escape char instead of path
|
||||||
separator. (Toffanim, 2016 Nov 24, #1274)
|
separator. (Toffanim, 2016 Nov 24, #1274)
|
||||||
|
|
||||||
@@ -265,7 +307,7 @@ change as a word boundary. (btucker-MPCData, 2016 Nov 6, #1235)
|
|||||||
Idea from Sven: record sequence of keys. Useful to show others what they are
|
Idea from Sven: record sequence of keys. Useful to show others what they are
|
||||||
doing (look over the shoulder), and also to see what happened.
|
doing (look over the shoulder), and also to see what happened.
|
||||||
Probably list of keystrokes, with some annotations for mode changes.
|
Probably list of keystrokes, with some annotations for mode changes.
|
||||||
Could store in logfile to be able to analyise it with an external command.
|
Could store in logfile to be able to analyse it with an external command.
|
||||||
E.g. to see when's the last time a plugin command was used.
|
E.g. to see when's the last time a plugin command was used.
|
||||||
|
|
||||||
execute() cannot be used with command completeion. (Daniel Hahler, 2016 Oct 1,
|
execute() cannot be used with command completeion. (Daniel Hahler, 2016 Oct 1,
|
||||||
@@ -293,7 +335,7 @@ Also with latest version.
|
|||||||
Cannot delete a file with square brackets with delete(). (#696)
|
Cannot delete a file with square brackets with delete(). (#696)
|
||||||
|
|
||||||
Patch to add ":syn foldlevel" to use fold level further down the line.
|
Patch to add ":syn foldlevel" to use fold level further down the line.
|
||||||
(Brad King, 2016 Oct 19)
|
(Brad King, 2016 Oct 19, update 2017 Jan 30)
|
||||||
|
|
||||||
Completion for input() does not expand environment variables. (chdiza, 2016
|
Completion for input() does not expand environment variables. (chdiza, 2016
|
||||||
Jul 25, #948)
|
Jul 25, #948)
|
||||||
@@ -395,6 +437,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
|
||||||
|
|||||||
@@ -589,7 +589,7 @@ Summary: *help-summary* >
|
|||||||
register: >
|
register: >
|
||||||
:help quote:
|
:help quote:
|
||||||
|
|
||||||
13) Vim Script (VimL) is available at >
|
13) Vim script is available at >
|
||||||
:help eval.txt
|
:help eval.txt
|
||||||
< Certain aspects of the language are available at :h expr-X where "X" is a
|
< Certain aspects of the language are available at :h expr-X where "X" is a
|
||||||
single letter. E.g. >
|
single letter. E.g. >
|
||||||
@@ -599,10 +599,10 @@ Summary: *help-summary* >
|
|||||||
Also important is >
|
Also important is >
|
||||||
:help function-list
|
:help function-list
|
||||||
< to find a short description of all functions available. Help topics for
|
< to find a short description of all functions available. Help topics for
|
||||||
VimL functions always include the "()", so: >
|
Vim script functions always include the "()", so: >
|
||||||
:help append()
|
:help append()
|
||||||
< talks about the append VimL function rather than how to append text in the
|
< talks about the append Vim script function rather than how to append text
|
||||||
current buffer.
|
in the current buffer.
|
||||||
|
|
||||||
14) Mappings are talked about in the help page :h |map.txt|. Use >
|
14) Mappings are talked about in the help page :h |map.txt|. Use >
|
||||||
:help mapmode-i
|
:help mapmode-i
|
||||||
@@ -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: >
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ the following:
|
|||||||
|
|
||||||
This tells you that you might want to fix something on line 33. So how do you
|
This tells you that you might want to fix something on line 33. So how do you
|
||||||
find line 33? One way is to do "9999k" to go to the top of the file and "32j"
|
find line 33? One way is to do "9999k" to go to the top of the file and "32j"
|
||||||
to go down thirty two lines. It is not a good way, but it works. A much
|
to go down thirty-two lines. It is not a good way, but it works. A much
|
||||||
better way of doing things is to use the "G" command. With a count, this
|
better way of doing things is to use the "G" command. With a count, this
|
||||||
command positions you at the given line number. For example, "33G" puts you
|
command positions you at the given line number. For example, "33G" puts you
|
||||||
on line 33. (For a better way of going through a compiler's error list, see
|
on line 33. (For a better way of going through a compiler's error list, see
|
||||||
|
|||||||
@@ -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 01
|
||||||
|
|
||||||
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
|
||||||
@@ -922,12 +924,14 @@ Testing: *test-functions*
|
|||||||
test_autochdir() enable 'autochdir' during startup
|
test_autochdir() enable 'autochdir' during startup
|
||||||
test_disable_char_avail() test without typeahead
|
test_disable_char_avail() test without typeahead
|
||||||
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
|
||||||
|
|||||||
@@ -886,7 +886,7 @@ Adjusted test2 for this.
|
|||||||
Allow using a URL in 'path'. Makes ":find index.html" work.
|
Allow using a URL in 'path'. Makes ":find index.html" work.
|
||||||
|
|
||||||
GTK: Allow dropping a http:// and ftp:// URL on Vim. The netrw plugin takes
|
GTK: Allow dropping a http:// and ftp:// URL on Vim. The netrw plugin takes
|
||||||
care of downloading the file. (MiKael Berthe)
|
care of downloading the file. (Mikael Berthe)
|
||||||
|
|
||||||
|
|
||||||
Window for command-line editing *new-cmdwin*
|
Window for command-line editing *new-cmdwin*
|
||||||
@@ -5388,7 +5388,7 @@ Files: src/os_win32.c
|
|||||||
|
|
||||||
Patch 6.0.256 (extra)
|
Patch 6.0.256 (extra)
|
||||||
Problem: Win32: ":highlight Comment guifg=asdf" does not give an error
|
Problem: Win32: ":highlight Comment guifg=asdf" does not give an error
|
||||||
message. (Randall W. Morris) Also for other systems.
|
message. (Randall W. Morris) Also for other systems.
|
||||||
Solution: Add gui_get_color() to give one error message for all systems.
|
Solution: Add gui_get_color() to give one error message for all systems.
|
||||||
Files: src/gui.c, src/gui_amiga.c, src/gui_athena.c, src/gui_motif.c,
|
Files: src/gui.c, src/gui_amiga.c, src/gui_athena.c, src/gui_motif.c,
|
||||||
src/gui_riscos.c, src/gui_x11.c, src/gui_gtk_x11.c,
|
src/gui_riscos.c, src/gui_x11.c, src/gui_gtk_x11.c,
|
||||||
@@ -9955,7 +9955,7 @@ Use "copy /y" in Make_bc5.mak to avoid a prompt for overwriting.
|
|||||||
|
|
||||||
Patch 6.2.001
|
Patch 6.2.001
|
||||||
Problem: The ":stopinsert" command doesn't have a help tag.
|
Problem: The ":stopinsert" command doesn't have a help tag.
|
||||||
Solution: Add the tag. (Antoine J. Mechelynck)
|
Solution: Add the tag. (Antoine J. Mechelynck)
|
||||||
Files: runtime/doc/insert.txt, runtime/doc/tags
|
Files: runtime/doc/insert.txt, runtime/doc/tags
|
||||||
|
|
||||||
Patch 6.2.002
|
Patch 6.2.002
|
||||||
|
|||||||
@@ -1445,7 +1445,7 @@ g CTRL-G also shows the number of characters if it differs from the number of
|
|||||||
bytes.
|
bytes.
|
||||||
|
|
||||||
Completion for ":debug" and entering an expression for the '=' register. Skip
|
Completion for ":debug" and entering an expression for the '=' register. Skip
|
||||||
":" between range and command name. (Peter winters)
|
":" between range and command name. (Peter Winters)
|
||||||
|
|
||||||
CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
|
CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
|
||||||
ignored.
|
ignored.
|
||||||
@@ -3371,7 +3371,7 @@ Files: runtime/scripts.vim
|
|||||||
Patch 7.0.050
|
Patch 7.0.050
|
||||||
Problem: After using the netbeans interface close command a stale pointer
|
Problem: After using the netbeans interface close command a stale pointer
|
||||||
may be used.
|
may be used.
|
||||||
Solution: Clear the pointer to the closed buffer. (Xaview de Gaye)
|
Solution: Clear the pointer to the closed buffer. (Xavier de Gaye)
|
||||||
Files: src/netbeans.c
|
Files: src/netbeans.c
|
||||||
|
|
||||||
Patch 7.0.051 (after 7.0.44)
|
Patch 7.0.051 (after 7.0.44)
|
||||||
@@ -10202,7 +10202,7 @@ objects in place of `str()` ones avoiding possibility of UnicodeDecodeError.
|
|||||||
interfaces to some extent. Extent will be improved in the future.
|
interfaces to some extent. Extent will be improved in the future.
|
||||||
|
|
||||||
Added special |python-vars| objects also available for |python-buffer| and
|
Added special |python-vars| objects also available for |python-buffer| and
|
||||||
|python-window|. They ease access to VimL variables from Python.
|
|python-window|. They ease access to Vim script variables from Python.
|
||||||
|
|
||||||
Now you no longer need to alter `sys.path` to import your module: special
|
Now you no longer need to alter `sys.path` to import your module: special
|
||||||
hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and
|
hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and
|
||||||
@@ -16272,7 +16272,7 @@ Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
|
|||||||
|
|
||||||
Patch 7.3.1026
|
Patch 7.3.1026
|
||||||
Problem: New regexp: pattern that includes a new-line matches too early.
|
Problem: New regexp: pattern that includes a new-line matches too early.
|
||||||
(john McGowan)
|
(John McGowan)
|
||||||
Solution: Do not start searching in the second line.
|
Solution: Do not start searching in the second line.
|
||||||
Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
|
Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
|
||||||
|
|
||||||
|
|||||||
@@ -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 Feb 24
|
||||||
|
|
||||||
|
|
||||||
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
|
||||||
@@ -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 04
|
||||||
|
|
||||||
" 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")
|
||||||
@@ -2280,6 +2280,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
|
||||||
|
|||||||
18
runtime/ftplugin/awk.vim
Normal file
18
runtime/ftplugin/awk.vim
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
" Vim filetype plugin
|
||||||
|
" Language: awk, nawk, gawk, mawk
|
||||||
|
" Maintainer: Antonio Colombo <azc100@gmail.com>
|
||||||
|
" Last Change: 2017 Feb 17
|
||||||
|
|
||||||
|
" This plugin was prepared by Mark Sikora
|
||||||
|
|
||||||
|
" Only do this when not done yet for this buffer
|
||||||
|
if exists("b:did_ftplugin")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Don't load another plugin for this buffer
|
||||||
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
let b:undo_ftplugin = "setl commentstring<"
|
||||||
|
|
||||||
|
setlocal commentstring=#\ %s
|
||||||
@@ -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,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
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user