1
0
forked from aniani/vim

Update runtime files, add Danish translations.

This commit is contained in:
Bram Moolenaar
2018-07-07 23:21:31 +02:00
parent fe08df452a
commit fd35811ca5
15 changed files with 2252 additions and 33 deletions

52
runtime/doc/evim.man Normal file
View File

@@ -0,0 +1,52 @@
EVIM(1) EVIM(1)
NAME
evim - easy Vim, edit a file with Vim and setup for modeless editing
SYNOPSIS
evim [options] [file ..]
eview
DESCRIPTION
eVim starts Vim and sets options to make it behave like a modeless edi-
tor. This is still Vim but used as a point-and-click editor. This
feels a lot like using Notepad on MS-Windows. eVim will always run in
the GUI, to enable the use of menus and toolbar.
Only to be used for people who really can't work with Vim in the normal
way. Editing will be much less efficient.
eview is the same, but starts in read-only mode. It works just like
evim -R.
See vim(1) for details about Vim, options, etc.
The 'insertmode' option is set to be able to type text directly.
Mappings are setup to make Copy and Paste work with the MS-Windows
keys. CTRL-X cuts text, CTRL-C copies text and CTRL-V pastes text.
Use CTRL-Q to obtain the original meaning of CTRL-V.
OPTIONS
See vim(1).
FILES
/usr/local/lib/vim/evim.vim
The script loaded to initialize eVim.
AKA
Also Known As "Vim for gumbies". When using evim you are expected to
take a handkerchief, make a knot in each corner and wear it on your
head.
SEE ALSO
vim(1)
AUTHOR
Most of Vim was made by Bram Moolenaar, with a lot of help from others.
See the Help/Credits menu.
2002 February 16 EVIM(1)

View File

@@ -125,9 +125,9 @@ Vim evaluation and command execution, and others.
Non-numeric keys are not used to initialize
the list. See also |lua-eval| for conversion
rules. Example: >
:lua t = {math.pi, false, say = 'hi'}
:echo luaeval('vim.list(t)')
:" [3.141593, v:false], 'say' is ignored
:lua t = {math.pi, false, say = 'hi'}
:echo luaeval('vim.list(t)')
:" [3.141593, v:false], 'say' is ignored
<
vim.dict([arg]) Returns an empty dictionary or, if "arg" is a
Lua table, returns a dict d such that d[k] =
@@ -136,12 +136,14 @@ Vim evaluation and command execution, and others.
strings. Keys that are not strings are not
used to initialize the dictionary. See also
|lua-eval| for conversion rules. Example: >
:lua t = {math.pi, false, say = 'hi'}
:echo luaeval('vim.dict(t)')
:" {'say': 'hi'}, numeric keys ignored
:lua t = {math.pi, false, say = 'hi'}
:echo luaeval('vim.dict(t)')
:" {'1': 3.141593, '2': v:false,
:" 'say': 'hi'}
<
vim.funcref({name}) Returns a Funcref to function {name} (see
|Funcref|). It is equivalent to Vim's function().
|Funcref|). It is equivalent to Vim's
function().
vim.buffer([arg]) If "arg" is a number, returns buffer with
number "arg" in the buffer list or, if "arg"

View File

@@ -830,7 +830,9 @@ A jump table for the options with a short description can be found at |Q_op|.
{not in Vi}
When a file has been detected to have been changed outside of Vim and
it has not been changed inside of Vim, automatically read it again.
When the file has been deleted this is not done. |timestamp|
When the file has been deleted this is not done, so you have the text
from before it was deleted. When it appears again then it is read.
|timestamp|
If this option has a local value, use this command to switch back to
using the global value: >
:set autoread<
@@ -5233,7 +5235,10 @@ A jump table for the options with a short description can be found at |Q_op|.
Running into the limit often means that the pattern is very
inefficient or too complex. This may already happen with the pattern
"\(.\)*" on a very long line. ".*" works much better.
Vim may run out of memory before hitting the 'maxmempattern' limit.
Might also happen on redraw, when syntax rules try to match a complex
text structure.
Vim may run out of memory before hitting the 'maxmempattern' limit, in
which case you get an "Out of memory" error instead.
*'maxmemtot'* *'mmt'*
'maxmemtot' 'mmt' number (default between 2048 and 10240 (system

View File

@@ -91,24 +91,13 @@ Errors found with random data:
More warnings from static analysis:
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
Patch to fix that :cexpr no longer jumps to first error. (Yegappan 2018 Jun
25, #3092)
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
Related to bracketed paste. I cannot reproduce it.
Using ":file" in quickfix window during an autocommand doesn't work.
(Jason Franklin, 2018 May 23) Allow for using it when there is no argument.
Pull request #2967: Allow white space in sign text. (Ben Jackson)
Patch for xterm and vt320 builtin termcap. (Kouichi Iwamoto, 2018 May 31,
#2973)
Patch for matchit and matchparen. (Christian, 2018 Jun 25)
Patch to add more testing for :cd command. (Dominique Pelle, 2018 May 30,
#2972)
Patch in pull request #2967: Allow white space in sign text. (Ben Jackson)
Whenever the file name is "~" then expand('%:p') returns $HOME. (Aidan
Shafran, 2018 Jun 23, #3072) Proposed patch by Aidan, 2018 Jun 24.
@@ -116,12 +105,16 @@ Shafran, 2018 Jun 23, #3072) Proposed patch by Aidan, 2018 Jun 24.
Patch to set w_set_curswant when setting the cursor in language interfaces.
(David Hotham, 2018 Jun 22, #3060)
Patch for Lua 5.3. (Ken Takata, 2018 Jul 5, #3157)
Patch to make CTRL-W <CR> work properly in a quickfix window. (Jason Franklin,
2018 May 30)
Patch to make mode() return something different for Normal mode when coming
from Insert mode with CTRL-O. (#3000)
Patches for Python: #3162, #3263 (Ozaki Kiichi)
Script generated by :mksession does not work well if there are windows with
modified buffers
change "silent only" into "silent only!"
@@ -131,6 +124,9 @@ modified buffers
Patch to make :help work for tags with a ?. (Hirohito Higashi, 2018 May 28)
Patch to adjust to DPI setting for GTK. (Roel van de Kraats, 2017 Nov 20,
#2357)
Compiler warnings (geeknik, 2017 Oct 26):
- signed integer overflow in do_sub() (#2249)
- signed integer overflow in get_address() (#2248)
@@ -398,9 +394,6 @@ Problem with 'delcombine'. (agguser, 2017 Nov 10, #2313)
MS-Windows: buffer completion doesn't work when using backslash (or slash)
for a path separator. (xtal8, #2201)
Patch to adjust to DPI setting for GTK. (Roel van de Kraats, 2017 Nov 20,
#2357)
Test runtime files.
Start with filetype detection: testdir/test_filetype.vim

View File

@@ -108,8 +108,8 @@ Go to Normal mode with the ":vi" command.
Can also be done with the "\-e" argument.
.TP
view
Start in read-only mode. You will be protected from writing the files. Can
also be done with the "\-R" argument.
Start in read-only mode. You will be protected from writing the files.
Can also be done with the "\-R" argument.
.TP
gvim gview
The GUI version.
@@ -142,8 +142,7 @@ See ":help search\-pattern" for the available search patterns.
+{command}
.TP
\-c {command}
{command} will be executed after the
first file has been read.
{command} will be executed after the first file has been read.
{command} is interpreted as an Ex command.
If the {command} contains spaces it must be enclosed in double quotes (this
depends on the shell that is used).
@@ -355,8 +354,7 @@ Tells
.B Vim
the name of the terminal you are using.
Only required when the automatic way doesn't work.
Should be a terminal known
to
Should be a terminal known to
.B Vim
(builtin) or defined in the termcap or terminfo file.
.TP

46
runtime/doc/vimdiff-da.1 Normal file
View File

@@ -0,0 +1,46 @@
.TH VIMDIFF 1 "30. marts 2001"
.SH NAVN
vimdiff \- rediger to, tre eller fire version af en fil med Vim, og vis forskellene
.SH SYNOPSIS
.br
.B vimdiff
[tilvalg] fil1 fil2 [fil3 [fil4]]
.PP
.B gvimdiff
.SH BESKRIVELSE
.B Vimdiff
starter
.B Vim
på to (eller tre eller fire) filer.
Hver fil får sit eget vindue.
Forskellene mellem filerne fremhæves.
Det er en fin måde til at inspicere ændringer og til at flytte ændringer fra en version
til en anden version af den samme fil.
.PP
Se vim(1) for detaljer om selve Vim.
.PP
Når den startes som
.B gvimdiff
, så starter den GUI'en, hvis den er tilgængelig.
.PP
I hvert vindue sættes 'diff'-valgmuligheden, som får forskellene
til at blive fremhævet.
.br
\'wrap'- og 'scrollbind'-valgmulighederne sættes for at få teksten til at se godt ud.
.br
\'foldmethod'-valgmuligheden sættes til "diff", hvilket lægger områder af linjer uden
ændringer i en sammenfoldning. 'foldcolumn' sættes til to, for at gøre det lettere at se
sammenfoldningerne og åbne eller lukke dem.
.SH TILVALG
Lodrette opdelinger bruges til at opstille linjerne, som hvis "\-O"-argumentet blev brugt.
Brug "\-o"-argumentet, for i stedet at bruge vandrette opdelinger.
.PP
Se vim(1) for alle andre argumenter.
.SH SE OGSÅ
vim(1)
.SH FORFATTER
Det meste af
.B Vim
blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
Se ":help credits" i
.B Vim.

View File

@@ -0,0 +1,46 @@
.TH VIMDIFF 1 "30. marts 2001"
.SH NAVN
vimdiff \- rediger to, tre eller fire version af en fil med Vim, og vis forskellene
.SH SYNOPSIS
.br
.B vimdiff
[tilvalg] fil1 fil2 [fil3 [fil4]]
.PP
.B gvimdiff
.SH BESKRIVELSE
.B Vimdiff
starter
.B Vim
på to (eller tre eller fire) filer.
Hver fil får sit eget vindue.
Forskellene mellem filerne fremhæves.
Det er en fin måde til at inspicere ændringer og til at flytte ændringer fra en version
til en anden version af den samme fil.
.PP
Se vim(1) for detaljer om selve Vim.
.PP
Når den startes som
.B gvimdiff
, så starter den GUI'en, hvis den er tilgængelig.
.PP
I hvert vindue sættes 'diff'-valgmuligheden, som får forskellene
til at blive fremhævet.
.br
\'wrap'- og 'scrollbind'-valgmulighederne sættes for at få teksten til at se godt ud.
.br
\'foldmethod'-valgmuligheden sættes til "diff", hvilket lægger områder af linjer uden
ændringer i en sammenfoldning. 'foldcolumn' sættes til to, for at gøre det lettere at se
sammenfoldningerne og åbne eller lukke dem.
.SH TILVALG
Lodrette opdelinger bruges til at opstille linjerne, som hvis "\-O"-argumentet blev brugt.
Brug "\-o"-argumentet, for i stedet at bruge vandrette opdelinger.
.PP
Se vim(1) for alle andre argumenter.
.SH SE OGSÅ
vim(1)
.SH FORFATTER
Det meste af
.B Vim
blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
Se ":help credits" i
.B Vim.

54
runtime/doc/vimtutor-da.1 Normal file
View File

@@ -0,0 +1,54 @@
.TH VIMTUTOR 1 "2. april 2001"
.SH NAVN
vimtutor \- Vim-vejledningen
.SH SYNOPSIS
.br
.B vimtutor [\-g] [sprog]
.SH BESKRIVELSE
.B Vimtutor
starter
.B Vim\c
-vejledningen.
Det kopierer først vejledningsfilen, så den kan ændres uden at ændre
den originale fil.
.PP
.B Vimtutor
er nyttig til personer der vil lære deres første
.B Vim\c
-kommandoer.
.PP
Det valgfrie argument \-g starter vimtutor med gvim fremfor vim, hvis
GUI-versionen af vim er tilgængelig, ellers bruges Vim hvis ikke gvim findes.
.PP
Det valgfrie [sprog]-argument er navnet på et sprog, på 2 bogstaver, såsom
"da" eller "fi".
Hvis [sprog]-argumentet mangler, bruges sproget fra den nuværende lokalitet.
Hvis der findes er en vejledning på dette sprog, så bruges den.
Ellers bruges den engelske version.
.PP
.B Vim
startes altid i Vi-kompatibel tilstand.
.SH FILER
.TP 15
/usr/local/lib/vim/tutor/tutor[.sprog]
.B Vimtutor\c
-tekstfilerne
.
.TP 15
/usr/local/lib/vim/tutor/tutor.vim
Vim-scriptet som bruges til at kopiere
.B Vimtutor\c
-tekstfilen.
.SH FORFATTER
.B Vimtutor
blev oprindeligt skrevet til Vi af Michael C. Pierce og Robert K. Ware,
Colorado School of Mines med ideer af Charles Smith,
Colorado State University.
E-mail: bware@mines.colorado.edu.
.br
Den blev ændret til
.B Vim
af Bram Moolenaar.
Oversætternes navne kan ses i tutor-filerne.
.SH SE OGSÅ
vim(1)

View File

@@ -0,0 +1,54 @@
.TH VIMTUTOR 1 "2. april 2001"
.SH NAVN
vimtutor \- Vim-vejledningen
.SH SYNOPSIS
.br
.B vimtutor [\-g] [sprog]
.SH BESKRIVELSE
.B Vimtutor
starter
.B Vim\c
-vejledningen.
Det kopierer først vejledningsfilen, så den kan ændres uden at ændre
den originale fil.
.PP
.B Vimtutor
er nyttig til personer der vil lære deres første
.B Vim\c
-kommandoer.
.PP
Det valgfrie argument \-g starter vimtutor med gvim fremfor vim, hvis
GUI-versionen af vim er tilgængelig, ellers bruges Vim hvis ikke gvim findes.
.PP
Det valgfrie [sprog]-argument er navnet på et sprog, på 2 bogstaver, såsom
"da" eller "fi".
Hvis [sprog]-argumentet mangler, bruges sproget fra den nuværende lokalitet.
Hvis der findes er en vejledning på dette sprog, så bruges den.
Ellers bruges den engelske version.
.PP
.B Vim
startes altid i Vi-kompatibel tilstand.
.SH FILER
.TP 15
/usr/local/lib/vim/tutor/tutor[.sprog]
.B Vimtutor\c
-tekstfilerne
.
.TP 15
/usr/local/lib/vim/tutor/tutor.vim
Vim-scriptet som bruges til at kopiere
.B Vimtutor\c
-tekstfilen.
.SH FORFATTER
.B Vimtutor
blev oprindeligt skrevet til Vi af Michael C. Pierce og Robert K. Ware,
Colorado School of Mines med ideer af Charles Smith,
Colorado State University.
E-mail: bware@mines.colorado.edu.
.br
Den blev ændret til
.B Vim
af Bram Moolenaar.
Oversætternes navne kan ses i tutor-filerne.
.SH SE OGSÅ
vim(1)