mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
Update runtime files.
This commit is contained in:
parent
2196bca737
commit
b477af2260
@ -51,4 +51,17 @@ Look in the header of the file for the name and email address.
|
|||||||
The maintainer will take care of issues and send updates to Bram for
|
The maintainer will take care of issues and send updates to Bram for
|
||||||
distribution with Vim.
|
distribution with Vim.
|
||||||
|
|
||||||
If the maintainer does not react, contact the vim-dev maillist.
|
If the maintainer does not respond, contact the vim-dev maillist.
|
||||||
|
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
|
||||||
|
Translating messages and runtime files is very much appreciated! These things can be translated:
|
||||||
|
* Messages in Vim, see src/po/README.txt
|
||||||
|
* Menus, see runtime/lang/README.txt
|
||||||
|
* Vim tutor, see runtime/tutor/README.txt
|
||||||
|
* Manual pages, see runtime/doc/*.1 for examples
|
||||||
|
* Desktop icon, see runtime/vim.desktop and runtime/gvim.desktop
|
||||||
|
|
||||||
|
The help files can be translated and made available separately.
|
||||||
|
See https://www.vim.org/translations.php for examples.
|
||||||
|
@ -345,7 +345,7 @@ Name triggered by ~
|
|||||||
when popup menu is not visible
|
when popup menu is not visible
|
||||||
|TextChangedP| after a change was made to the text in Insert mode
|
|TextChangedP| after a change was made to the text in Insert mode
|
||||||
when popup menu visible
|
when popup menu visible
|
||||||
|TextYankPost| after text is yanked or deleted
|
|TextYankPost| after text has been yanked or deleted
|
||||||
|
|
||||||
|ColorSchemePre| before loading a color scheme
|
|ColorSchemePre| before loading a color scheme
|
||||||
|ColorScheme| after loading a color scheme
|
|ColorScheme| after loading a color scheme
|
||||||
|
@ -4936,6 +4936,9 @@ gettabwinvar({tabnr}, {winnr}, {varname} [, {def}]) *gettabwinvar()*
|
|||||||
:let list_is_on = gettabwinvar(1, 2, '&list')
|
:let list_is_on = gettabwinvar(1, 2, '&list')
|
||||||
:echo "myvar = " . gettabwinvar(3, 1, 'myvar')
|
:echo "myvar = " . gettabwinvar(3, 1, 'myvar')
|
||||||
<
|
<
|
||||||
|
To obtain all window-local variables use: >
|
||||||
|
gettabwinvar({tabnr}, {winnr}, '&')
|
||||||
|
|
||||||
getwininfo([{winid}]) *getwininfo()*
|
getwininfo([{winid}]) *getwininfo()*
|
||||||
Returns information about windows as a List with Dictionaries.
|
Returns information about windows as a List with Dictionaries.
|
||||||
|
|
||||||
@ -4949,8 +4952,6 @@ getwininfo([{winid}]) *getwininfo()*
|
|||||||
Each List item is a Dictionary with the following entries:
|
Each List item is a Dictionary with the following entries:
|
||||||
bufnr number of buffer in the window
|
bufnr number of buffer in the window
|
||||||
height window height (excluding winbar)
|
height window height (excluding winbar)
|
||||||
winbar 1 if the window has a toolbar, 0
|
|
||||||
otherwise
|
|
||||||
loclist 1 if showing a location list
|
loclist 1 if showing a location list
|
||||||
{only with the +quickfix feature}
|
{only with the +quickfix feature}
|
||||||
quickfix 1 if quickfix or location list window
|
quickfix 1 if quickfix or location list window
|
||||||
@ -4961,6 +4962,8 @@ getwininfo([{winid}]) *getwininfo()*
|
|||||||
variables a reference to the dictionary with
|
variables a reference to the dictionary with
|
||||||
window-local variables
|
window-local variables
|
||||||
width window width
|
width window width
|
||||||
|
winbar 1 if the window has a toolbar, 0
|
||||||
|
otherwise
|
||||||
wincol leftmost screen column of the window,
|
wincol leftmost screen column of the window,
|
||||||
col from |win_screenpos()|
|
col from |win_screenpos()|
|
||||||
winid |window-ID|
|
winid |window-ID|
|
||||||
@ -4968,9 +4971,6 @@ getwininfo([{winid}]) *getwininfo()*
|
|||||||
winrow topmost screen column of the window,
|
winrow topmost screen column of the window,
|
||||||
row from |win_screenpos()|
|
row from |win_screenpos()|
|
||||||
|
|
||||||
To obtain all window-local variables use: >
|
|
||||||
gettabwinvar({tabnr}, {winnr}, '&')
|
|
||||||
|
|
||||||
getwinpos([{timeout}]) *getwinpos()*
|
getwinpos([{timeout}]) *getwinpos()*
|
||||||
The result is a list with two numbers, the result of
|
The result is a list with two numbers, the result of
|
||||||
getwinposx() and getwinposy() combined:
|
getwinposx() and getwinposy() combined:
|
||||||
@ -11580,7 +11580,7 @@ The sandbox is also used for the |:sandbox| command.
|
|||||||
|
|
||||||
These items are not allowed in the sandbox:
|
These items are not allowed in the sandbox:
|
||||||
- changing the buffer text
|
- changing the buffer text
|
||||||
- defining or changing mapping, autocommands, functions, user commands
|
- defining or changing mapping, autocommands, user commands
|
||||||
- setting certain options (see |option-summary|)
|
- setting certain options (see |option-summary|)
|
||||||
- setting certain v: variables (see |v:var|) *E794*
|
- setting certain v: variables (see |v:var|) *E794*
|
||||||
- executing a shell command
|
- executing a shell command
|
||||||
@ -11602,6 +11602,7 @@ location. Insecure in this context are:
|
|||||||
- sourcing a .vimrc or .exrc in the current directory
|
- sourcing a .vimrc or .exrc in the current directory
|
||||||
- while executing in the sandbox
|
- while executing in the sandbox
|
||||||
- value coming from a modeline
|
- value coming from a modeline
|
||||||
|
- executing a function that was defined in the sandbox
|
||||||
|
|
||||||
Note that when in the sandbox and saving an option value and restoring it, the
|
Note that when in the sandbox and saving an option value and restoring it, the
|
||||||
option will still be marked as it was set in the sandbox.
|
option will still be marked as it was set in the sandbox.
|
||||||
|
@ -442,7 +442,7 @@ with the Intellimouse driver 2.2 and when "Universal Scrolling" is turned on.
|
|||||||
|
|
||||||
XPM support *w32-xpm-support*
|
XPM support *w32-xpm-support*
|
||||||
|
|
||||||
Gvim can be build on MS-Windows with support for XPM files. |+xpm_w32|
|
GVim can be build on MS-Windows with support for XPM files. |+xpm_w32|
|
||||||
See the Make_mvc.mak file for instructions, search for XPM.
|
See the Make_mvc.mak file for instructions, search for XPM.
|
||||||
|
|
||||||
To try out if XPM support works do this: >
|
To try out if XPM support works do this: >
|
||||||
|
@ -1019,12 +1019,13 @@ These commands are not marks themselves, but jump to a mark:
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
8. Jumps *jump-motions*
|
8. Jumps *jump-motions*
|
||||||
|
|
||||||
A "jump" is one of the following commands: "'", "`", "G", "/", "?", "n",
|
A "jump" is a command that normally moves the cursor several lines away. If
|
||||||
"N", "%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and
|
you make the cursor "jump" the position of the cursor before the jump is
|
||||||
the commands that start editing a new file. If you make the cursor "jump"
|
|
||||||
with one of these commands, the position of the cursor before the jump is
|
|
||||||
remembered. You can return to that position with the "''" and "``" command,
|
remembered. You can return to that position with the "''" and "``" command,
|
||||||
unless the line containing that position was changed or deleted.
|
unless the line containing that position was changed or deleted. The
|
||||||
|
following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
|
||||||
|
"%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
|
||||||
|
commands that start editing a new file.
|
||||||
|
|
||||||
*CTRL-O*
|
*CTRL-O*
|
||||||
CTRL-O Go to [count] Older cursor position in jump list
|
CTRL-O Go to [count] Older cursor position in jump list
|
||||||
|
@ -409,9 +409,9 @@ defineAnnoType typeNum typeName tooltip glyphFile fg bg
|
|||||||
Vim will define a sign for the annotation.
|
Vim will define a sign for the annotation.
|
||||||
When color is a number, this is the "#rrggbb" Red, Green and
|
When color is a number, this is the "#rrggbb" Red, Green and
|
||||||
Blue values of the color (see |gui-colors|) and the
|
Blue values of the color (see |gui-colors|) and the
|
||||||
highlighting is only defined for GVim.
|
highlighting is only defined for gVim.
|
||||||
When color is a name, this color is defined both for Vim
|
When color is a name, this color is defined both for Vim
|
||||||
running in a color terminal and for GVim.
|
running in a color terminal and for gVim.
|
||||||
When both "fg" and "bg" are "none" no line highlighting is
|
When both "fg" and "bg" are "none" no line highlighting is
|
||||||
used (new in version 2.1).
|
used (new in version 2.1).
|
||||||
When "glyphFile" is empty, no text sign is used (new in
|
When "glyphFile" is empty, no text sign is used (new in
|
||||||
|
@ -1594,6 +1594,8 @@ VIMINFO FILE NAME *viminfo-file-name*
|
|||||||
- The "-i" Vim argument can be used to set another file name, |-i|. When the
|
- The "-i" Vim argument can be used to set another file name, |-i|. When the
|
||||||
file name given is "NONE" (all uppercase), no viminfo file is ever read or
|
file name given is "NONE" (all uppercase), no viminfo file is ever read or
|
||||||
written. Also not for the commands below!
|
written. Also not for the commands below!
|
||||||
|
- The 'viminfofile' option can be used like the "-i" argument. In fact, the
|
||||||
|
value form the "-i" argument is stored in the 'viminfofile' option.
|
||||||
- For the commands below, another file name can be given, overriding the
|
- For the commands below, another file name can be given, overriding the
|
||||||
default and the name given with 'viminfo' or "-i" (unless it's NONE).
|
default and the name given with 'viminfo' or "-i" (unless it's NONE).
|
||||||
|
|
||||||
|
@ -38,7 +38,9 @@ browser use: https://github.com/vim/vim/issues/1234
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
testdir: remove use of lua.vim from makefiles and test1.in
|
Crash when ui_breakcheck() called from regexec() calls regexec() recursively.
|
||||||
|
(Andy Massimino, #3175)
|
||||||
|
Make regexp work recursively, store all globals in "rex"?
|
||||||
|
|
||||||
Prompt buffer:
|
Prompt buffer:
|
||||||
- Add a command line history.
|
- Add a command line history.
|
||||||
@ -88,12 +90,17 @@ On Win32 when not in the console and t_Co >= 256, allow using 'tgc'.
|
|||||||
Errors found with random data:
|
Errors found with random data:
|
||||||
heap-buffer-overflow in alist_add (#2472)
|
heap-buffer-overflow in alist_add (#2472)
|
||||||
|
|
||||||
|
Patch to fix that +packages is always in output of :version.
|
||||||
|
(thinca, #3198) reported by Takuya Fujiwara
|
||||||
|
|
||||||
More warnings from static analysis:
|
More warnings from static analysis:
|
||||||
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
|
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
|
||||||
|
|
||||||
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
|
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
|
||||||
Related to bracketed paste. I cannot reproduce it.
|
Related to bracketed paste. I cannot reproduce it.
|
||||||
|
|
||||||
|
Patch replacing imp with importlib. (#3163)
|
||||||
|
|
||||||
Using ":file" in quickfix window during an autocommand doesn't work.
|
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.
|
(Jason Franklin, 2018 May 23) Allow for using it when there is no argument.
|
||||||
|
|
||||||
@ -105,8 +112,6 @@ 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.
|
Patch to set w_set_curswant when setting the cursor in language interfaces.
|
||||||
(David Hotham, 2018 Jun 22, #3060)
|
(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,
|
Patch to make CTRL-W <CR> work properly in a quickfix window. (Jason Franklin,
|
||||||
2018 May 30)
|
2018 May 30)
|
||||||
|
|
||||||
@ -127,6 +132,8 @@ 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,
|
Patch to adjust to DPI setting for GTK. (Roel van de Kraats, 2017 Nov 20,
|
||||||
#2357)
|
#2357)
|
||||||
|
|
||||||
|
Patch to fix window size when using VTP. (Nobuhiro Takasaki, #3164)
|
||||||
|
|
||||||
Compiler warnings (geeknik, 2017 Oct 26):
|
Compiler warnings (geeknik, 2017 Oct 26):
|
||||||
- signed integer overflow in do_sub() (#2249)
|
- signed integer overflow in do_sub() (#2249)
|
||||||
- signed integer overflow in get_address() (#2248)
|
- signed integer overflow in get_address() (#2248)
|
||||||
@ -146,6 +153,10 @@ Patch to stack and pop the window title and icon. (IWAMOTO Kouichi, 2018 Jun
|
|||||||
need to use X11 calls. This returns "<Esc>]l{title}<Esc>\".
|
need to use X11 calls. This returns "<Esc>]l{title}<Esc>\".
|
||||||
Using title stack probably works better.
|
Using title stack probably works better.
|
||||||
|
|
||||||
|
When a function is defined in the sandbox (with :function or as a lambda)
|
||||||
|
always execute it in the sandbox. (#3182)
|
||||||
|
Remove "safe" argument from call_vim_function(), it's always FALSE.
|
||||||
|
|
||||||
Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
|
Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
|
||||||
#2948. (related to #1512?)
|
#2948. (related to #1512?)
|
||||||
On Win32 it stops showing, because showState is already ShS_SHOWING.
|
On Win32 it stops showing, because showState is already ShS_SHOWING.
|
||||||
@ -178,6 +189,8 @@ script or function.
|
|||||||
Universal solution to detect if t_RS is working, using cursor position.
|
Universal solution to detect if t_RS is working, using cursor position.
|
||||||
Koichi Iwamoto, #2126
|
Koichi Iwamoto, #2126
|
||||||
|
|
||||||
|
Patch to fix profiling condition lines. (Ozaki Kiichi,, 2017 Dec 26, #2499)
|
||||||
|
|
||||||
When using a menu item while the "more" prompt is displayed doesn't work well.
|
When using a menu item while the "more" prompt is displayed doesn't work well.
|
||||||
E.g. after using help->version. Have a key that ends the "more" prompt and
|
E.g. after using help->version. Have a key that ends the "more" prompt and
|
||||||
does nothing otherwise?
|
does nothing otherwise?
|
||||||
@ -249,6 +262,7 @@ sequence of these commands. (Andy Stewart, 2018 Mar 16)
|
|||||||
ch_sendraw() with long string does not try to read in between, which may cause
|
ch_sendraw() with long string does not try to read in between, which may cause
|
||||||
a deadlock if the reading side is waiting for the write to finish. (Nate
|
a deadlock if the reading side is waiting for the write to finish. (Nate
|
||||||
Bosch, 2018 Jan 13, #2548)
|
Bosch, 2018 Jan 13, #2548)
|
||||||
|
Perhaps just make chunks of 1024 bytes?
|
||||||
|
|
||||||
Patch to include a cfilter plugin to filter quickfix/location lists.
|
Patch to include a cfilter plugin to filter quickfix/location lists.
|
||||||
(Yegappan Lakshmanan, 2018 May 12)
|
(Yegappan Lakshmanan, 2018 May 12)
|
||||||
@ -406,9 +420,6 @@ Perhaps use a vimcontext / endvimcontext command block.
|
|||||||
After using :noautocmd CursorMoved may still trigger. (Andy Stewart, 2017 Sep
|
After using :noautocmd CursorMoved may still trigger. (Andy Stewart, 2017 Sep
|
||||||
13, #2084). Set old position after the command.
|
13, #2084). Set old position after the command.
|
||||||
|
|
||||||
Illegal memory access, requires ASAN to see. (Dominique Pelle, 2015 Jul 28)
|
|
||||||
Still happens (2017 Jul 9)
|
|
||||||
|
|
||||||
When bracketed paste is used, pasting at the ":append" prompt does not get the
|
When bracketed paste is used, pasting at the ":append" prompt does not get the
|
||||||
line breaks. (Ken Takata, 2017 Aug 22)
|
line breaks. (Ken Takata, 2017 Aug 22)
|
||||||
|
|
||||||
@ -720,8 +731,6 @@ Does this also fix #1408 ?
|
|||||||
|
|
||||||
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
||||||
|
|
||||||
Patch to fix profiling condition lines. (Ozaki Kiichi,, 2017 Dec 26, #2499)
|
|
||||||
|
|
||||||
Patch to be able to separately map CTRL-H and BS on Windows.
|
Patch to be able to separately map CTRL-H and BS on Windows.
|
||||||
(Linwei, 2017 Jul 11, #1833)
|
(Linwei, 2017 Jul 11, #1833)
|
||||||
|
|
||||||
@ -1018,9 +1027,6 @@ Added tests (James McCoy, 2016 Aug 3). Still needs more work.
|
|||||||
Feature request: add the "al" text object, to manipulate a screen line.
|
Feature request: add the "al" text object, to manipulate a screen line.
|
||||||
Especially useful when using 'linebreak'
|
Especially useful when using 'linebreak'
|
||||||
|
|
||||||
Access to uninitialized memory in match_backref() regexp_nda.c:4882
|
|
||||||
(Dominique Pelle, 2015 Nov 6)
|
|
||||||
|
|
||||||
":cd C:\Windows\System32\drivers\etc*" does not work, even though the
|
":cd C:\Windows\System32\drivers\etc*" does not work, even though the
|
||||||
directory exists. (Sergio Gallelli, 2013 Dec 29)
|
directory exists. (Sergio Gallelli, 2013 Dec 29)
|
||||||
|
|
||||||
@ -1070,7 +1076,7 @@ Patch to add TagNotFound autocommand. (Anton Lindqvist, 2016 Feb 3)
|
|||||||
Patch to add Error autocommand. (Anton Lindqvist, 2016 Feb 17)
|
Patch to add Error autocommand. (Anton Lindqvist, 2016 Feb 17)
|
||||||
Only remembers one error.
|
Only remembers one error.
|
||||||
|
|
||||||
Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
|
GVim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
|
||||||
|
|
||||||
Unexpected delay when using CTRL-O u. It's not timeoutlen.
|
Unexpected delay when using CTRL-O u. It's not timeoutlen.
|
||||||
(Gary Johnson, 2015 Aug 28)
|
(Gary Johnson, 2015 Aug 28)
|
||||||
@ -1854,7 +1860,7 @@ accented character. (Tony Mechelynck, 2010 Apr 15)
|
|||||||
Don't call check_restricted() for histadd(), setbufvar(), settabvar(),
|
Don't call check_restricted() for histadd(), setbufvar(), settabvar(),
|
||||||
setwinvar().
|
setwinvar().
|
||||||
|
|
||||||
Patch for GVimExt to show an icon. (Dominik Riebeling, 2010 Nov 7)
|
Patch for gVimExt to show an icon. (Dominik Riebeling, 2010 Nov 7)
|
||||||
|
|
||||||
When 'lines' is 25 and 'scrolloff' is 12, "j" scrolls zero or two lines
|
When 'lines' is 25 and 'scrolloff' is 12, "j" scrolls zero or two lines
|
||||||
instead of one. (Constantin Pan, 2010 Sep 10)
|
instead of one. (Constantin Pan, 2010 Sep 10)
|
||||||
@ -2437,7 +2443,7 @@ go to Insert mode and add a few lines. Then backspacing every other time
|
|||||||
moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
|
moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
|
||||||
|
|
||||||
Windows installer could add a "open in new tab of existing Vim" menu entry.
|
Windows installer could add a "open in new tab of existing Vim" menu entry.
|
||||||
Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
|
GvimExt: patch to add "Edit with single Vim &tabbed" menu entry.
|
||||||
Just have two choices, always using one Vim and selecting between using an
|
Just have two choices, always using one Vim and selecting between using an
|
||||||
argument list or opening each file in a separate tab.
|
argument list or opening each file in a separate tab.
|
||||||
(Erik Falor, 2008 May 21, 2008 Jun 26)
|
(Erik Falor, 2008 May 21, 2008 Jun 26)
|
||||||
@ -2513,7 +2519,7 @@ C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
|
|||||||
When using --remote-silent and the file name matches 'wildignore' get an E479
|
When using --remote-silent and the file name matches 'wildignore' get an E479
|
||||||
error. without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20)
|
error. without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20)
|
||||||
|
|
||||||
Gvim: dialog for closing Vim should check if Vim is busy writing a file. Then
|
GVim: dialog for closing Vim should check if Vim is busy writing a file. Then
|
||||||
use a different dialog: "busy saving, really quit? yes / no".
|
use a different dialog: "busy saving, really quit? yes / no".
|
||||||
|
|
||||||
Check other interfaces for changing curbuf in a wrong way. Patch like for
|
Check other interfaces for changing curbuf in a wrong way. Patch like for
|
||||||
|
@ -5,9 +5,10 @@
|
|||||||
Using the GUI
|
Using the GUI
|
||||||
|
|
||||||
|
|
||||||
Vim works in an ordinary terminal. GVim can do the same things and a few
|
Vim works in an ordinary terminal, while gVim has a Graphical User Interface
|
||||||
more. The GUI offers menus, a toolbar, scrollbars and other items. This
|
(GUI). It can do the same things and a few more. The GUI offers menus, a
|
||||||
chapter is about these extra things that the GUI offers.
|
toolbar, scrollbars and other items. This chapter is about these extra things
|
||||||
|
that the GUI offers.
|
||||||
|
|
||||||
|09.1| Parts of the GUI
|
|09.1| Parts of the GUI
|
||||||
|09.2| Using the mouse
|
|09.2| Using the mouse
|
||||||
|
@ -2347,7 +2347,7 @@ Added *added-5.2*
|
|||||||
Support for mapping numeric keypad +,-,*,/ keys. (Negri)
|
Support for mapping numeric keypad +,-,*,/ keys. (Negri)
|
||||||
When not mapped, they produce the normal character.
|
When not mapped, they produce the normal character.
|
||||||
|
|
||||||
Win32 GUI: When directory dropped on Gvim, cd there and edit new buffer.
|
Win32 GUI: When directory dropped on gVim, cd there and edit new buffer.
|
||||||
(Negri)
|
(Negri)
|
||||||
|
|
||||||
Win32 GUI: Made CTRL-Break work as interrupt, so that CTRL-C can be
|
Win32 GUI: Made CTRL-Break work as interrupt, so that CTRL-C can be
|
||||||
@ -7615,7 +7615,7 @@ VMS doesn't always have lstat(), added an #ifdef around it.
|
|||||||
|
|
||||||
Added a few corrections for the Macintosh. (Axel Kielhorn)
|
Added a few corrections for the Macintosh. (Axel Kielhorn)
|
||||||
|
|
||||||
Win32: Gvimext could not edit more than a few files at once, the length of the
|
Win32: GvimExt could not edit more than a few files at once, the length of the
|
||||||
argument was fixed.
|
argument was fixed.
|
||||||
|
|
||||||
|
|
||||||
|
@ -2967,7 +2967,7 @@ DOS and Windows: Expanding *.vim also matched file.vimfoo. Expand path like
|
|||||||
Unix to avoid problems with Windows dir functions. Merged the DOS and Win32
|
Unix to avoid problems with Windows dir functions. Merged the DOS and Win32
|
||||||
functions.
|
functions.
|
||||||
|
|
||||||
Win32: Gvimext could not edit more than a few files at once, the length of the
|
Win32: GvimExt could not edit more than a few files at once, the length of the
|
||||||
argument was fixed.
|
argument was fixed.
|
||||||
|
|
||||||
"ls -1 * | xargs vim" worked, but the input was in cooked mode. Now switch to
|
"ls -1 * | xargs vim" worked, but the input was in cooked mode. Now switch to
|
||||||
|
555
runtime/doc/vim-da.1
Normal file
555
runtime/doc/vim-da.1
Normal file
@ -0,0 +1,555 @@
|
|||||||
|
.TH VIM 1 "11. april 2006"
|
||||||
|
.SH NAVN
|
||||||
|
vim \- Vi IMproved, en programmørs teksteditor
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] [fil ..]
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] \-
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] \-t tag
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] \-q [fejlfil]
|
||||||
|
.PP
|
||||||
|
.br
|
||||||
|
.B ex
|
||||||
|
.br
|
||||||
|
.B view
|
||||||
|
.br
|
||||||
|
.B gvim
|
||||||
|
.B gview
|
||||||
|
.B evim
|
||||||
|
.B eview
|
||||||
|
.br
|
||||||
|
.B rvim
|
||||||
|
.B rview
|
||||||
|
.B rgvim
|
||||||
|
.B rgview
|
||||||
|
.SH BESKRIVELSE
|
||||||
|
.B Vim
|
||||||
|
er en teksteditor som er opad kompatibel med Vi.
|
||||||
|
Den kan bruges til at redigere alle slags ren tekst.
|
||||||
|
Den er særlig nyttig til at redigere programmer.
|
||||||
|
.PP
|
||||||
|
Der er mange forbedringer over Vi: multiniveau fortryd,
|
||||||
|
multivinduer og -buffere, syntaksfremhævning, redigering af kommandolinje,
|
||||||
|
fuldførelse af filnavn, onlinehjælp, visuel markering, osv.
|
||||||
|
Se ":help vi_diff.txt" for et overblik over forskellene mellem
|
||||||
|
.B Vim
|
||||||
|
og Vi.
|
||||||
|
.PP
|
||||||
|
Mens
|
||||||
|
.B Vim
|
||||||
|
kører, kan der indhentes massere af hjælp fra online-hjælpesystemet, med
|
||||||
|
":help"-kommandoen.
|
||||||
|
Se ONLINEHJÆLP-sektionen nedenfor.
|
||||||
|
.PP
|
||||||
|
Oftest startes
|
||||||
|
.B Vim
|
||||||
|
for at redigere en enkelt fil med kommandoen
|
||||||
|
.PP
|
||||||
|
vim fil
|
||||||
|
.PP
|
||||||
|
Mere generelt startes
|
||||||
|
.B Vim
|
||||||
|
med:
|
||||||
|
.PP
|
||||||
|
vim [tilvalg] [filliste]
|
||||||
|
.PP
|
||||||
|
Hvis fillisten mangler, så startes editoren med en tom buffer.
|
||||||
|
Ellers kan én af følgende fire måder bruges til at vælge en eller
|
||||||
|
flere filer som skal redigeres.
|
||||||
|
.TP 12
|
||||||
|
fil ..
|
||||||
|
En liste over filnavne.
|
||||||
|
Den første bliver den nuværende fil og læses ind i bufferen.
|
||||||
|
Markøren placeres på den første linje i bufferen.
|
||||||
|
Du kan gå til de andre filer med ":next"-kommandoen. Skriv "\-\-" foran
|
||||||
|
fillisten, for at redigere en fil som begynder med en bindestreg.
|
||||||
|
.TP
|
||||||
|
\-
|
||||||
|
Filen som skal redigeres læses fra stdin. Kommandoer læses fra stderr, hvilket
|
||||||
|
skal være en tty.
|
||||||
|
.TP
|
||||||
|
\-t {tag}
|
||||||
|
Filen som skal redigeres og den indledende markørplacering afhænger af
|
||||||
|
et "tag", en slags gå til-etiket.
|
||||||
|
{tag} opslås i tags-filen, den tilknyttede fil bliver den nuværende
|
||||||
|
fil og den tilknyttede kommando udføres.
|
||||||
|
Det bruges mest til C-programmer, hvor {tag} kunne være et
|
||||||
|
funktionsnavn.
|
||||||
|
Virkningen er at filen som indeholder funktionen bliver den nuværende fil
|
||||||
|
og markøren placeres i begyndelsen af funktionen.
|
||||||
|
Se ":help tag\-commands".
|
||||||
|
.TP
|
||||||
|
\-q [fejlfil]
|
||||||
|
Start i quickFix-tilstand.
|
||||||
|
Filen [fejlfil] læses og den første fejl vises.
|
||||||
|
Hvis [fejlfil] udelades, så indhentes filnavnet fra 'errorfile'-valgmuligheden
|
||||||
|
(standard er "AztecC.Err" på Amiga, "errors.err" på andre
|
||||||
|
systemer).
|
||||||
|
Der kan hoppes til yderligere fejl med ":cn"-kommandoen.
|
||||||
|
Se ":help quickfix".
|
||||||
|
.PP
|
||||||
|
.B Vim
|
||||||
|
opfører sig anderledes, afhængig af navnet på kommandoen (eksekverbaren kan
|
||||||
|
stadig være den samme fil).
|
||||||
|
.TP 10
|
||||||
|
vim
|
||||||
|
Den "normale" måde, alt er standard.
|
||||||
|
.TP
|
||||||
|
ex
|
||||||
|
Start i Ex-tilstand.
|
||||||
|
Gå til normal tilstand med ":vi"-kommandoen.
|
||||||
|
Det kan også gøres med "\-e"-argumentet.
|
||||||
|
.TP
|
||||||
|
view
|
||||||
|
Start i skrivebeskyttet tilstand. Du vil være beskyttet mod at skrive filerne.
|
||||||
|
Det kan også gøres med "\-R"-argumentet.
|
||||||
|
.TP
|
||||||
|
gvim gview
|
||||||
|
GUI-versionen.
|
||||||
|
Starter et nyt vindue.
|
||||||
|
Det kan også gøres med "\-g"-argumentet.
|
||||||
|
.TP
|
||||||
|
evim eview
|
||||||
|
GUI-versionen i easy-tilstand.
|
||||||
|
Starter et nyt vindue.
|
||||||
|
Det kan også gøres med "\-y"-argumentet.
|
||||||
|
.TP
|
||||||
|
rvim rview rgvim rgview
|
||||||
|
Som dem ovenfor, men med restriktioner. Det vil ikke være muligt at starte
|
||||||
|
skalkommandoer, eller at suspendere
|
||||||
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
Det kan også gøres med "\-Z"-argumentet.
|
||||||
|
.SH TILVALG
|
||||||
|
Tilvalgene kan gives i vilkårlig rækkefølge, før eller efter filnavnene.
|
||||||
|
Tilvalg uden et argument kan kombineres efter en enkelt bindestreg.
|
||||||
|
.TP 12
|
||||||
|
+[nummer]
|
||||||
|
Ved den første fil, placeres markøren på linje "nummer".
|
||||||
|
Hvis "nummer" mangler, så placeres markøren på den sidste linje.
|
||||||
|
.TP
|
||||||
|
+/{sti}
|
||||||
|
Ved den første fil, placeres markøren på linjen med den
|
||||||
|
første forekomst af {sti}.
|
||||||
|
Se ":help search\-pattern" for tilgængelige søgemønstre.
|
||||||
|
.TP
|
||||||
|
+{kommando}
|
||||||
|
.TP
|
||||||
|
\-c {kommando}
|
||||||
|
{kommando} udføres efter den første fil er blevet læst.
|
||||||
|
{kommando} fortolkes som en Ex-kommando.
|
||||||
|
Hvis {kommando} indeholder mellemrum, så skal den omsluttes af
|
||||||
|
dobbelte citationstegn (det afhænger af den skal der bruges).
|
||||||
|
Eksempel: Vim "+set si" main.c
|
||||||
|
.br
|
||||||
|
Bemærk: Du kan bruge op til 10 "+"- eller "\-c"-kommandoer.
|
||||||
|
.TP
|
||||||
|
\-S {fil}
|
||||||
|
{fil} bliver sourced efter den første fil er blevet læst.
|
||||||
|
Det svarer til \-c "source {fil}".
|
||||||
|
{fil} må ikke begynde med '\-'.
|
||||||
|
Hvis {fil} udelades, så bruges "Session.vim" (virker kun når \-S er det sidste
|
||||||
|
argument).
|
||||||
|
.TP
|
||||||
|
\-\-cmd {kommando}
|
||||||
|
Ligesom at bruge "\-c", men kommandoen udføres lige inden
|
||||||
|
behandlingen af vimrc-filer.
|
||||||
|
Du kan bruge op til 10 af disse kommandoer, uafhængigt af "\-c"-kommandoer.
|
||||||
|
.TP
|
||||||
|
\-A
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af ARABIC til redigering af filer som er
|
||||||
|
orienteret højre mod venstre og arabisk tastaturlayout, så starter tilvalget
|
||||||
|
.B Vim
|
||||||
|
i arabisk tilstand, dvs. 'arabic' sættes.
|
||||||
|
Ellers gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-b
|
||||||
|
Binær tilstand.
|
||||||
|
Der sættes nogle få valgmuligheder som gør det muligt at redigere en
|
||||||
|
binær eller eksekverbar fil.
|
||||||
|
.TP
|
||||||
|
\-C
|
||||||
|
Kompatibel. Sæt 'compatible'-valgmuligheden.
|
||||||
|
Det får
|
||||||
|
.B Vim
|
||||||
|
til at opføre sig mest som Vi, selvom der findes en .vimrc-fil.
|
||||||
|
.TP
|
||||||
|
\-d
|
||||||
|
Start i diff-tilstand.
|
||||||
|
Der skal være to, tre eller fire filnavneargumenter.
|
||||||
|
.B Vim
|
||||||
|
åbner alle filerne og viser forskellene mellem dem.
|
||||||
|
Virker ligesom vimdiff(1).
|
||||||
|
.TP
|
||||||
|
\-d {enhed}
|
||||||
|
Åbn {enhed} til brug som en terminal.
|
||||||
|
Kun på Amiga.
|
||||||
|
Eksempel:
|
||||||
|
"\-d con:20/30/600/150".
|
||||||
|
.TP
|
||||||
|
\-D
|
||||||
|
Fejlretning. Gå til fejlretningstilstand når den første kommando udføres fra
|
||||||
|
et script.
|
||||||
|
.TP
|
||||||
|
\-e
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i Ex-tilstand, ligesom hvis "ex"-eksekverbaren blev kaldt.
|
||||||
|
.TP
|
||||||
|
\-E
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i forbedret Ex-tilstand, ligesom hvis "exim"-eksekverbaren blev kaldt.
|
||||||
|
.TP
|
||||||
|
\-f
|
||||||
|
Forgrund. I GUI-versionen, vil
|
||||||
|
.B Vim
|
||||||
|
ikke fork'e og frigøre fra skallen som den blev startet i.
|
||||||
|
På Amiga, genstartes
|
||||||
|
.B Vim
|
||||||
|
ikke for at åbne et nyt vindue.
|
||||||
|
Tilvalget bør bruges når
|
||||||
|
.B Vim
|
||||||
|
udføres af et program der venter på at redigeringssession
|
||||||
|
bliver færdig (f.eks. mail).
|
||||||
|
På Amiga virker ":sh"- og ":!"-kommandoerne ikke.
|
||||||
|
.TP
|
||||||
|
\-\-nofork
|
||||||
|
Forgrund. I GUI-versionen, vil
|
||||||
|
.B Vim
|
||||||
|
ikke fork'e og frigøre fra skallen som den blev startet i.
|
||||||
|
.TP
|
||||||
|
\-F
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af FKMAP til redigering af filer som er
|
||||||
|
orienteret højre mod venstre og persisk tastaturlayout, så starter tilvalget
|
||||||
|
.B Vim
|
||||||
|
i persisk tilstand, dvs. 'fkmap' og 'rightleft' sættes.
|
||||||
|
Ellers gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-g
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af GUI, så aktiveres GUI'en af
|
||||||
|
denne valgmulighed. Hvis understøttelse af GUI ikke blev kompileret ind,
|
||||||
|
så gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-h
|
||||||
|
Giv lidt hjælp om kommandolinjeargumenterne og tilvalgene.
|
||||||
|
Herefter afsluttes
|
||||||
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
.TP
|
||||||
|
\-H
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af RIGHTLEFT til redigering af filer som er
|
||||||
|
orienteret højre mod venstre og hebraisk tastaturlayout, så starter tilvalget
|
||||||
|
.B Vim
|
||||||
|
i hebraisk tilstand, dvs. 'hkmap' og 'rightleft' sættes.
|
||||||
|
Ellers gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-i {viminfo}
|
||||||
|
Når brug af viminfo-filen er aktiveret, så sætter tilvalget det
|
||||||
|
filnavn som skal bruges, i stedet for standarden "~/.viminfo".
|
||||||
|
Det kan også bruges til at springe brugen af .viminfo-filen over,
|
||||||
|
ved at give navnet "NONE".
|
||||||
|
.TP
|
||||||
|
\-L
|
||||||
|
Samme som \-r.
|
||||||
|
.TP
|
||||||
|
\-l
|
||||||
|
Lisp-tilstand.
|
||||||
|
Sætter 'lisp'- og 'showmatch'-valgmulighederne til.
|
||||||
|
.TP
|
||||||
|
\-m
|
||||||
|
Ændring af filer er deaktiveret.
|
||||||
|
Nulstiller 'write'-valgmuligheden.
|
||||||
|
Du kan stadig ændre bufferen, men det er ikke muligt at skrive en fil.
|
||||||
|
.TP
|
||||||
|
\-M
|
||||||
|
Ændringer tillades ikke. 'modifiable'- og 'write'-valgmulighederne fjernes,
|
||||||
|
så ændringer ikke er tilladt og filer ikke kan skrives. Bemærk at
|
||||||
|
valgmulighederne kan sættes for at gøre det muligt at foretage ændringer.
|
||||||
|
.TP
|
||||||
|
\-N
|
||||||
|
No-compatible-tilstand. Nulstil 'compatible'-valgmuligheden.
|
||||||
|
Det får
|
||||||
|
.B Vim
|
||||||
|
til at opføre sig en smule bedre, men mindre Vi-kompatibel, selvom der ikke
|
||||||
|
findes en .vimrc-fil.
|
||||||
|
.TP
|
||||||
|
\-n
|
||||||
|
Der bruges ingen swap-fil.
|
||||||
|
Det er umuligt at gendanne efter programmet er holdt op med at virke.
|
||||||
|
God hvis du vil redigere en fil på et meget langsomt medie (f.eks. floppy).
|
||||||
|
Kan også gøres med ":set uc=0".
|
||||||
|
Kan fortrydes med ":set uc=200".
|
||||||
|
.TP
|
||||||
|
\-nb
|
||||||
|
Bliv en editor-server til NetBeans. Se dokumentationen for detaljer.
|
||||||
|
.TP
|
||||||
|
\-o[N]
|
||||||
|
Åbn N vinduer stablet.
|
||||||
|
Når N udelades, så åbnes ét vindue pr. fil.
|
||||||
|
.TP
|
||||||
|
\-O[N]
|
||||||
|
Åbn N vinduer side om side.
|
||||||
|
Når N udelades, så åbnes ét vindue pr. fil.
|
||||||
|
.TP
|
||||||
|
\-p[N]
|
||||||
|
Åbn N fanebladssider.
|
||||||
|
Når N udelades, så åbnes én fanebladsside pr. fil.
|
||||||
|
.TP
|
||||||
|
\-R
|
||||||
|
Skrivebeskyttet tilstand.
|
||||||
|
'readonly'-valgmuligheden sættes.
|
||||||
|
Du kan stadig redigere bufferen, men vil være forhindret i
|
||||||
|
fejlagtigt at overskrive en fil.
|
||||||
|
Hvis du vil overskrive en fil, så tilføj et
|
||||||
|
udråbstegn til Ex-kommandoen, som i ":w!".
|
||||||
|
\-R-tilvalget indebærer også \-n-tilvalget (se ovenfor).
|
||||||
|
'readonly'-valgmuligheden kan slås fra med ":set noro".
|
||||||
|
Se ":help 'readonly'".
|
||||||
|
.TP
|
||||||
|
\-r
|
||||||
|
Oplist swap-filer, med information om at bruge dem til gendannelse.
|
||||||
|
.TP
|
||||||
|
\-r {fil}
|
||||||
|
Gendannelsestilstand.
|
||||||
|
Swap-filen bruges til at gendanne en redigeringssession som holdt
|
||||||
|
op med at virke. Swap-filen er en fil med det samme filnavn som tekstfilen,
|
||||||
|
med ".swp" tilføjet i slutningen.
|
||||||
|
Se ":help recovery".
|
||||||
|
.TP
|
||||||
|
\-s
|
||||||
|
Stille tilstand. Kun når der startes som "Ex" eller
|
||||||
|
når "\-e"-tilvalget blev givet inden "\-s"-tilvalget.
|
||||||
|
.TP
|
||||||
|
\-s {scriptind}
|
||||||
|
Script-filen {scriptind} læses.
|
||||||
|
Tegnene i filen fortolkes som havde du skrevet dem.
|
||||||
|
Det samme kan gøres med kommandoen ":source! {scriptind}".
|
||||||
|
Hvis slutningen af filen nås inden editoren afslutter,
|
||||||
|
så læses yderligere tegn fra tastaturet.
|
||||||
|
.TP
|
||||||
|
\-T {terminal}
|
||||||
|
Fortæller
|
||||||
|
.B Vim
|
||||||
|
navnet på terminalen som du bruger.
|
||||||
|
Kræves kun når den automatisk måde ikke virker.
|
||||||
|
Skal være en terminal som kendes af
|
||||||
|
.B Vim
|
||||||
|
(indbygget) eller defineret i termcap- eller terminfo-filen.
|
||||||
|
.TP
|
||||||
|
\-u {vimrc}
|
||||||
|
Brug kommandoerne i {vimrc}-filen til initialiseringer.
|
||||||
|
Alle de andre initialiseringer springes over.
|
||||||
|
Brug den til at redigere en særlig slags filer.
|
||||||
|
Den kan også bruges til at springe alle initialiseringer over,
|
||||||
|
ved at give navnet "NONE". Se ":help initialization" i vim for flere detaljer.
|
||||||
|
.TP
|
||||||
|
\-U {gvimrc}
|
||||||
|
Brug kommandoerne i {gvimrc}-filen til GUI-initialiseringer.
|
||||||
|
Alle de andre GUI-initialiseringer springes over.
|
||||||
|
Den kan også bruges til at springe alle GUI-initialiseringer over,
|
||||||
|
ved at give navnet "NONE". Se ":help gui\-init" i vim for flere detaljer.
|
||||||
|
.TP
|
||||||
|
\-V[N]
|
||||||
|
Uddybende. Giv meddelelser om hvilke filer som er sourced og til læsning og
|
||||||
|
skrivning af en viminfo-fil. Det valgfrie nummer N er værdien af 'verbose'.
|
||||||
|
Standard er 10.
|
||||||
|
.TP
|
||||||
|
\-v
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i Vi-tilstand, ligesom eksekverbaren kaldet "vi". Det har kun virkning når
|
||||||
|
eksekverbaren kaldes "ex".
|
||||||
|
.TP
|
||||||
|
\-w {scriptud}
|
||||||
|
Alle tegnene som du skrev optages i filen {scriptud}, indtil du afslutter
|
||||||
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
Det er nyttigt hvis du vil oprette en script-fil som skal bruges med
|
||||||
|
"vim \-s" eller ":source!".
|
||||||
|
Hvis {scriptud}-filen findes, så tilføjes tegnene til slutningen.
|
||||||
|
.TP
|
||||||
|
\-W {scriptud}
|
||||||
|
Ligesom \-w, men en eksisterende fil overskrives.
|
||||||
|
.TP
|
||||||
|
\-x
|
||||||
|
Brug kryptering når der skrives filer. Spørger efter en krypteringsnøgle.
|
||||||
|
.TP
|
||||||
|
\-X
|
||||||
|
Opret ikke forbindelse til X-serveren. Afkorter opstartstiden i en terminal,
|
||||||
|
men vinduets titel og udklipsholder bruges ikke.
|
||||||
|
.TP
|
||||||
|
\-y
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i easy-tilstand, ligesom hvis "evim"- eller "eview"-eksekverbarene blev kaldt.
|
||||||
|
Får
|
||||||
|
.B Vim
|
||||||
|
til at opføre sig som en klik og skriv-editor.
|
||||||
|
.TP
|
||||||
|
\-Z
|
||||||
|
Restriktiv tilstand. Virker ligesom eksekverbaren som begynder med "r".
|
||||||
|
.TP
|
||||||
|
\-\-
|
||||||
|
Betegner slutningen af tilvalgene.
|
||||||
|
Argumenter efter dette håndteres som et filnavn.
|
||||||
|
Det kan bruges til at redigere et filnavn som begynder med et '\-'.
|
||||||
|
.TP
|
||||||
|
\-\-echo\-wid
|
||||||
|
Kun GTK GUI: Ekko vinduets id på stdout.
|
||||||
|
.TP
|
||||||
|
\-\-help
|
||||||
|
Giv en hjælpemeddelelse og afslut, ligesom "\-h".
|
||||||
|
.TP
|
||||||
|
\-\-literal
|
||||||
|
Tag filnavnets argumenter bogstaveligt, udvid ikke jokertegn.
|
||||||
|
Det har ingen virkning i Unix hvor skallen udvidder jokertegn.
|
||||||
|
.TP
|
||||||
|
\-\-noplugin
|
||||||
|
Spring indlæsning af plugins over. Indebæres af \-u NONE.
|
||||||
|
.TP
|
||||||
|
\-\-remote
|
||||||
|
Opret forbindelse til en Vim-server og få den til at redigere filerne
|
||||||
|
som gives i resten af argumenterne. Hvis der ikke findes nogen server,
|
||||||
|
så gives der en advarsel og filerne redigeres i den nuværende Vim.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-expr {udtryk}
|
||||||
|
Opret forbindelse til en Vim-server, evaluer
|
||||||
|
{udtryk} i den og udskriv resultatet på stdout.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-send {nøgler}
|
||||||
|
Opret forbindelse til en Vim-server and send {nøgler} til den.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-silent
|
||||||
|
Som \-\-remote, men uden advarslen når der ikke findes nogen server.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-wait
|
||||||
|
Som \-\-remote, men Vim afslutter ikke før filerne er blevet redigeret.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-wait\-silent
|
||||||
|
Som \-\-remote\-wait, men uden advarslen når der ikke findes nogen server.
|
||||||
|
.TP
|
||||||
|
\-\-serverlist
|
||||||
|
Oplist navnene på alle Vim-servere som der kan findes.
|
||||||
|
.TP
|
||||||
|
\-\-servername {navn}
|
||||||
|
Brug servernavnet {navn}. Bruges til den nuværende Vim,
|
||||||
|
medmindre det bruges med et \-\-remote-argument,
|
||||||
|
så er det navnet på serveren som der skal oprettes forbindelse til.
|
||||||
|
.TP
|
||||||
|
\-\-socketid {id}
|
||||||
|
Kun GTK GUI: Brug GtkPlug-mekanismen til at køre gvim i et andet vindue.
|
||||||
|
.TP
|
||||||
|
\-\-version
|
||||||
|
Udskriv versionsinformation og afslut.
|
||||||
|
.SH ONLINEHJÆLP
|
||||||
|
Skriv ":help" i
|
||||||
|
.B Vim
|
||||||
|
for at begynde.
|
||||||
|
Skriv ":help emne" for at få hjælp til et bestemt emne.
|
||||||
|
F.eks.: ":help ZZ" for at få hjælpe til "ZZ"-kommandoen.
|
||||||
|
Brug <Tab> og CTRL-D for at fuldføre emner (":help cmdline\-completion").
|
||||||
|
Tags findes til at hoppe fra et sted til et andet (en slags hypertekst-links,
|
||||||
|
se ":help").
|
||||||
|
Alle dokumentationsfiler kan vises på denne måde, f.eks.
|
||||||
|
":help syntax.txt".
|
||||||
|
.SH FILER
|
||||||
|
.TP 15
|
||||||
|
/usr/local/lib/vim/doc/*.txt
|
||||||
|
.B Vim\c
|
||||||
|
-dokumentationsfilerne.
|
||||||
|
Brug ":help doc\-file\-list" for at få den fulde liste.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/doc/tags
|
||||||
|
Tags-filen som bruges til at finde information i dokumentationsfilerne.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/syntax/syntax.vim
|
||||||
|
Systembrede syntaksinitialiseringer.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/syntax/*.vim
|
||||||
|
Syntaksfiler til diverse sprog.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/vimrc
|
||||||
|
Systembrede
|
||||||
|
.B Vim\c
|
||||||
|
-initialiseringer.
|
||||||
|
.TP
|
||||||
|
~/.vimrc
|
||||||
|
Dine personlige
|
||||||
|
.B Vim\c
|
||||||
|
-initialiseringer.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/gvimrc
|
||||||
|
Systembrede gvim-initialiseringer.
|
||||||
|
.TP
|
||||||
|
~/.gvimrc
|
||||||
|
Dine personlige gvim-initialiseringer.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/optwin.vim
|
||||||
|
Script som bruges til ":options"-kommandoen,
|
||||||
|
en god måde til at vise og sætte valgmuligheder.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/menu.vim
|
||||||
|
Systembrede menu-initialiseringer til gvim.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/bugreport.vim
|
||||||
|
Script til at generere en fejlrapport. Se ":help bugs".
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/filetype.vim
|
||||||
|
Script til at registrere filtypen ud fra navnet. Se ":help 'filetype'".
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/scripts.vim
|
||||||
|
Script til at registrere filtypen ud fra indholdet. Se ":help 'filetype'".
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/print/*.ps
|
||||||
|
Filer som bruges til PostScript-udskrivning.
|
||||||
|
.PP
|
||||||
|
Læs VIM-hjemmesiden for seneste info:
|
||||||
|
.br
|
||||||
|
<URL:http://www.vim.org/>
|
||||||
|
.SH SE OGSÅ
|
||||||
|
vimtutor(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\c
|
||||||
|
\&.
|
||||||
|
.br
|
||||||
|
.B Vim
|
||||||
|
er baseret på Stevie, arbejdet på af: Tim Thompson,
|
||||||
|
Tony Andrews og G.R. (Fred) Walter.
|
||||||
|
Selvom der næsten ikke er noget af den originale kode tilbage.
|
||||||
|
.SH FEJL
|
||||||
|
Formodentligt.
|
||||||
|
Se ":help todo" for en liste over kendte problemer.
|
||||||
|
.PP
|
||||||
|
Bemærk at flere ting som af nogle kan anses som værende fejl,
|
||||||
|
faktisk er pga. en for nær reproduktion af Vi's opførsel.
|
||||||
|
Og hvis du tænker at andre ting er fejl "fordi Vi gør det anderledes",
|
||||||
|
så kig nærmere på vi_diff.txt-filen (eller skriv :help vi_diff.txt i Vim).
|
||||||
|
Se også 'compatible'- og 'cpoptions'-valgmulighederne.
|
555
runtime/doc/vim-da.UTF-8.1
Normal file
555
runtime/doc/vim-da.UTF-8.1
Normal file
@ -0,0 +1,555 @@
|
|||||||
|
.TH VIM 1 "11. april 2006"
|
||||||
|
.SH NAVN
|
||||||
|
vim \- Vi IMproved, en programmørs teksteditor
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] [fil ..]
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] \-
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] \-t tag
|
||||||
|
.br
|
||||||
|
.B vim
|
||||||
|
[tilvalg] \-q [fejlfil]
|
||||||
|
.PP
|
||||||
|
.br
|
||||||
|
.B ex
|
||||||
|
.br
|
||||||
|
.B view
|
||||||
|
.br
|
||||||
|
.B gvim
|
||||||
|
.B gview
|
||||||
|
.B evim
|
||||||
|
.B eview
|
||||||
|
.br
|
||||||
|
.B rvim
|
||||||
|
.B rview
|
||||||
|
.B rgvim
|
||||||
|
.B rgview
|
||||||
|
.SH BESKRIVELSE
|
||||||
|
.B Vim
|
||||||
|
er en teksteditor som er opad kompatibel med Vi.
|
||||||
|
Den kan bruges til at redigere alle slags ren tekst.
|
||||||
|
Den er særlig nyttig til at redigere programmer.
|
||||||
|
.PP
|
||||||
|
Der er mange forbedringer over Vi: multiniveau fortryd,
|
||||||
|
multivinduer og -buffere, syntaksfremhævning, redigering af kommandolinje,
|
||||||
|
fuldførelse af filnavn, onlinehjælp, visuel markering, osv.
|
||||||
|
Se ":help vi_diff.txt" for et overblik over forskellene mellem
|
||||||
|
.B Vim
|
||||||
|
og Vi.
|
||||||
|
.PP
|
||||||
|
Mens
|
||||||
|
.B Vim
|
||||||
|
kører, kan der indhentes massere af hjælp fra online-hjælpesystemet, med
|
||||||
|
":help"-kommandoen.
|
||||||
|
Se ONLINEHJÆLP-sektionen nedenfor.
|
||||||
|
.PP
|
||||||
|
Oftest startes
|
||||||
|
.B Vim
|
||||||
|
for at redigere en enkelt fil med kommandoen
|
||||||
|
.PP
|
||||||
|
vim fil
|
||||||
|
.PP
|
||||||
|
Mere generelt startes
|
||||||
|
.B Vim
|
||||||
|
med:
|
||||||
|
.PP
|
||||||
|
vim [tilvalg] [filliste]
|
||||||
|
.PP
|
||||||
|
Hvis fillisten mangler, så startes editoren med en tom buffer.
|
||||||
|
Ellers kan én af følgende fire måder bruges til at vælge en eller
|
||||||
|
flere filer som skal redigeres.
|
||||||
|
.TP 12
|
||||||
|
fil ..
|
||||||
|
En liste over filnavne.
|
||||||
|
Den første bliver den nuværende fil og læses ind i bufferen.
|
||||||
|
Markøren placeres på den første linje i bufferen.
|
||||||
|
Du kan gå til de andre filer med ":next"-kommandoen. Skriv "\-\-" foran
|
||||||
|
fillisten, for at redigere en fil som begynder med en bindestreg.
|
||||||
|
.TP
|
||||||
|
\-
|
||||||
|
Filen som skal redigeres læses fra stdin. Kommandoer læses fra stderr, hvilket
|
||||||
|
skal være en tty.
|
||||||
|
.TP
|
||||||
|
\-t {tag}
|
||||||
|
Filen som skal redigeres og den indledende markørplacering afhænger af
|
||||||
|
et "tag", en slags gå til-etiket.
|
||||||
|
{tag} opslås i tags-filen, den tilknyttede fil bliver den nuværende
|
||||||
|
fil og den tilknyttede kommando udføres.
|
||||||
|
Det bruges mest til C-programmer, hvor {tag} kunne være et
|
||||||
|
funktionsnavn.
|
||||||
|
Virkningen er at filen som indeholder funktionen bliver den nuværende fil
|
||||||
|
og markøren placeres i begyndelsen af funktionen.
|
||||||
|
Se ":help tag\-commands".
|
||||||
|
.TP
|
||||||
|
\-q [fejlfil]
|
||||||
|
Start i quickFix-tilstand.
|
||||||
|
Filen [fejlfil] læses og den første fejl vises.
|
||||||
|
Hvis [fejlfil] udelades, så indhentes filnavnet fra 'errorfile'-valgmuligheden
|
||||||
|
(standard er "AztecC.Err" på Amiga, "errors.err" på andre
|
||||||
|
systemer).
|
||||||
|
Der kan hoppes til yderligere fejl med ":cn"-kommandoen.
|
||||||
|
Se ":help quickfix".
|
||||||
|
.PP
|
||||||
|
.B Vim
|
||||||
|
opfører sig anderledes, afhængig af navnet på kommandoen (eksekverbaren kan
|
||||||
|
stadig være den samme fil).
|
||||||
|
.TP 10
|
||||||
|
vim
|
||||||
|
Den "normale" måde, alt er standard.
|
||||||
|
.TP
|
||||||
|
ex
|
||||||
|
Start i Ex-tilstand.
|
||||||
|
Gå til normal tilstand med ":vi"-kommandoen.
|
||||||
|
Det kan også gøres med "\-e"-argumentet.
|
||||||
|
.TP
|
||||||
|
view
|
||||||
|
Start i skrivebeskyttet tilstand. Du vil være beskyttet mod at skrive filerne.
|
||||||
|
Det kan også gøres med "\-R"-argumentet.
|
||||||
|
.TP
|
||||||
|
gvim gview
|
||||||
|
GUI-versionen.
|
||||||
|
Starter et nyt vindue.
|
||||||
|
Det kan også gøres med "\-g"-argumentet.
|
||||||
|
.TP
|
||||||
|
evim eview
|
||||||
|
GUI-versionen i easy-tilstand.
|
||||||
|
Starter et nyt vindue.
|
||||||
|
Det kan også gøres med "\-y"-argumentet.
|
||||||
|
.TP
|
||||||
|
rvim rview rgvim rgview
|
||||||
|
Som dem ovenfor, men med restriktioner. Det vil ikke være muligt at starte
|
||||||
|
skalkommandoer, eller at suspendere
|
||||||
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
Det kan også gøres med "\-Z"-argumentet.
|
||||||
|
.SH TILVALG
|
||||||
|
Tilvalgene kan gives i vilkårlig rækkefølge, før eller efter filnavnene.
|
||||||
|
Tilvalg uden et argument kan kombineres efter en enkelt bindestreg.
|
||||||
|
.TP 12
|
||||||
|
+[nummer]
|
||||||
|
Ved den første fil, placeres markøren på linje "nummer".
|
||||||
|
Hvis "nummer" mangler, så placeres markøren på den sidste linje.
|
||||||
|
.TP
|
||||||
|
+/{sti}
|
||||||
|
Ved den første fil, placeres markøren på linjen med den
|
||||||
|
første forekomst af {sti}.
|
||||||
|
Se ":help search\-pattern" for tilgængelige søgemønstre.
|
||||||
|
.TP
|
||||||
|
+{kommando}
|
||||||
|
.TP
|
||||||
|
\-c {kommando}
|
||||||
|
{kommando} udføres efter den første fil er blevet læst.
|
||||||
|
{kommando} fortolkes som en Ex-kommando.
|
||||||
|
Hvis {kommando} indeholder mellemrum, så skal den omsluttes af
|
||||||
|
dobbelte citationstegn (det afhænger af den skal der bruges).
|
||||||
|
Eksempel: Vim "+set si" main.c
|
||||||
|
.br
|
||||||
|
Bemærk: Du kan bruge op til 10 "+"- eller "\-c"-kommandoer.
|
||||||
|
.TP
|
||||||
|
\-S {fil}
|
||||||
|
{fil} bliver sourced efter den første fil er blevet læst.
|
||||||
|
Det svarer til \-c "source {fil}".
|
||||||
|
{fil} må ikke begynde med '\-'.
|
||||||
|
Hvis {fil} udelades, så bruges "Session.vim" (virker kun når \-S er det sidste
|
||||||
|
argument).
|
||||||
|
.TP
|
||||||
|
\-\-cmd {kommando}
|
||||||
|
Ligesom at bruge "\-c", men kommandoen udføres lige inden
|
||||||
|
behandlingen af vimrc-filer.
|
||||||
|
Du kan bruge op til 10 af disse kommandoer, uafhængigt af "\-c"-kommandoer.
|
||||||
|
.TP
|
||||||
|
\-A
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af ARABIC til redigering af filer som er
|
||||||
|
orienteret højre mod venstre og arabisk tastaturlayout, så starter tilvalget
|
||||||
|
.B Vim
|
||||||
|
i arabisk tilstand, dvs. 'arabic' sættes.
|
||||||
|
Ellers gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-b
|
||||||
|
Binær tilstand.
|
||||||
|
Der sættes nogle få valgmuligheder som gør det muligt at redigere en
|
||||||
|
binær eller eksekverbar fil.
|
||||||
|
.TP
|
||||||
|
\-C
|
||||||
|
Kompatibel. Sæt 'compatible'-valgmuligheden.
|
||||||
|
Det får
|
||||||
|
.B Vim
|
||||||
|
til at opføre sig mest som Vi, selvom der findes en .vimrc-fil.
|
||||||
|
.TP
|
||||||
|
\-d
|
||||||
|
Start i diff-tilstand.
|
||||||
|
Der skal være to, tre eller fire filnavneargumenter.
|
||||||
|
.B Vim
|
||||||
|
åbner alle filerne og viser forskellene mellem dem.
|
||||||
|
Virker ligesom vimdiff(1).
|
||||||
|
.TP
|
||||||
|
\-d {enhed}
|
||||||
|
Åbn {enhed} til brug som en terminal.
|
||||||
|
Kun på Amiga.
|
||||||
|
Eksempel:
|
||||||
|
"\-d con:20/30/600/150".
|
||||||
|
.TP
|
||||||
|
\-D
|
||||||
|
Fejlretning. Gå til fejlretningstilstand når den første kommando udføres fra
|
||||||
|
et script.
|
||||||
|
.TP
|
||||||
|
\-e
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i Ex-tilstand, ligesom hvis "ex"-eksekverbaren blev kaldt.
|
||||||
|
.TP
|
||||||
|
\-E
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i forbedret Ex-tilstand, ligesom hvis "exim"-eksekverbaren blev kaldt.
|
||||||
|
.TP
|
||||||
|
\-f
|
||||||
|
Forgrund. I GUI-versionen, vil
|
||||||
|
.B Vim
|
||||||
|
ikke fork'e og frigøre fra skallen som den blev startet i.
|
||||||
|
På Amiga, genstartes
|
||||||
|
.B Vim
|
||||||
|
ikke for at åbne et nyt vindue.
|
||||||
|
Tilvalget bør bruges når
|
||||||
|
.B Vim
|
||||||
|
udføres af et program der venter på at redigeringssession
|
||||||
|
bliver færdig (f.eks. mail).
|
||||||
|
På Amiga virker ":sh"- og ":!"-kommandoerne ikke.
|
||||||
|
.TP
|
||||||
|
\-\-nofork
|
||||||
|
Forgrund. I GUI-versionen, vil
|
||||||
|
.B Vim
|
||||||
|
ikke fork'e og frigøre fra skallen som den blev startet i.
|
||||||
|
.TP
|
||||||
|
\-F
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af FKMAP til redigering af filer som er
|
||||||
|
orienteret højre mod venstre og persisk tastaturlayout, så starter tilvalget
|
||||||
|
.B Vim
|
||||||
|
i persisk tilstand, dvs. 'fkmap' og 'rightleft' sættes.
|
||||||
|
Ellers gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-g
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af GUI, så aktiveres GUI'en af
|
||||||
|
denne valgmulighed. Hvis understøttelse af GUI ikke blev kompileret ind,
|
||||||
|
så gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-h
|
||||||
|
Giv lidt hjælp om kommandolinjeargumenterne og tilvalgene.
|
||||||
|
Herefter afsluttes
|
||||||
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
.TP
|
||||||
|
\-H
|
||||||
|
Hvis
|
||||||
|
.B Vim
|
||||||
|
blev kompileret med understøttelse af RIGHTLEFT til redigering af filer som er
|
||||||
|
orienteret højre mod venstre og hebraisk tastaturlayout, så starter tilvalget
|
||||||
|
.B Vim
|
||||||
|
i hebraisk tilstand, dvs. 'hkmap' og 'rightleft' sættes.
|
||||||
|
Ellers gives en fejlmeddelelse og
|
||||||
|
.B Vim
|
||||||
|
afbrydes.
|
||||||
|
.TP
|
||||||
|
\-i {viminfo}
|
||||||
|
Når brug af viminfo-filen er aktiveret, så sætter tilvalget det
|
||||||
|
filnavn som skal bruges, i stedet for standarden "~/.viminfo".
|
||||||
|
Det kan også bruges til at springe brugen af .viminfo-filen over,
|
||||||
|
ved at give navnet "NONE".
|
||||||
|
.TP
|
||||||
|
\-L
|
||||||
|
Samme som \-r.
|
||||||
|
.TP
|
||||||
|
\-l
|
||||||
|
Lisp-tilstand.
|
||||||
|
Sætter 'lisp'- og 'showmatch'-valgmulighederne til.
|
||||||
|
.TP
|
||||||
|
\-m
|
||||||
|
Ændring af filer er deaktiveret.
|
||||||
|
Nulstiller 'write'-valgmuligheden.
|
||||||
|
Du kan stadig ændre bufferen, men det er ikke muligt at skrive en fil.
|
||||||
|
.TP
|
||||||
|
\-M
|
||||||
|
Ændringer tillades ikke. 'modifiable'- og 'write'-valgmulighederne fjernes,
|
||||||
|
så ændringer ikke er tilladt og filer ikke kan skrives. Bemærk at
|
||||||
|
valgmulighederne kan sættes for at gøre det muligt at foretage ændringer.
|
||||||
|
.TP
|
||||||
|
\-N
|
||||||
|
No-compatible-tilstand. Nulstil 'compatible'-valgmuligheden.
|
||||||
|
Det får
|
||||||
|
.B Vim
|
||||||
|
til at opføre sig en smule bedre, men mindre Vi-kompatibel, selvom der ikke
|
||||||
|
findes en .vimrc-fil.
|
||||||
|
.TP
|
||||||
|
\-n
|
||||||
|
Der bruges ingen swap-fil.
|
||||||
|
Det er umuligt at gendanne efter programmet er holdt op med at virke.
|
||||||
|
God hvis du vil redigere en fil på et meget langsomt medie (f.eks. floppy).
|
||||||
|
Kan også gøres med ":set uc=0".
|
||||||
|
Kan fortrydes med ":set uc=200".
|
||||||
|
.TP
|
||||||
|
\-nb
|
||||||
|
Bliv en editor-server til NetBeans. Se dokumentationen for detaljer.
|
||||||
|
.TP
|
||||||
|
\-o[N]
|
||||||
|
Åbn N vinduer stablet.
|
||||||
|
Når N udelades, så åbnes ét vindue pr. fil.
|
||||||
|
.TP
|
||||||
|
\-O[N]
|
||||||
|
Åbn N vinduer side om side.
|
||||||
|
Når N udelades, så åbnes ét vindue pr. fil.
|
||||||
|
.TP
|
||||||
|
\-p[N]
|
||||||
|
Åbn N fanebladssider.
|
||||||
|
Når N udelades, så åbnes én fanebladsside pr. fil.
|
||||||
|
.TP
|
||||||
|
\-R
|
||||||
|
Skrivebeskyttet tilstand.
|
||||||
|
'readonly'-valgmuligheden sættes.
|
||||||
|
Du kan stadig redigere bufferen, men vil være forhindret i
|
||||||
|
fejlagtigt at overskrive en fil.
|
||||||
|
Hvis du vil overskrive en fil, så tilføj et
|
||||||
|
udråbstegn til Ex-kommandoen, som i ":w!".
|
||||||
|
\-R-tilvalget indebærer også \-n-tilvalget (se ovenfor).
|
||||||
|
'readonly'-valgmuligheden kan slås fra med ":set noro".
|
||||||
|
Se ":help 'readonly'".
|
||||||
|
.TP
|
||||||
|
\-r
|
||||||
|
Oplist swap-filer, med information om at bruge dem til gendannelse.
|
||||||
|
.TP
|
||||||
|
\-r {fil}
|
||||||
|
Gendannelsestilstand.
|
||||||
|
Swap-filen bruges til at gendanne en redigeringssession som holdt
|
||||||
|
op med at virke. Swap-filen er en fil med det samme filnavn som tekstfilen,
|
||||||
|
med ".swp" tilføjet i slutningen.
|
||||||
|
Se ":help recovery".
|
||||||
|
.TP
|
||||||
|
\-s
|
||||||
|
Stille tilstand. Kun når der startes som "Ex" eller
|
||||||
|
når "\-e"-tilvalget blev givet inden "\-s"-tilvalget.
|
||||||
|
.TP
|
||||||
|
\-s {scriptind}
|
||||||
|
Script-filen {scriptind} læses.
|
||||||
|
Tegnene i filen fortolkes som havde du skrevet dem.
|
||||||
|
Det samme kan gøres med kommandoen ":source! {scriptind}".
|
||||||
|
Hvis slutningen af filen nås inden editoren afslutter,
|
||||||
|
så læses yderligere tegn fra tastaturet.
|
||||||
|
.TP
|
||||||
|
\-T {terminal}
|
||||||
|
Fortæller
|
||||||
|
.B Vim
|
||||||
|
navnet på terminalen som du bruger.
|
||||||
|
Kræves kun når den automatisk måde ikke virker.
|
||||||
|
Skal være en terminal som kendes af
|
||||||
|
.B Vim
|
||||||
|
(indbygget) eller defineret i termcap- eller terminfo-filen.
|
||||||
|
.TP
|
||||||
|
\-u {vimrc}
|
||||||
|
Brug kommandoerne i {vimrc}-filen til initialiseringer.
|
||||||
|
Alle de andre initialiseringer springes over.
|
||||||
|
Brug den til at redigere en særlig slags filer.
|
||||||
|
Den kan også bruges til at springe alle initialiseringer over,
|
||||||
|
ved at give navnet "NONE". Se ":help initialization" i vim for flere detaljer.
|
||||||
|
.TP
|
||||||
|
\-U {gvimrc}
|
||||||
|
Brug kommandoerne i {gvimrc}-filen til GUI-initialiseringer.
|
||||||
|
Alle de andre GUI-initialiseringer springes over.
|
||||||
|
Den kan også bruges til at springe alle GUI-initialiseringer over,
|
||||||
|
ved at give navnet "NONE". Se ":help gui\-init" i vim for flere detaljer.
|
||||||
|
.TP
|
||||||
|
\-V[N]
|
||||||
|
Uddybende. Giv meddelelser om hvilke filer som er sourced og til læsning og
|
||||||
|
skrivning af en viminfo-fil. Det valgfrie nummer N er værdien af 'verbose'.
|
||||||
|
Standard er 10.
|
||||||
|
.TP
|
||||||
|
\-v
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i Vi-tilstand, ligesom eksekverbaren kaldet "vi". Det har kun virkning når
|
||||||
|
eksekverbaren kaldes "ex".
|
||||||
|
.TP
|
||||||
|
\-w {scriptud}
|
||||||
|
Alle tegnene som du skrev optages i filen {scriptud}, indtil du afslutter
|
||||||
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
Det er nyttigt hvis du vil oprette en script-fil som skal bruges med
|
||||||
|
"vim \-s" eller ":source!".
|
||||||
|
Hvis {scriptud}-filen findes, så tilføjes tegnene til slutningen.
|
||||||
|
.TP
|
||||||
|
\-W {scriptud}
|
||||||
|
Ligesom \-w, men en eksisterende fil overskrives.
|
||||||
|
.TP
|
||||||
|
\-x
|
||||||
|
Brug kryptering når der skrives filer. Spørger efter en krypteringsnøgle.
|
||||||
|
.TP
|
||||||
|
\-X
|
||||||
|
Opret ikke forbindelse til X-serveren. Afkorter opstartstiden i en terminal,
|
||||||
|
men vinduets titel og udklipsholder bruges ikke.
|
||||||
|
.TP
|
||||||
|
\-y
|
||||||
|
Start
|
||||||
|
.B Vim
|
||||||
|
i easy-tilstand, ligesom hvis "evim"- eller "eview"-eksekverbarene blev kaldt.
|
||||||
|
Får
|
||||||
|
.B Vim
|
||||||
|
til at opføre sig som en klik og skriv-editor.
|
||||||
|
.TP
|
||||||
|
\-Z
|
||||||
|
Restriktiv tilstand. Virker ligesom eksekverbaren som begynder med "r".
|
||||||
|
.TP
|
||||||
|
\-\-
|
||||||
|
Betegner slutningen af tilvalgene.
|
||||||
|
Argumenter efter dette håndteres som et filnavn.
|
||||||
|
Det kan bruges til at redigere et filnavn som begynder med et '\-'.
|
||||||
|
.TP
|
||||||
|
\-\-echo\-wid
|
||||||
|
Kun GTK GUI: Ekko vinduets id på stdout.
|
||||||
|
.TP
|
||||||
|
\-\-help
|
||||||
|
Giv en hjælpemeddelelse og afslut, ligesom "\-h".
|
||||||
|
.TP
|
||||||
|
\-\-literal
|
||||||
|
Tag filnavnets argumenter bogstaveligt, udvid ikke jokertegn.
|
||||||
|
Det har ingen virkning i Unix hvor skallen udvidder jokertegn.
|
||||||
|
.TP
|
||||||
|
\-\-noplugin
|
||||||
|
Spring indlæsning af plugins over. Indebæres af \-u NONE.
|
||||||
|
.TP
|
||||||
|
\-\-remote
|
||||||
|
Opret forbindelse til en Vim-server og få den til at redigere filerne
|
||||||
|
som gives i resten af argumenterne. Hvis der ikke findes nogen server,
|
||||||
|
så gives der en advarsel og filerne redigeres i den nuværende Vim.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-expr {udtryk}
|
||||||
|
Opret forbindelse til en Vim-server, evaluer
|
||||||
|
{udtryk} i den og udskriv resultatet på stdout.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-send {nøgler}
|
||||||
|
Opret forbindelse til en Vim-server and send {nøgler} til den.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-silent
|
||||||
|
Som \-\-remote, men uden advarslen når der ikke findes nogen server.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-wait
|
||||||
|
Som \-\-remote, men Vim afslutter ikke før filerne er blevet redigeret.
|
||||||
|
.TP
|
||||||
|
\-\-remote\-wait\-silent
|
||||||
|
Som \-\-remote\-wait, men uden advarslen når der ikke findes nogen server.
|
||||||
|
.TP
|
||||||
|
\-\-serverlist
|
||||||
|
Oplist navnene på alle Vim-servere som der kan findes.
|
||||||
|
.TP
|
||||||
|
\-\-servername {navn}
|
||||||
|
Brug servernavnet {navn}. Bruges til den nuværende Vim,
|
||||||
|
medmindre det bruges med et \-\-remote-argument,
|
||||||
|
så er det navnet på serveren som der skal oprettes forbindelse til.
|
||||||
|
.TP
|
||||||
|
\-\-socketid {id}
|
||||||
|
Kun GTK GUI: Brug GtkPlug-mekanismen til at køre gvim i et andet vindue.
|
||||||
|
.TP
|
||||||
|
\-\-version
|
||||||
|
Udskriv versionsinformation og afslut.
|
||||||
|
.SH ONLINEHJÆLP
|
||||||
|
Skriv ":help" i
|
||||||
|
.B Vim
|
||||||
|
for at begynde.
|
||||||
|
Skriv ":help emne" for at få hjælp til et bestemt emne.
|
||||||
|
F.eks.: ":help ZZ" for at få hjælpe til "ZZ"-kommandoen.
|
||||||
|
Brug <Tab> og CTRL-D for at fuldføre emner (":help cmdline\-completion").
|
||||||
|
Tags findes til at hoppe fra et sted til et andet (en slags hypertekst-links,
|
||||||
|
se ":help").
|
||||||
|
Alle dokumentationsfiler kan vises på denne måde, f.eks.
|
||||||
|
":help syntax.txt".
|
||||||
|
.SH FILER
|
||||||
|
.TP 15
|
||||||
|
/usr/local/lib/vim/doc/*.txt
|
||||||
|
.B Vim\c
|
||||||
|
-dokumentationsfilerne.
|
||||||
|
Brug ":help doc\-file\-list" for at få den fulde liste.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/doc/tags
|
||||||
|
Tags-filen som bruges til at finde information i dokumentationsfilerne.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/syntax/syntax.vim
|
||||||
|
Systembrede syntaksinitialiseringer.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/syntax/*.vim
|
||||||
|
Syntaksfiler til diverse sprog.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/vimrc
|
||||||
|
Systembrede
|
||||||
|
.B Vim\c
|
||||||
|
-initialiseringer.
|
||||||
|
.TP
|
||||||
|
~/.vimrc
|
||||||
|
Dine personlige
|
||||||
|
.B Vim\c
|
||||||
|
-initialiseringer.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/gvimrc
|
||||||
|
Systembrede gvim-initialiseringer.
|
||||||
|
.TP
|
||||||
|
~/.gvimrc
|
||||||
|
Dine personlige gvim-initialiseringer.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/optwin.vim
|
||||||
|
Script som bruges til ":options"-kommandoen,
|
||||||
|
en god måde til at vise og sætte valgmuligheder.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/menu.vim
|
||||||
|
Systembrede menu-initialiseringer til gvim.
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/bugreport.vim
|
||||||
|
Script til at generere en fejlrapport. Se ":help bugs".
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/filetype.vim
|
||||||
|
Script til at registrere filtypen ud fra navnet. Se ":help 'filetype'".
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/scripts.vim
|
||||||
|
Script til at registrere filtypen ud fra indholdet. Se ":help 'filetype'".
|
||||||
|
.TP
|
||||||
|
/usr/local/lib/vim/print/*.ps
|
||||||
|
Filer som bruges til PostScript-udskrivning.
|
||||||
|
.PP
|
||||||
|
Læs VIM-hjemmesiden for seneste info:
|
||||||
|
.br
|
||||||
|
<URL:http://www.vim.org/>
|
||||||
|
.SH SE OGSÅ
|
||||||
|
vimtutor(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\c
|
||||||
|
\&.
|
||||||
|
.br
|
||||||
|
.B Vim
|
||||||
|
er baseret på Stevie, arbejdet på af: Tim Thompson,
|
||||||
|
Tony Andrews og G.R. (Fred) Walter.
|
||||||
|
Selvom der næsten ikke er noget af den originale kode tilbage.
|
||||||
|
.SH FEJL
|
||||||
|
Formodentligt.
|
||||||
|
Se ":help todo" for en liste over kendte problemer.
|
||||||
|
.PP
|
||||||
|
Bemærk at flere ting som af nogle kan anses som værende fejl,
|
||||||
|
faktisk er pga. en for nær reproduktion af Vi's opførsel.
|
||||||
|
Og hvis du tænker at andre ting er fejl "fordi Vi gør det anderledes",
|
||||||
|
så kig nærmere på vi_diff.txt-filen (eller skriv :help vi_diff.txt i Vim).
|
||||||
|
Se også 'compatible'- og 'cpoptions'-valgmulighederne.
|
@ -1,6 +1,7 @@
|
|||||||
.TH VIMDIFF 1 "30. marts 2001"
|
.TH VIMDIFF 1 "30. marts 2001"
|
||||||
.SH NAVN
|
.SH NAVN
|
||||||
vimdiff \- rediger to, tre eller fire version af en fil med Vim, og vis forskellene
|
vimdiff \- rediger to, tre eller fire version af en fil med Vim,
|
||||||
|
og vis forskellene
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.br
|
.br
|
||||||
.B vimdiff
|
.B vimdiff
|
||||||
@ -14,8 +15,8 @@ starter
|
|||||||
på to (eller tre eller fire) filer.
|
på to (eller tre eller fire) filer.
|
||||||
Hver fil får sit eget vindue.
|
Hver fil får sit eget vindue.
|
||||||
Forskellene mellem filerne fremhæves.
|
Forskellene mellem filerne fremhæves.
|
||||||
Det er en fin måde til at inspicere ændringer og til at flytte ændringer fra en version
|
Det er en fin måde til at inspicere ændringer og til at flytte ændringer fra
|
||||||
til en anden version af den samme fil.
|
en version til en anden version af den samme fil.
|
||||||
.PP
|
.PP
|
||||||
Se vim(1) for detaljer om selve Vim.
|
Se vim(1) for detaljer om selve Vim.
|
||||||
.PP
|
.PP
|
||||||
@ -26,13 +27,15 @@ N
|
|||||||
I hvert vindue sættes 'diff'-valgmuligheden, som får forskellene
|
I hvert vindue sættes 'diff'-valgmuligheden, som får forskellene
|
||||||
til at blive fremhævet.
|
til at blive fremhævet.
|
||||||
.br
|
.br
|
||||||
\'wrap'- og 'scrollbind'-valgmulighederne sættes for at få teksten til at se godt ud.
|
\'wrap'- og 'scrollbind'-valgmulighederne sættes for at få teksten til
|
||||||
|
at se godt ud.
|
||||||
.br
|
.br
|
||||||
\'foldmethod'-valgmuligheden sættes til "diff", hvilket lægger områder af linjer uden
|
\'foldmethod'-valgmuligheden sættes til "diff", hvilket lægger områder af
|
||||||
ændringer i en sammenfoldning. 'foldcolumn' sættes til to, for at gøre det lettere at se
|
linjer uden ændringer i en sammenfoldning. 'foldcolumn' sættes til to,
|
||||||
sammenfoldningerne og åbne eller lukke dem.
|
for at gøre det lettere at se sammenfoldningerne og åbne eller lukke dem.
|
||||||
.SH TILVALG
|
.SH TILVALG
|
||||||
Lodrette opdelinger bruges til at opstille linjerne, som hvis "\-O"-argumentet blev brugt.
|
Lodrette opdelinger bruges til at opstille linjerne, som hvis "\-O"-argumentet
|
||||||
|
blev brugt.
|
||||||
Brug "\-o"-argumentet, for i stedet at bruge vandrette opdelinger.
|
Brug "\-o"-argumentet, for i stedet at bruge vandrette opdelinger.
|
||||||
.PP
|
.PP
|
||||||
Se vim(1) for alle andre argumenter.
|
Se vim(1) for alle andre argumenter.
|
||||||
@ -43,4 +46,5 @@ Det meste af
|
|||||||
.B Vim
|
.B Vim
|
||||||
blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
|
blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
|
||||||
Se ":help credits" i
|
Se ":help credits" i
|
||||||
.B Vim.
|
.B Vim\c
|
||||||
|
\&.
|
@ -1,6 +1,7 @@
|
|||||||
.TH VIMDIFF 1 "30. marts 2001"
|
.TH VIMDIFF 1 "30. marts 2001"
|
||||||
.SH NAVN
|
.SH NAVN
|
||||||
vimdiff \- rediger to, tre eller fire version af en fil med Vim, og vis forskellene
|
vimdiff \- rediger to, tre eller fire version af en fil med Vim,
|
||||||
|
og vis forskellene
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.br
|
.br
|
||||||
.B vimdiff
|
.B vimdiff
|
||||||
@ -14,8 +15,8 @@ starter
|
|||||||
på to (eller tre eller fire) filer.
|
på to (eller tre eller fire) filer.
|
||||||
Hver fil får sit eget vindue.
|
Hver fil får sit eget vindue.
|
||||||
Forskellene mellem filerne fremhæves.
|
Forskellene mellem filerne fremhæves.
|
||||||
Det er en fin måde til at inspicere ændringer og til at flytte ændringer fra en version
|
Det er en fin måde til at inspicere ændringer og til at flytte ændringer fra
|
||||||
til en anden version af den samme fil.
|
en version til en anden version af den samme fil.
|
||||||
.PP
|
.PP
|
||||||
Se vim(1) for detaljer om selve Vim.
|
Se vim(1) for detaljer om selve Vim.
|
||||||
.PP
|
.PP
|
||||||
@ -26,13 +27,15 @@ Når den startes som
|
|||||||
I hvert vindue sættes 'diff'-valgmuligheden, som får forskellene
|
I hvert vindue sættes 'diff'-valgmuligheden, som får forskellene
|
||||||
til at blive fremhævet.
|
til at blive fremhævet.
|
||||||
.br
|
.br
|
||||||
\'wrap'- og 'scrollbind'-valgmulighederne sættes for at få teksten til at se godt ud.
|
\'wrap'- og 'scrollbind'-valgmulighederne sættes for at få teksten til
|
||||||
|
at se godt ud.
|
||||||
.br
|
.br
|
||||||
\'foldmethod'-valgmuligheden sættes til "diff", hvilket lægger områder af linjer uden
|
\'foldmethod'-valgmuligheden sættes til "diff", hvilket lægger områder af
|
||||||
ændringer i en sammenfoldning. 'foldcolumn' sættes til to, for at gøre det lettere at se
|
linjer uden ændringer i en sammenfoldning. 'foldcolumn' sættes til to,
|
||||||
sammenfoldningerne og åbne eller lukke dem.
|
for at gøre det lettere at se sammenfoldningerne og åbne eller lukke dem.
|
||||||
.SH TILVALG
|
.SH TILVALG
|
||||||
Lodrette opdelinger bruges til at opstille linjerne, som hvis "\-O"-argumentet blev brugt.
|
Lodrette opdelinger bruges til at opstille linjerne, som hvis "\-O"-argumentet
|
||||||
|
blev brugt.
|
||||||
Brug "\-o"-argumentet, for i stedet at bruge vandrette opdelinger.
|
Brug "\-o"-argumentet, for i stedet at bruge vandrette opdelinger.
|
||||||
.PP
|
.PP
|
||||||
Se vim(1) for alle andre argumenter.
|
Se vim(1) for alle andre argumenter.
|
||||||
@ -43,4 +46,5 @@ Det meste af
|
|||||||
.B Vim
|
.B Vim
|
||||||
blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
|
blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
|
||||||
Se ":help credits" i
|
Se ":help credits" i
|
||||||
.B Vim.
|
.B Vim\c
|
||||||
|
\&.
|
||||||
|
@ -32,8 +32,7 @@ startes altid i Vi-kompatibel tilstand.
|
|||||||
.TP 15
|
.TP 15
|
||||||
/usr/local/lib/vim/tutor/tutor[.sprog]
|
/usr/local/lib/vim/tutor/tutor[.sprog]
|
||||||
.B Vimtutor\c
|
.B Vimtutor\c
|
||||||
-tekstfilerne
|
-tekstfilerne.
|
||||||
.
|
|
||||||
.TP 15
|
.TP 15
|
||||||
/usr/local/lib/vim/tutor/tutor.vim
|
/usr/local/lib/vim/tutor/tutor.vim
|
||||||
Vim-scriptet som bruges til at kopiere
|
Vim-scriptet som bruges til at kopiere
|
||||||
|
@ -32,8 +32,7 @@ startes altid i Vi-kompatibel tilstand.
|
|||||||
.TP 15
|
.TP 15
|
||||||
/usr/local/lib/vim/tutor/tutor[.sprog]
|
/usr/local/lib/vim/tutor/tutor[.sprog]
|
||||||
.B Vimtutor\c
|
.B Vimtutor\c
|
||||||
-tekstfilerne
|
-tekstfilerne.
|
||||||
.
|
|
||||||
.TP 15
|
.TP 15
|
||||||
/usr/local/lib/vim/tutor/tutor.vim
|
/usr/local/lib/vim/tutor/tutor.vim
|
||||||
Vim-scriptet som bruges til at kopiere
|
Vim-scriptet som bruges til at kopiere
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=GVim
|
Name=gVim
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
GenericName[da]=Tekstredigering
|
GenericName[da]=Teksteditor
|
||||||
GenericName[de]=Texteditor
|
GenericName[de]=Texteditor
|
||||||
GenericName[eo]=Tekstoredaktilo
|
GenericName[eo]=Tekstoredaktilo
|
||||||
GenericName[fr]=Éditeur de texte
|
GenericName[fr]=Éditeur de texte
|
||||||
|
@ -383,7 +383,7 @@ let s:ambitable = []
|
|||||||
call BuildWidthTable('A', 'ambiguous')
|
call BuildWidthTable('A', 'ambiguous')
|
||||||
|
|
||||||
" Edit the emoji text file. Requires the netrw plugin.
|
" Edit the emoji text file. Requires the netrw plugin.
|
||||||
edit http://unicode.org/Public/emoji/5.0/emoji-data.txt
|
edit https://www.unicode.org/Public/emoji/11.0/emoji-data.txt
|
||||||
"edit http://www.unicode.org/Public/emoji/latest/emoji-data.txt
|
"edit http://www.unicode.org/Public/emoji/latest/emoji-data.txt
|
||||||
|
|
||||||
" Build the emoji table. Ver. 1.0 - 6.0
|
" Build the emoji table. Ver. 1.0 - 6.0
|
||||||
|
@ -372,7 +372,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
|
|
||||||
** Type p to put previously deleted text after the cursor. **
|
** Type p to put previously deleted text after the cursor. **
|
||||||
|
|
||||||
1. Move the cursor to the first ---> line below.
|
1. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
2. Type dd to delete the line and store it in a Vim register.
|
2. Type dd to delete the line and store it in a Vim register.
|
||||||
|
|
||||||
@ -447,7 +447,7 @@ Notice that ce deletes the word and places you in Insert mode.
|
|||||||
|
|
||||||
2. The motions are the same, such as w (word) and $ (end of line).
|
2. The motions are the same, such as w (word) and $ (end of line).
|
||||||
|
|
||||||
3. Move to the first line below marked --->.
|
3. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
4. Move the cursor to the first error.
|
4. Move the cursor to the first error.
|
||||||
|
|
||||||
@ -740,7 +740,7 @@ NOTE: You can also read the output of an external command. For example,
|
|||||||
|
|
||||||
** Type a to insert text AFTER the cursor. **
|
** Type a to insert text AFTER the cursor. **
|
||||||
|
|
||||||
1. Move the cursor to the start of the line below marked --->.
|
1. Move the cursor to the start of the first line below marked --->.
|
||||||
|
|
||||||
2. Press e until the cursor is on the end of li .
|
2. Press e until the cursor is on the end of li .
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,7 @@ Anmerkung: Immer, wenn Du Dir unsicher bist
|
|||||||
drücke <ESC> , um Dich in den Normalmodus zu begeben.
|
drücke <ESC> , um Dich in den Normalmodus zu begeben.
|
||||||
Dann gib das gewünschte Kommando noch einmal ein.
|
Dann gib das gewünschte Kommando noch einmal ein.
|
||||||
|
|
||||||
Anmerkung: Die Cursor-Tasten sollten ebenfalls funktionieren. Aber wenn Du
|
Anmerkung: Die Cursor-Tasten sollten ebenfalls funktionieren. Aber wenn Du
|
||||||
hjkl benutzt, wirst Du in der Lage sein, Dich sehr viel schneller
|
hjkl benutzt, wirst Du in der Lage sein, Dich sehr viel schneller
|
||||||
umherzubewegen, wenn Du Dich einmal daran gewöhnt hast. Wirklich!
|
umherzubewegen, wenn Du Dich einmal daran gewöhnt hast. Wirklich!
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -41,7 +41,7 @@ Anmerkung: Immer, wenn Du Dir unsicher bist über das, was Du getippt hast,
|
|||||||
drücke <ESC> , um Dich in den Normalmodus zu begeben.
|
drücke <ESC> , um Dich in den Normalmodus zu begeben.
|
||||||
Dann gib das gewünschte Kommando noch einmal ein.
|
Dann gib das gewünschte Kommando noch einmal ein.
|
||||||
|
|
||||||
Anmerkung: Die Cursor-Tasten sollten ebenfalls funktionieren. Aber wenn Du
|
Anmerkung: Die Cursor-Tasten sollten ebenfalls funktionieren. Aber wenn Du
|
||||||
hjkl benutzt, wirst Du in der Lage sein, Dich sehr viel schneller
|
hjkl benutzt, wirst Du in der Lage sein, Dich sehr viel schneller
|
||||||
umherzubewegen, wenn Du Dich einmal daran gewöhnt hast. Wirklich!
|
umherzubewegen, wenn Du Dich einmal daran gewöhnt hast. Wirklich!
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -542,7 +542,7 @@ Nota: ¡Esto es muy útil en la detección de errores en un programa con
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Lección 5.3: UN MANDATO DE ESCRITURA SELECTIVO
|
Lección 5.3: UN MANDATO DE ESCRITURA SELECTIVO
|
||||||
|
|
||||||
** Para guardar parte del fuchero escriba :#,# NOMBRE_DEL_FICHERO **
|
** Para guardar parte del fichero escriba :#,# NOMBRE_DEL_FICHERO **
|
||||||
|
|
||||||
|
|
||||||
1. Escriba de nuevo, una vez más, :!dir o :!ls para obtener una lista
|
1. Escriba de nuevo, una vez más, :!dir o :!ls para obtener una lista
|
||||||
|
@ -88,7 +88,7 @@ NOTE : :q! <Entr
|
|||||||
|
|
||||||
4. Répétez les étapes 2 à 4 jusqu'à ce que la phrase soit correcte.
|
4. Répétez les étapes 2 à 4 jusqu'à ce que la phrase soit correcte.
|
||||||
|
|
||||||
---> La vvache à sautéé au-ddessus dde la luune.
|
---> La vvache a sautéé au-ddessus dde la luune.
|
||||||
|
|
||||||
5. Maintenant que la ligne est correcte, passez à la Leçon 1.4.
|
5. Maintenant que la ligne est correcte, passez à la Leçon 1.4.
|
||||||
|
|
||||||
@ -1034,5 +1034,5 @@ NOTE : Le compl
|
|||||||
Dernières mises à jour par Dominique Pellé.
|
Dernières mises à jour par Dominique Pellé.
|
||||||
|
|
||||||
E-mail : dominique.pelle@gmail.com
|
E-mail : dominique.pelle@gmail.com
|
||||||
Last Change : 2017 Jan 16
|
Last Change : 2017 Jun 30
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
properly. If you only read the text, you will forget the commands!
|
properly. If you only read the text, you will forget the commands!
|
||||||
|
|
||||||
Now, make sure that your Caps-Lock key is NOT depressed and press
|
Now, make sure that your Caps-Lock key is NOT depressed and press
|
||||||
the j key enough times to move the cursor so that Lesson 1.1
|
the j key enough times to move the cursor so that lesson 1.1
|
||||||
completely fills the screen.
|
completely fills the screen.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Lesson 1.1: MOVING THE CURSOR
|
Lesson 1.1: MOVING THE CURSOR
|
||||||
@ -36,7 +36,7 @@
|
|||||||
2. Hold down the down key (j) until it repeats.
|
2. Hold down the down key (j) until it repeats.
|
||||||
Now you know how to move to the next lesson.
|
Now you know how to move to the next lesson.
|
||||||
|
|
||||||
3. Using the down key, move to Lesson 1.2.
|
3. Using the down key, move to lesson 1.2.
|
||||||
|
|
||||||
NOTE: If you are ever unsure about something you typed, press <ESC> to place
|
NOTE: If you are ever unsure about something you typed, press <ESC> to place
|
||||||
you in Normal mode. Then retype the command you wanted.
|
you in Normal mode. Then retype the command you wanted.
|
||||||
@ -64,7 +64,7 @@ NOTE: The cursor keys should also work. But using hjkl you will be able to
|
|||||||
NOTE: :q! <ENTER> discards any changes you made. In a few lessons you
|
NOTE: :q! <ENTER> discards any changes you made. In a few lessons you
|
||||||
will learn how to save the changes to a file.
|
will learn how to save the changes to a file.
|
||||||
|
|
||||||
5. Move the cursor down to Lesson 1.3.
|
5. Move the cursor down to lesson 1.3.
|
||||||
|
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -84,7 +84,7 @@ NOTE: :q! <ENTER> discards any changes you made. In a few lessons you
|
|||||||
|
|
||||||
---> The ccow jumpedd ovverr thhe mooon.
|
---> The ccow jumpedd ovverr thhe mooon.
|
||||||
|
|
||||||
5. Now that the line is correct, go on to Lesson 1.4.
|
5. Now that the line is correct, go on to lesson 1.4.
|
||||||
|
|
||||||
NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
|||||||
|
|
||||||
3. As the text has been appended press <ESC> to return to Normal mode.
|
3. As the text has been appended press <ESC> to return to Normal mode.
|
||||||
|
|
||||||
4. Move the cursor to the second line marked ---> and repeat
|
4. Move the cursor to the second line marked ---> and repeat
|
||||||
steps 2 and 3 to correct this sentence.
|
steps 2 and 3 to correct this sentence.
|
||||||
|
|
||||||
---> There is some text missing from th
|
---> There is some text missing from th
|
||||||
@ -152,13 +152,13 @@ NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
|||||||
|
|
||||||
3. Insert and delete text as you learned in the previous lessons.
|
3. Insert and delete text as you learned in the previous lessons.
|
||||||
|
|
||||||
4. Save the file with changes and exit Vim with: :wq <ENTER>
|
4. Save the file with changes and exit Vim with: :wq <ENTER>
|
||||||
|
|
||||||
5. If you have quit vimtutor in step 1 restart the vimtutor and move down to
|
5. If you have quit vimtutor in step 1 restart the vimtutor and move down to
|
||||||
the following summary.
|
the following summary.
|
||||||
|
|
||||||
6. After reading the above steps and understanding them: do it.
|
6. After reading the above steps and understanding them: do it.
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Lesson 1 SUMMARY
|
Lesson 1 SUMMARY
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ NOTE: As you go through this tutor, do not try to memorize, learn by usage.
|
|||||||
NOTE: Pressing <ESC> will place you in Normal mode or will cancel
|
NOTE: Pressing <ESC> will place you in Normal mode or will cancel
|
||||||
an unwanted and partially completed command.
|
an unwanted and partially completed command.
|
||||||
|
|
||||||
Now continue with Lesson 2.
|
Now continue with lesson 2.
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Lesson 2.1: DELETION COMMANDS
|
Lesson 2.1: DELETION COMMANDS
|
||||||
@ -202,7 +202,7 @@ Now continue with Lesson 2.
|
|||||||
|
|
||||||
---> There are a some words fun that don't belong paper in this sentence.
|
---> There are a some words fun that don't belong paper in this sentence.
|
||||||
|
|
||||||
5. Repeat steps 3 and 4 until the sentence is correct and go to Lesson 2.2.
|
5. Repeat steps 3 and 4 until the sentence is correct and go to lesson 2.2.
|
||||||
|
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -222,7 +222,7 @@ Now continue with Lesson 2.
|
|||||||
---> Somebody typed the end of this line twice. end of this line twice.
|
---> Somebody typed the end of this line twice. end of this line twice.
|
||||||
|
|
||||||
|
|
||||||
5. Move on to Lesson 2.3 to understand what is happening.
|
5. Move on to lesson 2.3 to understand what is happening.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
|
|
||||||
** Typing a number before a motion repeats it that many times. **
|
** Typing a number before a motion repeats it that many times. **
|
||||||
|
|
||||||
1. Move the cursor to the start of the line marked ---> below.
|
1. Move the cursor to the start of the line below marked --->.
|
||||||
|
|
||||||
2. Type 2w to move the cursor two words forward.
|
2. Type 2w to move the cursor two words forward.
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
|
|
||||||
---> This is just a line with words you can move around in.
|
---> This is just a line with words you can move around in.
|
||||||
|
|
||||||
6. Move on to Lesson 2.5.
|
6. Move on to lesson 2.5.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -286,10 +286,10 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
|
|
||||||
1. Move the cursor to the first UPPER CASE word in the line marked --->.
|
1. Move the cursor to the first UPPER CASE word in the line marked --->.
|
||||||
|
|
||||||
2. Type d2w to delete the two UPPER CASE words
|
2. Type d2w to delete the two UPPER CASE words.
|
||||||
|
|
||||||
3. Repeat steps 1 and 2 with a different count to delete the consecutive
|
3. Repeat steps 1 and 2 with a different count to delete the consecutive
|
||||||
UPPER CASE words with one command
|
UPPER CASE words with one command.
|
||||||
|
|
||||||
---> this ABC DE line FGHI JK LMN OP of words is Q RS TUV cleaned up.
|
---> this ABC DE line FGHI JK LMN OP of words is Q RS TUV cleaned up.
|
||||||
|
|
||||||
@ -338,7 +338,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
|
|
||||||
---> Fiix the errors oon thhis line and reeplace them witth undo.
|
---> Fiix the errors oon thhis line and reeplace them witth undo.
|
||||||
|
|
||||||
8. These are very useful commands. Now move on to the Lesson 2 Summary.
|
8. These are very useful commands. Now move on to the lesson 2 Summary.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
|
|
||||||
** Type p to put previously deleted text after the cursor. **
|
** Type p to put previously deleted text after the cursor. **
|
||||||
|
|
||||||
1. Move the cursor to the first ---> line below.
|
1. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
2. Type dd to delete the line and store it in a Vim register.
|
2. Type dd to delete the line and store it in a Vim register.
|
||||||
|
|
||||||
@ -406,7 +406,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
|
|||||||
---> Whan this lime was tuoed in, someone presswd some wrojg keys!
|
---> Whan this lime was tuoed in, someone presswd some wrojg keys!
|
||||||
---> When this line was typed in, someone pressed some wrong keys!
|
---> When this line was typed in, someone pressed some wrong keys!
|
||||||
|
|
||||||
5. Now move on to Lesson 3.3.
|
5. Now move on to lesson 3.3.
|
||||||
|
|
||||||
NOTE: Remember that you should be learning by doing, not memorization.
|
NOTE: Remember that you should be learning by doing, not memorization.
|
||||||
|
|
||||||
@ -447,7 +447,7 @@ Notice that ce deletes the word and places you in Insert mode.
|
|||||||
|
|
||||||
2. The motions are the same, such as w (word) and $ (end of line).
|
2. The motions are the same, such as w (word) and $ (end of line).
|
||||||
|
|
||||||
3. Move to the first line below marked --->.
|
3. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
4. Move the cursor to the first error.
|
4. Move the cursor to the first error.
|
||||||
|
|
||||||
@ -558,7 +558,7 @@ NOTE: This is very useful in debugging a program with unmatched parentheses!
|
|||||||
|
|
||||||
1. Move the cursor to the line below marked --->.
|
1. Move the cursor to the line below marked --->.
|
||||||
|
|
||||||
2. Type :s/thee/the <ENTER> . Note that this command only changes the
|
2. Type :s/thee/the <ENTER> . Note that this command only changes the
|
||||||
first occurrence of "thee" in the line.
|
first occurrence of "thee" in the line.
|
||||||
|
|
||||||
3. Now type :s/thee/the/g . Adding the g flag means to substitute
|
3. Now type :s/thee/the/g . Adding the g flag means to substitute
|
||||||
@ -623,7 +623,7 @@ NOTE: All : commands must be finished by hitting <ENTER>
|
|||||||
Lesson 5.2: MORE ON WRITING FILES
|
Lesson 5.2: MORE ON WRITING FILES
|
||||||
|
|
||||||
|
|
||||||
** To save the changes made to the text, type :w FILENAME. **
|
** To save the changes made to the text, type :w FILENAME **
|
||||||
|
|
||||||
1. Type :!dir or :!ls to get a listing of your directory.
|
1. Type :!dir or :!ls to get a listing of your directory.
|
||||||
You already know you must hit <ENTER> after this.
|
You already know you must hit <ENTER> after this.
|
||||||
@ -638,7 +638,7 @@ NOTE: All : commands must be finished by hitting <ENTER>
|
|||||||
NOTE: If you were to exit Vim and start it again with vim TEST , the file
|
NOTE: If you were to exit Vim and start it again with vim TEST , the file
|
||||||
would be an exact copy of the tutor when you saved it.
|
would be an exact copy of the tutor when you saved it.
|
||||||
|
|
||||||
5. Now remove the file by typing (MS-DOS): :!del TEST
|
5. Now remove the file by typing (Windows): :!del TEST
|
||||||
or (Unix): :!rm TEST
|
or (Unix): :!rm TEST
|
||||||
|
|
||||||
|
|
||||||
@ -673,7 +673,7 @@ NOTE: Pressing v starts Visual selection. You can move the cursor around
|
|||||||
|
|
||||||
1. Place the cursor just above this line.
|
1. Place the cursor just above this line.
|
||||||
|
|
||||||
NOTE: After executing Step 2 you will see text from Lesson 5.3. Then move
|
NOTE: After executing Step 2 you will see text from lesson 5.3. Then move
|
||||||
DOWN to see this lesson again.
|
DOWN to see this lesson again.
|
||||||
|
|
||||||
2. Now retrieve your TEST file using the command :r TEST where TEST is
|
2. Now retrieve your TEST file using the command :r TEST where TEST is
|
||||||
@ -681,7 +681,7 @@ NOTE: After executing Step 2 you will see text from Lesson 5.3. Then move
|
|||||||
The file you retrieve is placed below the cursor line.
|
The file you retrieve is placed below the cursor line.
|
||||||
|
|
||||||
3. To verify that a file was retrieved, cursor back and notice that there
|
3. To verify that a file was retrieved, cursor back and notice that there
|
||||||
are now two copies of Lesson 5.3, the original and the file version.
|
are now two copies of lesson 5.3, the original and the file version.
|
||||||
|
|
||||||
NOTE: You can also read the output of an external command. For example,
|
NOTE: You can also read the output of an external command. For example,
|
||||||
:r !ls reads the output of the ls command and puts it below the
|
:r !ls reads the output of the ls command and puts it below the
|
||||||
@ -695,7 +695,7 @@ NOTE: You can also read the output of an external command. For example,
|
|||||||
1. :!command executes an external command.
|
1. :!command executes an external command.
|
||||||
|
|
||||||
Some useful examples are:
|
Some useful examples are:
|
||||||
(MS-DOS) (Unix)
|
(Windows) (Unix)
|
||||||
:!dir :!ls - shows a directory listing.
|
:!dir :!ls - shows a directory listing.
|
||||||
:!del FILENAME :!rm FILENAME - removes file FILENAME.
|
:!del FILENAME :!rm FILENAME - removes file FILENAME.
|
||||||
|
|
||||||
@ -717,7 +717,7 @@ NOTE: You can also read the output of an external command. For example,
|
|||||||
|
|
||||||
** Type o to open a line below the cursor and place you in Insert mode. **
|
** Type o to open a line below the cursor and place you in Insert mode. **
|
||||||
|
|
||||||
1. Move the cursor to the line below marked --->.
|
1. Move the cursor to the first line below marked --->.
|
||||||
|
|
||||||
2. Type the lowercase letter o to open up a line BELOW the cursor and place
|
2. Type the lowercase letter o to open up a line BELOW the cursor and place
|
||||||
you in Insert mode.
|
you in Insert mode.
|
||||||
@ -740,8 +740,8 @@ NOTE: You can also read the output of an external command. For example,
|
|||||||
|
|
||||||
** Type a to insert text AFTER the cursor. **
|
** Type a to insert text AFTER the cursor. **
|
||||||
|
|
||||||
1. Move the cursor to the start of the line below marked --->.
|
1. Move the cursor to the start of the first line below marked --->.
|
||||||
|
|
||||||
2. Press e until the cursor is on the end of li .
|
2. Press e until the cursor is on the end of li .
|
||||||
|
|
||||||
3. Type an a (lowercase) to append text AFTER the cursor.
|
3. Type an a (lowercase) to append text AFTER the cursor.
|
||||||
@ -750,7 +750,7 @@ NOTE: You can also read the output of an external command. For example,
|
|||||||
mode.
|
mode.
|
||||||
|
|
||||||
5. Use e to move to the next incomplete word and repeat steps 3 and 4.
|
5. Use e to move to the next incomplete word and repeat steps 3 and 4.
|
||||||
|
|
||||||
---> This li will allow you to pract appendi text to a line.
|
---> This li will allow you to pract appendi text to a line.
|
||||||
---> This line will allow you to practice appending text to a line.
|
---> This line will allow you to practice appending text to a line.
|
||||||
|
|
||||||
@ -786,10 +786,10 @@ NOTE: Replace mode is like Insert mode, but every typed character deletes an
|
|||||||
|
|
||||||
** Use the y operator to copy text and p to paste it **
|
** Use the y operator to copy text and p to paste it **
|
||||||
|
|
||||||
1. Go to the line marked with ---> below and place the cursor after "a)".
|
1. Move to the line below marked ---> and place the cursor after "a)".
|
||||||
|
|
||||||
2. Start Visual mode with v and move the cursor to just before "first".
|
2. Start Visual mode with v and move the cursor to just before "first".
|
||||||
|
|
||||||
3. Type y to yank (copy) the highlighted text.
|
3. Type y to yank (copy) the highlighted text.
|
||||||
|
|
||||||
4. Move the cursor to the end of the next line: j$
|
4. Move the cursor to the end of the next line: j$
|
||||||
@ -802,14 +802,14 @@ NOTE: Replace mode is like Insert mode, but every typed character deletes an
|
|||||||
---> a) this is the first item.
|
---> a) this is the first item.
|
||||||
b)
|
b)
|
||||||
|
|
||||||
NOTE: you can also use y as an operator; yw yanks one word.
|
NOTE: You can also use y as an operator; yw yanks one word.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Lesson 6.5: SET OPTION
|
Lesson 6.5: SET OPTION
|
||||||
|
|
||||||
|
|
||||||
** Set an option so a search or substitute ignores case **
|
** Set an option so a search or substitute ignores case **
|
||||||
|
|
||||||
1. Search for 'ignore' by entering: /ignore <ENTER>
|
1. Search for 'ignore' by entering: /ignore <ENTER>
|
||||||
Repeat several times by pressing n .
|
Repeat several times by pressing n .
|
||||||
|
|
||||||
2. Set the 'ic' (Ignore case) option by entering: :set ic
|
2. Set the 'ic' (Ignore case) option by entering: :set ic
|
||||||
@ -823,9 +823,9 @@ NOTE: Replace mode is like Insert mode, but every typed character deletes an
|
|||||||
|
|
||||||
6. To disable ignoring case enter: :set noic
|
6. To disable ignoring case enter: :set noic
|
||||||
|
|
||||||
NOTE: To remove the highlighting of matches enter: :nohlsearch
|
NOTE: To remove the highlighting of matches enter: :nohlsearch
|
||||||
NOTE: If you want to ignore case for just one search command, use \c
|
NOTE: If you want to ignore case for just one search command, use \c
|
||||||
in the phrase: /ignore\c <ENTER>
|
in the phrase: /ignore\c <ENTER>
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Lesson 6 SUMMARY
|
Lesson 6 SUMMARY
|
||||||
|
|
||||||
@ -883,7 +883,7 @@ NOTE: If you want to ignore case for just one search command, use \c
|
|||||||
|
|
||||||
1. Start editing the "vimrc" file. This depends on your system:
|
1. Start editing the "vimrc" file. This depends on your system:
|
||||||
:e ~/.vimrc for Unix
|
:e ~/.vimrc for Unix
|
||||||
:e $VIM/_vimrc for MS-Windows
|
:e $VIM/_vimrc for Windows
|
||||||
|
|
||||||
2. Now read the example "vimrc" file contents:
|
2. Now read the example "vimrc" file contents:
|
||||||
:r $VIMRUNTIME/vimrc_example.vim
|
:r $VIMRUNTIME/vimrc_example.vim
|
||||||
@ -909,7 +909,7 @@ NOTE: If you want to ignore case for just one search command, use \c
|
|||||||
|
|
||||||
4. Press CTRL-D and Vim will show a list of commands that start with "e".
|
4. Press CTRL-D and Vim will show a list of commands that start with "e".
|
||||||
|
|
||||||
5. Press <TAB> and Vim will complete the command name to ":edit".
|
5. Type d<TAB> and Vim will complete the command name to ":edit".
|
||||||
|
|
||||||
6. Now add a space and the start of an existing file name: :edit FIL
|
6. Now add a space and the start of an existing file name: :edit FIL
|
||||||
|
|
||||||
@ -922,13 +922,13 @@ NOTE: Completion works for many commands. Just try pressing CTRL-D and
|
|||||||
Lesson 7 SUMMARY
|
Lesson 7 SUMMARY
|
||||||
|
|
||||||
|
|
||||||
1. Type :help or press <F1> or <Help> to open a help window.
|
1. Type :help or press <F1> or <HELP> to open a help window.
|
||||||
|
|
||||||
2. Type :help cmd to find help on cmd .
|
2. Type :help cmd to find help on cmd .
|
||||||
|
|
||||||
3. Type CTRL-W CTRL-W to jump to another window
|
3. Type CTRL-W CTRL-W to jump to another window.
|
||||||
|
|
||||||
4. Type :q to close the help window
|
4. Type :q to close the help window.
|
||||||
|
|
||||||
5. Create a vimrc startup script to keep your preferred settings.
|
5. Create a vimrc startup script to keep your preferred settings.
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
---> 現在您應該已經學會如何移動到下一講吧。
|
---> 現在您應該已經學會如何移動到下一講吧。
|
||||||
|
|
||||||
3. 現在請使用下行鍵,將光標移動到第二講。
|
3. 現在請使用下行鍵,將光標移動到第一講第二節。
|
||||||
|
|
||||||
提示︰如果您不敢確定您所按下的字母,請按下<ESC>鍵回到正常(Normal)模式。
|
提示︰如果您不敢確定您所按下的字母,請按下<ESC>鍵回到正常(Normal)模式。
|
||||||
然後再次從鍵盤輸入您想要的命令。
|
然後再次從鍵盤輸入您想要的命令。
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Vim
|
Name=Vim
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
GenericName[da]=Tekstredigering
|
GenericName[da]=Teksteditor
|
||||||
GenericName[de]=Texteditor
|
GenericName[de]=Texteditor
|
||||||
GenericName[pl]=Edytor tekstu
|
GenericName[pl]=Edytor tekstu
|
||||||
Comment=Edit text files
|
Comment=Edit text files
|
||||||
@ -16,7 +16,7 @@ Comment[bs]=Izmijeni tekstualne datoteke
|
|||||||
Comment[ca]=Edita fitxers de text
|
Comment[ca]=Edita fitxers de text
|
||||||
Comment[cs]=Úprava textových souborů
|
Comment[cs]=Úprava textových souborů
|
||||||
Comment[cy]=Golygu ffeiliau testun
|
Comment[cy]=Golygu ffeiliau testun
|
||||||
Comment[da]=Redigér tekstfiler
|
Comment[da]=Rediger tekstfiler
|
||||||
Comment[de]=Textdateien bearbeiten
|
Comment[de]=Textdateien bearbeiten
|
||||||
Comment[el]=Επεξεργασία αρχείων κειμένου
|
Comment[el]=Επεξεργασία αρχείων κειμένου
|
||||||
Comment[en_CA]=Edit text files
|
Comment[en_CA]=Edit text files
|
||||||
|
17
src/po/sr.po
17
src/po/sr.po
@ -1,4 +1,4 @@
|
|||||||
# Serbian Cyrillic Translation for Vim
|
# Serbian Cyrillic translation for Vim
|
||||||
#
|
#
|
||||||
# Do ":help uganda" in Vim to read copying and usage conditions.
|
# Do ":help uganda" in Vim to read copying and usage conditions.
|
||||||
# Do ":help credits" in Vim to see a list of people who contributed.
|
# Do ":help credits" in Vim to see a list of people who contributed.
|
||||||
@ -13,7 +13,8 @@ msgstr ""
|
|||||||
"POT-Creation-Date: 2018-05-15 11:55+0400\n"
|
"POT-Creation-Date: 2018-05-15 11:55+0400\n"
|
||||||
"PO-Revision-Date: 2018-05-15 10:50+0400\n"
|
"PO-Revision-Date: 2018-05-15 10:50+0400\n"
|
||||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||||
"Language-Team: Serbian <LL@li.org>\n"
|
"Language-Team: Serbian\n"
|
||||||
|
"Language: sr\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
@ -2027,7 +2028,7 @@ msgid ""
|
|||||||
"--- Autocommands ---"
|
"--- Autocommands ---"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"--- Ауто-Команде ---"
|
"--- Аутокоманде ---"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "E680: <buffer=%d>: invalid buffer number "
|
msgid "E680: <buffer=%d>: invalid buffer number "
|
||||||
@ -2040,11 +2041,11 @@ msgid "No matching autocommands"
|
|||||||
msgstr "Нема подударајућих аутокоманди"
|
msgstr "Нема подударајућих аутокоманди"
|
||||||
|
|
||||||
msgid "E218: autocommand nesting too deep"
|
msgid "E218: autocommand nesting too deep"
|
||||||
msgstr "E218: Угњшждавање аутокоманде је сувише дубоко"
|
msgstr "E218: Угњеждавање аутокоманде је сувише дубоко"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s Autocommands for \"%s\""
|
msgid "%s Autocommands for \"%s\""
|
||||||
msgstr "%s Ауто команде за \"%s\""
|
msgstr "%s Аутокоманде за \"%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Executing %s"
|
msgid "Executing %s"
|
||||||
@ -2962,7 +2963,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"\n"
|
"\n"
|
||||||
"\n"
|
"\n"
|
||||||
"употреба:"
|
"Употреба:"
|
||||||
|
|
||||||
msgid " vim [arguments] "
|
msgid " vim [arguments] "
|
||||||
msgstr " vim [аргументи] "
|
msgstr " vim [аргументи] "
|
||||||
@ -4765,7 +4766,7 @@ msgid "E66: \\z( not allowed here"
|
|||||||
msgstr "E66: \\z( овде није дозвољено"
|
msgstr "E66: \\z( овде није дозвољено"
|
||||||
|
|
||||||
msgid "E67: \\z1 - \\z9 not allowed here"
|
msgid "E67: \\z1 - \\z9 not allowed here"
|
||||||
msgstr "E67: \\z1 и остали онвде нису дозвољени"
|
msgstr "E67: \\z1 - \\z9 овде нису дозвољени"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "E69: Missing ] after %s%%["
|
msgid "E69: Missing ] after %s%%["
|
||||||
@ -4891,7 +4892,7 @@ msgid "E873: (NFA regexp) proper termination error"
|
|||||||
msgstr "E873: (NFA regexp) грешка правилне терминације"
|
msgstr "E873: (NFA regexp) грешка правилне терминације"
|
||||||
|
|
||||||
msgid "E874: (NFA) Could not pop the stack!"
|
msgid "E874: (NFA) Could not pop the stack!"
|
||||||
msgstr "E874: (NFA) Скидање са стека није успело !"
|
msgstr "E874: (NFA) Скидање са стека није успело!"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"E875: (NFA regexp) (While converting from postfix to NFA), too many states "
|
"E875: (NFA regexp) (While converting from postfix to NFA), too many states "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user