mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	runtime(doc): -x is only available when compiled with crypt feature
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| *starting.txt*  For Vim version 9.1.  Last change: 2024 Jul 08 | *starting.txt*  For Vim version 9.1.  Last change: 2024 Aug 03 | ||||||
|  |  | ||||||
|  |  | ||||||
| 		  VIM REFERENCE MANUAL    by Bram Moolenaar | 		  VIM REFERENCE MANUAL    by Bram Moolenaar | ||||||
| @@ -540,6 +540,7 @@ a slash.  Thus "-R" means recovery and "-/R" readonly. | |||||||
| 		not needed when reading a file, because there is a check if | 		not needed when reading a file, because there is a check if | ||||||
| 		the file that is being read has been encrypted, and Vim asks | 		the file that is being read has been encrypted, and Vim asks | ||||||
| 		for a key automatically. |encryption| | 		for a key automatically. |encryption| | ||||||
|  | 		{only available when compiled with the |+cryptv| feature} | ||||||
|  |  | ||||||
| 							*-X* | 							*-X* | ||||||
| -X		Do not try connecting to the X server to get the current | -X		Do not try connecting to the X server to get the current | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| .TH VIM 1 "2024 Jun 04" | .TH VIM 1 "2024 Aug 03" | ||||||
| .SH NAME | .SH NAME | ||||||
| vim \- Vi IMproved, a programmer's text editor | vim \- Vi IMproved, a programmer's text editor | ||||||
| .SH SYNOPSIS | .SH SYNOPSIS | ||||||
| @@ -433,7 +433,10 @@ If the {scriptout} file exists, characters are appended. | |||||||
| Like \-w, but an existing file is overwritten. | Like \-w, but an existing file is overwritten. | ||||||
| .TP | .TP | ||||||
| \-x | \-x | ||||||
| Use encryption when writing files.  Will prompt for a crypt key. | If | ||||||
|  | .B Vim | ||||||
|  | has been compiled with encryption support, use encryption when writing files. | ||||||
|  | Will prompt for a crypt key. | ||||||
| .TP | .TP | ||||||
| \-X | \-X | ||||||
| Don't connect to the X server.  Shortens startup time in a terminal, but the | Don't connect to the X server.  Shortens startup time in a terminal, but the | ||||||
|   | |||||||
| @@ -1,7 +1,5 @@ | |||||||
| VIM(1)                      General Commands Manual                     VIM(1) | VIM(1)                      General Commands Manual                     VIM(1) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| NAME | NAME | ||||||
|        vim - Vi IMproved, a programmer's text editor |        vim - Vi IMproved, a programmer's text editor | ||||||
|  |  | ||||||
| @@ -38,11 +36,11 @@ DESCRIPTION | |||||||
|             vim [options] [filelist] |             vim [options] [filelist] | ||||||
|  |  | ||||||
|        If the filelist is missing, the editor will start with an empty buffer. |        If the filelist is missing, the editor will start with an empty buffer. | ||||||
|        Otherwise exactly one out of the following four may be used  to  choose |        Otherwise  exactly  one out of the following four may be used to choose | ||||||
|        one or more files to be edited. |        one or more files to be edited. | ||||||
|  |  | ||||||
|        file ..     A  list  of  filenames.   The first one will be the current |        file ..     A list of filenames.  The first one  will  be  the  current | ||||||
|                    file and read into the buffer.  The cursor  will  be  posi‐ |                    file  and  read  into the buffer.  The cursor will be posi‐ | ||||||
|                    tioned on the first line of the buffer.  You can get to the |                    tioned on the first line of the buffer.  You can get to the | ||||||
|                    other files with the ":next" command.  To edit a file  that |                    other files with the ":next" command.  To edit a file  that | ||||||
|                    starts with a dash, precede the filelist with "--". |                    starts with a dash, precede the filelist with "--". | ||||||
| @@ -51,18 +49,18 @@ DESCRIPTION | |||||||
|                    from stderr, which should be a tty. |                    from stderr, which should be a tty. | ||||||
|  |  | ||||||
|        -t {tag}    The file to edit and the initial cursor position depends on |        -t {tag}    The file to edit and the initial cursor position depends on | ||||||
|                    a  "tag",  a sort of goto label.  {tag} is looked up in the |                    a "tag", a sort of goto label.  {tag} is looked up  in  the | ||||||
|                    tags file, the associated file becomes the current file and |                    tags file, the associated file becomes the current file and | ||||||
|                    the  associated  command  is executed.  Mostly this is used |                    the  associated  command  is executed.  Mostly this is used | ||||||
|                    for C programs, in which case {tag}  could  be  a  function |                    for C programs, in which case {tag}  could  be  a  function | ||||||
|                    name.  The effect is that the file containing that function |                    name.  The effect is that the file containing that function | ||||||
|                    becomes the current file and the cursor  is  positioned  on |                    becomes  the  current  file and the cursor is positioned on | ||||||
|                    the start of the function.  See ":help tag-commands". |                    the start of the function.  See ":help tag-commands". | ||||||
|  |  | ||||||
|        -q [errorfile] |        -q [errorfile] | ||||||
|                    Start  in  quickFix mode.  The file [errorfile] is read and |                    Start in quickFix mode.  The file [errorfile] is  read  and | ||||||
|                    the first error is displayed.  If [errorfile]  is  omitted, |                    the  first  error is displayed.  If [errorfile] is omitted, | ||||||
|                    the  filename  is obtained from the 'errorfile' option (de‐ |                    the filename is obtained from the 'errorfile'  option  (de‐ | ||||||
|                    faults to "AztecC.Err" for the Amiga, "errors.err" on other |                    faults to "AztecC.Err" for the Amiga, "errors.err" on other | ||||||
|                    systems).   Further  errors can be jumped to with the ":cn" |                    systems).   Further  errors can be jumped to with the ":cn" | ||||||
|                    command.  See ":help quickfix". |                    command.  See ":help quickfix". | ||||||
| @@ -72,10 +70,10 @@ DESCRIPTION | |||||||
|  |  | ||||||
|        vim       The "normal" way, everything is default. |        vim       The "normal" way, everything is default. | ||||||
|  |  | ||||||
|        ex        Start  in Ex mode.  Go to Normal mode with the ":vi" command. |        ex        Start in Ex mode.  Go to Normal mode with the ":vi"  command. | ||||||
|                  Can also be done with the "-e" argument. |                  Can also be done with the "-e" argument. | ||||||
|  |  | ||||||
|        view      Start in read-only mode.  You will be protected from  writing |        view      Start  in read-only mode.  You will be protected from writing | ||||||
|                  the files.  Can also be done with the "-R" argument. |                  the files.  Can also be done with the "-R" argument. | ||||||
|  |  | ||||||
|        gvim gview |        gvim gview | ||||||
| @@ -119,20 +117,20 @@ OPTIONS | |||||||
|                    (only works when -S is the last argument). |                    (only works when -S is the last argument). | ||||||
|  |  | ||||||
|        --cmd {command} |        --cmd {command} | ||||||
|                    Like  using  "-c",  but the command is executed just before |                    Like using "-c", but the command is  executed  just  before | ||||||
|                    processing any vimrc file.  You can use up to 10  of  these |                    processing  any  vimrc file.  You can use up to 10 of these | ||||||
|                    commands, independently from "-c" commands. |                    commands, independently from "-c" commands. | ||||||
|  |  | ||||||
|        -A          If  Vim  has  been compiled with ARABIC support for editing |        -A          If Vim has been compiled with ARABIC  support  for  editing | ||||||
|                    right-to-left oriented files and Arabic  keyboard  mapping, |                    right-to-left  oriented  files and Arabic keyboard mapping, | ||||||
|                    this  option  starts  Vim  in Arabic mode, i.e. 'arabic' is |                    this option starts Vim in Arabic  mode,  i.e.  'arabic'  is | ||||||
|                    set.  Otherwise an error message is given and Vim aborts. |                    set.  Otherwise an error message is given and Vim aborts. | ||||||
|  |  | ||||||
|        -b          Binary mode.  A few options will be set that makes it  pos‐ |        -b          Binary  mode.  A few options will be set that makes it pos‐ | ||||||
|                    sible to edit a binary or executable file. |                    sible to edit a binary or executable file. | ||||||
|  |  | ||||||
|        -C          Compatible.   Set  the 'compatible' option.  This will make |        -C          Compatible.  Set the 'compatible' option.  This  will  make | ||||||
|                    Vim behave mostly like Vi, even though a  .vimrc  file  ex‐ |                    Vim  behave  mostly  like Vi, even though a .vimrc file ex‐ | ||||||
|                    ists. |                    ists. | ||||||
|  |  | ||||||
|        -d          Start in diff mode.  There should between two to eight file |        -d          Start in diff mode.  There should between two to eight file | ||||||
| @@ -162,13 +160,13 @@ OPTIONS | |||||||
|        --nofork    Foreground.  For the GUI version, Vim will not fork and de‐ |        --nofork    Foreground.  For the GUI version, Vim will not fork and de‐ | ||||||
|                    tach from the shell it was started in. |                    tach from the shell it was started in. | ||||||
|  |  | ||||||
|        -F          If  Vim  has  been  compiled with FKMAP support for editing |        -F          If Vim has been compiled with  FKMAP  support  for  editing | ||||||
|                    right-to-left oriented files and  Farsi  keyboard  mapping, |                    right-to-left  oriented  files  and Farsi keyboard mapping, | ||||||
|                    this  option  starts  Vim  in  Farsi mode, i.e. 'fkmap' and |                    this option starts Vim in  Farsi  mode,  i.e.  'fkmap'  and | ||||||
|                    'rightleft' are set.  Otherwise an error message  is  given |                    'rightleft'  are  set.  Otherwise an error message is given | ||||||
|                    and Vim aborts. |                    and Vim aborts. | ||||||
|  |  | ||||||
|        -g          If  Vim has been compiled with GUI support, this option en‐ |        -g          If Vim has been compiled with GUI support, this option  en‐ | ||||||
|                    ables the GUI.  If no GUI support was compiled in, an error |                    ables the GUI.  If no GUI support was compiled in, an error | ||||||
|                    message is given and Vim aborts. |                    message is given and Vim aborts. | ||||||
|  |  | ||||||
| @@ -230,9 +228,9 @@ OPTIONS | |||||||
|                    each file. |                    each file. | ||||||
|  |  | ||||||
|        -P {parent-title} |        -P {parent-title} | ||||||
|                    Win32  GUI  only:  Specify the title of the parent applica‐ |                    Win32 GUI only: Specify the title of  the  parent  applica‐ | ||||||
|                    tion.  When possible, Vim will run in an MDI window  inside |                    tion.   When possible, Vim will run in an MDI window inside | ||||||
|                    the  application.  {parent-title} must appear in the window |                    the application. {parent-title} must appear in  the  window | ||||||
|                    title of the parent application.  Make sure that it is spe‐ |                    title of the parent application.  Make sure that it is spe‐ | ||||||
|                    cific  enough. Note that the implementation is still primi‐ |                    cific  enough. Note that the implementation is still primi‐ | ||||||
|                    tive.  It won't work with all  applications  and  the  menu |                    tive.  It won't work with all  applications  and  the  menu | ||||||
| @@ -254,12 +252,12 @@ OPTIONS | |||||||
|                    filename as the text file with ".swp" appended.  See ":help |                    filename as the text file with ".swp" appended.  See ":help | ||||||
|                    recovery". |                    recovery". | ||||||
|  |  | ||||||
|        -s          Silent  mode.   Only  when started as "Ex" or when the "-e" |        -s          Silent mode.  Only when started as "Ex" or  when  the  "-e" | ||||||
|                    option was given before the "-s" option. |                    option was given before the "-s" option. | ||||||
|  |  | ||||||
|        -s {scriptin} |        -s {scriptin} | ||||||
|                    The script file {scriptin} is read.  The characters in  the |                    The  script file {scriptin} is read.  The characters in the | ||||||
|                    file  are  interpreted  as if you had typed them.  The same |                    file are interpreted as if you had typed  them.   The  same | ||||||
|                    can be done with the command ":source! {scriptin}".  If the |                    can be done with the command ":source! {scriptin}".  If the | ||||||
|                    end of the file is reached before the editor exits, further |                    end of the file is reached before the editor exits, further | ||||||
|                    characters are read from the keyboard. |                    characters are read from the keyboard. | ||||||
| @@ -296,12 +294,12 @@ OPTIONS | |||||||
|  |  | ||||||
|        -V[N]{filename} |        -V[N]{filename} | ||||||
|                    Like -V and set 'verbosefile' to {filename}.  The result is |                    Like -V and set 'verbosefile' to {filename}.  The result is | ||||||
|                    that  messages  are  not  displayed but written to the file |                    that messages are not displayed but  written  to  the  file | ||||||
|                    {filename}.  {filename} must not start with a digit. |                    {filename}.  {filename} must not start with a digit. | ||||||
|  |  | ||||||
|        --log {filename} |        --log {filename} | ||||||
|                    If Vim has been compiled with  eval  and  channel  feature, |                    If  Vim  has  been  compiled with eval and channel feature, | ||||||
|                    start  logging  and write entries to {filename}. This works |                    start logging and write entries to {filename}.  This  works | ||||||
|                    like calling ch_logfile({filename}, 'ao') very early during |                    like calling ch_logfile({filename}, 'ao') very early during | ||||||
|                    startup. |                    startup. | ||||||
|  |  | ||||||
| @@ -321,11 +319,11 @@ OPTIONS | |||||||
|        -W {scriptout} |        -W {scriptout} | ||||||
|                    Like -w, but an existing file is overwritten. |                    Like -w, but an existing file is overwritten. | ||||||
|  |  | ||||||
|        -x          Use encryption when writing files.  Will prompt for a crypt |        -x          If Vim has been compiled with encryption support,  use  en‐ | ||||||
|                    key. |                    cryption when writing files.  Will prompt for a crypt key. | ||||||
|  |  | ||||||
|        -X          Don't connect to the X server.  Shortens startup time in  a |        -X          Don't  connect to the X server.  Shortens startup time in a | ||||||
|                    terminal,  but  the  window title and clipboard will not be |                    terminal, but the window title and clipboard  will  not  be | ||||||
|                    used. |                    used. | ||||||
|  |  | ||||||
|        -y          Start Vim in easy mode, just like the executable was called |        -y          Start Vim in easy mode, just like the executable was called | ||||||
| @@ -378,7 +376,7 @@ OPTIONS | |||||||
|                    List the names of all Vim servers that can be found. |                    List the names of all Vim servers that can be found. | ||||||
|  |  | ||||||
|        --servername {name} |        --servername {name} | ||||||
|                    Use  {name}  as the server name.  Used for the current Vim, |                    Use {name} as the server name.  Used for the  current  Vim, | ||||||
|                    unless used with a --remote argument, then it's the name of |                    unless used with a --remote argument, then it's the name of | ||||||
|                    the server to connect to. |                    the server to connect to. | ||||||
|  |  | ||||||
| @@ -405,12 +403,12 @@ ON-LINE HELP | |||||||
|  |  | ||||||
| FILES | FILES | ||||||
|        /usr/local/share/vim/vim??/doc/*.txt |        /usr/local/share/vim/vim??/doc/*.txt | ||||||
|                       The Vim documentation files.  Use ":help  doc-file-list" |                       The  Vim documentation files.  Use ":help doc-file-list" | ||||||
|                       to get the complete list. |                       to get the complete list. | ||||||
|                       vim??  is short version number, like vim91 for Vim 9.1 |                       vim??  is short version number, like vim91 for Vim 9.1 | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/doc/tags |        /usr/local/share/vim/vim??/doc/tags | ||||||
|                       The  tags file used for finding information in the docu‐ |                       The tags file used for finding information in the  docu‐ | ||||||
|                       mentation files. |                       mentation files. | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/syntax/syntax.vim |        /usr/local/share/vim/vim??/syntax/syntax.vim | ||||||
| @@ -423,18 +421,18 @@ FILES | |||||||
|                       System wide Vim initializations. |                       System wide Vim initializations. | ||||||
|  |  | ||||||
|        ~/.vimrc, ~/.vim/vimrc, $XDG_CONFIG_HOME/vim/vimrc |        ~/.vimrc, ~/.vim/vimrc, $XDG_CONFIG_HOME/vim/vimrc | ||||||
|                       Your personal Vim initializations (first  one  found  is |                       Your  personal  Vim  initializations (first one found is | ||||||
|                       used). |                       used). | ||||||
|  |  | ||||||
|        /usr/local/share/vim/gvimrc |        /usr/local/share/vim/gvimrc | ||||||
|                       System wide gvim initializations. |                       System wide gvim initializations. | ||||||
|  |  | ||||||
|        ~/.gvimrc, ~/.vim/gvimrc, $XDG_CONFIG_HOME/vim/gvimrc |        ~/.gvimrc, ~/.vim/gvimrc, $XDG_CONFIG_HOME/vim/gvimrc | ||||||
|                       Your  personal  gvim initializations (first one found is |                       Your personal gvim initializations (first one  found  is | ||||||
|                       used). |                       used). | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/optwin.vim |        /usr/local/share/vim/vim??/optwin.vim | ||||||
|                       Script used for the ":options" command, a  nice  way  to |                       Script  used  for  the ":options" command, a nice way to | ||||||
|                       view and set options. |                       view and set options. | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/menu.vim |        /usr/local/share/vim/vim??/menu.vim | ||||||
| @@ -444,11 +442,11 @@ FILES | |||||||
|                       Script to generate a bug report.  See ":help bugs". |                       Script to generate a bug report.  See ":help bugs". | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/filetype.vim |        /usr/local/share/vim/vim??/filetype.vim | ||||||
|                       Script  to  detect  the type of a file by its name.  See |                       Script to detect the type of a file by  its  name.   See | ||||||
|                       ":help 'filetype'". |                       ":help 'filetype'". | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/scripts.vim |        /usr/local/share/vim/vim??/scripts.vim | ||||||
|                       Script to detect the type of a  file  by  its  contents. |                       Script  to  detect  the  type of a file by its contents. | ||||||
|                       See ":help 'filetype'". |                       See ":help 'filetype'". | ||||||
|  |  | ||||||
|        /usr/local/share/vim/vim??/print/*.ps |        /usr/local/share/vim/vim??/print/*.ps | ||||||
| @@ -476,6 +474,4 @@ BUGS | |||||||
|        vi_diff.txt  when  in  Vim).   Also have a look at the 'compatible' and |        vi_diff.txt  when  in  Vim).   Also have a look at the 'compatible' and | ||||||
|        'cpoptions' options. |        'cpoptions' options. | ||||||
|  |  | ||||||
|  |                                   2024 Aug 03                           VIM(1) | ||||||
|  |  | ||||||
|                                   2024 Jun 04                           VIM(1) |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user