Merge remote-tracking branch 'vim/master'

This commit is contained in:
Yee Cheng Chin
2023-08-31 16:23:30 -07:00
283 changed files with 18462 additions and 9226 deletions
+6
View File
@@ -133,6 +133,7 @@ runtime/ftplugin/eruby.vim @tpope @dkearns
runtime/ftplugin/expect.vim @dkearns
runtime/ftplugin/fennel.vim @gpanders
runtime/ftplugin/fetchmail.vim @dkearns
runtime/ftplugin/forth.vim @jkotlinski
runtime/ftplugin/fpcmake.vim @dkearns
runtime/ftplugin/freebasic.vim @dkearns
runtime/ftplugin/fstab.vim @rid9
@@ -158,6 +159,7 @@ runtime/ftplugin/html.vim @dkearns
runtime/ftplugin/i3config.vim @hiqua
runtime/ftplugin/icon.vim @dkearns
runtime/ftplugin/indent.vim @dkearns
runtime/ftplugin/ishd.vim @dkearns
runtime/ftplugin/j.vim @glts
runtime/ftplugin/javascript.vim @dkearns
runtime/ftplugin/javascriptreact.vim @dkearns
@@ -210,6 +212,7 @@ runtime/ftplugin/scss.vim @tpope
runtime/ftplugin/sdoc.vim @gpanders
runtime/ftplugin/sed.vim @dkearns
runtime/ftplugin/sh.vim @dkearns
runtime/ftplugin/solidity.vim @cothi
runtime/ftplugin/solution.vim @dkearns
runtime/ftplugin/spec.vim @ignatenkobrain
runtime/ftplugin/ssa.vim @ObserverOfTime
@@ -299,6 +302,7 @@ runtime/indent/sass.vim @tpope
runtime/indent/scala.vim @derekwyatt
runtime/indent/scss.vim @tpope
runtime/indent/sh.vim @chrisbra
runtime/indent/solidity.vim @cothi
runtime/indent/systemverilog.vim @Kocha
runtime/indent/tcl.vim @dkearns
runtime/indent/tcsh.vim @dkearns
@@ -382,6 +386,7 @@ runtime/syntax/gitolite.vim @sitaramc
runtime/syntax/gitrebase.vim @tpope
runtime/syntax/go.vim @bhcleek
runtime/syntax/godoc.vim @dbarnett
runtime/syntax/gp.vim @KBelabas
runtime/syntax/gprof.vim @dpelle
runtime/syntax/groff.vim @jmarshall
runtime/syntax/gyp.vim @ObserverOfTime
@@ -470,6 +475,7 @@ runtime/syntax/sdoc.vim @gpanders
runtime/syntax/sed.vim @dkearns
runtime/syntax/sh.vim @cecamp
runtime/syntax/sm.vim @cecamp
runtime/syntax/solidity.vim @cothi
runtime/syntax/spec.vim @ignatenkobrain
runtime/syntax/sqloracle.vim @chrisbra
runtime/syntax/squirrel.vim @zenmatic
-1
View File
@@ -13,7 +13,6 @@ jobs:
env:
CC: gcc
CFLAGS: -Wno-deprecated-declarations
DEBIAN_FRONTEND: noninteractive
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
+1 -1
View File
@@ -1,3 +1,3 @@
/^CFLAGS[[:blank:]]*=/s/$/ -Wall -Wextra -Wshadow -Werror/
/^CFLAGS[[:blank:]]*=/s/$/ -Wall -Wextra -Wshadow -Werror -Wno-deprecated-declarations/
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-function -Wno-shadow/
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=unused-parameter/
+26 -5
View File
@@ -62,7 +62,7 @@ export def FTasmsyntax()
endif
enddef
var ft_visual_basic_content = '\cVB_Name\|Begin VB\.\(Form\|MDIForm\|UserControl\)'
var ft_visual_basic_content = '\c^\s*\%(Attribute\s\+VB_Name\|Begin\s\+\%(VB\.\|{\%(\x\+-\)\+\x\+}\)\)'
# See FTfrm() for Visual Basic form file detection
export def FTbas()
@@ -146,12 +146,20 @@ export def FTcls()
return
endif
if getline(1) =~ '^\v%(\%|\\)'
setf tex
elseif getline(1)[0] == '#' && getline(1) =~ 'rexx'
var line1 = getline(1)
if line1 =~ '^#!.*\<\%(rexx\|regina\)\>'
setf rexx
elseif getline(1) == 'VERSION 1.0 CLASS'
return
elseif line1 == 'VERSION 1.0 CLASS'
setf vb
return
endif
var nonblank1 = getline(nextnonblank(1))
if nonblank1 =~ '^\v%(\%|\\)'
setf tex
elseif nonblank1 =~ '^\s*\%(/\*\|::\w\)'
setf rexx
else
setf st
endif
@@ -324,6 +332,11 @@ export def FTfrm()
return
endif
if getline(1) == "VERSION 5.00"
setf vb
return
endif
var lines = getline(1, min([line("$"), 5]))
if match(lines, ft_visual_basic_content) > -1
@@ -1197,5 +1210,13 @@ export def FTv()
setf v
enddef
export def FTvba()
if getline(1) =~ '^["#] Vimball Archiver'
setf vim
else
setf vb
endif
enddef
# Uncomment this line to check for compilation errors early
# defcompile
+8
View File
@@ -209,6 +209,14 @@ export def Exe2filetype(name: string, line1: string): string
elseif name =~ 'nix-shell'
return 'nix'
# Crystal
elseif name =~ '^crystal\>'
return 'crystal'
# Rexx
elseif name =~ '^\%(rexx\|regina\)\>'
return 'rexx'
endif
return ''
+6 -1
View File
@@ -10,12 +10,17 @@
fun s:check(cmd)
let name = substitute(a:cmd, '\(\S*\).*', '\1', '')
if !exists("s:have_" . name)
" safety check, don't execute anything from the current directory
let f = fnamemodify(exepath(name), ":p:h") !=# getcwd()
if !f
echoerr "Warning: NOT executing " .. name .. " from current directory!"
endif
let e = executable(name)
if e < 0
let r = system(name . " --version")
let e = (r !~ "not found" && r != "")
endif
exe "let s:have_" . name . "=" . e
exe "let s:have_" . name . "=" . (e && f)
endif
exe "return s:have_" . name
endfun
+4
View File
@@ -57,6 +57,10 @@ if !exists("g:zip_extractcmd")
let g:zip_extractcmd= g:zip_unzipcmd
endif
if fnamemodify(exepath(g:zip_unzipcmd), ":p:h") ==# getcwd()
echoerr "Warning: NOT executing " .. g:zip_unzipcmd .. " from current directory!"
finish
endif
" ----------------
" Functions: {{{1
" ----------------
+12
View File
@@ -310,6 +310,7 @@ inputrestore() Number restore typeahead
inputsave() Number save and clear typeahead
inputsecret({prompt} [, {text}]) String like input() but hiding the text
insert({object}, {item} [, {idx}]) List insert {item} in {object} [before {idx}]
instanceof({object}, {class}) Number |TRUE| if {object} is an instance of {class}
interrupt() none interrupt script execution
invert({expr}) Number bitwise invert
isabsolutepath({path}) Number |TRUE| if {path} is an absolute path
@@ -5054,6 +5055,17 @@ insert({object}, {item} [, {idx}]) *insert()*
Can also be used as a |method|: >
mylist->insert(item)
instanceof({object}, {class}) *instanceof()*
The result is a Number, which is |TRUE| when the {object} argument is a
direct or indirect instance of a |Class| specified by {class}.
When {class} is a |List| the function returns |TRUE| when {object} is an
instance of any of the specified classes.
Example: >
instanceof(animal, [Dog, Cat])
< Can also be used as a |method|: >
myobj->instanceof(mytype)
interrupt() *interrupt()*
Interrupt script execution. It works more or less like the
user typing CTRL-C, most commands won't execute and control
+17 -22
View File
@@ -1,8 +1,6 @@
.TH EVIM 1 "16 febbraio 2002 "
.SH NOME
evim \- Vim "facile", Vim impostato in modo da poter essere usato
facilmente per modificare file, anche da chi non abbia familiarità
con i comandi.
evim \- Vim "facile", impostato in modo da poter essere usato come editore non-modale
.SH SINTASSI
.br
.B evim
@@ -13,42 +11,39 @@ con i comandi.
.B evim
Inizia
.B Vim
e imposta le opzioni per farlo comportare come un editore "modeless".
State sempre usando Vim, ma come un editore "posizionati-e-clicca".
Simile all'uso di Notepad in MS-Windows.
.B evim
richiede la presenza della GUI, per avere a disposizione menù e barra
strumenti.
e imposta le opzioni per farlo comportare come un editore non-modale.
Si tratta sempre di Vim, ma usato nello stile "posizionati-e-clicca".
Rammenta molto l'utilizzo di Notepad in MS-Windows.
.B eVim
necessita della disponibilità della GUI, per utilizzare menù e barra strumenti.
.PP
Da usarsi soltanto se non si è in grado di lavorare con Vim nella
maniera usuale.
La modifica file sarà molto meno efficiente.
Va a usato soltanto se non si è in grado di lavorare con Vim nella maniera usuale.
L'edit dei file sarà molto meno efficiente.
.PP
.B eview
come sopra, ma parte in modalità "Sola Lettura". Funziona come evim \-R.
come sopra, ma si parte in modalità "Sola Lettura". Funziona come evim \-R.
.PP
Vedere vim(1) per dettagli riguardo a Vim, opzioni, etc.
.PP
L'opzione 'insertmode' è impostata per poter immettere del testo direttamente.
L'opzione 'insertmode' è impostata in modo da consentire l'immissione diretta di testo fin dall'inizio.
.br
Sono definite delle mappature che consentono di usare COPIA e INCOLLA con i
familiari tasti usati sotto MS-Windows.
Sono definite delle mappature che consentono di usare COPIA e INCOLLA con i familiari tasti usati sotto MS-Windows.
CTRL-X taglia testo, CTRL-C copia testo e CTRL-V incolla testo.
Usate CTRL-Q per ottenere quello che si otterrebbe con CTRL-V in Vim nativo.
Occorre usare CTRL-Q per ottenere il comportamenti di CTRL-V in Vim nativo.
.SH OPZIONI
Vedere vim(1).
.SH FILE
.TP 15
/usr/local/lib/vim/evim.vim
Lo script caricato per inizializzare eVim.
.SH NAC [NOTO ANCHE COME]
Noto Anche Come "Vim per semplici".
Quando usate evim si suppone che prendiate un fazzoletto,
facciate un nodo ad ogni angolo e ve lo mettiate in testa.
.SH AKA
[Also Known As] noto anche come "Vim per semplici".
Quando is usa evim si suppone che si prenda un fazzoletto,
si faccia un nodo ad ogni angolo e lo si metta in testa.
.SH VEDERE ANCHE
vim(1)
.SH AUTORE
Buona parte di
.B Vim
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri.
Vedere il menù "Aiuto/Crediti".
+17 -22
View File
@@ -1,8 +1,6 @@
.TH EVIM 1 "16 febbraio 2002 "
.SH NOME
evim \- Vim "facile", Vim impostato in modo da poter essere usato
facilmente per modificare file, anche da chi non abbia familiarità
con i comandi.
evim \- Vim "facile", impostato in modo da poter essere usato come editore non-modale
.SH SINTASSI
.br
.B evim
@@ -13,42 +11,39 @@ con i comandi.
.B evim
Inizia
.B Vim
e imposta le opzioni per farlo comportare come un editore "modeless".
State sempre usando Vim, ma come un editore "posizionati-e-clicca".
Simile all'uso di Notepad in MS-Windows.
.B evim
richiede la presenza della GUI, per avere a disposizione menù e barra
strumenti.
e imposta le opzioni per farlo comportare come un editore non-modale.
Si tratta sempre di Vim, ma usato nello stile "posizionati-e-clicca".
Rammenta molto l'utilizzo di Notepad in MS-Windows.
.B eVim
necessita della disponibilità della GUI, per utilizzare menù e barra strumenti.
.PP
Da usarsi soltanto se non si è in grado di lavorare con Vim nella
maniera usuale.
La modifica file sarà molto meno efficiente.
Va a usato soltanto se non si è in grado di lavorare con Vim nella maniera usuale.
L'edit dei file sarà molto meno efficiente.
.PP
.B eview
come sopra, ma parte in modalità "Sola Lettura". Funziona come evim \-R.
come sopra, ma si parte in modalità "Sola Lettura". Funziona come evim \-R.
.PP
Vedere vim(1) per dettagli riguardo a Vim, opzioni, etc.
.PP
L'opzione 'insertmode' è impostata per poter immettere del testo direttamente.
L'opzione 'insertmode' è impostata in modo da consentire l'immissione diretta di testo fin dall'inizio.
.br
Sono definite delle mappature che consentono di usare COPIA e INCOLLA con i
familiari tasti usati sotto MS-Windows.
Sono definite delle mappature che consentono di usare COPIA e INCOLLA con i familiari tasti usati sotto MS-Windows.
CTRL-X taglia testo, CTRL-C copia testo e CTRL-V incolla testo.
Usate CTRL-Q per ottenere quello che si otterrebbe con CTRL-V in Vim nativo.
Occorre usare CTRL-Q per ottenere il comportamenti di CTRL-V in Vim nativo.
.SH OPZIONI
Vedere vim(1).
.SH FILE
.TP 15
/usr/local/lib/vim/evim.vim
Lo script caricato per inizializzare eVim.
.SH NAC [NOTO ANCHE COME]
Noto Anche Come "Vim per semplici".
Quando usate evim si suppone che prendiate un fazzoletto,
facciate un nodo ad ogni angolo e ve lo mettiate in testa.
.SH AKA
[Also Known As] noto anche come "Vim per semplici".
Quando is usa evim si suppone che si prenda un fazzoletto,
si faccia un nodo ad ogni angolo e lo si metta in testa.
.SH VEDERE ANCHE
vim(1)
.SH AUTORE
Buona parte di
.B Vim
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri.
Vedere il menù "Aiuto/Crediti".
+6
View File
@@ -297,5 +297,11 @@ instead of DYNAMIC_PERL_DLL file what was specified at compile time. The
version of the shared library must match the Perl version Vim was compiled
with.
Note: If you are building Perl locally, you have to use a version compiled
with threading support for it for Vim to successfully link against it. You can
use the `-Dusethreads` flags when configuring Perl, and check that a Perl
binary has it enabled by running `perl -V` and verify that `USE_ITHREADS` is
under "Compile-time options".
==============================================================================
vim:tw=78:ts=8:noet:ft=help:norl:
+4
View File
@@ -127,7 +127,11 @@ CTRL-R {register} *i_CTRL-R*
'/' the last search pattern
':' the last command-line
'.' the last inserted text
*i_CTRL-R_-*
'-' the last small (less than a line) delete
register. This is repeatable using |.| since
it remembers the register to put instead of
the literal text to insert.
*i_CTRL-R_=*
'=' the expression register: you are prompted to
enter an expression (see |expression|)
+19
View File
@@ -2108,10 +2108,12 @@ $quote eval.txt /*$quote*
:Continue terminal.txt /*:Continue*
:DiffOrig diff.txt /*:DiffOrig*
:DoMatchParen pi_paren.txt /*:DoMatchParen*
:Down terminal.txt /*:Down*
:Evaluate terminal.txt /*:Evaluate*
:Explore pi_netrw.txt /*:Explore*
:Finish terminal.txt /*:Finish*
:FixBeginfigs ft_mp.txt /*:FixBeginfigs*
:Frame terminal.txt /*:Frame*
:GLVS pi_getscript.txt /*:GLVS*
:Gdb terminal.txt /*:Gdb*
:GetLatestVimScripts_dat pi_getscript.txt /*:GetLatestVimScripts_dat*
@@ -2164,7 +2166,9 @@ $quote eval.txt /*$quote*
:TermdebugCommand terminal.txt /*:TermdebugCommand*
:Texplore pi_netrw.txt /*:Texplore*
:Until terminal.txt /*:Until*
:Up terminal.txt /*:Up*
:UseVimball pi_vimball.txt /*:UseVimball*
:Var terminal.txt /*:Var*
:Vexplore pi_netrw.txt /*:Vexplore*
:VimballList pi_vimball.txt /*:VimballList*
:Vimuntar pi_tar.txt /*:Vimuntar*
@@ -4495,6 +4499,12 @@ E137 starting.txt /*E137*
E138 starting.txt /*E138*
E139 message.txt /*E139*
E140 message.txt /*E140*
E1400 builtin.txt /*E1400*
E1401 builtin.txt /*E1401*
E1402 builtin.txt /*E1402*
E1403 builtin.txt /*E1403*
E1404 builtin.txt /*E1404*
E1405 builtin.txt /*E1405*
E141 message.txt /*E141*
E142 message.txt /*E142*
E143 autocmd.txt /*E143*
@@ -6853,6 +6863,7 @@ err_mode channel.txt /*err_mode*
err_modifiable channel.txt /*err_modifiable*
err_msg channel.txt /*err_msg*
err_name channel.txt /*err_name*
err_teapot() builtin.txt /*err_teapot()*
err_timeout channel.txt /*err_timeout*
errmsg-variable eval.txt /*errmsg-variable*
error-file-format quickfix.txt /*error-file-format*
@@ -7637,6 +7648,7 @@ g<LeftMouse> tagsrch.txt /*g<LeftMouse>*
g<RightMouse> tagsrch.txt /*g<RightMouse>*
g<Tab> tabpage.txt /*g<Tab>*
g<Up> motion.txt /*g<Up>*
g<kEnd> motion.txt /*g<kEnd>*
g? change.txt /*g?*
g?? change.txt /*g??*
g?g? change.txt /*g?g?*
@@ -8261,6 +8273,7 @@ insertmode-variable eval.txt /*insertmode-variable*
install usr_90.txt /*install*
install-home usr_90.txt /*install-home*
install-registry gui_w32.txt /*install-registry*
instanceof() builtin.txt /*instanceof()*
intel-itanium syntax.txt /*intel-itanium*
intellimouse-wheel-problems gui_w32.txt /*intellimouse-wheel-problems*
interactive-functions usr_41.txt /*interactive-functions*
@@ -9372,6 +9385,7 @@ print-intro print.txt /*print-intro*
print-options print.txt /*print-options*
print.txt print.txt /*print.txt*
printf() builtin.txt /*printf()*
printf-$ builtin.txt /*printf-$*
printf-% builtin.txt /*printf-%*
printf-B builtin.txt /*printf-B*
printf-E builtin.txt /*printf-E*
@@ -10489,15 +10503,20 @@ termdebug-communication terminal.txt /*termdebug-communication*
termdebug-customizing terminal.txt /*termdebug-customizing*
termdebug-events terminal.txt /*termdebug-events*
termdebug-example terminal.txt /*termdebug-example*
termdebug-frames terminal.txt /*termdebug-frames*
termdebug-prompt terminal.txt /*termdebug-prompt*
termdebug-starting terminal.txt /*termdebug-starting*
termdebug-stepping terminal.txt /*termdebug-stepping*
termdebug-variables terminal.txt /*termdebug-variables*
termdebug_disasm_window terminal.txt /*termdebug_disasm_window*
termdebug_map_K terminal.txt /*termdebug_map_K*
termdebug_map_minus terminal.txt /*termdebug_map_minus*
termdebug_map_plus terminal.txt /*termdebug_map_plus*
termdebug_popup terminal.txt /*termdebug_popup*
termdebug_shortcuts terminal.txt /*termdebug_shortcuts*
termdebug_signs terminal.txt /*termdebug_signs*
termdebug_use_prompt terminal.txt /*termdebug_use_prompt*
termdebug_variables_window terminal.txt /*termdebug_variables_window*
termdebug_wide terminal.txt /*termdebug_wide*
termdebug_winbar terminal.txt /*termdebug_winbar*
terminal terminal.txt /*terminal*
+23 -2
View File
@@ -1,4 +1,4 @@
*terminal.txt* For Vim version 9.0. Last change: 2023 Jun 28
*terminal.txt* For Vim version 9.0. Last change: 2023 Aug 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,6 +38,7 @@ If the result is "1" you have it.
Example session |termdebug-example|
Stepping through code |termdebug-stepping|
Inspecting variables |termdebug-variables|
Navigating stack frames |termdebug-frames|
Other commands |termdebug-commands|
Events |termdebug-events|
Prompt mode |termdebug-prompt|
@@ -1376,6 +1377,18 @@ This is similar to using "print" in the gdb window.
You can usually shorten `:Evaluate` to `:Ev`.
Navigating stack frames ~
*termdebug-frames* *:Frame* *:Up* *:Down*
`:Frame` [frame] select frame [frame], which is a frame number,
address, or function name (default: current frame)
`:Up` [count] go up [count] frames (default: 1; the frame that
called the current)
`+` same (see |termdebug_map_plus| to disable)
`:Down` [count] go down [count] frames (default: 1; the frame called
by the current)
`-` same (see |termdebug_map_minus| to disable)
Other commands ~
*termdebug-commands*
*:Gdb* jump to the gdb window
@@ -1449,10 +1462,18 @@ If there is no g:termdebug_config you can use: >
let g:termdebug_use_prompt = 1
<
*termdebug_map_K*
The K key is normally mapped to :Evaluate. If you do not want this use: >
The K key is normally mapped to |:Evaluate|. If you do not want this use: >
let g:termdebug_config['map_K'] = 0
If there is no g:termdebug_config you can use: >
let g:termdebug_map_K = 0
<
*termdebug_map_minus*
The - key is normally mapped to |:Down|. If you do not want this use: >
let g:termdebug_config['map_minus'] = 0
<
*termdebug_map_plus*
The + key is normally mapped to |:Up|. If you do not want this use: >
let g:termdebug_config['map_plus'] = 0
<
*termdebug_disasm_window*
If you want the Asm window shown by default, set the "disasm_window" flag to
+2
View File
@@ -338,6 +338,8 @@ prop_list({lnum} [, {props}]) *prop_list()*
text text to be displayed before {col}. Only
present for |virtual-text| properties.
text_align alignment property of |virtual-text|.
text_padding_left
left padding used for virtual text.
text_wrap specifies whether |virtual-text| is wrapped.
type name of the property type, omitted if
the type was deleted
+3 -21
View File
@@ -61,8 +61,6 @@ without all the help files.
SpellCap highlight not updated - PR #12428
Virtual text problems:
- Deleting character before a wrapping virtual text, causes for the following
lines to dissapear (Issue #12244)
- If 'list' is on, 'below' virtual text which includes 1 or 2 characters are
gone (Issue #12028)
- Virtual text aligned "above": Wrong indentation when using tabs (Issue
@@ -75,14 +73,6 @@ Virtual text problems:
'below' on an empty line (Issue #11959)
- truncated Virtual text below an empty line causes display error #12493
include #12403: window for Termdebug showing local variables
include #12140: positional arguments in printf(), fixes #10577
Include #11818: attach custom data to quickfix items.
Include #12292: buffer argument for undotree()?
When 'virtualedit' is "all" and 'cursorcolumn' is set, the wrong column may be
highlighted. (van-de-bugger, 2018 Jan 23, #2576)
@@ -131,7 +121,7 @@ Upcoming larger works:
Further Vim9 improvements, possibly after launch:
- implement :class and :interface: See |vim9-classes
- Classes and Interfaces. See |vim9-classes|
- Change access: public by default, private by prefixing "_".
Check for error: can't have same name twice (ignoring "_" prefix).
- Private methods?
@@ -139,25 +129,19 @@ Further Vim9 improvements, possibly after launch:
or: def _Func()
Perhaps use "private" keyword instead of "_" prefix?
- "final" object members - can only be set in the constructor.
- Support export/import of classes and interfaces.
- Cannot use class type of itself in the method (Issue #12369)
- Cannot use an object method in a lambda #12417
Define all methods before compiling them?
- class members initialized during definition (Issue #12041)
- Cannot call class member of funcref type (Issue #12324)
Also #12081 first case.
- Using list of functions does not work #12081 (repro in later message).
- Weird `class X not found on interface X` error (Issue #12023)
- First argument of call() cannot be "obj.Func". (#11865)
- "return this" required for early return from constructor (inconsistent)
(Issue #12040)
- class/method confusion inside ":def" when using "class extends" (Issue
#12089)
- null_object - constant type 17 not supported (Issue #12043)
- problem compiling object method call as function call argument (Issue
#12081)
- Make ":defcompile ClassName" compile all functions and methods in the
class.
- object's method in stacktrace missing information (Issue #12078)
- Forward declaration of a class? E.g. for Clone() function.
email lifepillar 2023 Mar 26
- Getting member of variable with "any" type should be handled at runtime.
@@ -180,7 +164,7 @@ Further Vim9 improvements, possibly after launch:
- For chaining, allow using the class name as type for function return
value.
- Implement generics
- Add "instanceof" (exact class name). And "assignable" (class or child)?
- Add "assignable" (class or child)?
- More efficient way for interface member index than iterating over list?
- a variant of type() that returns a different type for each class?
list<number> and list<string> should also differ.
@@ -3552,8 +3536,6 @@ Macintosh:
8 Dragging the status line doesn't scroll but redraw.
8 When performing incremental search, should abort searching as soon as a
character is typed.
8 When the value of $MAKE contains a path, configure can't handle this.
It's an autoconf bug. Remove the path from $MAKE to work around it.
8 How to set VIMRC_FILE to \"something\" for configure? Why does this not
work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure
8 The temporary file is sometimes not writable. Check for this, and use an
+1
View File
@@ -877,6 +877,7 @@ Other computation: *bitwise-function*
srand() initialize seed used by rand()
Variables: *var-functions*
instanceof() check if a variable is an instance of a given class
type() type of a variable as a number
typename() type of a variable as text
islocked() check if a variable is locked
+72 -80
View File
@@ -1,4 +1,4 @@
.TH VIM 1 "22 febbraio 2002"
.TH VIM 1 "13 giugno 2022"
.SH NOME
vim \- VI Migliorato, un editor di testi per programmatori
.SH SINTASSI
@@ -35,17 +35,17 @@ Un editore di testi, compatibile con, e migliore di, Vi.
Può essere usato per editare qualsiasi file di testo.
Particolarmente utile per editare programmi.
.PP
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli,
finestre e buffer multipli, evidenziazione sintattica, possibilità
di modificare la linea di comando, completamento nomi file, help
in linea, selezione testi in Modo Visual, etc..
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli, finestre e buffer
multipli, evidenziazione sintattica, possibilità di modificare la riga di comando,
completamento nomi file, help in linea, selezione testi in Modo Visual, etc..
Vedere ":help vi_diff.txt" per un sommario delle differenze fra
.B Vim
e Vi.
.PP
Mentre usate
.B Vim
potete ricevere molto aiuto dal sistema di help online, col comando ":help".
potete ricevere molto aiuto dal sistema di help online, col comando
":help".
Vedere qui sotto la sezione AIUTO ONLINE.
.PP
Quasi sempre
@@ -69,18 +69,16 @@ Una lista di nomi di file.
Il primo di questi sarà il file corrente, e verrà letto nel buffer.
Il cursore sarà posizionato sulla prima linea del buffer.
Potete arrivare agli altri file col comando ":next".
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
lista_file.
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla lista_file.
.TP
\-
Il file da editare è letto dallo "stdin" [di solito, ma non
necessariamente, il terminale \- NdT]. I comandi sono letti da "stderr",
che dovrebbe essere un terminale [tty].
Il file da editare è letto dallo "stdin"-
I comandi sono letti da "stderr", che dovrebbe essere un terminale [tty].
.TP
\-t {tag}
Il file da editare e la posizione iniziale del cursore dipendono da "tag",
una specie di "etichetta" a cui saltare.
{tag} viene cercata nel file "tags", ed il file ad essa associato diventa
{tag} viene cercata nel file "tags", e il file a essa associato diventa
quello corrente, ed il comando ad essa associato viene eseguito.
Di solito si usa per programmi C, nel qual caso {tag} potrebbe essere un
nome di funzione.
@@ -129,9 +127,8 @@ della shell o sospendere
.B Vim.
Si può chiedere la stessa cosa anche con l'argomento "\-Z".
.SH OPZIONI
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di
file. Opzioni che non necessitano un argomento possono essere specificate
dietro a un solo "\-".
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di file.
Opzioni che non hanno un argomento si possono specificare dietro a un solo "\-".
.TP 12
+[numero]
Per il primo file il cursore sarà posizionato sulla linea "numero".
@@ -145,8 +142,7 @@ Vedere ":help search\-pattern" per come specificare l'espressione.
+{comando}
.TP
\-c {comando}
{comando} sarà eseguito dopo che il
primo file è stato letto.
{comando} sarà eseguito dopo che il primo file è stato letto.
{comando} è interpretato come un comando Ex.
Se il {comando} contiene spazi deve essere incluso fra doppi apici
(o altro delimitatore, a seconda della shell che si sta usando).
@@ -164,14 +160,13 @@ argomento specificato).
\-\-cmd {comando}
Come "\-c", ma il comando è eseguito PRIMA
di eseguire qualsiasi file vimrc.
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
"\-c".
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi "\-c".
.TP
\-A
Se
.B Vim
è stato compilato con supporto Arabic per editare file con orientamento
destra-sinistra e tastiera con mappatura Araba, questa opzione inizia
è stato compilato con supporto ARABIC per editare file con orientamento
destra-sinistra e tastiera con mappatura araba, questa opzione inizia
.B Vim
in Modo Arabic, cioè impostando 'arabic'.
Altrimenti viene dato un messaggio di errore e
@@ -187,8 +182,7 @@ binario o un programma eseguibile.
Compatibile. Imposta l'opzione 'compatible'.
In questo modo
.B Vim
ha quasi lo stesso comportamento di Vi, anche in presenza di un file
di configurazione .vimrc [proprio di Vim, vi usa .exrc \- Ndt].
ha quasi lo stesso comportamento di Vi, anche in presenza di un file .vimrc.
.TP
\-d
Inizia in Modo Diff [differenze].
@@ -274,7 +268,8 @@ termina in modo anormale.
\-i {viminfo}
Se è abilitato l'uso di un file viminfo, questa opzione indica il nome
del file da usare invece di quello predefinito "~/.viminfo".
Si può anche evitare l'uso di un file .viminfo, dando come nome "NONE".
Si può anche evitare l'uso di un file .viminfo, dando come nome
"NONE".
.TP
\-L
Equivalente a \-r.
@@ -285,8 +280,8 @@ Imposta le opzioni 'lisp' e 'showmatch'.
.TP
\-m
Inibisce modifica file.
Annulla l'opzione 'write'.
È ancora possibile modificare un buffer [in memoria \- Ndt], ma non scriverlo.
Inibisce l'opzione 'write'.
È ancora possibile modificare un buffer, ma non riscriverlo.
.TP
\-M
Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
@@ -318,19 +313,23 @@ Se N manca, apri una finestra per ciascun file.
Apri N finestre, in verticale.
Se N manca, apri una finestra per ciascun file.
.TP
\-p[N]
Apri N pagine di linguette.
Quando N è omesso, apri una pagine di linguette per ciascun file.
.TP
\-R
Modo Read-only (Sola Lettura).
Imposta l'opzione 'readonly'.
Si può ancora modificare il buffer, ma siete protetti da una riscrittura
Si può ancora modificare il buffer, ma il file è protetto da una riscrittura
involontaria.
Se volete davvero riscrivere il file, aggiungete un punto esclamativo
Se si vuole davvero riscrivere il file, occorre aggiungere un punto esclamativo
al comando Ex, come in ":w!".
L'opzione \-R implica anche l'opzione \-n (vedere sotto).
L'opzione 'readonly' può essere annullata con ":set noro".
Vedere ":help 'readonly'".
.TP
\-r
Lista file di swap, assieme a dati utili per un recupero.
Lista file di swap, e informazioni su come usarli per ripristinare file.
.TP
\-r {file}
Modo Recovery (ripristino).
@@ -345,10 +344,10 @@ Modo silenzioso. Solo quando invocato come "Ex" o quando l'opzione
.TP
\-s {scriptin}
Lo script file {scriptin} è letto.
I caratteri nel file sono interpretati come se immessi da voi.
Lo stesso si può ottenere col comando ":source! {scriptin}".
I caratteri nel file sono interpretati come se immessi da terminale.
Lo stesso risultato si può ottenere col comando ":source! {scriptin}".
Se la fine del file di input viene raggiunta prima che Vim termini,
l'ulteriore input viene preso dalla tastiera.
l'ulteriore input verrà preso dalla tastiera.
.TP
\-T {terminale}
Dice a
@@ -357,28 +356,25 @@ quale tipo di terminale state usando.
Utile solo se il terminale non viene riconosciuto correttamente da Vim.
Dovrebbe essere un terminale noto a
.B Vim
(internamente) o definito nel file termcap o terminfo.
(internamente) o definito nei file termcap o terminfo.
.TP
\-u {vimrc}
Usa i comandi nel file {vimrc} per inizializzazioni.
Tutte le altre inizializzazioni non sono eseguite.
Usate questa opzione per editare qualche file di tipo speciale.
Può anche essere usato per non fare alcuna inizializzazione dando
come nome "NONE".
Si possono anche omettere tutte le inizializzazioni dando come nome "NONE".
Vedere ":help initialization" da vim per ulteriori dettagli.
.TP
\-U {gvimrc}
Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
Tutte le altre inizializzazioni GUI non sono eseguite.
Può anche essere usata per non fare alcuna inizializzazione GUI dando
come nome "NONE".
Si possono anche omettere tutte le inizializzazioni GUI dando come nome "NONE".
Vedere ":help gui-init" da vim per ulteriori dettagli.
.TP
\-V[N]
Verboso. Vim manda messaggi relativi agli script file che esegue
Verboso. Vim manda messaggi relativi ai file di script che esegue
e quando legge o scrive un file viminfo. Il numero opzionale N è il valore
dell'opzione 'verbose'.
Il valore predefinito è 10.
dell'opzione 'verbose'. Il valore predefinito è 10.
.TP
\-v
Inizia
@@ -388,7 +384,7 @@ effetto solo quando Vim viene invocato con il nome "ex".
.TP
\-w {scriptout}
Ogni carattere immesso viene registrato nel file {scriptout},
finché non uscite da
finché non si esce da
.B Vim.
Utile se si vuole creare uno script file da usare con "vim \-s" o
":source!".
@@ -398,40 +394,41 @@ Se il file {scriptout} esiste, quel che immettete viene aggiunto in fondo.
Come \-w, ma uno script file esistente viene sovrascritto.
.TP
\-x
Uso di cifratura nella scrittura dei file. E' necessario immettere
una chiave di cifratura.
Uso di cifratura nella scrittura dei file. Verrà chiesta una chiave di cifratura.
.TP
\-X
Non connetterti al server X. Vim parte più rapidamente,
ma il titolo della finestra e la clipboard non sono disponibili.
Non connettersi al server X. Vim parte più rapidamente,
ma il titolo della finestra e la clipboard non sono usati.
.TP
\-y
Eseguire
.B Vim
in Modo Easy (semplificata), come se l'eseguibile invocato
sia "evim" o "eview".
in Modo Easy (semplificato), come se l'eseguibile invocato sia "evim" o "eview".
Fa sì che
.B Vim
si comporti come un editor che usa solo il mouse e i caratteri.
.TP
\-Z
Modo ristretto. Vim si comporta come se invocato con un nome
che inizia per "r".
Modo ristretto. Vim si comporta come se invocato con un nome che inizia per "r".
.TP
\-\-
Specifica la fine delle opzioni.
Argomenti specificati dopo questo sono considerati nomi file.
Si può usare per editare un file il cui nome inizi per '-'.
.TP
\-\-clean
Richiede di non usare alcun file di personalizzazione (vimrc, plugin, etc.).
Utile per verificare se un problema persiste invocando Vim "originale".
.TP
\-\-echo\-wid
Solo con GUI GTK: Visualizza Window ID su "stdout".
Solo per GUI GTK: Visualizza Window ID su "stdout".
.TP
\-\-help
Vim dà un messaggio ed esce, come con l'argomento "\-h".
.TP
\-\-literal
Considera i nomi passati come argomenti letterali, senza espandere
metacaratteri. Non necessario in Unix, la shell espande i metacaratteri.
Considera i nomi passati come argomenti letterali, senza espandere metacaratteri.
Non ha effetto in Unix, dove la shell espande comunque i metacaratteri.
.TP
\-\-noplugin
Non caricare plugin. Implicito se si specifica \-u NONE.
@@ -442,8 +439,7 @@ argomenti. Se non si trova un server viene dato un messaggio e i file sono
editati nel Vim corrente.
.TP
\-\-remote\-expr {expr}
Connettersi a un server Vim, valutare ivi {expr} e stampare il risultato
su "stdout".
Connettersi a un server Vim, valutare {expr} e stampare il risultato su "stdout".
.TP
\-\-remote\-send {chiavi}
Connettersi a un server Vim e spedirgli {chiavi}.
@@ -458,16 +454,17 @@ Come \-\-remote, ma Vim non termina finch
Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
.TP
\-\-serverlist
Lista i nomi di tutti i server Vim disponibili.
Elenca i nomi di tutti i server Vim disponibili.
.TP
\-\-servername {nome}
Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia
usato con l'argomento \-\-remote, nel qual caso indica il server a cui
connettersi.
Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia usato
con l'argomento \-\-remote, nel qual caso indica il server a cui connettersi.
.TP
\-\-socketid {id}
Solo con GUI GTK: Usa il meccanismo GtkPlug per eseguire gvim in un'altra
finestra.
Solo per GUI GTK: Usa meccanismo GtkPlug per eseguire gvim in un'altra finestra.
.TP
\-\-startuptime {nome_file}
Durante la fase iniziale, scrive messaggi di log al file {nome_file}.
.TP
\-\-version
Stampa la versione di Vim ed esci.
@@ -477,9 +474,8 @@ Battere ":help" in
per iniziare.
Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
Usare <Tab> e CTRL\-D per completare gli argomenti
(":help cmdline\-completion").
Ci sono "tag" nei file di help per saltare da un argomento a un altro
Usare <Tab> e CTRL\-D per completare gli argomenti (":help cmdline\-completion").
Ci sono "tag" nei file di help per passare da un argomento a un altro
(simili a legami ipertestuali, vedere ":help").
Tutti i file di documentazione possono essere navigati così. Ad es.:
":help syntax.txt".
@@ -489,7 +485,7 @@ Tutti i file di documentazione possono essere navigati cos
I file di documentazione di
.B Vim
.
Usate ":help doc\-file\-list" per avere la lista completa.
Usare ":help doc\-file\-list" per avere la lista completa.
.TP
/usr/local/lib/vim/doc/tags
Il file di tags usato per trovare informazioni nei file di documentazione.
@@ -506,7 +502,7 @@ Inizializzazioni
a livello di sistema.
.TP
~/.vimrc
Le vostre personali inizializzazioni di
Inizializzazioni personali di
.B Vim
.
.TP
@@ -514,11 +510,10 @@ Le vostre personali inizializzazioni di
Inizializzazioni gvim a livello di sistema.
.TP
~/.gvimrc
Le vostre personali inizializzazioni di gvim.
Inizializzazioni personali di
.TP
/usr/local/lib/vim/optwin.vim
Script Vim usato dal comando ":options", un modo semplice
per visualizzare e impostare opzioni.
Script Vim usato dal comando ":options", da usare per visualizzare e impostare opzioni.
.TP
/usr/local/lib/vim/menu.vim
Inizializzazioni del menù gvim a livello di sistema.
@@ -527,12 +522,10 @@ Inizializzazioni del men
Script Vim per generare una segnalazione di errore. Vedere ":help bugs".
.TP
/usr/local/lib/vim/filetype.vim
Script Vim per determinare il tipo di un file a partire dal suo nome.
Vedere ":help 'filetype'".
Script Vim per determinare il tipo di un file dal suo nome. Vedere ":help 'filetype'".
.TP
/usr/local/lib/vim/scripts.vim
Script Vim per determinare il tipo di un file a partire dal suo contenuto.
Vedere ":help 'filetype'".
Script Vim per determinare il tipo di un file dal suo contenuto. Vedere ":help 'filetype'".
.TP
/usr/local/lib/vim/print/*.ps
File usati per stampa PostScript.
@@ -545,7 +538,7 @@ vimtutor(1)
.SH AUTORE
Buona parte di
.B Vim
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri.
Vedere ":help credits" in
.B Vim.
.br
@@ -557,10 +550,9 @@ In verit
Probabili.
Vedere ":help todo" per una lista di problemi noti.
.PP
Si noti che un certo numero di comportamenti che possono essere considerati
errori da qualcuno, sono in effetti causati da una riproduzione fin troppo
fedele del comportamento di Vi.
Se ritenete che altre cose siano errori "perché Vi si comporta diversamente",
date prima un'occhiata al file vi_diff.txt
(o battere :help vi_diff.txt da Vim).
Date anche un'occhiata alle opzioni 'compatible' e 'cpoptions.
Si noti che un certo numero di comportamenti che possono essere considerati errori
da qualcuno, sono in effetti causati da una riproduzione fin troppo fedele del
comportamento di Vi. Se si ritiene che altre cose siano errori "perché Vi si comporta
diversamente", si dia prima un'occhiata al file vi_diff.txt (o si immetta
:help vi_diff.txt da Vim).
Un'occhiata va data anche alle opzioni 'compatible' e 'cpoptions.
+72 -80
View File
@@ -1,4 +1,4 @@
.TH VIM 1 "22 febbraio 2002"
.TH VIM 1 "13 giugno 2022"
.SH NOME
vim \- VI Migliorato, un editor di testi per programmatori
.SH SINTASSI
@@ -35,17 +35,17 @@ Un editore di testi, compatibile con, e migliore di, Vi.
Può essere usato per editare qualsiasi file di testo.
Particolarmente utile per editare programmi.
.PP
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli,
finestre e buffer multipli, evidenziazione sintattica, possibilità
di modificare la linea di comando, completamento nomi file, help
in linea, selezione testi in Modo Visual, etc..
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli, finestre e buffer
multipli, evidenziazione sintattica, possibilità di modificare la riga di comando,
completamento nomi file, help in linea, selezione testi in Modo Visual, etc..
Vedere ":help vi_diff.txt" per un sommario delle differenze fra
.B Vim
e Vi.
.PP
Mentre usate
.B Vim
potete ricevere molto aiuto dal sistema di help online, col comando ":help".
potete ricevere molto aiuto dal sistema di help online, col comando
":help".
Vedere qui sotto la sezione AIUTO ONLINE.
.PP
Quasi sempre
@@ -69,18 +69,16 @@ Una lista di nomi di file.
Il primo di questi sarà il file corrente, e verrà letto nel buffer.
Il cursore sarà posizionato sulla prima linea del buffer.
Potete arrivare agli altri file col comando ":next".
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
lista_file.
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla lista_file.
.TP
\-
Il file da editare è letto dallo "stdin" [di solito, ma non
necessariamente, il terminale \- NdT]. I comandi sono letti da "stderr",
che dovrebbe essere un terminale [tty].
Il file da editare è letto dallo "stdin"-
I comandi sono letti da "stderr", che dovrebbe essere un terminale [tty].
.TP
\-t {tag}
Il file da editare e la posizione iniziale del cursore dipendono da "tag",
una specie di "etichetta" a cui saltare.
{tag} viene cercata nel file "tags", ed il file ad essa associato diventa
{tag} viene cercata nel file "tags", e il file a essa associato diventa
quello corrente, ed il comando ad essa associato viene eseguito.
Di solito si usa per programmi C, nel qual caso {tag} potrebbe essere un
nome di funzione.
@@ -129,9 +127,8 @@ della shell o sospendere
.B Vim.
Si può chiedere la stessa cosa anche con l'argomento "\-Z".
.SH OPZIONI
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di
file. Opzioni che non necessitano un argomento possono essere specificate
dietro a un solo "\-".
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di file.
Opzioni che non hanno un argomento si possono specificare dietro a un solo "\-".
.TP 12
+[numero]
Per il primo file il cursore sarà posizionato sulla linea "numero".
@@ -145,8 +142,7 @@ Vedere ":help search\-pattern" per come specificare l'espressione.
+{comando}
.TP
\-c {comando}
{comando} sarà eseguito dopo che il
primo file è stato letto.
{comando} sarà eseguito dopo che il primo file è stato letto.
{comando} è interpretato come un comando Ex.
Se il {comando} contiene spazi deve essere incluso fra doppi apici
(o altro delimitatore, a seconda della shell che si sta usando).
@@ -164,14 +160,13 @@ argomento specificato).
\-\-cmd {comando}
Come "\-c", ma il comando è eseguito PRIMA
di eseguire qualsiasi file vimrc.
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
"\-c".
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi "\-c".
.TP
\-A
Se
.B Vim
è stato compilato con supporto Arabic per editare file con orientamento
destra-sinistra e tastiera con mappatura Araba, questa opzione inizia
è stato compilato con supporto ARABIC per editare file con orientamento
destra-sinistra e tastiera con mappatura araba, questa opzione inizia
.B Vim
in Modo Arabic, cioè impostando 'arabic'.
Altrimenti viene dato un messaggio di errore e
@@ -187,8 +182,7 @@ binario o un programma eseguibile.
Compatibile. Imposta l'opzione 'compatible'.
In questo modo
.B Vim
ha quasi lo stesso comportamento di Vi, anche in presenza di un file
di configurazione .vimrc [proprio di Vim, vi usa .exrc \- Ndt].
ha quasi lo stesso comportamento di Vi, anche in presenza di un file .vimrc.
.TP
\-d
Inizia in Modo Diff [differenze].
@@ -274,7 +268,8 @@ termina in modo anormale.
\-i {viminfo}
Se è abilitato l'uso di un file viminfo, questa opzione indica il nome
del file da usare invece di quello predefinito "~/.viminfo".
Si può anche evitare l'uso di un file .viminfo, dando come nome "NONE".
Si può anche evitare l'uso di un file .viminfo, dando come nome
"NONE".
.TP
\-L
Equivalente a \-r.
@@ -285,8 +280,8 @@ Imposta le opzioni 'lisp' e 'showmatch'.
.TP
\-m
Inibisce modifica file.
Annulla l'opzione 'write'.
È ancora possibile modificare un buffer [in memoria \- Ndt], ma non scriverlo.
Inibisce l'opzione 'write'.
È ancora possibile modificare un buffer, ma non riscriverlo.
.TP
\-M
Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
@@ -318,19 +313,23 @@ Se N manca, apri una finestra per ciascun file.
Apri N finestre, in verticale.
Se N manca, apri una finestra per ciascun file.
.TP
\-p[N]
Apri N pagine di linguette.
Quando N è omesso, apri una pagine di linguette per ciascun file.
.TP
\-R
Modo Read-only (Sola Lettura).
Imposta l'opzione 'readonly'.
Si può ancora modificare il buffer, ma siete protetti da una riscrittura
Si può ancora modificare il buffer, ma il file è protetto da una riscrittura
involontaria.
Se volete davvero riscrivere il file, aggiungete un punto esclamativo
Se si vuole davvero riscrivere il file, occorre aggiungere un punto esclamativo
al comando Ex, come in ":w!".
L'opzione \-R implica anche l'opzione \-n (vedere sotto).
L'opzione 'readonly' può essere annullata con ":set noro".
Vedere ":help 'readonly'".
.TP
\-r
Lista file di swap, assieme a dati utili per un recupero.
Lista file di swap, e informazioni su come usarli per ripristinare file.
.TP
\-r {file}
Modo Recovery (ripristino).
@@ -345,10 +344,10 @@ Modo silenzioso. Solo quando invocato come "Ex" o quando l'opzione
.TP
\-s {scriptin}
Lo script file {scriptin} è letto.
I caratteri nel file sono interpretati come se immessi da voi.
Lo stesso si può ottenere col comando ":source! {scriptin}".
I caratteri nel file sono interpretati come se immessi da terminale.
Lo stesso risultato si può ottenere col comando ":source! {scriptin}".
Se la fine del file di input viene raggiunta prima che Vim termini,
l'ulteriore input viene preso dalla tastiera.
l'ulteriore input verrà preso dalla tastiera.
.TP
\-T {terminale}
Dice a
@@ -357,28 +356,25 @@ quale tipo di terminale state usando.
Utile solo se il terminale non viene riconosciuto correttamente da Vim.
Dovrebbe essere un terminale noto a
.B Vim
(internamente) o definito nel file termcap o terminfo.
(internamente) o definito nei file termcap o terminfo.
.TP
\-u {vimrc}
Usa i comandi nel file {vimrc} per inizializzazioni.
Tutte le altre inizializzazioni non sono eseguite.
Usate questa opzione per editare qualche file di tipo speciale.
Può anche essere usato per non fare alcuna inizializzazione dando
come nome "NONE".
Si possono anche omettere tutte le inizializzazioni dando come nome "NONE".
Vedere ":help initialization" da vim per ulteriori dettagli.
.TP
\-U {gvimrc}
Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
Tutte le altre inizializzazioni GUI non sono eseguite.
Può anche essere usata per non fare alcuna inizializzazione GUI dando
come nome "NONE".
Si possono anche omettere tutte le inizializzazioni GUI dando come nome "NONE".
Vedere ":help gui-init" da vim per ulteriori dettagli.
.TP
\-V[N]
Verboso. Vim manda messaggi relativi agli script file che esegue
Verboso. Vim manda messaggi relativi ai file di script che esegue
e quando legge o scrive un file viminfo. Il numero opzionale N è il valore
dell'opzione 'verbose'.
Il valore predefinito è 10.
dell'opzione 'verbose'. Il valore predefinito è 10.
.TP
\-v
Inizia
@@ -388,7 +384,7 @@ effetto solo quando Vim viene invocato con il nome "ex".
.TP
\-w {scriptout}
Ogni carattere immesso viene registrato nel file {scriptout},
finché non uscite da
finché non si esce da
.B Vim.
Utile se si vuole creare uno script file da usare con "vim \-s" o
":source!".
@@ -398,40 +394,41 @@ Se il file {scriptout} esiste, quel che immettete viene aggiunto in fondo.
Come \-w, ma uno script file esistente viene sovrascritto.
.TP
\-x
Uso di cifratura nella scrittura dei file. E' necessario immettere
una chiave di cifratura.
Uso di cifratura nella scrittura dei file. Verrà chiesta una chiave di cifratura.
.TP
\-X
Non connetterti al server X. Vim parte più rapidamente,
ma il titolo della finestra e la clipboard non sono disponibili.
Non connettersi al server X. Vim parte più rapidamente,
ma il titolo della finestra e la clipboard non sono usati.
.TP
\-y
Eseguire
.B Vim
in Modo Easy (semplificata), come se l'eseguibile invocato
sia "evim" o "eview".
in Modo Easy (semplificato), come se l'eseguibile invocato sia "evim" o "eview".
Fa sì che
.B Vim
si comporti come un editor che usa solo il mouse e i caratteri.
.TP
\-Z
Modo ristretto. Vim si comporta come se invocato con un nome
che inizia per "r".
Modo ristretto. Vim si comporta come se invocato con un nome che inizia per "r".
.TP
\-\-
Specifica la fine delle opzioni.
Argomenti specificati dopo questo sono considerati nomi file.
Si può usare per editare un file il cui nome inizi per '-'.
.TP
\-\-clean
Richiede di non usare alcun file di personalizzazione (vimrc, plugin, etc.).
Utile per verificare se un problema persiste invocando Vim "originale".
.TP
\-\-echo\-wid
Solo con GUI GTK: Visualizza Window ID su "stdout".
Solo per GUI GTK: Visualizza Window ID su "stdout".
.TP
\-\-help
Vim dà un messaggio ed esce, come con l'argomento "\-h".
.TP
\-\-literal
Considera i nomi passati come argomenti letterali, senza espandere
metacaratteri. Non necessario in Unix, la shell espande i metacaratteri.
Considera i nomi passati come argomenti letterali, senza espandere metacaratteri.
Non ha effetto in Unix, dove la shell espande comunque i metacaratteri.
.TP
\-\-noplugin
Non caricare plugin. Implicito se si specifica \-u NONE.
@@ -442,8 +439,7 @@ argomenti. Se non si trova un server viene dato un messaggio e i file sono
editati nel Vim corrente.
.TP
\-\-remote\-expr {expr}
Connettersi a un server Vim, valutare ivi {expr} e stampare il risultato
su "stdout".
Connettersi a un server Vim, valutare {expr} e stampare il risultato su "stdout".
.TP
\-\-remote\-send {chiavi}
Connettersi a un server Vim e spedirgli {chiavi}.
@@ -458,16 +454,17 @@ Come \-\-remote, ma Vim non termina finché i file non sono stati editati.
Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
.TP
\-\-serverlist
Lista i nomi di tutti i server Vim disponibili.
Elenca i nomi di tutti i server Vim disponibili.
.TP
\-\-servername {nome}
Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia
usato con l'argomento \-\-remote, nel qual caso indica il server a cui
connettersi.
Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia usato
con l'argomento \-\-remote, nel qual caso indica il server a cui connettersi.
.TP
\-\-socketid {id}
Solo con GUI GTK: Usa il meccanismo GtkPlug per eseguire gvim in un'altra
finestra.
Solo per GUI GTK: Usa meccanismo GtkPlug per eseguire gvim in un'altra finestra.
.TP
\-\-startuptime {nome_file}
Durante la fase iniziale, scrive messaggi di log al file {nome_file}.
.TP
\-\-version
Stampa la versione di Vim ed esci.
@@ -477,9 +474,8 @@ Battere ":help" in
per iniziare.
Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
Usare <Tab> e CTRL\-D per completare gli argomenti
(":help cmdline\-completion").
Ci sono "tag" nei file di help per saltare da un argomento a un altro
Usare <Tab> e CTRL\-D per completare gli argomenti (":help cmdline\-completion").
Ci sono "tag" nei file di help per passare da un argomento a un altro
(simili a legami ipertestuali, vedere ":help").
Tutti i file di documentazione possono essere navigati così. Ad es.:
":help syntax.txt".
@@ -489,7 +485,7 @@ Tutti i file di documentazione possono essere navigati così. Ad es.:
I file di documentazione di
.B Vim
.
Usate ":help doc\-file\-list" per avere la lista completa.
Usare ":help doc\-file\-list" per avere la lista completa.
.TP
/usr/local/lib/vim/doc/tags
Il file di tags usato per trovare informazioni nei file di documentazione.
@@ -506,7 +502,7 @@ Inizializzazioni
a livello di sistema.
.TP
~/.vimrc
Le vostre personali inizializzazioni di
Inizializzazioni personali di
.B Vim
.
.TP
@@ -514,11 +510,10 @@ Le vostre personali inizializzazioni di
Inizializzazioni gvim a livello di sistema.
.TP
~/.gvimrc
Le vostre personali inizializzazioni di gvim.
Inizializzazioni personali di
.TP
/usr/local/lib/vim/optwin.vim
Script Vim usato dal comando ":options", un modo semplice
per visualizzare e impostare opzioni.
Script Vim usato dal comando ":options", da usare per visualizzare e impostare opzioni.
.TP
/usr/local/lib/vim/menu.vim
Inizializzazioni del menù gvim a livello di sistema.
@@ -527,12 +522,10 @@ Inizializzazioni del menù gvim a livello di sistema.
Script Vim per generare una segnalazione di errore. Vedere ":help bugs".
.TP
/usr/local/lib/vim/filetype.vim
Script Vim per determinare il tipo di un file a partire dal suo nome.
Vedere ":help 'filetype'".
Script Vim per determinare il tipo di un file dal suo nome. Vedere ":help 'filetype'".
.TP
/usr/local/lib/vim/scripts.vim
Script Vim per determinare il tipo di un file a partire dal suo contenuto.
Vedere ":help 'filetype'".
Script Vim per determinare il tipo di un file dal suo contenuto. Vedere ":help 'filetype'".
.TP
/usr/local/lib/vim/print/*.ps
File usati per stampa PostScript.
@@ -545,7 +538,7 @@ vimtutor(1)
.SH AUTORE
Buona parte di
.B Vim
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri.
Vedere ":help credits" in
.B Vim.
.br
@@ -557,10 +550,9 @@ In verità, poco o nulla è rimasto del loro codice originale.
Probabili.
Vedere ":help todo" per una lista di problemi noti.
.PP
Si noti che un certo numero di comportamenti che possono essere considerati
errori da qualcuno, sono in effetti causati da una riproduzione fin troppo
fedele del comportamento di Vi.
Se ritenete che altre cose siano errori "perché Vi si comporta diversamente",
date prima un'occhiata al file vi_diff.txt
(o battere :help vi_diff.txt da Vim).
Date anche un'occhiata alle opzioni 'compatible' e 'cpoptions.
Si noti che un certo numero di comportamenti che possono essere considerati errori
da qualcuno, sono in effetti causati da una riproduzione fin troppo fedele del
comportamento di Vi. Se si ritiene che altre cose siano errori "perché Vi si comporta
diversamente", si dia prima un'occhiata al file vi_diff.txt (o si immetta
:help vi_diff.txt da Vim).
Un'occhiata va data anche alle opzioni 'compatible' e 'cpoptions.
+2
View File
@@ -1033,10 +1033,12 @@ In Vim9 script one can use the following predefined values: >
null
null_blob
null_channel
null_class
null_dict
null_function
null_job
null_list
null_object
null_partial
null_string
`true` is the same as `v:true`, `false` the same as `v:false`, `null` the same
+42
View File
@@ -178,6 +178,26 @@ number to the total number of lines: >
enddef
Private methods ~
If you want object methods to be accessible only from other methods of the
same class and not used from outside the class, then you can make them
private. This is done by prefixing the method name with an underscore: >
class SomeClass
def _Foo(): number
return 10
enddef
def Bar(): number
return this._Foo()
enddef
endclass
<
Accessing a private method outside the class will result in an error (using
the above class): >
var a = SomeClass.new()
a._Foo()
<
Simplifying the new() method ~
Many constructors take values for the object members. Thus you very often see
@@ -284,6 +304,22 @@ object members, they cannot use the "this" keyword. >
Inside the class the function can be called by name directly, outside the
class the class name must be prefixed: `OtherThing.ClearTotalSize()`.
Just like object methods the access can be made private by using an underscore
as the first character in the method name: >
class OtherThing
static def _Foo()
echo "Foo"
enddef
def Bar()
OtherThing._Foo()
enddef
endclass
<
*E1370*
Note that constructors cannot be declared as "static", because they always
are.
==============================================================================
4. Using an abstract class *Vim9-abstract-class*
@@ -423,6 +459,12 @@ Each member and function name can be used only once. It is not possible to
define a function with the same name and different type of arguments.
Member Initialization ~
If the type of a member is not explicitly specified in a class, then it is set
to "any" during class definition. When an object is instantiated from the
class, then the type of the member is set.
Extending a class ~
*extends*
A class can extend one other class. *E1352* *E1353* *E1354*
+14 -16
View File
@@ -1,48 +1,46 @@
.TH VIMDIFF 1 "30 marzo 2001"
.SH NOME
vimdiff \- modifica due, tre o quattro versioni di un file con Vim,
visualizzando le differenze
vimdiff \- modifica da due, fino a otto versioni di un file con Vim, visualizzando le differenze
.SH SINTASSI
.br
.B vimdiff
[opzioni] file1 file2 [file3 [file4]]
[opzioni] file1 file2 [file3 [file4 [file5 [file6 [file7 [file8]]]]]]
.PP
.B gvimdiff
.SH DESCRIZIONE
.B Vimdiff
inizia
.B Vim
per due (o tre o quattro) file.
per due e fino a otto file.
Ogni file ha una sua finestra.
Le differenze fra file sono evidenziate.
È una maniera elegante per controllare modifiche e portare modifiche
verso un'altra versione dello stesso file.
È una maniera elegante per controllare modifiche e applicare modifiche
a qualche altra versione dello stesso file.
.PP
Vedere vim(1) per dettagli su Vim in generale.
Vedere vim(1) per dettagli su Vim in .
.PP
Se iniziato con
.B gvimdiff
la GUI sarà utilizzata, se disponibile.
.PP
In ogni finestra l'opzione 'diff' è impostata, evidenziando così le
differenze.
In ogni finestra l'opzione 'diff' è impostata, in modo da evidenziare le
differenze fra le versioni
.br
Le opzioni 'wrap' e 'scrollbind' sono impostate per migliorare la
visibilità del testo.
Le opzioni 'wrap' e 'scrollbind' sono impostate per favorire la visibilità del testo.
.br
L'opzione 'foldmethod' è impostata al valore "diff", che mette gruppi di
L'opzione 'foldmethod' è impostata al valore "diff", che mette i gruppi di
linee uguali fra i diversi file in una piegatura. 'foldcolumn' è impostato
a due per poter facilmente visualizzare le piegature, aprirle e chiuderle.
.SH OPZIONI
Lo schermo è diviso verticalmente, come se aveste usato l'opzione "\-O".
Per dividerlo orizzontalmente, usare l'opzione "\-o".
Lo schermo è diviso verticalmente, come quando si usa l'opzione "\-O".
Per dividerlo orizzontalmente, usare invece l'opzione "\-o".
.PP
Per tutte le altre opzioni, vedere vim(1).
Per tutti gli altri argomenti, vedere vim(1).
.SH VEDERE ANCHE
vim(1)
.SH AUTORE
Buona parte di
.B Vim
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri.
Vedere ":help credits" in
.B Vim.
+14 -16
View File
@@ -1,48 +1,46 @@
.TH VIMDIFF 1 "30 marzo 2001"
.SH NOME
vimdiff \- modifica due, tre o quattro versioni di un file con Vim,
visualizzando le differenze
vimdiff \- modifica da due, fino a otto versioni di un file con Vim, visualizzando le differenze
.SH SINTASSI
.br
.B vimdiff
[opzioni] file1 file2 [file3 [file4]]
[opzioni] file1 file2 [file3 [file4 [file5 [file6 [file7 [file8]]]]]]
.PP
.B gvimdiff
.SH DESCRIZIONE
.B Vimdiff
inizia
.B Vim
per due (o tre o quattro) file.
per due e fino a otto file.
Ogni file ha una sua finestra.
Le differenze fra file sono evidenziate.
È una maniera elegante per controllare modifiche e portare modifiche
verso un'altra versione dello stesso file.
È una maniera elegante per controllare modifiche e applicare modifiche
a qualche altra versione dello stesso file.
.PP
Vedere vim(1) per dettagli su Vim in generale.
Vedere vim(1) per dettagli su Vim in .
.PP
Se iniziato con
.B gvimdiff
la GUI sarà utilizzata, se disponibile.
.PP
In ogni finestra l'opzione 'diff' è impostata, evidenziando così le
differenze.
In ogni finestra l'opzione 'diff' è impostata, in modo da evidenziare le
differenze fra le versioni
.br
Le opzioni 'wrap' e 'scrollbind' sono impostate per migliorare la
visibilità del testo.
Le opzioni 'wrap' e 'scrollbind' sono impostate per favorire la visibilità del testo.
.br
L'opzione 'foldmethod' è impostata al valore "diff", che mette gruppi di
L'opzione 'foldmethod' è impostata al valore "diff", che mette i gruppi di
linee uguali fra i diversi file in una piegatura. 'foldcolumn' è impostato
a due per poter facilmente visualizzare le piegature, aprirle e chiuderle.
.SH OPZIONI
Lo schermo è diviso verticalmente, come se aveste usato l'opzione "\-O".
Per dividerlo orizzontalmente, usare l'opzione "\-o".
Lo schermo è diviso verticalmente, come quando si usa l'opzione "\-O".
Per dividerlo orizzontalmente, usare invece l'opzione "\-o".
.PP
Per tutte le altre opzioni, vedere vim(1).
Per tutti gli altri argomenti, vedere vim(1).
.SH VEDERE ANCHE
vim(1)
.SH AUTORE
Buona parte di
.B Vim
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri.
Vedere ":help credits" in
.B Vim.
+16 -17
View File
@@ -1,6 +1,6 @@
.TH VIMTUTOR 1 "2 aprile 2001"
.SH NOME
vimtutor \- Un breve corso per imparare Vim
vimtutor \- Un breve corso introduttivo a Vim
.SH SINTASSI
.br
.B vimtutor [\-g] [lingua]
@@ -8,51 +8,50 @@ vimtutor \- Un breve corso per imparare Vim
.B Vimtutor
inizia il
.B Vim
tutor (una breve corso per imparare Vim).
Per prima cosa viene creata una copia del file di lavoro, che può così essere
modificato senza alterare il file usato come modello.
tutor (un breve corso introduttivo a Vim).
Viene utilizzata una copia del file di lavoro, che può così essere modificato
a piacere senza alterare il file usato come modello.
.PP
Il comando
.B Vimtutor
è utile a chi voglia imparare i primi comandi
è utile a chi voglia imparare i primi comandi di
.B Vim
.
.PP
L'argomento opzionale \-g inizia vimtutor usando gvim invece che vim, se la
versione GUI di vim è disponibile. oppure utilizza vim, se gvim non è
disponibile.
versione GUI di vim è disponibile; altrimenti viene utilizzato Vim.
.PP
L'arogmento opzionale [lingua] è l'abbreviazione di due lettere del nome
L'argomento opzionale [lingua] è l'abbreviazione di due lettere del nome
di una lingua, per esempio "it" oppure "es".
se L'argomento [lingua] non viene specificato, si utilizza la lingua "locale"
Se l'argomento [lingua] non viene specificato, si utilizza la lingua "locale"
del computer.
Se la versione in quella lingua del "tutor" è disponibile, sarà usata.
Altrimenti sarà usata la versione inglese.
Se la versione in tale lingua del "tutor" non è disponibile,
verrà usata la versione inglese.
.PP
.B Vim
è sempre iniziato in Modo compatibile con vi.
è sempre iniziato in Modo compatibile con Vi.
.SH FILE
.TP 15
/usr/local/lib/vim/tutor/tutor[.language]
Il/I file di testo per
I file di testo per
.B Vimtutor
.
.TP 15
/usr/local/lib/vim/tutor/tutor.vim
Lo script di Vim usato per copiare il file di testo
.B Vimtutor
.
.SH AUTORE
The
Il corso introduttivo
.B Vimtutor
è stato scritto in origine per Vi da Michael C. Pierce e Robert K. Ware,
Colorado School of Mines, usando idee fornite da Charles Smith,
Colorado State University.
E\-mail: bware@mines.colorado.edu.
E-mail: bware@mines.colorado.edu (non più valido).
.br
È stato modificato per
.B Vim
da Bram Moolenaar.
Per i nomi dei traduttori, vedere i file usati nelle rispettive lingue.
Per i nomi dei traduttori, vedere i file nelle rispettive lingue.
.SH VEDERE ANCHE
vim(1)
+16 -17
View File
@@ -1,6 +1,6 @@
.TH VIMTUTOR 1 "2 aprile 2001"
.SH NOME
vimtutor \- Un breve corso per imparare Vim
vimtutor \- Un breve corso introduttivo a Vim
.SH SINTASSI
.br
.B vimtutor [\-g] [lingua]
@@ -8,51 +8,50 @@ vimtutor \- Un breve corso per imparare Vim
.B Vimtutor
inizia il
.B Vim
tutor (una breve corso per imparare Vim).
Per prima cosa viene creata una copia del file di lavoro, che può così essere
modificato senza alterare il file usato come modello.
tutor (un breve corso introduttivo a Vim).
Viene utilizzata una copia del file di lavoro, che può così essere modificato
a piacere senza alterare il file usato come modello.
.PP
Il comando
.B Vimtutor
è utile a chi voglia imparare i primi comandi
è utile a chi voglia imparare i primi comandi di
.B Vim
.
.PP
L'argomento opzionale \-g inizia vimtutor usando gvim invece che vim, se la
versione GUI di vim è disponibile. oppure utilizza vim, se gvim non è
disponibile.
versione GUI di vim è disponibile; altrimenti viene utilizzato Vim.
.PP
L'arogmento opzionale [lingua] è l'abbreviazione di due lettere del nome
L'argomento opzionale [lingua] è l'abbreviazione di due lettere del nome
di una lingua, per esempio "it" oppure "es".
se L'argomento [lingua] non viene specificato, si utilizza la lingua "locale"
Se l'argomento [lingua] non viene specificato, si utilizza la lingua "locale"
del computer.
Se la versione in quella lingua del "tutor" è disponibile, sarà usata.
Altrimenti sarà usata la versione inglese.
Se la versione in tale lingua del "tutor" non è disponibile,
verrà usata la versione inglese.
.PP
.B Vim
è sempre iniziato in Modo compatibile con vi.
è sempre iniziato in Modo compatibile con Vi.
.SH FILE
.TP 15
/usr/local/lib/vim/tutor/tutor[.language]
Il/I file di testo per
I file di testo per
.B Vimtutor
.
.TP 15
/usr/local/lib/vim/tutor/tutor.vim
Lo script di Vim usato per copiare il file di testo
.B Vimtutor
.
.SH AUTORE
The
Il corso introduttivo
.B Vimtutor
è stato scritto in origine per Vi da Michael C. Pierce e Robert K. Ware,
Colorado School of Mines, usando idee fornite da Charles Smith,
Colorado State University.
E\-mail: bware@mines.colorado.edu.
E-mail: bware@mines.colorado.edu (non più valido).
.br
È stato modificato per
.B Vim
da Bram Moolenaar.
Per i nomi dei traduttori, vedere i file usati nelle rispettive lingue.
Per i nomi dei traduttori, vedere i file nelle rispettive lingue.
.SH VEDERE ANCHE
vim(1)
+113 -121
View File
@@ -6,7 +6,7 @@
.\" Modificato da Bram Moolenaar <Bram@vim.org>
.SH NOME
.I xxd
\- Produce esadecimale da un file binario o viceversa.
\- Produce lista esadecimale da un file binario o viceversa.
.SH SINTASSI
.B xxd
\-h[elp]
@@ -18,36 +18,33 @@
\-r[evert] [opzioni] [input_file [output_file]]
.SH DESCRIZIONE
.I xxd
crea un'immagine esadecimale di un dato file o dello "standard input".
Può anche ottenere da un'immagine esadecimale il file binario originale.
crea un'immagine esadecimale di un dato file o dello `standard input'.
Può anche ricostruire da un'immagine esadecimale il file binario originale.
Come
.BR uuencode (1)
e
.BR uudecode (1)
permette di trasmettere dati binari in una rappresentazione ASCII "a prova
di email", ma ha anche il vantaggio di poter decodificare sullo "standard
output". Inoltre, può essere usato per effettuare delle modifiche (patch)
a file binari.
permette di trasmettere dati binari in una rappresentazione ASCII `a prova
di email', ma ha anche il vantaggio di poter decodificare sullo `standard output'.
Inoltre, può essere usato per effettuare delle modifiche (patch) a file binari.
.SH OPZIONI
Se non si specifica un
.I input_file
il programma legge dallo "standard input".
il programma legge dallo `standard input'.
Se
.I input_file
è specificato come il carattere
.RB \` \- '
, l'input è letto dallo "standard input".
, l'input è letto dallo `standard input'.
Se non si specifica un
.I output_file
(o si mette al suo posto il carattere
.RB \` \- '
), i risultati sono inviati allo "standard output".
), i risultati sono inviati allo `standard output'.
.PP
Si noti che la scansione dei caratteri è "pigra", e non controlla oltre
la prima lettera dell'opzione, a meno che l'opzione sia seguita da un
parametro.
Gli spazi fra una singola lettera di opzione e il corrispondente parametro
dopo di essa sono facoltativi.
Si noti che la scansione dei caratteri è "pigra", e non controlla oltre la prima
lettera di un'opzione, a meno che l'opzione sia seguita da un parametro.
Gli spazi fra una singola lettera di opzione e il relativo parametro sono facoltativi.
I parametri delle opzioni possono essere specificati usando la notazione
decimale, esadecimale oppure ottale.
Pertanto
@@ -60,118 +57,123 @@ sono notazioni equivalenti fra loro.
.PP
.TP
.IR \-a " | " \-autoskip
Richiesta di autoskip: Un singolo '*' rimpiazza linee di zeri binari.
Valore di default: off.
Richiesta di omissione: Un singolo '*' rimpiazza righe a zeri binari. Default: off.
.TP
.IR \-b " | " \-bits
Richiesta di una immagine binaria (cifre binarie), invece che esadecimale.
Questa opzione scrive un byte come otto cifre "1" e "0" invece di usare i
numeri esadecimali. Ogni linea è preceduta da un indirizzo in esadecimale e
seguita da una decodifica ascii (o ebcdic). Le opzioni specificabili dalla
linea comando \-r, \-p, \-i non funzionano in questo modo.
Quest'opzione scrive un byte come otto cifre "1" e "0" invece di usare i
numeri esadecimali. Ogni riga è preceduta da un indirizzo in esadecimale e
seguita da una decodifica ASCII (o EBCDIC). Le opzioni specificabili dalla
riga comando \-r, \-p, \-i non funzionano in questo modo.
.TP
.IR "\-c colonne " | " \-cols colonne"
.IR "\-c colonne " | " \-cols colonne"
In ogni linea sono formattate
In ogni riga sono formattate
.RI < colonne >
colonne. Valore di default 16 (\-i: 12, \-ps: 30, \-b: 6).
Valore massimo 256.
Non c'è un valore massimo per \-ps; se si specifica 0 viene scritta un'unica lunga riga di output.
.TP
.IR \-C " | " \-capitalize
Mette in maiuscolo i nomi di variabili nello stile delle `include' C, se si usa \-i.
.TP
.IR \-E " | " \-EBCDIC
Cambia la codifica della colonna di destra da ASCII a EBCDIC.
Questo non modifica la rappresentazione esadecimale. Non ha senso
specificare questa opzione in combinazione con \-r, \-p o \-i.
specificare quest'opzione in combinazione con \-r, \-p o \-i.
.TP
.IR "\-g numero_byte " | " \-groupsize numero_byte"
Inserisci ogni
.RI < numero_byte >
byte di output (di due caratteri esadecimali o otto numeri binari ognuno)
uno spazio bianco.
.IR \-e
Considera la lista esadecimale come avente codifica `little-endian'.
Quest'opzione tratta i gruppi di byte come parole in codifica `little-endian'.
Il raggruppamento di default dei byte a 4 a 4 può essere cambiato usando
.RI "" \-g .
Quest'opzione si applica solo alla lista esadecimale, Lasciando inalterata
la rappresentazione ASCII (or EBCDIC).
Le opzioni della riga di comando
\-r, \-p, \-i non funzionano in questa modalità.
.TP
.IR "\-g numero " | " \-groupsize numero"
Separa ogni gruppo di
.RI < numero >
byte in output (di due caratteri esadecimali o otto caratteri binari ognuno) con uno spazio bianco.
Specificando
.I \-g 0
i byte di output non sono separati da alcuno spazio.
.RI < numero_byte > ha come valore di default " 2
in modalità normale [esadecimale] e \fI1\fP in modalità binaria.
Il raggruppamento non si applica agli stili "PostScript" e "include".
.RI < Numero "> ha come valore di default " 2
in modalità normale [esadecimale], \fI4\fP in modalità `little-endian' e \fI1\fP in modalità binaria.
Il raggruppamento non si applica agli stili `PostScript' e `include'.
.TP
.IR \-h " | " \-help
stampa un sommario dei comandi disponibili ed esce. Non viene fatto
null'altro.
Stampa un sommario dei comandi disponibili ed esce. Non viene fatto null'altro.
.TP
.IR \-i " | " \-include
L'output è nello stile dei file "include" in C. Viene preparata la
definizione completa di un "array" [vettore], dandogli il nome del
file di input), tranne che nel caso in cui xxd legga dallo "standard input".
L'output è un file `include' in C. Viene preparata la definizione completa del
vettore (col nome del file di input), tranne quando xxd legga dallo `standard input'.
.TP
.IR "\-l numero " | " \-len numero"
Il programma esce dopo aver scritto
.RI < numero >
byte.
.TP
.I "\-n nome " | " \-name nome"
Specifica il nome del vettore in output quando si usa \-i. Il vettore viene chiamato
\fInome\fP e la sua lunghezza viene chiamata \fInome\fP_len.
.TP
.I \-o incremento
Aggiunge
.RI < incremento >
alla posizione visualizzata dei byte del file.
.TP
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
L'output è nello stile di un dump continuo sotto postscript.
Noto anche come stile esadecimale semplice [plain].
L'output è nello stile di un dump esadecimale continuo sotto postscript. Noto anche come stile esadecimale semplice.
.TP
.IR \-r " | " \-revert
ricostruzione: converte (o mette una patch) a partire dall'immagine
esadecimale, creando [o modificando] il file binario.
Se non diretto allo "standard output", xxd scrive nel suo file di output
in maniera continua, senza interruzioni. Usare la combinazione
Ricostruisce: converte (o mette una patch) da immagine esadecimale, a file binario.
Se non scrive sullo `standard output', xxd scrive nel file di output in maniera
continua, senza interruzioni. Usare la combinazione
.I \-r \-p
per leggere dump in stile esadecimale semplice [plain], senza l'informazione
di numero di linea e senza un particolare tracciato di colonna. Degli spazi
o delle linee vuote possono essere inserite a piacere [e vengono ignorate].
per leggere dump in stile esadecimale semplice, senza l'informazione del numero
di riga e senza un particolare tracciato di colonna. Spazi o righe vuote possono
essere presenti [e vengono ignorati].
.TP
.I \-seek distanza
Usato con l'opzione
.IR \-r :
(ricostruzione),
.RI < distanza >
viene aggiunta alla posizione nel file trovata nella immagine
esadecimale.
viene aggiunta alla posizione nel file trovata nella immagine esadecimale.
.TP
.I \-s [+][\-]seek
Inizia a
.RI < seek >
byte assoluti (o relativi) di distanza all'interno di input_file.
\fI+ \fRindica che il "seek" è relativo alla posizione corrente nel file
"standard input" (non significativa quando non si legge da "standard input").
\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
caratteri dalla fine dell'input (o se in combinazione con
\fI+ \fR: prime della posizione corrente nel file "standard input").
Se non si specifica una opzione \-s, xxd inizia alla posizione
corrente all'interno del file.
\fI+ \fRindica che il `seek' è relativo alla posizione corrente nel file `standard input'
(non significativo quando non si legge da `standard input'). \fI\- \fRindica che il
`seek' dovrebbe posizionarsi al numero specificato di caratteri dalla fine dell'input
(o se in combinazione con \fI+ \fR: prima della posizione corrente nel file `standard input').
Se non si specifica l'opzione \-s, xxd inizia dalla posizione corrente all'interno del file.
.TP
.I \-u
usa lettere esadecimali maiuscole. Il valore di default è di usare
lettere minuscole.
Usa lettere esadecimali maiuscole. Per default si usano lettere minuscole.
.TP
.IR \-v " | " \-version
visualizza la stringa contenente la versione del programma.
Visualizza la stringa contenente la versione del programma.
.SH ATTENZIONE
.PP
.I xxd \-r
è capace di operare "magie" nell'utilizzare l'informazione "numero di linea".
Se sul file di output ci si può posizionare usando la "seek", il numero di
linea all'inizio di ogni riga esadecimale può essere non ordinato, delle
linee possono mancare delle linee, oppure esserci delle sovrapposizioni.
In simili casi xxd userà lseek(2) per raggiungere la posizione d'inizio.
Se il file di output non consente di usare "seek", sono permessi solo dei
"buchi", che saranno riempiti con zeri binari.
è capace di operare "magie" nell'utilizzare l'informazione "numero di riga".
Se è possibili posizionarsi tramite `seek' sul file di output, il numero di riga
di ogni riga esadecimale può essere non ordinato, delle righe possono mancare, o
sovrapporsi. In tal caso xxd userà lseek(2) per posizionarsi all'interno del file.
Se per il file di output non si può usare `seek', sono permessi solo dei "buchi", che saranno riempiti con zeri binari.
.PP
.I xxd \-r
non genera mai errori di specifica parametri. I parametri non riconosciuti
sono silenziosamente ignorati.
non genera mai errori per parametri errati. I parametri extra sono silenziosamente ignorati.
.PP
Nel modificare immagini esadecimali, tenete conto che
Nel modificare immagini esadecimali, si tenga conto che
.I xxd \-r
salta il resto della linea, dopo aver letto abbastanza caratteri contenenti
dati esadecimali (vedere opzione \-c). Ciò implica pure che le modifiche alle
colonne di caratteri stampabili ascii (o ebcdic) sono sempre ignorate.
La ricostruzione da un file immagine esadecimale in stile semplice
(postscript) con xxd \-r \-p non dipende dal numero corretto di colonne.
IN questo caso, qualsiasi cosa assomigli a una coppia di cifre esadecimali
è interpretata [e utilizzata].
salta il resto della riga, dopo aver letto i caratteri contenenti dati esadecimali
(vedere opzione \-c). Ciò implica pure che le modifiche alle colonne di caratteri
stampabili ASCII (o EBCDIC) sono sempre ignorate. La ricostruzione da un file immagine
esadecimale in stile semplice (postscript) con xxd \-r \-p non dipende dal numero corretto di colonne. In questo caso, qualsiasi cosa assomigli a una coppia di cifre esadecimali è interpretata [e utilizzata].
.PP
Notare la differenza fra
.br
@@ -183,53 +185,48 @@ e
.PP
.I xxd \-s \+seek
può comportarsi in modo diverso da
.IR "xxd \-s seek"
, perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
fa differenza se il file di input è lo "standard input", e se la posizione nel
file di "standard input" non è all'inizio del file quando xxd è eseguito,
con questo input.
I seguenti esempi possono contribuire a chiarire il concetto
(o ad oscurarlo!)...
.IR "xxd \-s seek" ,
perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
fa differenza se il file di input è lo `standard input', e se la posizione nel
file di `standard input' non è all'inizio del file quando xxd è eseguito, e riceve input.
I seguenti esempi possono contribuire a chiarire il concetto (o ad oscurarlo!)...
.PP
Riavvolge lo "standard input" prima di leggere; necessario perché `cat'
ha già letto lo stesso file ["file"] fino alla fine dello "standard input".
Riavvolge lo `standard input' prima di leggere; necessario perché `cat'
ha già letto lo stesso file fino alla fine dello `standard input'.
.br
\fI% sh \-c 'cat > copia_normale; xxd \-s 0 > copia_esadecimale' < file
\fI% sh \-c "cat > copia_normale; xxd \-s 0 > copia_esadecimale" < file\fR
.PP
Stampa immagine esadecimale dalla posizione file 0x480 (=1024+128) in poi.
Il segno `+' vuol dire "rispetto alla posizione corrente", quindi il `128'
si aggiunge a 1k (1024) dove `dd' si era fermato.
.br
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
\fI% sh \-c "dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale" < file\fR
.PP
Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti.
Immagine esadecimale dalla posizione 0x100 (=1024\-768 ) del file in avanti.
.br
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +\-768 > esadecimale' < file
\fI% sh \-c "dd of=normale bs=1k count=1; xxd \-s +\-768 > esadecimale" < file
.PP
Comunque, questo capita raramente, e l'uso del `+' non serve quasi mai.
L'autore preferisce monitorare il comportamento di xxd con strace(1) o
truss(1), quando si usa l'opzione \-s.
L'autore preferisce monitorare il comportamento di xxd con strace(1) o truss(1), quando si usa l'opzione \-s.
.SH ESEMPI
.PP
.br
Stampa tutto tranne le prime tre linee (0x30 byte esadecimali) di
.B file
Stampa tutto tranne le prime tre righe (0x30 byte in esadecimale) di
.BR file
\.
.br
\fI% xxd \-s 0x30 file
\fI% xxd \-s 0x30 file\fR
.PP
.br
Stampa 3 linee (0x30 byte esadecimali) alla fine di
.B file
\.
Stampa 3 righe (0x30 byte in esadecimale) alla fine di
.BR file .
.br
\fI% xxd \-s \-0x30 file
.PP
.br
Stampa 120 byte come immagine esadecimale continua con 20 byte per linea.
Stampa 120 byte come immagine esadecimale continua con 20 byte per riga.
.br
\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
.br
2e54482058584420312022417567757374203139
.br
@@ -245,11 +242,9 @@ Stampa 120 byte come immagine esadecimale continua con 20 byte per linea.
.br
.br
Stampa i primi 120 byte della pagina di manuale vim.1 a 12 byte per linea.
Stampa i primi 120 byte della pagina di manuale xxd.1 a 12 byte per riga.
.br
\fI% xxd \-l 120 \-c 12 xxd.1\fR
.br
0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A
.br
@@ -285,13 +280,13 @@ su
.B output_file
premettendogli 100 byte a 0x00.
.br
\fI% xxd input_file | xxd \-r \-s 100 \> output_file\fR
\fI% xxd input_file | xxd \-r \-s 100 > output_file\fR
.br
.br
Modificare (patch) la data nel file xxd.1
.br
\fI% echo '0000037: 3574 68' | xxd \-r \- xxd.1\fR
\fI% echo "0000037: 3574 68" | xxd \-r \- xxd.1\fR
.br
\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
.br
@@ -299,9 +294,9 @@ Modificare (patch) la data nel file xxd.1
.PP
.br
Creare un file di 65537 byte tutto a 0x00,
tranne che l'ultimo carattere che è una 'A' (esadecimale 0x41).
tranne l'ultimo carattere che è una 'A' (esadecimale 0x41).
.br
\fI% echo '010000: 41' | xxd \-r \> file\fR
\fI% echo "010000: 41" | xxd \-r > file\fR
.PP
.br
Stampa una immagine esadecimale del file di cui sopra con opzione autoskip.
@@ -314,34 +309,31 @@ Stampa una immagine esadecimale del file di cui sopra con opzione autoskip.
.br
000fffc: 0000 0000 40 ....A
.PP
Crea un file di 1 byte che contiene il solo carattere 'A'.
Creare un file di 1 byte che contiene il solo carattere 'A'.
Il numero dopo '\-r \-s' viene aggiunto a quello trovato nel file;
in pratica, i byte precedenti non sono stampati.
.br
\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
\fI% echo "010000: 41" | xxd \-r \-s \-0x10000 > file\fR
.PP
Usa xxd come filtro all'interno di un editor come
Usare xxd come filtro all'interno di un editor come
.B vim(1)
per ottenere una immagine esadecimale di una parte di file
delimitata dai marcatori `a' e `z'.
per ottenere l'immagine esadecimale della parte di file fra i marcatori `a' e `z'.
.br
\fI:'a,'z!xxd\fR
.PP
Usare xxd come filtro all'interno di un editor come
.B vim(1)
per ricostruire un pezzo di file binario da una immagine esadecimale
delimitata dai marcatori `a' e `z'.
per ricostruire un pezzo di file binario da un'immagine esadecimale fra i marcatori `a' e `z'.
.br
\fI:'a,'z!xxd \-r\fR
.PP
Usare xxd come filtro all'interno di un editor come
.B vim(1)
per ricostruire una sola linea di file binario da una immagine esadecimale,
Portare il cursore sopra la linea e battere:
per ricostruire una sola riga di file binario da un'immagine esadecimale. Portare il cursore sopra la riga e battere:
.br
\fI!!xxd \-r\fR
.PP
Per leggere singoli caratteri da una linea seriale
Leggere singoli caratteri da una linea seriale
.br
\fI% xxd \-c1 < /dev/term/b &\fR
.br
@@ -356,7 +348,8 @@ Il programma pu
nessun errore rilevato.
.TP
\-1
operazione non supportata (
operazione non supportata
\%(\c
.I xxd \-r \-i
non ancora possible).
.TP
@@ -370,14 +363,13 @@ problemi con il file di input.
problemi con il file di output.
.TP
4,5
posizione "seek" specificata non raggiungibile all'interno del file.
posizione `seek' specificata non raggiungibile all'interno del file.
.SH VEDERE ANCHE
uuencode(1), uudecode(1), patch(1)
.br
.SH AVVERTIMENTI
La stranezza dello strumento rispecchia la mente del suo creatore.
Usate a vostro rischio e pericolo. Copiate i file. Tracciate l'esecuzione.
Diventate un mago.
Usate a vostro rischio e pericolo. Copiate i file. Tracciate l'esecuzione. Diventate un mago.
.br
.SH VERSIONE
Questa pagina di manuale documenta la versione 1.7 di xxd.
@@ -393,7 +385,7 @@ fate soldi e condivideteli con me
.br
perdete soldi e non venite a chiederli a me.
.PP
Pagina di manuale messa in piedi da Tony Nugent
Pagina di manuale iniziata da Tony Nugent
.br
<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
.br
+113 -121
View File
@@ -6,7 +6,7 @@
.\" Modificato da Bram Moolenaar <Bram@vim.org>
.SH NOME
.I xxd
\- Produce esadecimale da un file binario o viceversa.
\- Produce lista esadecimale da un file binario o viceversa.
.SH SINTASSI
.B xxd
\-h[elp]
@@ -18,36 +18,33 @@
\-r[evert] [opzioni] [input_file [output_file]]
.SH DESCRIZIONE
.I xxd
crea un'immagine esadecimale di un dato file o dello "standard input".
Può anche ottenere da un'immagine esadecimale il file binario originale.
crea un'immagine esadecimale di un dato file o dello `standard input'.
Può anche ricostruire da un'immagine esadecimale il file binario originale.
Come
.BR uuencode (1)
e
.BR uudecode (1)
permette di trasmettere dati binari in una rappresentazione ASCII "a prova
di email", ma ha anche il vantaggio di poter decodificare sullo "standard
output". Inoltre, può essere usato per effettuare delle modifiche (patch)
a file binari.
permette di trasmettere dati binari in una rappresentazione ASCII `a prova
di email', ma ha anche il vantaggio di poter decodificare sullo `standard output'.
Inoltre, può essere usato per effettuare delle modifiche (patch) a file binari.
.SH OPZIONI
Se non si specifica un
.I input_file
il programma legge dallo "standard input".
il programma legge dallo `standard input'.
Se
.I input_file
è specificato come il carattere
.RB \` \- '
, l'input è letto dallo "standard input".
, l'input è letto dallo `standard input'.
Se non si specifica un
.I output_file
(o si mette al suo posto il carattere
.RB \` \- '
), i risultati sono inviati allo "standard output".
), i risultati sono inviati allo `standard output'.
.PP
Si noti che la scansione dei caratteri è "pigra", e non controlla oltre
la prima lettera dell'opzione, a meno che l'opzione sia seguita da un
parametro.
Gli spazi fra una singola lettera di opzione e il corrispondente parametro
dopo di essa sono facoltativi.
Si noti che la scansione dei caratteri è "pigra", e non controlla oltre la prima
lettera di un'opzione, a meno che l'opzione sia seguita da un parametro.
Gli spazi fra una singola lettera di opzione e il relativo parametro sono facoltativi.
I parametri delle opzioni possono essere specificati usando la notazione
decimale, esadecimale oppure ottale.
Pertanto
@@ -60,118 +57,123 @@ sono notazioni equivalenti fra loro.
.PP
.TP
.IR \-a " | " \-autoskip
Richiesta di autoskip: Un singolo '*' rimpiazza linee di zeri binari.
Valore di default: off.
Richiesta di omissione: Un singolo '*' rimpiazza righe a zeri binari. Default: off.
.TP
.IR \-b " | " \-bits
Richiesta di una immagine binaria (cifre binarie), invece che esadecimale.
Questa opzione scrive un byte come otto cifre "1" e "0" invece di usare i
numeri esadecimali. Ogni linea è preceduta da un indirizzo in esadecimale e
seguita da una decodifica ascii (o ebcdic). Le opzioni specificabili dalla
linea comando \-r, \-p, \-i non funzionano in questo modo.
Quest'opzione scrive un byte come otto cifre "1" e "0" invece di usare i
numeri esadecimali. Ogni riga è preceduta da un indirizzo in esadecimale e
seguita da una decodifica ASCII (o EBCDIC). Le opzioni specificabili dalla
riga comando \-r, \-p, \-i non funzionano in questo modo.
.TP
.IR "\-c colonne " | " \-cols colonne"
.IR "\-c colonne " | " \-cols colonne"
In ogni linea sono formattate
In ogni riga sono formattate
.RI < colonne >
colonne. Valore di default 16 (\-i: 12, \-ps: 30, \-b: 6).
Valore massimo 256.
Non c'è un valore massimo per \-ps; se si specifica 0 viene scritta un'unica lunga riga di output.
.TP
.IR \-C " | " \-capitalize
Mette in maiuscolo i nomi di variabili nello stile delle `include' C, se si usa \-i.
.TP
.IR \-E " | " \-EBCDIC
Cambia la codifica della colonna di destra da ASCII a EBCDIC.
Questo non modifica la rappresentazione esadecimale. Non ha senso
specificare questa opzione in combinazione con \-r, \-p o \-i.
specificare quest'opzione in combinazione con \-r, \-p o \-i.
.TP
.IR "\-g numero_byte " | " \-groupsize numero_byte"
Inserisci ogni
.RI < numero_byte >
byte di output (di due caratteri esadecimali o otto numeri binari ognuno)
uno spazio bianco.
.IR \-e
Considera la lista esadecimale come avente codifica `little-endian'.
Quest'opzione tratta i gruppi di byte come parole in codifica `little-endian'.
Il raggruppamento di default dei byte a 4 a 4 può essere cambiato usando
.RI "" \-g .
Quest'opzione si applica solo alla lista esadecimale, Lasciando inalterata
la rappresentazione ASCII (or EBCDIC).
Le opzioni della riga di comando
\-r, \-p, \-i non funzionano in questa modalità.
.TP
.IR "\-g numero " | " \-groupsize numero"
Separa ogni gruppo di
.RI < numero >
byte in output (di due caratteri esadecimali o otto caratteri binari ognuno) con uno spazio bianco.
Specificando
.I \-g 0
i byte di output non sono separati da alcuno spazio.
.RI < numero_byte > ha come valore di default " 2
in modalità normale [esadecimale] e \fI1\fP in modalità binaria.
Il raggruppamento non si applica agli stili "PostScript" e "include".
.RI < Numero "> ha come valore di default " 2
in modalità normale [esadecimale], \fI4\fP in modalità `little-endian' e \fI1\fP in modalità binaria.
Il raggruppamento non si applica agli stili `PostScript' e `include'.
.TP
.IR \-h " | " \-help
stampa un sommario dei comandi disponibili ed esce. Non viene fatto
null'altro.
Stampa un sommario dei comandi disponibili ed esce. Non viene fatto null'altro.
.TP
.IR \-i " | " \-include
L'output è nello stile dei file "include" in C. Viene preparata la
definizione completa di un "array" [vettore], dandogli il nome del
file di input), tranne che nel caso in cui xxd legga dallo "standard input".
L'output è un file `include' in C. Viene preparata la definizione completa del
vettore (col nome del file di input), tranne quando xxd legga dallo `standard input'.
.TP
.IR "\-l numero " | " \-len numero"
Il programma esce dopo aver scritto
.RI < numero >
byte.
.TP
.I "\-n nome " | " \-name nome"
Specifica il nome del vettore in output quando si usa \-i. Il vettore viene chiamato
\fInome\fP e la sua lunghezza viene chiamata \fInome\fP_len.
.TP
.I \-o incremento
Aggiunge
.RI < incremento >
alla posizione visualizzata dei byte del file.
.TP
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
L'output è nello stile di un dump continuo sotto postscript.
Noto anche come stile esadecimale semplice [plain].
L'output è nello stile di un dump esadecimale continuo sotto postscript. Noto anche come stile esadecimale semplice.
.TP
.IR \-r " | " \-revert
ricostruzione: converte (o mette una patch) a partire dall'immagine
esadecimale, creando [o modificando] il file binario.
Se non diretto allo "standard output", xxd scrive nel suo file di output
in maniera continua, senza interruzioni. Usare la combinazione
Ricostruisce: converte (o mette una patch) da immagine esadecimale, a file binario.
Se non scrive sullo `standard output', xxd scrive nel file di output in maniera
continua, senza interruzioni. Usare la combinazione
.I \-r \-p
per leggere dump in stile esadecimale semplice [plain], senza l'informazione
di numero di linea e senza un particolare tracciato di colonna. Degli spazi
o delle linee vuote possono essere inserite a piacere [e vengono ignorate].
per leggere dump in stile esadecimale semplice, senza l'informazione del numero
di riga e senza un particolare tracciato di colonna. Spazi o righe vuote possono
essere presenti [e vengono ignorati].
.TP
.I \-seek distanza
Usato con l'opzione
.IR \-r :
(ricostruzione),
.RI < distanza >
viene aggiunta alla posizione nel file trovata nella immagine
esadecimale.
viene aggiunta alla posizione nel file trovata nella immagine esadecimale.
.TP
.I \-s [+][\-]seek
Inizia a
.RI < seek >
byte assoluti (o relativi) di distanza all'interno di input_file.
\fI+ \fRindica che il "seek" è relativo alla posizione corrente nel file
"standard input" (non significativa quando non si legge da "standard input").
\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
caratteri dalla fine dell'input (o se in combinazione con
\fI+ \fR: prime della posizione corrente nel file "standard input").
Se non si specifica una opzione \-s, xxd inizia alla posizione
corrente all'interno del file.
\fI+ \fRindica che il `seek' è relativo alla posizione corrente nel file `standard input'
(non significativo quando non si legge da `standard input'). \fI\- \fRindica che il
`seek' dovrebbe posizionarsi al numero specificato di caratteri dalla fine dell'input
(o se in combinazione con \fI+ \fR: prima della posizione corrente nel file `standard input').
Se non si specifica l'opzione \-s, xxd inizia dalla posizione corrente all'interno del file.
.TP
.I \-u
usa lettere esadecimali maiuscole. Il valore di default è di usare
lettere minuscole.
Usa lettere esadecimali maiuscole. Per default si usano lettere minuscole.
.TP
.IR \-v " | " \-version
visualizza la stringa contenente la versione del programma.
Visualizza la stringa contenente la versione del programma.
.SH ATTENZIONE
.PP
.I xxd \-r
è capace di operare "magie" nell'utilizzare l'informazione "numero di linea".
Se sul file di output ci si può posizionare usando la "seek", il numero di
linea all'inizio di ogni riga esadecimale può essere non ordinato, delle
linee possono mancare delle linee, oppure esserci delle sovrapposizioni.
In simili casi xxd userà lseek(2) per raggiungere la posizione d'inizio.
Se il file di output non consente di usare "seek", sono permessi solo dei
"buchi", che saranno riempiti con zeri binari.
è capace di operare "magie" nell'utilizzare l'informazione "numero di riga".
Se è possibili posizionarsi tramite `seek' sul file di output, il numero di riga
di ogni riga esadecimale può essere non ordinato, delle righe possono mancare, o
sovrapporsi. In tal caso xxd userà lseek(2) per posizionarsi all'interno del file.
Se per il file di output non si può usare `seek', sono permessi solo dei "buchi", che saranno riempiti con zeri binari.
.PP
.I xxd \-r
non genera mai errori di specifica parametri. I parametri non riconosciuti
sono silenziosamente ignorati.
non genera mai errori per parametri errati. I parametri extra sono silenziosamente ignorati.
.PP
Nel modificare immagini esadecimali, tenete conto che
Nel modificare immagini esadecimali, si tenga conto che
.I xxd \-r
salta il resto della linea, dopo aver letto abbastanza caratteri contenenti
dati esadecimali (vedere opzione \-c). Ciò implica pure che le modifiche alle
colonne di caratteri stampabili ascii (o ebcdic) sono sempre ignorate.
La ricostruzione da un file immagine esadecimale in stile semplice
(postscript) con xxd \-r \-p non dipende dal numero corretto di colonne.
IN questo caso, qualsiasi cosa assomigli a una coppia di cifre esadecimali
è interpretata [e utilizzata].
salta il resto della riga, dopo aver letto i caratteri contenenti dati esadecimali
(vedere opzione \-c). Ciò implica pure che le modifiche alle colonne di caratteri
stampabili ASCII (o EBCDIC) sono sempre ignorate. La ricostruzione da un file immagine
esadecimale in stile semplice (postscript) con xxd \-r \-p non dipende dal numero corretto di colonne. In questo caso, qualsiasi cosa assomigli a una coppia di cifre esadecimali è interpretata [e utilizzata].
.PP
Notare la differenza fra
.br
@@ -183,53 +185,48 @@ e
.PP
.I xxd \-s \+seek
può comportarsi in modo diverso da
.IR "xxd \-s seek"
, perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
fa differenza se il file di input è lo "standard input", e se la posizione nel
file di "standard input" non è all'inizio del file quando xxd è eseguito,
con questo input.
I seguenti esempi possono contribuire a chiarire il concetto
(o ad oscurarlo!)...
.IR "xxd \-s seek" ,
perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
fa differenza se il file di input è lo `standard input', e se la posizione nel
file di `standard input' non è all'inizio del file quando xxd è eseguito, e riceve input.
I seguenti esempi possono contribuire a chiarire il concetto (o ad oscurarlo!)...
.PP
Riavvolge lo "standard input" prima di leggere; necessario perché `cat'
ha già letto lo stesso file ["file"] fino alla fine dello "standard input".
Riavvolge lo `standard input' prima di leggere; necessario perché `cat'
ha già letto lo stesso file fino alla fine dello `standard input'.
.br
\fI% sh \-c 'cat > copia_normale; xxd \-s 0 > copia_esadecimale' < file
\fI% sh \-c "cat > copia_normale; xxd \-s 0 > copia_esadecimale" < file\fR
.PP
Stampa immagine esadecimale dalla posizione file 0x480 (=1024+128) in poi.
Il segno `+' vuol dire "rispetto alla posizione corrente", quindi il `128'
si aggiunge a 1k (1024) dove `dd' si era fermato.
.br
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
\fI% sh \-c "dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale" < file\fR
.PP
Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti.
Immagine esadecimale dalla posizione 0x100 (=1024\-768 ) del file in avanti.
.br
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +\-768 > esadecimale' < file
\fI% sh \-c "dd of=normale bs=1k count=1; xxd \-s +\-768 > esadecimale" < file
.PP
Comunque, questo capita raramente, e l'uso del `+' non serve quasi mai.
L'autore preferisce monitorare il comportamento di xxd con strace(1) o
truss(1), quando si usa l'opzione \-s.
L'autore preferisce monitorare il comportamento di xxd con strace(1) o truss(1), quando si usa l'opzione \-s.
.SH ESEMPI
.PP
.br
Stampa tutto tranne le prime tre linee (0x30 byte esadecimali) di
.B file
Stampa tutto tranne le prime tre righe (0x30 byte in esadecimale) di
.BR file
\.
.br
\fI% xxd \-s 0x30 file
\fI% xxd \-s 0x30 file\fR
.PP
.br
Stampa 3 linee (0x30 byte esadecimali) alla fine di
.B file
\.
Stampa 3 righe (0x30 byte in esadecimale) alla fine di
.BR file .
.br
\fI% xxd \-s \-0x30 file
.PP
.br
Stampa 120 byte come immagine esadecimale continua con 20 byte per linea.
Stampa 120 byte come immagine esadecimale continua con 20 byte per riga.
.br
\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
.br
2e54482058584420312022417567757374203139
.br
@@ -245,11 +242,9 @@ Stampa 120 byte come immagine esadecimale continua con 20 byte per linea.
.br
.br
Stampa i primi 120 byte della pagina di manuale vim.1 a 12 byte per linea.
Stampa i primi 120 byte della pagina di manuale xxd.1 a 12 byte per riga.
.br
\fI% xxd \-l 120 \-c 12 xxd.1\fR
.br
0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A
.br
@@ -285,13 +280,13 @@ su
.B output_file
premettendogli 100 byte a 0x00.
.br
\fI% xxd input_file | xxd \-r \-s 100 \> output_file\fR
\fI% xxd input_file | xxd \-r \-s 100 > output_file\fR
.br
.br
Modificare (patch) la data nel file xxd.1
.br
\fI% echo '0000037: 3574 68' | xxd \-r \- xxd.1\fR
\fI% echo "0000037: 3574 68" | xxd \-r \- xxd.1\fR
.br
\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
.br
@@ -299,9 +294,9 @@ Modificare (patch) la data nel file xxd.1
.PP
.br
Creare un file di 65537 byte tutto a 0x00,
tranne che l'ultimo carattere che è una 'A' (esadecimale 0x41).
tranne l'ultimo carattere che è una 'A' (esadecimale 0x41).
.br
\fI% echo '010000: 41' | xxd \-r \> file\fR
\fI% echo "010000: 41" | xxd \-r > file\fR
.PP
.br
Stampa una immagine esadecimale del file di cui sopra con opzione autoskip.
@@ -314,34 +309,31 @@ Stampa una immagine esadecimale del file di cui sopra con opzione autoskip.
.br
000fffc: 0000 0000 40 ....A
.PP
Crea un file di 1 byte che contiene il solo carattere 'A'.
Creare un file di 1 byte che contiene il solo carattere 'A'.
Il numero dopo '\-r \-s' viene aggiunto a quello trovato nel file;
in pratica, i byte precedenti non sono stampati.
.br
\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
\fI% echo "010000: 41" | xxd \-r \-s \-0x10000 > file\fR
.PP
Usa xxd come filtro all'interno di un editor come
Usare xxd come filtro all'interno di un editor come
.B vim(1)
per ottenere una immagine esadecimale di una parte di file
delimitata dai marcatori `a' e `z'.
per ottenere l'immagine esadecimale della parte di file fra i marcatori `a' e `z'.
.br
\fI:'a,'z!xxd\fR
.PP
Usare xxd come filtro all'interno di un editor come
.B vim(1)
per ricostruire un pezzo di file binario da una immagine esadecimale
delimitata dai marcatori `a' e `z'.
per ricostruire un pezzo di file binario da un'immagine esadecimale fra i marcatori `a' e `z'.
.br
\fI:'a,'z!xxd \-r\fR
.PP
Usare xxd come filtro all'interno di un editor come
.B vim(1)
per ricostruire una sola linea di file binario da una immagine esadecimale,
Portare il cursore sopra la linea e battere:
per ricostruire una sola riga di file binario da un'immagine esadecimale. Portare il cursore sopra la riga e battere:
.br
\fI!!xxd \-r\fR
.PP
Per leggere singoli caratteri da una linea seriale
Leggere singoli caratteri da una linea seriale
.br
\fI% xxd \-c1 < /dev/term/b &\fR
.br
@@ -356,7 +348,8 @@ Il programma può restituire questi codici di errore:
nessun errore rilevato.
.TP
\-1
operazione non supportata (
operazione non supportata
\%(\c
.I xxd \-r \-i
non ancora possible).
.TP
@@ -370,14 +363,13 @@ problemi con il file di input.
problemi con il file di output.
.TP
4,5
posizione "seek" specificata non raggiungibile all'interno del file.
posizione `seek' specificata non raggiungibile all'interno del file.
.SH VEDERE ANCHE
uuencode(1), uudecode(1), patch(1)
.br
.SH AVVERTIMENTI
La stranezza dello strumento rispecchia la mente del suo creatore.
Usate a vostro rischio e pericolo. Copiate i file. Tracciate l'esecuzione.
Diventate un mago.
Usate a vostro rischio e pericolo. Copiate i file. Tracciate l'esecuzione. Diventate un mago.
.br
.SH VERSIONE
Questa pagina di manuale documenta la versione 1.7 di xxd.
@@ -393,7 +385,7 @@ fate soldi e condivideteli con me
.br
perdete soldi e non venite a chiederli a me.
.PP
Pagina di manuale messa in piedi da Tony Nugent
Pagina di manuale iniziata da Tony Nugent
.br
<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
.br
+6
View File
@@ -135,6 +135,12 @@ to read plain hexadecimal dumps without line number information and without a
particular column layout. Additional whitespace and line breaks are allowed
anywhere.
.TP
.IR \-R " "[WHEN]
In output the hex-value and the value are both colored with the same color depending on the hex-value. Mostly helping to differentiate printable and non-printable characters.
.I WHEN
is
.BR never ", " always ", or " auto .
.TP
.I \-seek offset
When used after
.IR \-r :
+27 -6
View File
@@ -209,9 +209,6 @@ au BufNewFile,BufRead *.bi,*.bm call dist#ft#FTbas()
" Bass
au BufNewFile,BufRead *.bass setf bass
" Visual Basic Script (close to Visual Basic) or Visual Basic .NET
au BufNewFile,BufRead *.vb,*.vbs,*.dsm,*.ctl setf vb
" IBasic file (similar to QBasic)
au BufNewFile,BufRead *.iba,*.ibi setf ibasic
@@ -1410,6 +1407,9 @@ au BufNewFile,BufRead *.ninja setf ninja
" Nix
au BufRead,BufNewFile *.nix setf nix
" Norg
au BufNewFile,BufRead *.norg setf norg
" NPM RC file
au BufNewFile,BufRead npmrc,.npmrc setf dosini
@@ -2376,7 +2376,7 @@ au BufNewFile,BufRead *.tape setf vhs
au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst,*.vho setf vhdl
" Vim script
au BufNewFile,BufRead *.vim,*.vba,.exrc,_exrc setf vim
au BufNewFile,BufRead *.vim,.exrc,_exrc setf vim
" Viminfo file
au BufNewFile,BufRead .viminfo,_viminfo setf viminfo
@@ -2389,10 +2389,31 @@ au BufRead,BufNewFile *.hw,*.module,*.pkg
\ setf virata |
\ endif
" Visual Basic (also uses *.bas) or FORM
" Visual Basic (see also *.bas *.cls)
" Visual Basic or FORM
au BufNewFile,BufRead *.frm call dist#ft#FTfrm()
" SaxBasic is close to Visual Basic
" Visual Basic
" user control, ActiveX document form, active designer, property page
au BufNewFile,BufRead *.ctl,*.dob,*.dsr,*.pag setf vb
" Visual Basic or Vimball Archiver
au BufNewFile,BufRead *.vba call dist#ft#FTvba()
" Visual Basic Project
au BufNewFile,BufRead *.vbp setf dosini
" VBScript (close to Visual Basic)
au BufNewFile,BufRead *.vbs setf vb
" Visual Basic .NET (close to Visual Basic)
au BufNewFile,BufRead *.vb setf vb
" Visual Studio Macro
au BufNewFile,BufRead *.dsm setf vb
" SaxBasic (close to Visual Basic)
au BufNewFile,BufRead *.sba setf vb
" Vgrindefs file
+4
View File
@@ -3,6 +3,7 @@
" Author: Steven Oliver <oliver.steven@gmail.com>
" Copyright: Copyright (c) 2013 Steven Oliver
" License: You may redistribute this under the same terms as Vim itself
" Last Change: 2023 Aug 28 by Vim Project (undo_ftplugin)
" --------------------------------------------------------------------------
" Only do this when not done yet for this buffer
@@ -17,10 +18,13 @@ set cpo&vim
setlocal softtabstop=2 shiftwidth=2
setlocal suffixesadd=.abap
let b:undo_ftplugin = "setl sts< sua< sw<"
" Windows allows you to filter the open file dialog
if has("gui_win32") && !exists("b:browsefilter")
let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" .
\ "All Files (*.*)\t*.*\n"
let b:undo_ftplugin .= " | unlet! b:browsefilter"
endif
let &cpo = s:cpo_save
+3
View File
@@ -3,6 +3,7 @@
" Maintainer: Dorai Sitaram <ds26@gte.com>
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
" Last Change: Apr 2, 2003
" 2023 Aug 28 by Vim Project (undo_ftplugin)
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -13,3 +14,5 @@ run ftplugin/lisp.vim
setl lw-=if
setl lw+=def-art-fun,deffacts,defglobal,defrule,defschema,for,schema,while
let b:undo_ftplugin ..= " | setl lw<"
+4 -2
View File
@@ -1,11 +1,13 @@
" Vim filetype plugin file
" Language: asm
" Maintainer: Colin Caine <cmcaine at the common googlemail domain>
" Last Changed: 23 May 2020
" Last Change: 23 May 2020
" 2023 Aug 28 by Vim Project (undo_ftplugin)
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
setl comments=:;,s1:/*,mb:*,ex:*/,://
setl commentstring=;%s
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl commentstring< comments<"
+2 -2
View File
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: bash
" Maintainer: Bram Moolenaar
" Last Changed: 2019 Jan 12
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Changed: 2023 Aug 13
"
" This is not a real filetype plugin. It allows for someone to set 'filetype'
" to "bash" in the modeline, and gets the effect of filetype "sh" with
+5
View File
@@ -2,6 +2,7 @@
" Language: Bazel (http://bazel.io)
" Maintainer: David Barnett (https://github.com/google/vim-ft-bzl)
" Last Change: 2021 Jan 19
" 2023 Aug 28 by Vim Project (undo_ftplugin)
""
" @section Introduction, intro
@@ -41,6 +42,9 @@ let &l:tabstop = s:save_tabstop
setlocal formatoptions-=t
" Initially defined in the python ftplugin sourced above
let b:undo_ftplugin .= " | setlocal fo<"
" Make gf work with imports in BUILD files.
setlocal includeexpr=substitute(v:fname,'//','','')
@@ -48,6 +52,7 @@ setlocal includeexpr=substitute(v:fname,'//','','')
if get(g:, 'ft_bzl_fold', 0)
setlocal foldmethod=syntax
setlocal foldtext=BzlFoldText()
let b:undo_ftplugin .= " | setlocal fdm< fdt<"
endif
if exists('*BzlFoldText')
+1 -1
View File
@@ -122,7 +122,7 @@ function NewVersion()
normal! 1G0
call search(')')
normal! h
" ':normal' doens't support key annotation (<c-a>) directly.
" ':normal' doesn't support key annotation (<c-a>) directly.
" Vim's manual recommends using ':exe' to use key annotation indirectly (backslash-escaping needed though).
exe "normal! \<c-a>"
call setline(1, substitute(getline(1), '-\$\$', '-', ''))
+5 -2
View File
@@ -3,8 +3,9 @@
" Anton Kochkov <anton.kochkov@gmail.com>
" URL: https://github.com/ocaml/vim-ocaml
" Last Change:
" 2018 Nov 3 - Added commentstring (Markus Mottl)
" 2017 Sep 6 - Initial version (Etienne Millon)
" 2023 Aug 28 - Added undo_ftplugin (Vim Project)
" 2018 Nov 03 - Added commentstring (Markus Mottl)
" 2017 Sep 06 - Initial version (Etienne Millon)
if exists("b:did_ftplugin")
finish
@@ -18,3 +19,5 @@ setl commentstring=;\ %s
setl comments=:;
setl iskeyword+=#,?,.,/
let b:undo_ftplugin = "setl lisp< cms< com< isk<"
+3
View File
@@ -3,6 +3,7 @@
" Maintainer: Nicholas Boyle (github.com/nickeb96)
" Repository: https://github.com/nickeb96/fish.vim
" Last Change: February 1, 2023
" 2023 Aug 28 by Vim Project (undo_ftplugin)
if exists("b:did_ftplugin")
finish
@@ -13,3 +14,5 @@ setlocal iskeyword=@,48-57,_,192-255,-,.
setlocal comments=:#
setlocal commentstring=#%s
setlocal formatoptions+=crjq
let b:undo_ftplugin = "setl cms< com< fo< isk<"
+71
View File
@@ -0,0 +1,71 @@
" Vim filetype plugin
" Language: Forth
" Maintainer: Johan Kotlinski <kotlinski@gmail.com>
" Last Change: 2023 Aug 08
" URL: https://github.com/jkotlinski/forth.vim
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
setlocal commentstring=\\\ %s
setlocal comments=s:(,mb:\ ,e:),b:\\
setlocal iskeyword=33-126,128-255
let s:include_patterns =<< trim EOL
\<\%(INCLUDE\|REQUIRE\)\>\s\+\zs\k\+\ze
\<S"\s\+\zs[^"]*\ze"\s\+\%(INCLUDED\|REQUIRED\)\>
EOL
let &l:include = $'\c{ s:include_patterns[1:]->join('\|') }'
let s:define_patterns =<< trim EOL
:
[2F]\=CONSTANT
[2F]\=VALUE
[2F]\=VARIABLE
BEGIN-STRUCTURE
BUFFER:
CODE
CREATE
MARKER
SYNONYM
EOL
let &l:define = $'\c\<\%({ s:define_patterns->join('\|') }\)'
" assume consistent intra-project file extensions
let &l:suffixesadd = "." .. expand("%:e")
let b:undo_ftplugin = "setl cms< com< def< inc< isk< sua<"
if exists("loaded_matchit") && !exists("b:match_words")
let s:matchit_patterns =<< trim EOL
\<\:\%(NONAME\)\=\>:\<EXIT\>:\<;\>
\<IF\>:\<ELSE\>:\<THEN\>
\<\[IF]\>:\<\[ELSE]\>:\<\[THEN]\>
\<?\=DO\>:\<LEAVE\>:\<+\=LOOP\>
\<CASE\>:\<ENDCASE\>
\<OF\>:\<ENDOF\>
\<BEGIN\>:\<WHILE\>:\<\%(AGAIN\|REPEAT\|UNTIL\)\>
\<CODE\>:\<END-CODE\>
\<BEGIN-STRUCTURE\>:\<END-STRUCTURE\>
EOL
let b:match_ignorecase = 1
let b:match_words = s:matchit_patterns[1:]->join(',')
let b:undo_ftplugin ..= "| unlet! b:match_ignorecase b:match_words"
endif
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "Forth Source Files (*.f *.fs *.ft *.fth *.4th)\t*.f;*.fs;*.ft;*.fth;*.4th\n" ..
\ "All Files (*.*)\t*.*\n"
let b:undo_ftplugin ..= " | unlet! b:browsefilter"
endif
let &cpo = s:cpo_save
unlet s:cpo_save
unlet s:define_patterns s:include_patterns s:matchit_patterns
+17
View File
@@ -15,5 +15,22 @@ let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s+--' . <q-args> . '\b'' --hilite-search" man ' . 'gpg' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe ':term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+--' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'gpg'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+22 -14
View File
@@ -2,26 +2,34 @@
" Language: Hare
" Maintainer: Amelia Clarke <me@rsaihe.dev>
" Previous Maintainer: Drew DeVault <sir@cmpwn.com>
" Last Updated: 2022-09-21
" Last Updated: 2022-09-28
" 2023 Aug 28 by Vim Project (undo_ftplugin)
" Only do this when not done yet for this buffer
if exists('b:did_ftplugin')
finish
endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
setlocal noexpandtab
setlocal tabstop=8
setlocal shiftwidth=0
setlocal softtabstop=0
setlocal textwidth=80
setlocal commentstring=//\ %s
" Formatting settings.
setlocal formatoptions-=t formatoptions+=croql/
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
setlocal fo-=t fo+=croql
" Miscellaneous.
setlocal comments=://
setlocal commentstring=//\ %s
setlocal suffixesadd=.ha
let b:undo_ftplugin = "setl cms< com< fo< sua<"
" Hare recommended style.
if get(g:, "hare_recommended_style", 1)
setlocal noexpandtab
setlocal shiftwidth=8
setlocal softtabstop=0
setlocal tabstop=8
setlocal textwidth=80
let b:undo_ftplugin ..= " | setl et< sts< sw< ts< tw<"
endif
compiler hare
" vim: tabstop=2 shiftwidth=2 expandtab
" vim: et sw=2 sts=2 ts=8
+1 -1
View File
@@ -18,7 +18,7 @@ let b:undo_ftplugin = 'set sw< sts< et< com< cms<'
" HTML: thanks to Johannes Zellner and Benji Fisher.
if exists("loaded_matchit") && !exists("b:match_words")
let b:match_ignorecase = 1
let b:match_words = '<!--:-->,' ..
let b:match_words = '<%\{-}!--:--%\{-}>,' ..
\ '<:>,' ..
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' ..
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' ..
+14 -9
View File
@@ -1,32 +1,37 @@
" Vim filetype plugin file
" Language: InstallShield (ft=ishd)
" Maintainer: Johannes Zellner <johannes@zellner.org>
" Last Change: Sat, 24 May 2003 11:55:36 CEST
" Language: InstallShield (ft=ishd)
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
" Last Change: 2023 Aug 28
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
setlocal foldmethod=syntax
" Using line continuation here.
let s:cpo_save = &cpo
set cpo-=C
setlocal foldmethod=syntax
let b:undo_ftplugin = "setl fdm<"
" matchit support
if exists("loaded_matchit")
let b:match_ignorecase=0
let b:match_words=
let b:match_ignorecase = 0
let b:match_words =
\ '\%(^\s*\)\@<=\<function\>\s\+[^()]\+\s*(:\%(^\s*\)\@<=\<begin\>\s*$:\%(^\s*\)\@<=\<return\>:\%(^\s*\)\@<=\<end\>\s*;\s*$,' .
\ '\%(^\s*\)\@<=\<repeat\>\s*$:\%(^\s*\)\@<=\<until\>\s\+.\{-}\s*;\s*$,' .
\ '\%(^\s*\)\@<=\<switch\>\s*(.\{-}):\%(^\s*\)\@<=\<\%(case\|default\)\>:\%(^\s*\)\@<=\<endswitch\>\s*;\s*$,' .
\ '\%(^\s*\)\@<=\<while\>\s*(.\{-}):\%(^\s*\)\@<=\<endwhile\>\s*;\s*$,' .
\ '\%(^\s*\)\@<=\<for\>.\{-}\<\%(to\|downto\)\>:\%(^\s*\)\@<=\<endfor\>\s*;\s*$,' .
\ '\%(^\s*\)\@<=\<if\>\s*(.\{-})\s*then:\%(^\s*\)\@<=\<else\s*if\>\s*([^)]*)\s*then:\%(^\s*\)\@<=\<else\>:\%(^\s*\)\@<=\<endif\>\s*;\s*$'
let b:undo_ftplugin .= " | unlet! b:match_ignorecase b:match_words"
endif
if has("gui_win32") && !exists("b:browsefilter")
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "InstallShield Files (*.rul)\t*.rul\n" .
\ "All Files (*.*)\t*.*\n"
\ "All Files (*.*)\t*\n"
let b:undo_ftplugin .= " | unlet! b:browsefilter"
endif
let &cpo = s:cpo_save
+10 -2
View File
@@ -2,7 +2,8 @@
" Language: LambdaProlog (Teyjus)
" Maintainer: Markus Mottl <markus.mottl@gmail.com>
" URL: http://www.ocaml.info/vim/ftplugin/lprolog.vim
" Last Change: 2006 Feb 05
" Last Change: 2023 Aug 28 - added undo_ftplugin (Vim Project)
" 2006 Feb 05
" 2001 Sep 16 - fixed 'no_mail_maps'-bug (MM)
" 2001 Sep 02 - initial release (MM)
@@ -15,11 +16,13 @@ endif
let b:did_ftplugin = 1
" Error format
setlocal efm=%+A./%f:%l.%c:\ %m formatprg=fmt\ -w75\ -p\\%
setlocal efm=%+A./%f:%l.%c:\ %m
" Formatting of comments
setlocal formatprg=fmt\ -w75\ -p\\%
let b:undo_ftplugin = "setlocal efm< fp<"
" Add mappings, unless the user didn't want this.
if !exists("no_plugin_maps") && !exists("no_lprolog_maps")
" Uncommenting
@@ -28,6 +31,11 @@ if !exists("no_plugin_maps") && !exists("no_lprolog_maps")
vmap <buffer> <LocalLeader>c <Plug>BUncomOn
nmap <buffer> <LocalLeader>C <Plug>LUncomOff
vmap <buffer> <LocalLeader>C <Plug>BUncomOff
let b:undo_ftplugin ..=
\ " | silent! execute 'nunmap <buffer> <LocalLeader>c'" ..
\ " | silent! execute 'vunmap <buffer> <LocalLeader>c'" ..
\ " | silent! execute 'nunmap <buffer> <LocalLeader>C'" ..
\ " | silent! execute 'vunmap <buffer> <LocalLeader>C'"
endif
nnoremap <buffer> <Plug>LUncomOn mz0i/* <ESC>$A */<ESC>`z
+16
View File
@@ -16,5 +16,21 @@ let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s include=^\\s*include
setlocal formatoptions-=t formatoptions+=croql
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s{,8}' . <q-args> . '\b'' --hilite-search" man ' . 'modprobe.d' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe ':term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s{,8}' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'modprobe.d'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+16
View File
@@ -18,5 +18,21 @@ setlocal formatoptions-=t formatoptions+=croql
let &l:include = '^\s*source\>'
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s+' . <q-args> . '\b'' --hilite-search" man ' . 'muttrc' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe 'term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'muttrc'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+3
View File
@@ -2,5 +2,8 @@
" Language: nginx.conf
" Maintainer: Chris Aumann <me@chr4.org>
" Last Change: Apr 15, 2017
" 2023 Aug 28 by Vim Project (undo_ftplugin)
setlocal commentstring=#\ %s
let b:undo_ftplugin = "setlocal commentstring<"
+2 -6
View File
@@ -2,20 +2,16 @@
" Language: Protobuf Text Format
" Maintainer: Lakshay Garg <lakshayg@outlook.in>
" Last Change: 2020 Nov 17
" 2023 Aug 28 by Vim Project (undo_ftplugin)
" Homepage: https://github.com/lakshayg/vim-pbtxt
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
setlocal commentstring=#\ %s
let &cpo = s:cpo_save
unlet s:cpo_save
let b:undo_ftplugin = "setlocal commentstring<"
" vim: nowrap sw=2 sts=2 ts=8 noet
+2 -1
View File
@@ -54,7 +54,8 @@ endif
" Set this once, globally.
if !exists("perlpath")
if executable("perl")
" safety check: don't execute perl from current directory
if executable("perl") && fnamemodify(exepath("perl"), ":p:h") != getcwd()
try
if &shellxquote != '"'
let perlpath = system('perl -e "print join(q/,/,@INC)"')
+17 -1
View File
@@ -25,11 +25,27 @@ if exists("loaded_matchit") && !exists("b:match_words")
endif
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "Readline Intialization Files (inputrc .inputrc)\tinputrc;*.inputrc\n" ..
let b:browsefilter = "Readline Initialization Files (inputrc .inputrc)\tinputrc;*.inputrc\n" ..
\ "All Files (*.*)\t*.*\n"
let b:undo_ftplugin ..= " | unlet! b:browsefilter"
endif
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s+' . <q-args> . '\b'' --hilite-search" man ' . '3 readline' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe 'term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . '3 readline'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+1 -1
View File
@@ -28,7 +28,7 @@ setlocal formatoptions+=tcroql
" directives (..) and ordered lists (1.), although it can cause problems for
" many other cases.
"
" More sophisticated indentation rules should be revisted in the future.
" More sophisticated indentation rules should be revisited in the future.
if exists("g:rst_style") && g:rst_style != 0
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
+40 -30
View File
@@ -99,41 +99,51 @@ function! s:build_path(path) abort
return path
endfunction
if !exists('b:ruby_version') && !exists('g:ruby_path') && isdirectory(expand('%:p:h'))
let s:version_file = findfile('.ruby-version', '.;')
if !empty(s:version_file) && filereadable(s:version_file)
let b:ruby_version = get(readfile(s:version_file, '', 1), '')
if !has_key(g:ruby_version_paths, b:ruby_version)
let g:ruby_version_paths[b:ruby_version] = s:query_path(fnamemodify(s:version_file, ':p:h'))
endif
endif
let s:execute_ruby = 1
" Security Check, don't execute ruby from the current directory
if fnamemodify(exepath("ruby"), ":p:h") ==# getcwd()
let s:execute_ruby = 0
endif
if exists("g:ruby_path")
let s:ruby_path = type(g:ruby_path) == type([]) ? join(g:ruby_path, ',') : g:ruby_path
elseif has_key(g:ruby_version_paths, get(b:, 'ruby_version', ''))
let s:ruby_paths = g:ruby_version_paths[b:ruby_version]
let s:ruby_path = s:build_path(s:ruby_paths)
else
if !exists('g:ruby_default_path')
if has("ruby") && has("win32")
ruby ::VIM::command( 'let g:ruby_default_path = split("%s",",")' % $:.join(%q{,}) )
elseif executable('ruby') && !empty($HOME)
let g:ruby_default_path = s:query_path($HOME)
else
let g:ruby_default_path = map(split($RUBYLIB,':'), 'v:val ==# "." ? "" : v:val')
function SetRubyPath()
if !exists('b:ruby_version') && !exists('g:ruby_path') && isdirectory(expand('%:p:h'))
let s:version_file = findfile('.ruby-version', '.;')
if !empty(s:version_file) && filereadable(s:version_file) && s:execute_ruby
let b:ruby_version = get(readfile(s:version_file, '', 1), '')
if !has_key(g:ruby_version_paths, b:ruby_version)
let g:ruby_version_paths[b:ruby_version] = s:query_path(fnamemodify(s:version_file, ':p:h'))
endif
endif
endif
let s:ruby_paths = g:ruby_default_path
let s:ruby_path = s:build_path(s:ruby_paths)
endif
if stridx(&l:path, s:ruby_path) == -1
let &l:path = s:ruby_path
endif
if exists('s:ruby_paths') && stridx(&l:tags, join(map(copy(s:ruby_paths),'v:val."/tags"'),',')) == -1
let &l:tags = &tags . ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
endif
if exists("g:ruby_path")
let s:ruby_path = type(g:ruby_path) == type([]) ? join(g:ruby_path, ',') : g:ruby_path
elseif has_key(g:ruby_version_paths, get(b:, 'ruby_version', '')) && s:execute_ruby
let s:ruby_paths = g:ruby_version_paths[b:ruby_version]
let s:ruby_path = s:build_path(s:ruby_paths)
else
if !exists('g:ruby_default_path')
if has("ruby") && has("win32")
ruby ::VIM::command( 'let g:ruby_default_path = split("%s",",")' % $:.join(%q{,}) )
elseif executable('ruby') && !empty($HOME) && s:execute_ruby
let g:ruby_default_path = s:query_path($HOME)
else
let g:ruby_default_path = map(split($RUBYLIB,':'), 'v:val ==# "." ? "" : v:val')
endif
endif
let s:ruby_paths = g:ruby_default_path
let s:ruby_path = s:build_path(s:ruby_paths)
endif
if stridx(&l:path, s:ruby_path) == -1
let &l:path = s:ruby_path
endif
if exists('s:ruby_paths') && stridx(&l:tags, join(map(copy(s:ruby_paths),'v:val."/tags"'),',')) == -1
let &l:tags = &tags . ',' . join(map(copy(s:ruby_paths),'v:val."/tags"'),',')
endif
endfunction
call SetRubyPath()
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "Ruby Source Files (*.rb)\t*.rb\n" .
+3
View File
@@ -4,6 +4,7 @@
" URL: https://github.com/derekwyatt/vim-scala
" License: Same as Vim
" Last Change: 11 August 2021
" 2023 Aug 28 by Vim Project (undo_ftplugin)
" ----------------------------------------------------------------------------
if exists('b:did_ftplugin') || &cp
@@ -32,4 +33,6 @@ setlocal includeexpr=substitute(v:fname,'\\.','/','g')
setlocal path+=src/main/scala,src/test/scala
setlocal suffixesadd=.scala
let b:undo_ftplugin = "setlocal cms< com< et< fo< inc< inex< pa< sts< sua< sw<"
" vim:set sw=2 sts=2 ts=8 et:
+3
View File
@@ -3,6 +3,7 @@
" Maintainer: Markus Mottl <markus.mottl@gmail.com>
" URL: https://github.com/ocaml/vim-ocaml
" Last Change:
" 2023 Aug 28 - Added undo_ftplugin (Vim Project)
" 2017 Apr 12 - First version (MM)
if exists("b:did_ftplugin")
@@ -13,3 +14,5 @@ let b:did_ftplugin=1
" Comment string
setl commentstring=;\ %s
setl comments=:;
let b:undo_ftplugin = "setl cms< com<"
+19 -9
View File
@@ -2,15 +2,14 @@
" Language: sh
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Previous Maintainer: Dan Sharp
" Last Change: 2022 Sep 07
" Contributor: Enno Nagel <ennonagel+vim@gmail.com>
" Last Change: 2023 Aug 29
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
" Make sure the continuation lines below do not cause problems in
" compatibility mode.
let s:save_cpo = &cpo
set cpo-=C
@@ -32,16 +31,27 @@ if exists("loaded_matchit") && !exists("b:match_words")
let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words"
endif
" Change the :browse e filter to primarily show shell-related files.
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "Bourne Shell Scripts (*.sh)\t*.sh\n" ..
\ "Korn Shell Scripts (*.ksh)\t*.ksh\n" ..
\ "Bash Shell Scripts (*.bash)\t*.bash\n" ..
\ "All Files (*.*)\t*.*\n"
let b:browsefilter = "Bourne Shell Scripts (*.sh)\t*.sh\n" ..
\ "Korn Shell Scripts (*.ksh)\t*.ksh\n" ..
\ "Bash Shell Scripts (*.bash)\t*.bash\n" ..
\ "All Files (*.*)\t*.*\n"
let b:undo_ftplugin ..= " | unlet! b:browsefilter"
endif
" Restore the saved compatibility options.
if (exists("b:is_bash") && (b:is_bash == 1)) ||
\ (exists("b:is_sh") && (b:is_sh == 1))
if !has("gui_running") && executable("less")
command! -buffer -nargs=1 Help silent exe '!bash -c "{ help "<args>" 2>/dev/null || man "<args>"; } | LESS= less"' | redraw!
elseif has('terminal')
command! -buffer -nargs=1 Help silent exe ':term bash -c "help "<args>" 2>/dev/null || man "<args>""'
else
command! -buffer -nargs=1 Help echo system('bash -c "help <args>" 2>/dev/null || man "<args>"')
endif
setlocal keywordprg=:Help
let b:undo_ftplugin ..= " | setl kp< | sil! delc -buffer Help"
endif
let &cpo = s:save_cpo
unlet s:save_cpo
+15
View File
@@ -0,0 +1,15 @@
" Vim filetype plugin file
" Language: Solidity
" Maintainer: Cothi (jiungdev@gmail.com)
" Original Author: tomlion (https://github.com/tomlion/vim-solidity)
" Last Change: 2022 Sep 27
" 2023 Aug 22 Vim Project (did_ftplugin, undo_ftplugin)
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
setlocal commentstring=//\ %s
let b:undo_ftplugin = "setlocal commentstring<"
+2 -2
View File
@@ -140,7 +140,7 @@ if !exists("*SQL_SetType")
\ )
" Remove duplicates, since sqlanywhere.vim can exist in the
" sytax, indent and ftplugin directory, yet we only want
" syntax, indent and ftplugin directory, yet we only want
" to display the option once
let index = match(sqls, '.\{-}\ze\n')
while index > -1
@@ -204,7 +204,7 @@ if !exists("*SQL_SetType")
endif
let b:sql_type_override = new_sql_type
" Remove any cached SQL since a new sytax will have different
" Remove any cached SQL since a new syntax will have different
" items and groups
if !exists('g:loaded_sql_completion') || g:loaded_sql_completion >= 100
call sqlcomplete#ResetCacheSyntax()
+20 -5
View File
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: OpenSSH client configuration file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2008-07-09
" Language: OpenSSH client configuration file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2008-07-09
if exists("b:did_ftplugin")
finish
@@ -11,9 +11,24 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let b:undo_ftplugin = 'setlocal com< cms< fo<'
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s+' . <q-args> . '$'' --hilite-search" man ' . 'ssh_config' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe 'term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . <q-args> . '$', '\') . ''' --hilite-search" man ' . 'ssh_config'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+16
View File
@@ -15,5 +15,21 @@ let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''\b' . <q-args> . '\b'' --hilite-search" man ' . 'sudoers' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe ':term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('\b' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'sudoers'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+25 -30
View File
@@ -7,35 +7,30 @@ if !exists('b:did_ftplugin')
runtime! ftplugin/dosini.vim
endif
if !has('unix')
finish
endif
if !has('gui_running')
command! -buffer -nargs=1 Sman silent exe '!' . KeywordLookup_systemd(<q-args>) | redraw!
elseif has('terminal')
command! -buffer -nargs=1 Sman silent exe 'term ' . KeywordLookup_systemd(<q-args>)
else
finish
endif
if !exists('*KeywordLookup_systemd')
function KeywordLookup_systemd(keyword) abort
let matches = matchlist(getline(search('\v^\s*\[\s*.+\s*\]\s*$', 'nbWz')), '\v^\s*\[\s*(\k+).*\]\s*$')
if len(matches) > 1
let section = matches[1]
return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 'systemd.' . section
else
return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 'systemd'
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman silent exe '!' . KeywordLookup_systemd(<q-args>) | redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman silent exe 'term ' . KeywordLookup_systemd(<q-args>)
endif
if exists(':Sman') == 2
if !exists('*KeywordLookup_systemd')
function KeywordLookup_systemd(keyword) abort
let matches = matchlist(getline(search('\v^\s*\[\s*.+\s*\]\s*$', 'nbWz')), '\v^\s*\[\s*(\k+).*\]\s*$')
if len(matches) > 1
let section = matches[1]
return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 'systemd.' . section
else
return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 'systemd'
endif
endfunction
endif
endfunction
endif
setlocal iskeyword+=-
setlocal keywordprg=:Sman
if !exists('b:undo_ftplugin') || empty(b:undo_ftplugin)
let b:undo_ftplugin = 'setlocal keywordprg< iskeyword<'
else
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword<'
setlocal iskeyword+=-
setlocal keywordprg=:Sman
if !exists('b:undo_ftplugin') || empty(b:undo_ftplugin)
let b:undo_ftplugin = 'setlocal keywordprg< iskeyword<'
else
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
endif
+1 -1
View File
@@ -1,5 +1,5 @@
" Vim filetype plugin file
" Language: HMTL Tidy Configuration
" Language: HTML Tidy Configuration
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2020 Sep 4
+16
View File
@@ -15,5 +15,21 @@ let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
if has('unix') && executable('less')
if !has('gui_running')
command -buffer -nargs=1 Sman
\ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s{,8}' . <q-args> . '\b'' --hilite-search" man ' . 'udev' |
\ redraw!
elseif has('terminal')
command -buffer -nargs=1 Sman
\ silent exe ':term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s{,8}' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'udev'
endif
if exists(':Sman') == 2
setlocal iskeyword+=-
setlocal keywordprg=:Sman
let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer Sman'
endif
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+2 -6
View File
@@ -2,17 +2,13 @@
" Language: Pixar Animation's Universal Scene Description format
" Maintainer: Colin Kennedy <colinvfx@gmail.com>
" Last Change: 2023 May 9
" 2023 Aug 28 by Vim Project (undo_ftplugin)
if exists("b:did_ftplugin")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
let b:did_ftplugin = 1
setlocal commentstring=#\ %s
let &cpo = s:cpo_save
unlet s:cpo_save
let b:undo_ftplugin = "setlocal commentstring<"
+48 -28
View File
@@ -3,6 +3,7 @@
" Maintainer: R.Shankar <shankar.pec?gmail.com>
" Modified By: Gerald Lai <laigera+vim?gmail.com>
" Last Change: 2011 Dec 11
" 2023 Aug 28 by Vim Project (undo_ftplugin, commentstring)
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -22,13 +23,20 @@ set cpo&vim
" Set 'comments' to format dashed lists in comments.
"setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
setlocal commentstring=--\ %s
" Format comments to be up to 78 characters long
"setlocal tw=75
" let b:undo_ftplugin = "setl cms< com< fo< tw<"
let b:undo_ftplugin = "setl cms< "
" Win32 can filter files in the browse dialog
"if has("gui_win32") && !exists("b:browsefilter")
" let b:browsefilter = "Verilog Source Files (*.v)\t*.v\n" .
" \ "All Files (*.*)\t*.*\n"
" let b:undo_ftplugin .= " | unlet! b:browsefilter"
"endif
" Let the matchit plugin know what items can be matched.
@@ -52,37 +60,49 @@ if ! exists("b:match_words") && exists("loaded_matchit")
\ s:notend.'\<package\>:\<end\s\+package\>,'.
\ s:notend.'\<procedure\>:\<end\s\+procedure\>,'.
\ s:notend.'\<configuration\>:\<end\s\+configuration\>'
let b:undo_ftplugin .= " | unlet! b:match_ignorecase b:match_words"
endif
" count repeat
function! <SID>CountWrapper(cmd)
let i = v:count1
if a:cmd[0] == ":"
while i > 0
execute a:cmd
let i = i - 1
endwhile
else
execute "normal! gv\<Esc>"
execute "normal ".i.a:cmd
let curcol = col(".")
let curline = line(".")
normal! gv
call cursor(curline, curcol)
endif
endfunction
if !exists("no_plugin_maps") && !exists("no_vhdl_maps")
" count repeat
function! <SID>CountWrapper(cmd)
let i = v:count1
if a:cmd[0] == ":"
while i > 0
execute a:cmd
let i = i - 1
endwhile
else
execute "normal! gv\<Esc>"
execute "normal ".i.a:cmd
let curcol = col(".")
let curline = line(".")
normal! gv
call cursor(curline, curcol)
endif
endfunction
" explore motion
" keywords: "architecture", "block", "configuration", "component", "entity", "function", "package", "procedure", "process", "record", "units"
let b:vhdl_explore = '\%(architecture\|block\|configuration\|component\|entity\|function\|package\|procedure\|process\|record\|units\)'
noremap <buffer><silent>[[ :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\%(\\<end\\s\\+\\)\\@<!\\<".b:vhdl_explore."\\>\\c\\<Bar>\\%^","bW")')<CR>
noremap <buffer><silent>]] :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\%(\\<end\\s\\+\\)\\@<!\\<".b:vhdl_explore."\\>\\c\\<Bar>\\%$","W")')<CR>
noremap <buffer><silent>[] :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\<end\\s\\+".b:vhdl_explore."\\>\\c\\<Bar>\\%^","bW")')<CR>
noremap <buffer><silent>][ :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\<end\\s\\+".b:vhdl_explore."\\>\\c\\<Bar>\\%$","W")')<CR>
vnoremap <buffer><silent>[[ :<C-u>cal <SID>CountWrapper('[[')<CR>
vnoremap <buffer><silent>]] :<C-u>cal <SID>CountWrapper(']]')<CR>
vnoremap <buffer><silent>[] :<C-u>cal <SID>CountWrapper('[]')<CR>
vnoremap <buffer><silent>][ :<C-u>cal <SID>CountWrapper('][')<CR>
" explore motion
" keywords: "architecture", "block", "configuration", "component", "entity", "function", "package", "procedure", "process", "record", "units"
let b:vhdl_explore = '\%(architecture\|block\|configuration\|component\|entity\|function\|package\|procedure\|process\|record\|units\)'
noremap <buffer><silent>[[ :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\%(\\<end\\s\\+\\)\\@<!\\<".b:vhdl_explore."\\>\\c\\<Bar>\\%^","bW")')<CR>
noremap <buffer><silent>]] :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\%(\\<end\\s\\+\\)\\@<!\\<".b:vhdl_explore."\\>\\c\\<Bar>\\%$","W")')<CR>
noremap <buffer><silent>[] :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\<end\\s\\+".b:vhdl_explore."\\>\\c\\<Bar>\\%^","bW")')<CR>
noremap <buffer><silent>][ :<C-u>cal <SID>CountWrapper(':cal search("\\%(--.*\\)\\@<!\\<end\\s\\+".b:vhdl_explore."\\>\\c\\<Bar>\\%$","W")')<CR>
vnoremap <buffer><silent>[[ :<C-u>cal <SID>CountWrapper('[[')<CR>
vnoremap <buffer><silent>]] :<C-u>cal <SID>CountWrapper(']]')<CR>
vnoremap <buffer><silent>[] :<C-u>cal <SID>CountWrapper('[]')<CR>
vnoremap <buffer><silent>][ :<C-u>cal <SID>CountWrapper('][')<CR>
let b:undo_ftplugin .=
\ " | silent! execute 'nunmap <buffer> [['" .
\ " | silent! execute 'nunmap <buffer> ]]'" .
\ " | silent! execute 'nunmap <buffer> []'" .
\ " | silent! execute 'nunmap <buffer> ]['" .
\ " | silent! execute 'vunmap <buffer> [['" .
\ " | silent! execute 'vunmap <buffer> ]]'" .
\ " | silent! execute 'vunmap <buffer> []'" .
\ " | silent! execute 'vunmap <buffer> ]['"
endif
let &cpo = s:cpo_save
unlet s:cpo_save
+4 -2
View File
@@ -17,7 +17,7 @@ compiler zig_build
" Match Zig builtin fns
setlocal iskeyword+=@-@
" Recomended code style, no tabs and 4-space indentation
" Recommended code style, no tabs and 4-space indentation
setlocal expandtab
setlocal tabstop=8
setlocal softtabstop=4
@@ -39,7 +39,9 @@ endif
let &l:define='\v(<fn>|<const>|<var>|^\s*\#\s*define)'
if !exists('g:zig_std_dir') && exists('*json_decode') && executable('zig')
" Safety check: don't execute zip from current directory
if !exists('g:zig_std_dir') && exists('*json_decode') &&
\ executable('zig') && fnamemodify(exepath("zig"), ":p:h") != getcwd()
silent let s:env = system('zig env')
if v:shell_error == 0
let g:zig_std_dir = json_decode(s:env)['std_dir']
+1 -1
View File
@@ -30,7 +30,7 @@ if executable('zsh') && &shell !~# '/\%(nologin\|false\)$'
compiler zsh
endif
setlocal keywordprg=:RunHelp
let b:undo_ftplugin .= 'keywordprg<'
let b:undo_ftplugin .= 'keywordprg< | sil! delc -buffer RunHelp'
endif
let b:match_words = '\<if\>:\<elif\>:\<else\>:\<fi\>'
+2 -2
View File
@@ -1,7 +1,7 @@
" Vim indent file
" Language: bash
" Maintainer: Bram
" Last Change: 2019 Sep 27
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2023 Aug 13
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
+3
View File
@@ -3,6 +3,7 @@
" Maintainer: SoftIntegration, Inc. <info@softintegration.com>
" URL: http://www.softintegration.com/download/vim/indent/ch.vim
" Last change: 2006 Apr 30
" 2023 Aug 28 by Vim Project (undo_indent)
" Created based on cpp.vim
"
" Ch is a C/C++ interpreter with many high level extensions
@@ -16,3 +17,5 @@ let b:did_indent = 1
" Ch indenting is built-in, thus this is very simple
setlocal cindent
let b:undo_indent = "setlocal cindent<"
+3
View File
@@ -3,6 +3,7 @@
" Maintainers: Markus Mottl <markus.mottl@gmail.com>
" URL: https://github.com/ocaml/vim-ocaml
" Last Change: 2021 Jan 01
" 2023 Aug 28 by Vim Project (undo_indent)
if exists("b:did_indent")
finish
@@ -11,3 +12,5 @@ let b:did_indent = 1
" dune format-dune-file uses 1 space to indent
setlocal softtabstop=1 shiftwidth=1 expandtab
let b:undo_indent = "setl et< sts< sw<"
+3
View File
@@ -3,6 +3,7 @@
" Maintainer: Nicholas Boyle (github.com/nickeb96)
" Repository: https://github.com/nickeb96/fish.vim
" Last Change: February 4, 2023
" 2023 Aug 28 by Vim Project (undo_indent)
if exists("b:did_indent")
finish
@@ -12,6 +13,8 @@ let b:did_indent = 1
setlocal indentexpr=GetFishIndent(v:lnum)
setlocal indentkeys+==end,=else,=case
let b:undo_indent = "setlocal indentexpr< indentkeys<"
function s:PrevCmdStart(linenum)
let l:linenum = a:linenum
" look for the first line that isn't a line continuation
+3
View File
@@ -2,6 +2,7 @@
" Language: Go
" Maintainer: David Barnett (https://github.com/google/vim-ft-go)
" Last Change: 2017 Jun 13
" 2023 Aug 28 by Vim Project (undo_indent)
"
" TODO:
" - function invocations split across lines
@@ -19,6 +20,8 @@ setlocal autoindent
setlocal indentexpr=GoIndent(v:lnum)
setlocal indentkeys+=<:>,0=},0=)
let b:undo_indent = "setl ai< inde< indk< lisp<"
if exists('*GoIndent')
finish
endif
+3
View File
@@ -2,6 +2,7 @@
" Language: Hare
" Maintainer: Amelia Clarke <me@rsaihe.dev>
" Last Change: 2022 Sep 22
" 2023 Aug 28 by Vim Project (undo_indent)
if exists("b:did_indent")
finish
@@ -40,6 +41,8 @@ setlocal cinwords=if,else,for,switch,match
setlocal indentexpr=GetHareIndent()
let b:undo_indent = "setl cin< cino< cinw< inde< indk<"
function! FloorCindent(lnum)
return cindent(a:lnum) / shiftwidth() * shiftwidth()
endfunction
+2 -2
View File
@@ -1,7 +1,7 @@
" Vim indent script for HTML
" Maintainer: Bram Moolenaar
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Original Author: Andy Wokula <anwoku@yahoo.de>
" Last Change: 2022 Jan 31
" Last Change: 2023 Aug 13
" Version: 1.0 "{{{
" Description: HTML indent script with cached state for faster indenting on a
" range of lines.
+3
View File
@@ -4,6 +4,7 @@
" Acknowledgement: Based off of vim-json maintained by Eli Parra <eli@elzr.com>
" https://github.com/elzr/vim-json
" Last Change: 2021-07-01
" 2023 Aug 28 by Vim Project (undo_indent)
" 0. Initialization {{{1
" =================
@@ -20,6 +21,8 @@ setlocal nosmartindent
setlocal indentexpr=GetJSONCIndent()
setlocal indentkeys=0{,0},0),0[,0],!^F,o,O,e
let b:undo_indent = "setlocal indentexpr< indentkeys< smartindent<"
" Only define the function once.
if exists("*GetJSONCIndent")
finish
+4 -1
View File
@@ -3,7 +3,8 @@
" Maintainer: Carlo Baldassi <carlobaldassi@gmail.com>
" Homepage: https://github.com/JuliaEditorSupport/julia-vim
" Last Change: 2022 Jun 14
" Notes: originally based on Bram Molenaar's indent file for vim
" 2023 Aug 28 by Vim Project (undo_indent)
" Notes: originally based on Bram Moolenaar's indent file for vim
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -21,6 +22,8 @@ setlocal indentkeys-=0{
setlocal indentkeys-=0}
setlocal nosmartindent
let b:undo_indent = "setl ai< inde< indk< si<"
" Only define the function once.
if exists("*GetJuliaIndent")
finish
+3
View File
@@ -1,5 +1,6 @@
" Maintainer: Paulo Moura <pmoura@logtalk.org>
" Revised on: 2018.08.04
" 2023 Aug 28 by Vim Project (undo_indent)
" Language: Logtalk
" This Logtalk indent file is a modified version of the Prolog
@@ -16,6 +17,8 @@ setlocal indentexpr=GetLogtalkIndent()
setlocal indentkeys-=:,0#
setlocal indentkeys+=0%,-,0;,>,0)
let b:undo_indent = "setlocal indentexpr< indentkeys<"
" Only define the function once.
if exists("*GetLogtalkIndent")
finish
+2 -2
View File
@@ -1,7 +1,7 @@
" Vim indent file
" Language: Mail
" Maintainer: Bram Moolenaar
" Last Change: 2021 Sep 26
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2023 Aug 13
if exists("b:did_indent")
finish
+1 -1
View File
@@ -15,7 +15,7 @@ setlocal nosmartindent
setlocal noautoindent
setlocal indentexpr=GetNsisIndent(v:lnum)
setlocal indentkeys=!^F,o,O
setlocal indentkeys+==~${Else,=~${EndIf,=~${EndUnless,=~${AndIf,=~${AndUnless,=~${OrIf,=~${OrUnless,=~${Case,=~${Default,=~${EndSelect,=~${EndSwith,=~${Loop,=~${Next,=~${MementoSectionEnd,=~FunctionEnd,=~SectionEnd,=~SectionGroupEnd,=~PageExEnd,0=~!macroend,0=~!if,0=~!else,0=~!endif
setlocal indentkeys+==~${Else,=~${EndIf,=~${EndUnless,=~${AndIf,=~${AndUnless,=~${OrIf,=~${OrUnless,=~${Case,=~${Default,=~${EndSelect,=~${EndSwitch,=~${Loop,=~${Next,=~${MementoSectionEnd,=~FunctionEnd,=~SectionEnd,=~SectionGroupEnd,=~PageExEnd,0=~!macroend,0=~!if,0=~!else,0=~!endif
let b:undo_indent = "setl ai< inde< indk< si<"
+4 -1
View File
@@ -4,7 +4,8 @@
" Mike Leary <leary@nwlink.com>
" Markus Mottl <markus.mottl@gmail.com>
" URL: https://github.com/ocaml/vim-ocaml
" Last Change: 2017 Jun 13
" Last Change: 2023 Aug 28 - Add undo_indent (Vim Project)
" 2017 Jun 13
" 2005 Jun 25 - Fixed multiple bugs due to 'else\nreturn ind' working
" 2005 May 09 - Added an option to not indent OCaml-indents specially (MM)
" 2013 June - commented textwidth (Marc Weber)
@@ -24,6 +25,8 @@ setlocal indentkeys+=0=and,0=class,0=constraint,0=done,0=else,0=end,0=exception,
setlocal nolisp
setlocal nosmartindent
let b:undo_indent = "setl et< inde< indk< lisp< si<"
" At least Marc Weber and Markus Mottl do not like this:
" setlocal textwidth=80
+10 -9
View File
@@ -4,6 +4,7 @@
" URL: https://www.2072productions.com/vim/indent/php.vim
" Home: https://github.com/2072/PHP-Indenting-for-VIm
" Last Change: 2020 Mar 05
" 2023 Aug 28 by Vim Project (undo_indent)
" Version: 1.70
"
"
@@ -128,7 +129,7 @@ setlocal nolisp
setlocal indentexpr=GetPhpIndent()
setlocal indentkeys=0{,0},0),0],:,!^F,o,O,e,*<Return>,=?>,=<?,=*/
let b:undo_indent = "setl ai< cin< inde< indk< lisp< si<"
let s:searchpairflags = 'bWr'
@@ -327,13 +328,13 @@ endfun
function! FindArrowIndent (lnum) " {{{
let parrentArrowPos = -1
let parentArrowPos = -1
let cursorPos = -1
let lnum = a:lnum
while lnum > 1
let last_line = getline(lnum)
if last_line =~ '^\s*->'
let parrentArrowPos = indent(a:lnum)
let parentArrowPos = indent(a:lnum)
break
else
@@ -355,28 +356,28 @@ function! FindArrowIndent (lnum) " {{{
else
endif
else
let parrentArrowPos = -1
let parentArrowPos = -1
break
end
endif
if cleanedLnum =~ '->'
call cursor(lnum, cursorPos == -1 ? strwidth(cleanedLnum) : cursorPos)
let parrentArrowPos = searchpos('->', 'cWb', lnum)[1] - 1
let parentArrowPos = searchpos('->', 'cWb', lnum)[1] - 1
break
else
let parrentArrowPos = -1
let parentArrowPos = -1
break
endif
endif
endwhile
if parrentArrowPos == -1
let parrentArrowPos = indent(lnum) + shiftwidth()
if parentArrowPos == -1
let parentArrowPos = indent(lnum) + shiftwidth()
end
return parrentArrowPos
return parentArrowPos
endfun "}}}
function! FindTheIfOfAnElse (lnum, StopAfterFirstPrevElse) " {{{
+3
View File
@@ -4,6 +4,7 @@
" Homepage: https://github.com/vim-perl/vim-perl
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
" Last Change: 2020 Apr 15
" 2023 Aug 28 by Vim Project (undo_indent)
" Contributors: Andy Lester <andy@petdance.com>
" Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
"
@@ -47,6 +48,8 @@ if !b:indent_use_syntax
setlocal indentkeys+=0=EO
endif
let b:undo_indent = "setlocal indentexpr< indentkeys<"
let s:cpo_save = &cpo
set cpo-=C
+6 -6
View File
@@ -146,7 +146,7 @@ endfunction
" Returns the length of the line until a:str occur outside a string or
" comment. Search starts at string index a:startIdx.
" If a:str is a word also add word bounderies and case insesitivity.
" If a:str is a word also add word boundaries and case insensitivity.
" Note: rapidTodoComment and rapidDebugComment are not taken into account.
function s:RapidLenTilStr(lnum, str, startIdx) abort
@@ -179,8 +179,8 @@ function s:RapidLenTilStr(lnum, str, startIdx) abort
return -1
endfunction
" a:lchar shoud be one of (, ), [, ], { or }
" returns the number of opening/closing parenthesise which have no
" a:lchar should be one of (, ), [, ], { or }
" returns the number of opening/closing parentheses which have no
" closing/opening match in getline(a:lnum)
function s:RapidLoneParen(lnum,lchar) abort
if a:lchar == "(" || a:lchar == ")"
@@ -205,7 +205,7 @@ function s:RapidLoneParen(lnum,lchar) abort
endif
let l:opnParen = 0
" count opening brakets
" count opening brackets
let l:i = 0
while l:i >= 0
let l:i = s:RapidLenTilStr(a:lnum, l:opnParChar, l:i)
@@ -216,7 +216,7 @@ function s:RapidLoneParen(lnum,lchar) abort
endwhile
let l:clsParen = 0
" count closing brakets
" count closing brackets
let l:i = 0
while l:i >= 0
let l:i = s:RapidLenTilStr(a:lnum, l:clsParChar, l:i)
@@ -242,7 +242,7 @@ function s:RapidPreNoneBlank(lnum) abort
let nPreNoneBlank = prevnonblank(a:lnum)
while nPreNoneBlank>0 && getline(nPreNoneBlank) =~ '\v\c^\s*(\%\%\%|!)'
" Previouse none blank line irrelevant. Look further aback.
" Previous none blank line irrelevant. Look further aback.
let nPreNoneBlank = prevnonblank(nPreNoneBlank - 1)
endwhile
+3
View File
@@ -4,6 +4,7 @@
" Maintainer: Marshall Ward <marshall.ward@gmail.com>
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2020-03-31
" 2023 Aug 28 by Vim Project (undo_indent)
if exists("b:did_indent")
finish
@@ -14,6 +15,8 @@ setlocal indentexpr=GetRSTIndent()
setlocal indentkeys=!^F,o,O
setlocal nosmartindent
let b:undo_indent = "setlocal indentexpr< indentkeys< smartindent<"
if exists("*GetRSTIndent")
finish
endif
+3
View File
@@ -2,6 +2,7 @@
" Language: Rust
" Author: Chris Morgan <me@chrismorgan.info>
" Last Change: 2017 Jun 13
" 2023 Aug 28 by Vim Project (undo_indent)
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
" Only load this indent file when no other was loaded.
@@ -24,6 +25,8 @@ setlocal indentkeys=0{,0},!^F,o,O,0[,0]
setlocal indentexpr=GetRustIndent(v:lnum)
let b:undo_indent = "setlocal cindent< cinoptions< cinkeys< cinwords< lisp< autoindent< indentkeys< indentexpr<"
" Only define the function once.
if exists("*GetRustIndent")
finish
+3
View File
@@ -4,6 +4,7 @@
" Modifications By: Derek Wyatt
" URL: https://github.com/derekwyatt/vim-scala
" Last Change: 2016 Aug 26
" 2023 Aug 28 by Vim Project (undo_indent)
if exists("b:did_indent")
finish
@@ -14,6 +15,8 @@ setlocal autoindent
setlocal indentexpr=GetScalaIndent()
setlocal indentkeys=0{,0},0),!^F,<>>,o,O,e,=case,<CR>
let b:undo_indent = "setl ai< inde< indk<"
if exists("*GetScalaIndent")
finish
endif
+9 -5
View File
@@ -1,9 +1,11 @@
" Vim indent file
" Language: Solidity
" Acknowledgement: Based off of vim-javascript
" Maintainer: Cothi (jiungdev@gmail.com)
" Original Author: tomlion (https://github.com/tomlion/vim-solidity)
" Last Changed: 2022 Sep 27
" Language: Solidity
" Maintainer: Cothi (jiungdev@gmail.com)
" Original Author: tomlion (https://github.com/tomlion/vim-solidity)
" Last Change: 2022 Sep 27
" 2023 Aug 22 Vim Project (undo_indent)
"
" Acknowledgement: Based off of vim-javascript
"
" 0. Initialization {{{1
" =================
@@ -20,6 +22,8 @@ setlocal nosmartindent
setlocal indentexpr=GetSolidityIndent()
setlocal indentkeys=0{,0},0),0],0\,,!^F,o,O,e
let b:undo_indent = "setlocal indentexpr< indentkeys< smartindent<"
" Only define the function once.
if exists("*GetSolidityIndent")
finish
+3 -1
View File
@@ -67,7 +67,8 @@
" 2020/04/26 by Yichao Zhou <broken.zhou AT gmail.com>
" (*) Fix a bug related to \[ & \]. Thanks Manuel Boni for
" reporting.
"
" 2023/08/28 by Vim Project
" (*) Set b:undo_indent.
" }}}
" Document: {{{
@@ -167,6 +168,7 @@ setlocal indentexpr=GetTeXIndent()
setlocal indentkeys&
exec 'setlocal indentkeys+=[,(,{,),},],\&' . substitute(g:tex_items, '^\|\(\\|\)', ',=', 'g')
let g:tex_items = '^\s*' . substitute(g:tex_items, '^\(\^\\s\*\)*', '', '')
let b:undo_indent = "setlocal autoindent< indentexpr< indentkeys< smartindent<"
" }}}
function! GetTeXIndent() " {{{
+3
View File
@@ -2,6 +2,7 @@
" Language: TypeScript
" Maintainer: See https://github.com/HerringtonDarkholme/yats.vim
" Last Change: 2019 Oct 18
" 2023 Aug 28 by Vim Project (undo_indent)
" Acknowledgement: Based off of vim-ruby maintained by Nikolai Weibull http://vim-ruby.rubyforge.org
" 0. Initialization {{{1
@@ -20,6 +21,8 @@ setlocal indentexpr=GetTypescriptIndent()
setlocal formatexpr=Fixedgq(v:lnum,v:count)
setlocal indentkeys=0{,0},0),0],0\,,!^F,o,O,e
let b:undo_indent = "setlocal formatexpr< indentexpr< indentkeys< smartindent<"
" Only define the function once.
if exists("*GetTypescriptIndent")
finish
+3
View File
@@ -1,6 +1,7 @@
" Language: Verilog HDL
" Maintainer: Chih-Tsun Huang <cthuang@cs.nthu.edu.tw>
" Last Change: 2017 Aug 25 by Chih-Tsun Huang
" 2023 Aug 28 by Vim Project (undo_indent)
" URL: http://www.cs.nthu.edu.tw/~cthuang/vim/indent/verilog.vim
"
" Credits:
@@ -28,6 +29,8 @@ setlocal indentkeys+==endmodule,=endfunction,=endtask,=endspecify
setlocal indentkeys+==endconfig,=endgenerate,=endprimitive,=endtable
setlocal indentkeys+==`else,=`elsif,=`endif
let b:undo_indent = "setlocal indentexpr< indentkeys<"
" Only define the function once.
if exists("*GetVerilogIndent")
finish
+3
View File
@@ -3,6 +3,7 @@
" Maintainer: Gerald Lai <laigera+vim?gmail.com>
" Version: 1.62
" Last Change: 2017 Oct 17
" 2023 Aug 28 by Vim Project (undo_indent)
" URL: http://www.vim.org/scripts/script.php?script_id=1450
" only load this indent file when no other was loaded
@@ -19,6 +20,8 @@ setlocal indentkeys+==~if,=~then,=~elsif,=~else
setlocal indentkeys+==~case,=~loop,=~for,=~generate,=~record,=~units,=~process,=~block,=~function,=~component,=~procedure
setlocal indentkeys+==~architecture,=~configuration,=~entity,=~package
let b:undo_indent = "setlocal indentexpr< indentkeys<"
" constants
" not a comment
let s:NC = '\%(--.*\)\@<!'
+2 -2
View File
@@ -1,6 +1,6 @@
" Vim Keymap file for latin1 accents through dead characters
" Maintainer: Bram Moolenaar
" Last Change: 2006 Mar 29
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2023 Aug 13
" All characters are given literally, conversion to another encoding (e.g.,
" UTF-8) should work.
+7
View File
@@ -13,6 +13,7 @@ all: \
menu_pl_pl.iso_8859-2.vim \
menu_polish_poland.1250.vim \
menu_ru_ru.koi8-r.vim \
menu_ru_ru.cp1251.vim \
menu_sl_si.cp1250.vim \
menu_sl_si.latin2.vim \
menu_slovak_slovak_republic.1250.vim \
@@ -113,6 +114,12 @@ menu_ru_ru.koi8-r.vim: menu_ru_ru.utf-8.vim
iconv -f utf-8 -t koi8-r menu_ru_ru.utf-8.vim | \
$(SED) -e 's/scriptencoding utf-8/scriptencoding koi8-r/' -e 's/" Original translations/" Generated from menu_ru_ru.utf-8.vim, DO NOT EDIT/' > menu_ru_ru.koi8-r.vim
# Convert menu_ru_ru.utf-8.vim to create menu_ru_ru.cp1251.vim.
menu_ru_ru.cp1251.vim: menu_ru_ru.utf-8.vim
rm -f menu_ru_ru.cp1251.vim
iconv -f utf-8 -t cp1251 menu_ru_ru.utf-8.vim | \
$(SED) -e 's/scriptencoding utf-8/scriptencoding cp1251/' -e 's/" Original translations/" Generated from menu_ru_ru.utf-8.vim, DO NOT EDIT/' > menu_ru_ru.cp1251.vim
# Convert menu_sl_si.utf-8.vim to create menu_sl_si.cp1250.vim.
menu_sl_si.cp1250.vim: menu_sl_si.utf-8.vim
rm -f menu_sl_si.cp1250.vim
+113 -26
View File
@@ -2,7 +2,7 @@
" Maintainer: Antonio Colombo <azc100@gmail.com>
" Vlad Sandrini <vlad.gently@gmail.com>
" Luciano Montanaro <mikelima@cirulla.net>
" Last Change: 2022 Jun 17
" Last Change: 2023 Aug 22
" Original translations
" Quit when menu translations have already been done.
@@ -20,7 +20,7 @@ menut &Help &Aiuto
menut &Overview<Tab><F1> &Panoramica<Tab><F1>
menut &User\ Manual Manuale\ &Utente
menut &How-to\ links Co&Me\.\.\.
menut &How-To\ Links Co&Me\.\.\.
menut &Find\.\.\. &Cerca\.\.\.
menut &Credits Cr&Editi
menut Co&pying C&Opie
@@ -29,7 +29,7 @@ menut O&rphans O&Rfani
menut &Version &Versione
menut &About &Intro
let g:menutrans_help_dialog = "Batti un comando o una parola per cercare aiuto:\n\nPremetti i_ per comandi in modo Input (p.es.: i_CTRL-X)\nPremetti c_ per comandi che editano la linea-comandi (p.es.: c_<Del>)\nPremetti ' per un nome di opzione (p.es.: 'shiftwidth')"
let g:menutrans_help_dialog = "Batti un comando o una parola per cercare aiuto su:\n\nPremetti i_ per comandi in modo Input (p.es.: i_CTRL-X)\nPremetti c_ per comandi che editano la linea-comandi (p.es.: c_<Del>)\nPremetti ' per un nome di opzione (p.es.: 'shiftwidth')"
" File / File
menut &File &File
@@ -68,7 +68,6 @@ menut Find\ and\ Rep&lace\.\.\.<Tab>:s &Sostituisci\.\.\.<Tab>:s
menut Settings\ &Window &Finestra\ Impostazioni
menut Startup\ &Settings Impostazioni\ di\ &Avvio
menut &Global\ Settings Impostazioni\ &Globali
menut Question Domanda
" Edit / Modifica / Impostazioni Globali
@@ -80,7 +79,7 @@ menut &Context\ lines &Linee\ di\ contesto
menut &Virtual\ Edit &Edit\ virtuale
menut Never Mai
menut Block\ Selection Selezione\ Blocco
menut Block\ Selection Seleziona\ Blocco
menut Insert\ mode Modo\ Insert
menut Block\ and\ Insert Selezione\ Blocco\ e\ Inserimento
menut Always Sempre
@@ -167,7 +166,7 @@ menut &File\ Format\.\.\. Formato\ &File\.\.\.
let g:menutrans_textwidth_dialog = "Batti nuova lunghezza linea (0 per inibire la formattazione): "
let g:menutrans_fileformat_dialog = "Scegli formato con cui scrivere il file"
let g:menutrans_fileformat_choices = " &Unix \n &Dos \n &Mac \n &Annullare "
let g:menutrans_fileformat_choices = " &Unix\n&Dos\n&Mac\n&Annullare "
menut Show\ C&olor\ Schemes\ in\ Menu Mostra\ Schemi\ C&olore\ in\ Menù
menut C&olor\ Scheme Schema\ c&Olori
@@ -180,8 +179,12 @@ menut evening sera
menut industry industria
menut morning mattino
menut peachpuff pesca
menut quiet quieto
menut shine brillante
menut sorbet sorbetto
menut slate ardesia
menut torte torta
menut wildcharm fascino\ selvaggio
menut BLUE BLÙ
menut DARKBLUE BLÙ\ SCURO
menut DESERT DESERTO
@@ -190,8 +193,12 @@ menut EVENING SERA
menut INDUSTRY INDUSTRIA
menut MORNING MATTINO
menut PEACHPUFF PESCA
menut QUIET QUIETO
menut SHINE BRILLANTE
menut SORBET SORBETTO
menut SLATE ARDESIA
menut TORTE TORTA
menut WILDCHARM FASCINO\ SELVAGGIO
menut Show\ &Keymaps\ in\ Menu Mostra\ Ma&ppe\ tastiera\ in\ Menù
menut &Keymap Ma&ppa\ tastiera
@@ -202,29 +209,105 @@ menut arabic arabo
menut armenian-eastern armeno-orientale
menut armenian-western armeno-occidentale
menut belarusian-jcuken bielorusso-jcuken
menut bulgarian-bds bulgaro-bds
menut bulgarian-phonetic bulgaro-fonetico
menut canfr-win franco-canadese-win
menut croatian croato
menut czech ceco
menut dvorak tastiera-dvorak
menut esperanto esperanto
menut french-azerty francese-azerty
menut german-qwertz tedesco-qwertz
menut greek greco
menut hebrew ebraico
menut hebrewp ebraicop
menut kana kana
menut kazakh-jcuken kazako-jcuken
menut korean coreano
menut korean-dubeolsik coreano-dubeolsik
menut lithuanian-baltic lituano-baltico
menut magyar ungherese
menut mongolian mongolo
menut oldturkic-orkhon turco-antico-orkhon
menut oldturkic-yenisei turco-antico-yenisei
menut persian persiano
menut persian-iranian persiano-iraniano
menut pinyin pinyin
menut polish-slash polacco-slash
menut russian-dvorak russo-dvorak
menut russian-jcuken russo-jcuken
menut russian-jcukenmac russo-jcukenmac
menut russian-jcukenwin russo-jcukenwin
menut russian-jcukenwintype russo-jcukenwintype
menut russian-typograph russo-tipografico
menut russian-yawerty russo-yawerty
menut serbian serbo
menut serbian-latin serbo-latino
menut sinhala singalese
menut sinhala-phonetic singalese-phonetic
menut slovak slovacco
menut tamil tamil
menut thaana thaana
menut thaana-phonetic thaana-fonetico
menut turkish-f turco-f
menut turkish-q turco-q
menut ukrainian-dvorak ukraino-dvorak
menut ukrainian-jcuken ukraino-jcuken
menut vietnamese-telex vietnamita-telex
menut vietnamese-viqr vietnamita-viqr
menut vietnamese-vni vietnamita-vni
menut ACCENTS ACCENTI
menut ARABIC ARABO
menut ARMENIAN-EASTERN ARMENO-ORIENTALE
menut ARMENIAN-WESTERN ARMENO-OCCIDENTALE
menut BELARUSIAN-JCUKEN BIELORUSSO-JCUKEN
menut BULGARIAN-BDS BULGARO-BDS
menut BULGARIAN-PHONETIC BULGARO-FONETICO
menut CANFR-WIN FRANCO-CANADESE-WIN
menut CROATIAN CROATO
menut CZECH CECO
menut DVORAK TASTIERA-DVORAK
menut ESPERANTO ESPERANTO
menut FRENCH-AZERTY FRANCESE-AZERTY
menut GERMAN-QWERTZ TEDESCO-QWERTZ
menut GREEK GRECO
menut HEBREW EBRAICO
menut HEBREWP EBRAICOP
menut KANA KANA
menut KAZAKH-JCUKEN KAZAKO-JCUKEN
menut KOREAN COREANO
menut KOREAN-DUBEOLSIK COREANO-DUBEOLSIK
menut LITHUANIAN-BALTIC LITUANO-BALTICO
menut MAGYAR UNGHERESE
menut MONGOLIAN MONGOLO
menut OLDTURKIC-ORKHON TURCO-ANTICO-ORKHON
menut OLDTURKIC-YENISEI TURCO-ANTICO-YENISEI
menut PERSIAN PERSIANO
menut PERSIAN-IRANIAN PERSIANO-IRANIANO
menut PINYIN PINYIN
menut POLISH-SLASH POLACCO-SLASH
menut RUSSIAN-DVORAK RUSSO-DVORAK
menut RUSSIAN-JCUKEN RUSSO-JCUKEN
menut RUSSIAN-JCUKENMAC RUSSO-JCUKENMAC
menut RUSSIAN-JCUKENWIN RUSSO-JCUKENWIN
menut RUSSIAN-JCUKENWINTYPE RUSSO-JCUKENWINTYPE
menut RUSSIAN-TYPOGRAPH RUSSO-TIPOGRAFICO
menut RUSSIAN-YAWERTY RUSSO-YAWERTY
menut SERBIAN SERBO
menut SERBIAN-LATIN SERBO-LATINO
menut SINHALA SINGALESE
menut SINHALA-PHONETIC SINGALESE-PHONETIC
menut SLOVAK SLOVACCO
menut TAMIL TAMIL
menut THAANA THAANA
menut THAANA-PHONETIC THAANA-FONETICO
menut TURKISH-F TURCO-F
menut TURKISH-Q TURCO-Q
menut UKRAINIAN-DVORAK UKRAINO-DVORAK
menut UKRAINIAN-JCUKEN UKRAINO-JCUKEN
menut VIETNAMESE-TELEX VIETNAMITA-TELEX
menut VIETNAMESE-VIQR VIETNAMITA-VIQR
menut VIETNAMESE-VNI VIETNAMITA-VNI
menut Select\ Fo&nt\.\.\. Scegli\ &Font\.\.\.
@@ -233,7 +316,7 @@ menut &Tools &Strumenti
menut &Jump\ to\ this\ tag<Tab>g^] &Vai\ a\ questa\ tag<Tab>g^]
menut Jump\ &back<Tab>^T Torna\ &Indietro<Tab>^T
menut Build\ &Tags\ File Costruisci\ file\ &Tags\
menut Build\ &Tags\ File Costruisci\ file\ &Tag\
" Menù ortografia / Spelling
menut &Spelling &Ortografia
@@ -243,6 +326,7 @@ menut To\ &Next\ error<Tab>]s Errore\ &Seguente<tab>]s
menut To\ &Previous\ error<Tab>[s Errore\ &Precedente<tab>[s
menut Suggest\ &Corrections<Tab>z= &Suggerimenti<Tab>z=
menut &Repeat\ correction<Tab>:spellrepall &Ripeti\ correzione<Tab>:spellrepall
menut Set\ language\ to Imposta\ lingua\ a
menut Set\ language\ to\ "en" Imposta\ lingua\ a\ "en"
menut Set\ language\ to\ "en_au" Imposta\ lingua\ a\ "en_au"
menut Set\ language\ to\ "en_ca" Imposta\ lingua\ a\ "en_ca"
@@ -255,25 +339,25 @@ menut &Find\ More\ Languages &Trova\ altre\ lingue
menut &Folding &Piegature
" apri e chiudi piegature
menut &Enable/Disable\ folds<Tab>zi Pi&egature\ Sì/No<Tab>zi
menut &View\ Cursor\ Line<Tab>zv &Vedi\ linea\ col\ Cursore<Tab>zv
menut Vie&w\ Cursor\ Line\ only<Tab>zMzx Vedi\ &Solo\ linea\ col\ Cursore<Tab>zMzx
menut C&lose\ more\ folds<Tab>zm C&Hiudi\ più\ piegature<Tab>zm
menut &Close\ all\ folds<Tab>zM &Chiudi\ tutte\ le\ piegature<Tab>zM
menut O&pen\ more\ folds<Tab>zr A&Pri\ più\ piegature<Tab>zr
menut &Open\ all\ folds<Tab>zR &Apri\ tutte\ le\ piegature<Tab>zR
menut &View\ Cursor\ Line<Tab>zv &Vedi\ linea\ col\ Cursore<Tab>zv
menut Vie&w\ Cursor\ Line\ only<Tab>zMzx Vedi\ &Solo\ linea\ col\ Cursore<Tab>zMzx
menut C&lose\ More\ folds<Tab>zm C&Hiudi\ più\ piegature<Tab>zm
menut &Close\ All\ folds<Tab>zM &Chiudi\ tutte\ le\ piegature<Tab>zM
menut O&pen\ More\ folds<Tab>zr A&Pri\ più\ piegature<Tab>zr
menut &Open\ All\ folds<Tab>zR &Apri\ tutte\ le\ piegature<Tab>zR
" metodo piegatura
menut Fold\ Met&hod Meto&Do\ piegatura
menut M&anual &Manuale
menut I&ndent &Nidificazione
menut E&xpression &Espressione\ Reg\.
menut E&xpression &Espressione\ Reg\.
menut S&yntax &Sintassi
menut &Diff &Differenza
menut Ma&rker Mar&Catura
" crea e cancella piegature
menut Create\ &Fold<Tab>zf Crea\ &Piegatura<Tab>zf
menut &Delete\ Fold<Tab>zd &Leva\ piegatura<Tab>zd
menut Delete\ &All\ Folds<Tab>zD Leva\ &Tutte\ le\ piegature<Tab>zD
menut &Delete\ Fold<Tab>zd &Togli\ piegatura<Tab>zd
menut Delete\ &All\ Folds<Tab>zD Togli\ &Tutte\ le\ piegature<Tab>zD
" movimenti all'interno delle piegature
menut Fold\ col&umn\ width Larghezza\ piegat&Ure\ in\ colonne
@@ -285,9 +369,9 @@ menut &Put\ Block &Esporta\ differenze
menut &Make<Tab>:make Esegui\ &Make<Tab>:make
menut &List\ Errors<Tab>:cl Lista\ &Errori<Tab>:cl
menut &List\ Errors<Tab>:cl Lista\ &Errori<Tab>:cl
menut L&ist\ Messages<Tab>:cl! Lista\ &Messaggi<Tab>:cl!
menut &Next\ Error<Tab>:cn Errore\ s&Uccessivo<Tab>:cn
menut &Next\ Error<Tab>:cn Errore\ s&Uccessivo<Tab>:cn
menut &Previous\ Error<Tab>:cp Errore\ &Precedente<Tab>:cp
menut &Older\ List<Tab>:cold Lista\ men&O\ recente<Tab>:cold
menut N&ewer\ List<Tab>:cnew Lista\ più\ rece&Nte<Tab>:cnew
@@ -302,11 +386,12 @@ menut &Convert\ to\ HEX<Tab>:%!xxd &Converti\ a\ esadecimale<Tab>:%!xxd
menut Conve&rt\ back<Tab>:%!xxd\ -r Conve&rti\ da\ esadecimale<Tab>:%!xxd\ -r
menut Se&T\ Compiler Impo&Sta\ Compilatore
menut Show\ Compiler\ Se&ttings\ in\ Menu Mostra\ Impos&Tazioni\ Compilatore\ nel\ Menù
" Buffers / Buffer
menut &Buffers &Buffer
menut &Refresh\ menu A&ggiorna\ menù
menut &Refresh\ menu A&Ggiorna\ menù
menut &Delete &Elimina
menut &Alternate &Alternato
menut &Next &Successivo
@@ -352,10 +437,10 @@ menut &Right\ side<Tab>^WL Lato\ &Destro<Tab>^WL
menut Rotate\ &Up<Tab>^WR Ruota\ verso\ l'&Alto<Tab>^WR
menut Rotate\ &Down<Tab>^Wr Ruota\ verso\ il\ &Basso<Tab>^Wr
menut &Equal\ Size<Tab>^W= &Uguale\ ampiezza<Tab>^W=
menut &Max\ Height<Tab>^W_ &Altezza\ massima<Tab>^W_
menut M&in\ Height<Tab>^W1_ A&Ltezza\ minima<Tab>^W1_
menut Max\ &Width<Tab>^W\| Larghezza\ massima<Tab>^W\|
menut Min\ Widt&h<Tab>^W1\| Larghezza\ minima<Tab>^W1\|
menut &Max\ Height<Tab>^W_ A&Ltezza\ massima<Tab>^W_
menut M&in\ Height<Tab>^W1_ Al&Tezza\ minima<Tab>^W1_
menut Max\ &Width<Tab>^W\| Lar&Ghezza\ massima<Tab>^W\|
menut Min\ Widt&h<Tab>^W1\| Larg&hhezza\ minima<Tab>^W1\|
" The popup menu
menut &Undo &Annulla
@@ -363,11 +448,13 @@ menut Cu&t &Taglia
menut &Copy &Copia
menut &Paste &Incolla
menut &Delete &Elimina
menut Select\ Blockwise Seleziona\ in\ blocco
menut Select\ Blockwise Seleziona\ Blocco
menut Select\ &Word Seleziona\ &Parola
menut Select\ &Line Seleziona\ &Linea
menut Select\ &Line Seleziona\ &Riga
menut Select\ &Block Seleziona\ &Blocco
menut Select\ &All Seleziona\ t&Utto
menut Select\ &All Seleziona\ &Tutto
menut Select\ &Sentence Seleziona\ &Frase
menut Select\ Pa&ragraph Seleziona\ Para&Grafo
" The GUI Toolbar / Barra Strumenti
menut Open Apri
+2 -2
View File
@@ -1,6 +1,6 @@
" Menu Translations: Nederlands
" Maintainer: Bram Moolenaar
" Last Change: 2012 May 01
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2023 Aug 13
" Original translations
" Quit when menu translations have already been done.
+3
View File
@@ -0,0 +1,3 @@
" Menu Translations: Russian
source <sfile>:p:h/menu_ru_ru.cp1251.vim
+3
View File
@@ -0,0 +1,3 @@
" Menu Translations: Russian
source <sfile>:p:h/menu_ru_ru.koi8-r.vim
+3
View File
@@ -0,0 +1,3 @@
" Menu Translations: Russian
source <sfile>:p:h/menu_ru_ru.vim
+364
View File
@@ -0,0 +1,364 @@
" Menu Translations: Russian
" Maintainer: Restorer, <restorer@mail2k.ru>
" Previous Maintainer: Sergey Alyoshin, <alyoshin.s@gmail.com>
" vassily ragosin, <vrr[at]users.sourceforge.net>
" Last Change: 23 Aug 2023
" Generated from menu_ru_ru.utf-8.vim, DO NOT EDIT
" URL: https://github.com/RestorerZ/RuVim
"
"
" Adopted for RuVim project by Vassily Ragosin.
" First translation: Tim Alexeevsky, <realtim [at] mail.ru>,
" based on ukrainian translation by Bohdan Vlasyuk, <bohdan@vstu.edu.ua>
"
"
" Quit when menu translations have already been done.
"
" Check is
"
if exists("did_menu_trans")
finish
endif
let g:did_menu_trans = 1
let s:keepcpo= &cpo
set cpo&vim
scriptencoding cp1251
" Top
menutrans &File &Ôàéë
menutrans &Edit &Ïðàâêà
menutrans &Tools Ñ&åðâèñ
menutrans &Syntax Ñèí&òàêñèñ
menutrans &Buffers &Áóôåðû
menutrans &Window &Îêíî
menutrans &Help &Ñïðàâêà
"
"
"
" Submenu of menu Help
menutrans &Overview<Tab><F1> Î&áùèé\ îáçîð<Tab>F1
menutrans &User\ Manual &Ðóêîâîäñòâî\ ïîëüçîâàòåëÿ
menutrans &How-to\ links &Èíñòðóêöèè
menutrans &Find\.\.\. &Íàéòè\.\.\.
"--------------------
menutrans &Credits Ñî&àâòîðû
menutrans Co&pying &Ëèöåíçèÿ
menutrans &Sponsor/Register Ñîä&åéñòâèå\ è\ ðåãèñòðàöèÿ
menutrans O&rphans &Áëàãîòâîðèòåëüíîñòü
"--------------------
menutrans &Version &Òåêóùàÿ\ âåðñèÿ
menutrans &About &Î\ ïðîãðàììå
"
"
" Submenu of File menu
menutrans &Open\.\.\.<Tab>:e &Îòêðûòü\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp Îò&êðûòü\ â\ íîâîì\ îêíå\.\.\.<Tab>:sp
menutrans Open\ &Tab\.\.\.<Tab>:tabnew Îòêðû&òü\ â\ íîâîé\ âêëàäêå\.\.\.<Tab>:tabnew
menutrans &New<Tab>:enew Ñîçä&àòü<Tab>:enew
menutrans &Close<Tab>:close &Çàêðûòü<Tab>:close
"--------------------
menutrans &Save<Tab>:w &Ñîõðàíèòü<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Ñî&õðàíèòü\ êàê\.\.\.<Tab>:sav
"--------------------
menutrans Split\ &Diff\ with\.\.\. Ñðà&âíèòü\ ñ\.\.\.
menutrans Split\ Patched\ &By\.\.\. Ñðàâí&èòü\ è\ èñïðàâèòü\.\.\.
"--------------------
menutrans &Print &Ïå÷àòü\.\.\.
menutrans Sa&ve-Exit<Tab>:wqa Ñîõðà&íèòü\ è\ âûéòè<Tab>:wqa
menutrans E&xit<Tab>:qa Â&ûõîä<Tab>:qa
"
"
" Submenu of Edit menu
menutrans &Undo<Tab>u &Îòìåíèòü<Tab>u
menutrans &Redo<Tab>^R Â&åðíóòü<Tab>Ctrl+R
menutrans Rep&eat<Tab>\. Ïîâòîðèò&ü<Tab>\.
"--------------------
menutrans Cu&t<Tab>"+x &Âûðåçàòü<Tab>"+x
menutrans &Copy<Tab>"+y &Êîïèðîâàòü<Tab>"+y
menutrans &Paste<Tab>"+gP Âñò&àâèòü<Tab>"+g\ Shift+P
menutrans Put\ &Before<Tab>[p Ïîìåñòèòü\ ï&åðåä<Tab>[p
menutrans Put\ &After<Tab>]p Ïîìåñòèòü\ ïî&ñëå<Tab>]p
menutrans &Delete<Tab>x &Óäàëèòü<Tab>x
menutrans &Select\ All<Tab>ggVG Â&ûäåëèòü\ âñ¸<Tab>gg\ Shift+V\ Shift+G
"--------------------
" if has("win32") || has("gui_gtk") || has("gui_kde") || has("gui_motif")
menutrans &Find\.\.\. &Íàéòè\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. &Çàìåíèòü\.\.\.
" else
menutrans &Find<Tab>/ &Íàéòè<Tab>/
menutrans Find\ and\ Rep&lace<Tab>:%s &Çàìåíèòü<Tab>:%s
menutrans Find\ and\ Rep&lace<Tab>:s &Çàìåíèòü<Tab>:s
"--------------------
menutrans Settings\ &Window Âñå\ &ïàðàìåòðû\.\.\.
menutrans Startup\ &Settings Ïàðàìåòðû\ çàïóñ&êà
menutrans &Global\ Settings Î&áùèå\ ïàðàìåòðû
menutrans F&ile\ Settings Ïàðà&ìåòðû\ òåêóùåãî\ áóôåðà
menutrans Show\ C&olor\ Schemes\ in\ Menu Ïîêàçàòü\ ìåíþ\ âûáîðà\ öâå&òîâîé\ ñõåìû
menutrans C&olor\ Scheme Öâåòîâàÿ\ ñ&õåìà
menutrans Show\ &Keymaps\ in\ Menu Ïîêàçàòü\ ìåíþ\ âûáîðà\ ðàñêëàäêè\ ê&ëàâèàòóðû
menutrans &Keymap &Ðàñêëàäêà\ êëàâèàòóðû
menutrans None Íå\ èñïîëüçîâàòü
menutrans Select\ Fo&nt\.\.\. &Øðèôò\.\.\.
">>>----------------- Edit/Global settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Ïîäñâåòêà\ ñîâ&ïàäåíèé<Tab>:set\ hls!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! &Ðåãèñòðîíåçàâèñèìûé\ ïîèñê<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Ïîäñâåòêà\ ïàðíûõ\ &ýëåìåíòîâ<Tab>:set\ sm!
menutrans &Context\ lines Êîíòåêñòíûõ\ ñòð&îê
menutrans &Virtual\ Edit Âèð&òóàëüíîå\ ðåäàêòèðîâàíèå
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Ðåæèì\ &âñòàâêè<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! &Ñîâìåñòèìîñòü\ ñ\ ðåäàêòîðîì\ Vi<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. &Êàòàëîãè\ äëÿ\ ïîèñêà\ ôàéëîâ\.\.\.
menutrans Ta&g\ Files\.\.\. È&íäåêñíûå\ ôàéëû\.\.\.
"
menutrans Toggle\ &Toolbar Ïîêàç\ ïàíåëè\ &èíñòðóìåíòîâ
menutrans Toggle\ &Bottom\ Scrollbar Ïîêàç\ ïîëîñû\ ïðîêðóòêè\ âíè&çó
menutrans Toggle\ &Left\ Scrollbar Ïîêàç\ ïîëîñû\ ïðîêðóòêè\ ñ&ëåâà
menutrans Toggle\ &Right\ Scrollbar Ïîêàç\ ïîëîñû\ ïðîêðóòêè\ ñïð&àâà
">>>->>>------------- Edit/Global settings/Virtual edit
menutrans Never Âûêëþ÷åíî\ âî\ âñåõ\ ðåæèìàõ
menutrans Block\ Selection Âêëþ÷åíî\ â\ ðåæèìå\ âèçóàëüíîãî\ áëîêà
menutrans Insert\ mode Âêëþ÷åíî\ â\ ðåæèìå\ âñòàâêè
menutrans Block\ and\ Insert Âêëþ÷åíî\ â\ ðåæèìàõ\ âèçóàëüíîãî\ áëîêà\ è\ âñòàâêè
menutrans Always Âêëþ÷åíî\ âî\ âñåõ\ ðåæèìàõ
">>>----------------- Edit/File settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Ïîêàç\ &íóìåðàöèè\ ñòðîê<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Ïîêàç\ îòíîñèòå&ëüíîé\ íóìåðàöèè\ ñòðîê<Tab>:set\ nru!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Ïîêàç\ íå&ïå÷àòàåìûõ\ çíàêîâ<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &Ðàçáèâêà\ ñòðîê\ ïî\ ãðàíèöå\ îêíà<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Ðàçáèâêà\ ñòðîê\ ïî\ &ãðàíèöå\ ñëîâ<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Çàìåíà\ ñèìâîëîâ\ &òàáóëÿöèè\ íà\ ïðîáåëû<Tab>:set\ et!
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Óñòàíîâêà\ îòñòóïà\ êàê\ ó\ òåêóùåé\ &ñòðîêè<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Óñòàíîâêà\ îòñòóïà\ êàê\ â\ &ÿçûêå\ Ñè<Tab>:set\ cin!
">>>---
menutrans &Shiftwidth Âåëèèíà\ îòñòóïà
menutrans Soft\ &Tabstop Øèðèíà\ &òàáóëÿöèè
menutrans Te&xt\ Width\.\.\. &Øèðèíà\ òåêñòà\.\.\.
menutrans &File\ Format\.\.\. &Ôîðìàò\ ôàéëà\.\.\.
"
"
"
" Submenu of Tools menu
menutrans &Jump\ to\ this\ tag<Tab>g^] &Ïåðåéòè\ ïî\ óêàçàòåëþ<Tab>g\ Ctrl+]
menutrans Jump\ &back<Tab>^T &Âåðíóòüñÿ\ íàçàä<Tab>Ctrl+T
menutrans Build\ &Tags\ File Ñîçäàòü\ ôàéë\ ñ\ &èíäåêñàìè
"-------------------
menutrans &Folding Ñ&òðóêòóðà\ òåêñòà
menutrans &Spelling Ïð&àâîïèñàíèå
menutrans &Diff &Ñðàâíåíèå\ òåêñòà
"-------------------
menutrans &Make<Tab>:make Êî&ìïèëÿöèÿ<Tab>:make
menutrans &List\ Errors<Tab>:cl Ðàñïîçíàííûå\ î&øèáêè<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Âåñ&ü\ ñïèñîê\ ðåçóëüòàòîâ<Tab>:cl!
menutrans &Next\ Error<Tab>:cn Ñëåäó&þùàÿ\ çàïèñü\ èç\ ñïèñêà<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Ïð&åäûäóùàÿ\ çàïèñü\ èç\ ñïèñêà<Tab>:cp
menutrans &Older\ List<Tab>:cold Ïðåä&ûäóùèé\ ñïèñîê\ ðåçóëüòàòîâ<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew Ñ&ëåäóþùèé\ ñïèñîê\ ðåçóëüòàòîâ<Tab>:cnew
menutrans Error\ &Window Îê&íî\ ñî\ ñïèñêîì\ ðåçóëüòàòîâ
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Ïîêàçàòü\ ìåíþ\ âûáîðà\ &êîìïèëÿòîðà
menutrans Se&T\ Compiler Âûáðàòü\ &êîìïèëÿòîð
"-------------------
menutrans &Convert\ to\ HEX<Tab>:%!xxd Ïðåî&áðàçîâàòü\ â\ HEX<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Ïðåîáðàçîâàòü\ è&ç\ HEX<Tab>:%!xxd\ -r
">>>---------------- Tools/Spelling
menutrans &Spell\ Check\ On Âûïîëíÿòü\ &ïðîâåðêó
menutrans Spell\ Check\ &Off &Íå\ âûïîëíÿòü\ ïðîâåðêó
menutrans To\ &Next\ error<Tab>]s Ñ&ëåäóþùàÿ\ îøèáêà<Tab>]s
menutrans To\ &Previous\ error<Tab>[s Ïð&åäûäóùàÿ\ îøèáêà<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= Âàðèàíò&û\ íàïèñàíèÿ<Tab>z=
menutrans &Repeat\ correction<Tab>:spellrepall Çàìåíèòü\ &âñå<Tab>:spellrepall
"-------------------
menutrans Set\ language\ to\ "en" Ïðîâåðêà\ äëÿ\ ÿçûêà\ "en"
menutrans Set\ language\ to\ "en_au" Ïðîâåðêà\ äëÿ\ ÿçûêà\ "en_au"
menutrans Set\ language\ to\ "en_ca" Ïðîâåðêà\ äëÿ\ ÿçûêà\ "en_ca"
menutrans Set\ language\ to\ "en_gb" Ïðîâåðêà\ äëÿ\ ÿçûêà\ "en_gb"
menutrans Set\ language\ to\ "en_nz" Ïðîâåðêà\ äëÿ\ ÿçûêà\ "en_nz"
menutrans Set\ language\ to\ "en_us" Ïðîâåðêà\ äëÿ\ ÿçûêà\ "en_us"
menutrans &Find\ More\ Languages Íàéòè\ äëÿ\ äðóãèõ\ &ÿçûêîâ
let g:menutrans_set_lang_to = 'Ïðîâåðêà äëÿ ÿçûêà'
">>>---------------- Folds
menutrans &Enable/Disable\ folds<Tab>zi &Ïîêàçàòü\ èëè\ óáðàòü\ ñòðóêòóðó<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv Ïðîñìîòð\ ñòðîêè\ ïîä\ &êóðñîðîì<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Ïðîñìîòð\ &òîëüêî\ ñòðîêè\ ïîä\ êóðñîðîì<Tab>z\ Shift+M\ zx
menutrans C&lose\ more\ folds<Tab>zm Ñâåðíóòü\ âëî&æåííûå\ áëîêè\ ñòðóêòóðû<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Ñâåðíóòü\ &âñå\ áëîêè\ ñòðóêòóðû<Tab>z\ Shift+M
menutrans &Open\ all\ folds<Tab>zR Ðàçâåðíóòü\ â&ñå\ áëîêè\ ñòðóêòóðû<Tab>z\ Shift+R
menutrans O&pen\ more\ folds<Tab>zr Ðà&çâåðíóòü\ âëîæåííûé\ áëîê\ ñòðóêòóðû<Tab>zr
menutrans Fold\ Met&hod &Ìåòîä\ ðàçìåòêè\ ñòðóêòóðû
menutrans Create\ &Fold<Tab>zf Ñî&çäàòü\ áëîê\ ñòðóêòóðû<Tab>zf
menutrans &Delete\ Fold<Tab>zd &Óáðàòü\ áëîê\ ñòðóêòóðû<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Óáðàòü\ âñ&å\ áëîêè\ ñòðóêòóðû<Tab>z\ Shift+D
menutrans Fold\ col&umn\ width &Øèðèíà\ ñòîëáöà\ ñî\ çíà÷êàìè\ ñòðóêòóðû
">>>->>>----------- Tools/Folds/Fold Method
menutrans M&anual Ðàçìåòêà\ âðóíóþ
menutrans I&ndent Íà\ îñíîâå\ î&òñòóïîâ
menutrans E&xpression Íà\ îñíîâå\ ð&àñ÷¸òîâ
menutrans S&yntax Íà\ îñíîâå\ &ñèíòàêñèñà
menutrans &Diff Íà\ îñíîâå\ ðàçëè÷èé\ â\ òåêñòàõ
menutrans Ma&rker Íà\ îñíîâå\ &ìàðêåðîâ
">>>--------------- Sub of Tools/Diff
menutrans &Update Î&áíîâèòü\ ñîäåðæèìîå\ îêîí
menutrans &Get\ Block Ïåðåíåñòè\ &â\ òåêóùèé\ áóôåð
menutrans &Put\ Block Ïåðåíåñòè\ &èç\ òåêóùåãî\ áóôåðà
">>>--------------- Tools/Error window
menutrans &Update<Tab>:cwin Î&áíîâèòü<Tab>:cwin
menutrans &Close<Tab>:cclose &Çàêðûòü<Tab>:cclose
menutrans &Open<Tab>:copen &Îòêðûòü<Tab>:copen
"
"
" Syntax menu
"
menutrans &Show\ File\ Types\ in\ menu &Ïîêàçàòü\ ìåíþ\ âûáîðà\ òèïà\ ôàéëà
menutrans Set\ '&syntax'\ only À&êòèâèðîâàòü\ ïàðàìåòð\ 'syntax'
menutrans Set\ '&filetype'\ too Àêòèâèðîâàòü\ ïàðà&ìåòð\ 'filetype'
menutrans &Off &Îòêëþ÷èòü\ ïîäñâåòêó
menutrans &Manual Âêëþ÷åíèå\ ïîäñâåòêè\ âðóíóþ
menutrans A&utomatic Âêëþ÷åíèå\ ïîäñâåòêè\ &àâòîìàòè÷åñêè
menutrans on/off\ for\ &This\ file Èçìåíèòü\ ðåæèì\ äëÿ\ &òåêóùåãî\ ôàéëà
menutrans Co&lor\ test Ïðîâåðèòü\ ïîääåð&æèâàåìûå\ öâåòà
menutrans &Highlight\ test Ïîêàçàòü\ ãðóïïû\ ïîä&ñâåòêè
menutrans &Convert\ to\ HTML Ïðåî&áðàçîâàòü\ òåêóùèé\ ôàéë\ â\ HTML
"
"
" Buffers menu
"
menutrans &Refresh\ menu &Îáíîâèòü\ ñïèñîê\ áóôåðîâ
menutrans &Delete &Çàêðûòü\ áóôåð
menutrans &Alternate &Ñîñåäíèé\ áóôåð
menutrans &Next Ñ&ëåäóþùèé\ áóôåð
menutrans &Previous &Ïðåäûäóùèé\ áóôåð
"
"
" Submenu of Window menu
"
menutrans &New<Tab>^Wn &Ñîçäàòü<Tab>Ctrl+W\ n
menutrans S&plit<Tab>^Ws Ðàçäåëèòü\ ïî\ &ãîðèçîíòàëè<Tab>Ctrl+W\ s
menutrans Split\ &Vertically<Tab>^Wv Ðàçäåëèòü\ ïî\ &âåðòèêàëè<Tab>Ctrl+W\ v
menutrans Sp&lit\ To\ #<Tab>^W^^ Ñ&îñåäíèé\ ôàéë\ â\ íîâîì\ îêíå<Tab>Ctrl+W\ Ctrl+^
menutrans Split\ File\ E&xplorer Äèñïåò÷åð\ ôàéëîâ
"
menutrans &Close<Tab>^Wc &Çàêðûòü\ òåêóùåå\ îêíî<Tab>Ctrl+W\ c
menutrans Close\ &Other(s)<Tab>^Wo Ç&àêðûòü\ äðóãèå\ îêíà<Tab>Ctrl+W\ o
"
menutrans Move\ &To &Ïåðåìåñòèòü
menutrans Rotate\ &Up<Tab>^WR Ñäâèíóòü\ ââåð&õ<Tab>Ctrl+W\ Shift+R
menutrans Rotate\ &Down<Tab>^Wr Ñäâèíóòü\ â&íèç<Tab>Ctrl+W\ r
"
menutrans &Equal\ Size<Tab>^W= Âûðàâíèâàíèå\ ðàç&ìåðà<Tab>Ctrl+W\ =
menutrans &Max\ Height<Tab>^W_ Ìàêñèìàëüíàÿ\ â&ûñîòà<Tab>Ctrl+W\ _
menutrans M&in\ Height<Tab>^W1_ Ìèíèìàëüíàÿ\ âûñî&òà<Tab>Ctrl+W\ 1_
menutrans Max\ &Width<Tab>^W\| Ìàêñèìàëüíàÿ\ &øèðèíà<Tab>Ctrl+W\ \|
menutrans Min\ Widt&h<Tab>^W1\| Ìèíèìàëüíàÿ\ ø&èðèíà<Tab>Ctrl+W\ 1\|
">>>----------------- Submenu of Window/Move To
menutrans &Top<Tab>^WK Â&âåðõ<Tab>Ctrl+W\ Shift+K
menutrans &Bottom<Tab>^WJ Â&íèç<Tab>Ctrl+W\ Shift+J
menutrans &Left\ side<Tab>^WH Â&ëåâî<Tab>Ctrl+W\ Shift+H
menutrans &Right\ side<Tab>^WL Â&ïðàâî<Tab>Ctrl+W\ Shift+L
"
"
" The popup menu
"
"
menutrans &Undo &Îòìåíèòü
menutrans Cu&t &Âûðåçàòü
menutrans &Copy &Êîïèðîâàòü
menutrans &Paste Âñò&àâèòü
menutrans &Delete &Óäàëèòü
menutrans Select\ Blockwise Áëîêîâîå\ âûäåëåíèå
menutrans Select\ &Word Âûäåëèòü\ ñ&ëîâî
menutrans Select\ &Line Âûäåëèòü\ ñ&òðîêó
menutrans Select\ &Block Âûäåëèòü\ &áëîê
menutrans Select\ &All Â&ûäåëèòü\ âñ¸
menutrans Select\ &Sentence Âûäåëèòü\ ïðåäëî&æåíèå
menutrans Select\ Pa&ragraph Âûäåëèòü\ àá&çàö
"
" The Spelling popup menu
"
let g:menutrans_spell_change_ARG_to = 'Èñïðàâèòü\ "%s"'
let g:menutrans_spell_add_ARG_to_word_list = 'Äîáàâèòü\ "%s"\ â\ ñëîâàðü'
let g:menutrans_spell_ignore_ARG = 'Ïðîïóñòèòü\ "%s"'
"
" The GUI toolbar
"
if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
def g:Do_toolbar_tmenu()
tmenu ToolBar.New Ñîçäàòü äîêóìåíò
tmenu ToolBar.Open Îòêðûòü ôàéë
tmenu ToolBar.Save Ñîõðàíèòü ôàéë
tmenu ToolBar.SaveAll Ñîõðàíèòü âñå ôàéëû
tmenu ToolBar.Print Ïå÷àòü
tmenu ToolBar.Undo Îòìåíèòü
tmenu ToolBar.Redo Âåðíóòü
tmenu ToolBar.Cut Âûðåçàòü
tmenu ToolBar.Copy Êîïèðîâàòü
tmenu ToolBar.Paste Âñòàâèòü
tmenu ToolBar.Find Íàéòè...
tmenu ToolBar.FindNext Íàéòè ñëåäóþùåå
tmenu ToolBar.FindPrev Íàéòè ïðåäûäóùåå
tmenu ToolBar.Replace Çàìåíèòü...
tmenu ToolBar.NewSesn Ñîçäàòü ñåàíñ ðåäàêòèðîâàíèÿ
tmenu ToolBar.LoadSesn Çàãðóçèòü ñåàíñ ðåäàêòèðîâàíèÿ
tmenu ToolBar.SaveSesn Ñîõðàíèòü ñåàíñ ðåäàêòèðîâàíèÿ
tmenu ToolBar.RunScript Âûïîëíèòü êîìàíäíûé ôàéë ïðîãðàììû Vim
tmenu ToolBar.Shell Êîìàíäíàÿ îáîëî÷êà
tmenu ToolBar.Make Êîìïèëÿöèÿ
tmenu ToolBar.RunCtags Ñîçäàòü ôàéë ñ èíäåêñàìè
tmenu ToolBar.TagJump Ïåðåéòè ïî óêàçàòåëþ
tmenu ToolBar.Help Ñïðàâêà
tmenu ToolBar.FindHelp Ïîèñê â äîêóìåíòàöèè
tmenu ToolBar.WinClose Çàêðûòü òåêóùåå îêíî
tmenu ToolBar.WinMax Ìàêñèìàëüíàÿ âûñîòà òåêóùåãî îêíà
tmenu ToolBar.WinMin Ìèíèìàëüíàÿ âûñîòà òåêóùåãî îêíà
tmenu ToolBar.WinSplit Ðàçäåëèòü îêíî ïî ãîðèçîíòàëè
tmenu ToolBar.WinVSplit Ðàçäåëèòü îêíî ïî âåðòèêàëè
tmenu ToolBar.WinMaxWidth Ìàêñèìàëüíàÿ øèðèíà òåêóùåãî îêíà
tmenu ToolBar.WinMinWidth Ìèíèìàëüíàÿ øèðèíà òåêóùåãî îêíà
enddef
endif
"
"
" Dialog texts
"
" Find in help dialog
"
let g:menutrans_help_dialog = "Íàáåðèòå êîìàíäó èëè ñëîâî, êîòîðûå òðåáóåòñÿ íàéòè â äîêóìåíòàöèè.\n\n×òîáû íàéòè êîìàíäû ðåæèìà âñòàâêè, èñïîëüçóéòå ïðèñòàâêó i_ (íàïðèìåð, i_CTRL-X)\n×òîáû íàéòè êîìàíäû êîìàíäíîé ñòðîêè, èñïîëüçóéòå ïðèñòàâêó c_ (íàïðèìåð, c_<Del>)\n×òîáû íàéòè èíôîðìàöèþ î ïàðàìåòðàõ, èñïîëüçóéòå ñèìâîë ' (íàïðèìåð, 'shftwidth')"
"
" Search path dialog
"
let g:menutrans_path_dialog = "Óêàæèòå ÷åðåç çàïÿòóþ íàèìåíîâàíèÿ êàòàëîãîâ, ãäå áóäåò âûïîëíÿòüñÿ ïîèñê ôàéëîâ"
"
" Tag files dialog
"
let g:menutrans_tags_dialog = "Óêàæèòå ÷åðåç çàïÿòóþ íàèìåíîâàíèÿ ôàéëîâ èíäåêñîâ"
"
" Text width dialog
"
let g:menutrans_textwidth_dialog = "Óêàæèòå êîëè÷åñòâî ñèìâîëîâ äëÿ óñòàíîâêè øèðèíû òåêñòà\n×òîáû îòìåíèòü ôîðìàòèðîâàíèå, óêàæèòå 0"
"
" File format dialog
"
let g:menutrans_fileformat_dialog = "Âûáåðèòå ôîðìàò ôàéëà"
let g:menutrans_fileformat_choices = "&1. Unix\n&2. Dos\n&3. Mac\nÎòìåíà (&C)"
"
let menutrans_no_file = "[Áåçûìÿííûé]"
" Menus to handle Russian encodings
" Thanks to Pavlo Bohmat for the idea
" vassily ragosin <vrr[at]users.sourceforge.net>
"
an 10.355 &File.-SEP- <Nop>
an 10.360.20 &File.Îòêðûòü\ â\ êîäèðîâêå\.\.\..CP1251 :browse e ++enc=cp1251<CR>
an 10.360.30 &File.Îòêðûòü\ â\ êîäèðîâêå\.\.\..CP866 :browse e ++enc=cp866<CR>
an 10.360.30 &File.Îòêðûòü\ â\ êîäèðîâêå\.\.\..KOI8-R :browse e ++enc=koi8-r<CR>
an 10.360.40 &File.Îòêðûòü\ â\ êîäèðîâêå\.\.\..UTF-8 :browse e ++enc=utf-8<CR>
an 10.365.20 &File.Ñîõðàíèòü\ ñ\ êîäèðîâêîé\.\.\..CP1251 :browse w ++enc=cp1251<CR>
an 10.365.30 &File.Ñîõðàíèòü\ ñ\ êîäèðîâêîé\.\.\..CP866 :browse w ++enc=cp866<CR>
an 10.365.30 &File.Ñîõðàíèòü\ ñ\ êîäèðîâêîé\.\.\..KOI8-R :browse w ++enc=koi8-r<CR>
an 10.365.40 &File.Ñîõðàíèòü\ ñ\ êîäèðîâêîé\.\.\..UTF-8 :browse w ++enc=utf-8<CR>
"
let &cpo = s:keepcpo
unlet s:keepcpo
+258 -231
View File
@@ -1,23 +1,25 @@
" Menu Translations: Russian
" Maintainer: Sergey Alyoshin <alyoshin.s@gmail.com>
" Previous Maintainer: Vassily Ragosin <vrr[at]users.sourceforge.net>
" Last Change: 16 May 2018
" Maintainer: Restorer, <restorer@mail2k.ru>
" Previous Maintainer: Sergey Alyoshin, <alyoshin.s@gmail.com>
" vassily ragosin, <vrr[at]users.sourceforge.net>
" Last Change: 23 Aug 2023
" Generated from menu_ru_ru.utf-8.vim, DO NOT EDIT
" URL: cvs://cvs.sf.net:/cvsroot/ruvim/extras/menu/menu_ru_ru.vim
" URL: https://github.com/RestorerZ/RuVim
"
" $Id: menu_ru_ru.vim,v 1.1 2004/06/13 16:09:10 vimboss Exp $
"
" Adopted for RuVim project by Vassily Ragosin.
" First translation: Tim Alexeevsky <realtim [at] mail.ru>,
" based on ukrainian translation by Bohdan Vlasyuk <bohdan@vstu.edu.ua>
" First translation: Tim Alexeevsky, <realtim [at] mail.ru>,
" based on ukrainian translation by Bohdan Vlasyuk, <bohdan@vstu.edu.ua>
"
"
" Quit when menu translations have already been done.
"
" Check is
"
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
let g:did_menu_trans = 1
let s:keepcpo= &cpo
set cpo&vim
@@ -25,256 +27,256 @@ scriptencoding koi8-r
" Top
menutrans &File &æÁÊÌ
menutrans &Edit ð&ÒÁ×ËÁ
menutrans &Tools &éÎÓÔÒÕÍÅÎÔÙ
menutrans &Syntax &óÉÎÔÁËÓÉÓ
menutrans &Edit &ðÒÁ×ËÁ
menutrans &Tools ó&ÅÒ×ÉÓ
menutrans &Syntax óÉÎ&ÔÁËÓÉÓ
menutrans &Buffers &âÕÆÅÒÙ
menutrans &Window &ïËÎÏ
menutrans &Help ó&ÐÒÁ×ËÁ
menutrans &Help &óÐÒÁ×ËÁ
"
"
"
" Help menu
menutrans &Overview<Tab><F1> &ïÂÚÏÒ<Tab><F1>
menutrans &User\ Manual òÕËÏ×Ï&ÄÓÔ×Ï\ ÐÏÌØÚÏ×ÁÔÅÌÑ
menutrans &How-To\ Links &ëÁË\ ÜÔÏ\ ÓÄÅÌÁÔØ\.\.\.
menutrans &Find\.\.\. &ðÏÉÓË
" Submenu of menu Help
menutrans &Overview<Tab><F1> ï&ÂÝÉÊ\ ÏÂÚÏÒ<Tab>F1
menutrans &User\ Manual &òÕËÏ×ÏÄÓÔ×Ï\ ÐÏÌØÚÏ×ÁÔÅÌÑ
menutrans &How-to\ links &éÎÓÔÒÕËÃÉÉ
menutrans &Find\.\.\. &îÁÊÔÉ\.\.\.
"--------------------
menutrans &Credits &âÌÁÇÏÄÁÒÎÏÓÔÉ
menutrans Co&pying &òÁÓÐÒÏÓÔÒÁÎÅÎÉÅ
menutrans &Sponsor/Register ðÏÍÏ&ÝØ/òÅÇÉÓÔÒÁÃÉÑ
menutrans O&rphans &óÉÒÏÔÙ
menutrans &Credits óÏ&Á×ÔÏÒÙ
menutrans Co&pying &ìÉÃÅÎÚÉÑ
menutrans &Sponsor/Register óÏÄ&ÅÊÓÔ×ÉÅ\ É\ ÒÅÇÉÓÔÒÁÃÉÑ
menutrans O&rphans &âÌÁÇÏÔ×ÏÒÉÔÅÌØÎÏÓÔØ
"--------------------
menutrans &Version &éÎÆÏÒÍÁÃÉÑ\ Ï\ ÐÒÏÇÒÁÍÍÅ
menutrans &About &úÁÓÔÁ×ËÁ
menutrans &Version &ôÅËÕÝÁÑ\ ×ÅÒÓÉÑ
menutrans &About &ï\ ÐÒÏÇÒÁÍÍÅ
"
"
" File menu
" Submenu of File menu
menutrans &Open\.\.\.<Tab>:e &ïÔËÒÙÔØ\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp ðÏ&ÄÅÌÉÔØ\ ÏËÎÏ\.\.\.<Tab>:sp
menutrans Open\ Tab\.\.\.<Tab>:tabnew ïÔËÒÙÔØ\ ×&ËÌÁÄËÕ\.\.\.<Tab>:tabnew
menutrans &New<Tab>:enew &îÏ×ÙÊ<Tab>:enew
menutrans Sp&lit-Open\.\.\.<Tab>:sp ïÔ&ËÒÙÔØ\ ×\ ÎÏ×ÏÍ\ ÏËÎÅ\.\.\.<Tab>:sp
menutrans Open\ &Tab\.\.\.<Tab>:tabnew ïÔËÒÙ&ÔØ\ ×\ ÎÏ×ÏÊ\ ×ËÌÁÄËÅ\.\.\.<Tab>:tabnew
menutrans &New<Tab>:enew óÏÚÄ&ÁÔØ<Tab>:enew
menutrans &Close<Tab>:close &úÁËÒÙÔØ<Tab>:close
"--------------------
menutrans &Save<Tab>:w &óÏÈÒÁÎÉÔØ<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav óÏÈÒÁÎÉÔØ\ &ËÁË\.\.\.<Tab>:sav
menutrans Save\ &As\.\.\.<Tab>:sav óÏ&ÈÒÁÎÉÔØ\ ËÁË\.\.\.<Tab>:sav
"--------------------
menutrans Split\ &Diff\ With\.\.\. óÒ&Á×ÎÉÔØ\ Ó\.\.\.
menutrans Split\ Patched\ &By\.\.\. óÒÁ×ÎÉÔØ\ Ó\ ÐÒÉÍÅÎÅÎÉÅÍ\ ÚÁÐ&ÌÁÔËÉ\.\.\.
menutrans Split\ &Diff\ with\.\.\. óÒÁ&×ÎÉÔØ\ Ó\.\.\.
menutrans Split\ Patched\ &By\.\.\. óÒÁ×Î&ÉÔØ\ É\ ÉÓÐÒÁ×ÉÔØ\.\.\.
"--------------------
menutrans &Print îÁ&ÐÅÞÁÔÁÔØ
menutrans Sa&ve-Exit<Tab>:wqa ÷Ù&ÈÏÄ\ Ó\ ÓÏÈÒÁÎÅÎÉÅÍ<Tab>:wqa
menutrans E&xit<Tab>:qa &÷ÙÈÏÄ<Tab>:qa
menutrans &Print &ðÅÞÁÔØ\.\.\.
menutrans Sa&ve-Exit<Tab>:wqa óÏÈÒÁ&ÎÉÔØ\ É\ ×ÙÊÔÉ<Tab>:wqa
menutrans E&xit<Tab>:qa ÷&ÙÈÏÄ<Tab>:qa
"
"
" Edit menu
menutrans &Undo<Tab>u ï&ÔÍÅÎÉÔØ<Tab>u
menutrans &Redo<Tab>^R ÷&ÅÒÎÕÔØ<Tab>^R
" Submenu of Edit menu
menutrans &Undo<Tab>u &ïÔÍÅÎÉÔØ<Tab>u
menutrans &Redo<Tab>^R ÷&ÅÒÎÕÔØ<Tab>Ctrl+R
menutrans Rep&eat<Tab>\. ðÏ×ÔÏÒÉÔ&Ø<Tab>\.
"--------------------
menutrans Cu&t<Tab>"+x &÷ÙÒÅÚÁÔØ<Tab>"+x
menutrans &Copy<Tab>"+y &ëÏÐÉÒÏ×ÁÔØ<Tab>"+y
menutrans &Paste<Tab>"+gP ÷Ë&ÌÅÉÔØ<Tab>"+gP
menutrans Put\ &Before<Tab>[p ÷ËÌÅÉÔØ\ ÐÅÒÅ&Ä<Tab>[p
menutrans Put\ &After<Tab>]p ÷ËÌÅÉÔØ\ ÐÏ&ÓÌÅ<Tab>]p
menutrans &Paste<Tab>"+gP ÷ÓÔ&Á×ÉÔØ<Tab>"+g\ Shift+P
menutrans Put\ &Before<Tab>[p ðÏÍÅÓÔÉÔØ\ Ð&ÅÒÅÄ<Tab>[p
menutrans Put\ &After<Tab>]p ðÏÍÅÓÔÉÔØ\ ÐÏ&ÓÌÅ<Tab>]p
menutrans &Delete<Tab>x &õÄÁÌÉÔØ<Tab>x
menutrans &Select\ All<Tab>ggVG ÷&ÙÄÅÌÉÔØ\ ×Ó£<Tab>ggVG
menutrans &Select\ All<Tab>ggVG ÷&ÙÄÅÌÉÔØ\ ×Ó£<Tab>gg\ Shift+V\ Shift+G
"--------------------
" Athena GUI only
menutrans &Find<Tab>/ &ðÏÉÓË<Tab>/
menutrans Find\ and\ Rep&lace<Tab>:%s ðÏÉÓË\ É\ &ÚÁÍÅÎÁ<Tab>:%s
" End Athena GUI only
menutrans &Find\.\.\.<Tab>/ &ðÏÉÓË\.\.\.<Tab>/
menutrans Find\ and\ Rep&lace\.\.\. ðÏÉÓË\ É\ &ÚÁÍÅÎÁ\.\.\.
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:%s ðÏÉÓË\ É\ &ÚÁÍÅÎÁ\.\.\.<Tab>:%s
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:s ðÏÉÓË\ É\ &ÚÁÍÅÎÁ\.\.\.<Tab>:s
" if has("win32") || has("gui_gtk") || has("gui_kde") || has("gui_motif")
menutrans &Find\.\.\. &îÁÊÔÉ\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. &úÁÍÅÎÉÔØ\.\.\.
" else
menutrans &Find<Tab>/ &îÁÊÔÉ<Tab>/
menutrans Find\ and\ Rep&lace<Tab>:%s &úÁÍÅÎÉÔØ<Tab>:%s
menutrans Find\ and\ Rep&lace<Tab>:s &úÁÍÅÎÉÔØ<Tab>:s
"--------------------
menutrans Settings\ &Window ïËÎÏ\ ÎÁÓÔÒÏÊËÉ\ &ÏÐÃÉÊ
menutrans Startup\ &Settings îÁÓÔÒÏÊËÉ\ ÚÁÐÕÓ&ËÁ
menutrans &Global\ Settings &çÌÏÂÁÌØÎÙÅ\ ÎÁÓÔÒÏÊËÉ
menutrans F&ile\ Settings îÁÓÔÒÏÊËÉ\ &ÆÁÊÌÏ×
menutrans C&olor\ Scheme &ã×ÅÔÏ×ÁÑ\ ÓÈÅÍÁ
menutrans &Keymap òÁÓËÌÁÄËÁ\ ËÌ&Á×ÉÁÔÕÒÙ
menutrans Select\ Fo&nt\.\.\. ÷ÙÂÏÒ\ &ÛÒÉÆÔÁ\.\.\.
menutrans Settings\ &Window ÷ÓÅ\ &ÐÁÒÁÍÅÔÒÙ\.\.\.
menutrans Startup\ &Settings ðÁÒÁÍÅÔÒÙ\ ÚÁÐÕÓ&ËÁ
menutrans &Global\ Settings ï&ÂÝÉÅ\ ÐÁÒÁÍÅÔÒÙ
menutrans F&ile\ Settings ðÁÒÁ&ÍÅÔÒÙ\ ÔÅËÕÝÅÇÏ\ ÂÕÆÅÒÁ
menutrans Show\ C&olor\ Schemes\ in\ Menu ðÏËÁÚÁÔØ\ ÍÅÎÀ\ ×ÙÂÏÒÁ\ Ã×Å&ÔÏ×ÏÊ\ ÓÈÅÍÙ
menutrans C&olor\ Scheme ã×ÅÔÏ×ÁÑ\ Ó&ÈÅÍÁ
menutrans Show\ &Keymaps\ in\ Menu ðÏËÁÚÁÔØ\ ÍÅÎÀ\ ×ÙÂÏÒÁ\ ÒÁÓËÌÁÄËÉ\ Ë&ÌÁ×ÉÁÔÕÒÙ
menutrans &Keymap &òÁÓËÌÁÄËÁ\ ËÌÁ×ÉÁÔÕÒÙ
menutrans None îÅ\ ÉÓÐÏÌØÚÏ×ÁÔØ
menutrans Select\ Fo&nt\.\.\. &ûÒÉÆÔ\.\.\.
">>>----------------- Edit/Global settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! ðÏÄÓ×ÅÔËÁ\ &ÎÁÊÄÅÎÎÙÈ\ ÓÏÏÔ×ÅÔÓÔ×ÉÊ<Tab>:set\ hls!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! &òÅÇÉÓÔÒÏÎÅÚÁ×ÉÓÉÍÙÊ\ ÐÏÉÓË<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! ðÏËÁÚÙ×ÁÔØ\ ÐÁÒÎÙÅ\ &ÜÌÅÍÅÎÔÙ<Tab>:set\ sm!
menutrans &Context\ Lines óÔÒ&ÏË\ ×ÏËÒÕÇ\ ËÕÒÓÏÒÁ
menutrans &Virtual\ Edit ÷ÉÒ&ÔÕÁÌØÎÏÅ\ ÒÅÄÁËÔÉÒÏ×ÁÎÉÅ
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! òÅÖÉÍ\ &÷ÓÔÁ×ËÉ<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! &óÏ×ÍÅÓÔÉÍÏÓÔØ\ Ó\ Vi<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. &ðÕÔØ\ ÄÌÑ\ ÐÏÉÓËÁ\ ÆÁÊÌÏ×\.\.\.
menutrans Ta&g\ Files\.\.\. æÁÊÌÙ\ &ÍÅÔÏË\.\.\.
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! ðÏÄÓ×ÅÔËÁ\ ÓÏ×&ÐÁÄÅÎÉÊ<Tab>:set\ hls!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! &òÅÇÉÓÔÒÏÎÅÚÁ×ÉÓÉÍÙÊ\ ÐÏÉÓË<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! ðÏÄÓ×ÅÔËÁ\ ÐÁÒÎÙÈ\ &ÜÌÅÍÅÎÔÏ×<Tab>:set\ sm!
menutrans &Context\ lines ëÏÎÔÅËÓÔÎÙÈ\ ÓÔÒ&ÏË
menutrans &Virtual\ Edit ÷ÉÒ&ÔÕÁÌØÎÏÅ\ ÒÅÄÁËÔÉÒÏ×ÁÎÉÅ
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! òÅÖÉÍ\ &×ÓÔÁ×ËÉ<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! &óÏ×ÍÅÓÔÉÍÏÓÔØ\ Ó\ ÒÅÄÁËÔÏÒÏÍ\ Vi<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. &ëÁÔÁÌÏÇÉ\ ÄÌÑ\ ÐÏÉÓËÁ\ ÆÁÊÌÏ×\.\.\.
menutrans Ta&g\ Files\.\.\. é&ÎÄÅËÓÎÙÅ\ ÆÁÊÌÙ\.\.\.
"
menutrans Toggle\ &Toolbar &éÎÓÔÒÕÍÅÎÔÁÌØÎÁÑ\ ÐÁÎÅÌØ
menutrans Toggle\ &Bottom\ Scrollbar ðÏÌÏÓÁ\ ÐÒÏËÒÕÔËÉ\ ×ÎÉ&ÚÕ
menutrans Toggle\ &Left\ Scrollbar ðÏÌÏÓÁ\ ÐÒÏËÒÕÔËÉ\ Ó&ÌÅ×Á
menutrans Toggle\ &Right\ Scrollbar ðÏÌÏÓÁ\ ÐÒÏËÒÕÔËÉ\ ÓÐÒ&Á×Á
menutrans Toggle\ &Toolbar ðÏËÁÚ\ ÐÁÎÅÌÉ\ &ÉÎÓÔÒÕÍÅÎÔÏ×
menutrans Toggle\ &Bottom\ Scrollbar ðÏËÁÚ\ ÐÏÌÏÓÙ\ ÐÒÏËÒÕÔËÉ\ ×ÎÉ&ÚÕ
menutrans Toggle\ &Left\ Scrollbar ðÏËÁÚ\ ÐÏÌÏÓÙ\ ÐÒÏËÒÕÔËÉ\ Ó&ÌÅ×Á
menutrans Toggle\ &Right\ Scrollbar ðÏËÁÚ\ ÐÏÌÏÓÙ\ ÐÒÏËÒÕÔËÉ\ ÓÐÒ&Á×Á
">>>->>>------------- Edit/Global settings/Virtual edit
menutrans Never ÷ÙËÌÀÞÅÎÏ
menutrans Block\ Selection ðÒÉ\ ×ÙÄÅÌÅÎÉÉ\ ÂÌÏËÁ
menutrans Insert\ Mode ÷\ ÒÅÖÉÍÅ\ ÷ÓÔÁ×ËÉ
menutrans Block\ and\ Insert ðÒÉ\ ×ÙÄÅÌÅÎÉÉ\ ÂÌÏËÁ\ É\ ×\ ÒÅÖÉÍÅ\ ÷ÓÔÁ×ËÉ
menutrans Always ÷ËÌÀÞÅÎÏ\ ×ÓÅÇÄÁ
menutrans Never ÷ÙËÌÀÞÅÎÏ\ ×Ï\ ×ÓÅÈ\ ÒÅÖÉÍÁÈ
menutrans Block\ Selection ÷ËÌÀÞÅÎÏ\ ×\ ÒÅÖÉÍÅ\ ×ÉÚÕÁÌØÎÏÇÏ\ ÂÌÏËÁ
menutrans Insert\ mode ÷ËÌÀÞÅÎÏ\ ×\ ÒÅÖÉÍÅ\ ×ÓÔÁ×ËÉ
menutrans Block\ and\ Insert ÷ËÌÀÞÅÎÏ\ ×\ ÒÅÖÉÍÁÈ\ ×ÉÚÕÁÌØÎÏÇÏ\ ÂÌÏËÁ\ É\ ×ÓÔÁ×ËÉ
menutrans Always ÷ËÌÀÞÅÎÏ\ ×Ï\ ×ÓÅÈ\ ÒÅÖÉÍÁÈ
">>>----------------- Edit/File settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &îÕÍÅÒÁÃÉÑ\ ÓÔÒÏË<Tab>:set\ nu!
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! ïÔÎÏÓÉÔÅ&ÌØÎÁÑ\ ÎÕÍÅÒÁÃÉÑ\ ÓÔÒÏË<Tab>:set\ nru!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! ïÔÏÂÒÁ&ÖÅÎÉÅ\ ÎÅ×ÉÄÉÍÙÈ\ ÓÉÍ×ÏÌÏ×<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &ðÅÒÅÎÏÓ\ ÄÌÉÎÎÙÈ\ ÓÔÒÏË<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ Word<Tab>:set\ lbr! ðÅÒÅÎÏÓ\ &ÃÅÌÙÈ\ ÓÌÏ×<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding-tab<Tab>:set\ et! ðÒÏ&ÂÅÌÙ\ ×ÍÅÓÔÏ\ ÔÁÂÕÌÑÃÉÉ<Tab>:set\ et!
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! á×ÔÏÍÁÔÉÞÅÓËÏÅ\ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÅ\ &ÏÔÓÔÕÐÏ×<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! æÏÒÍÁÔÉÒÏ×ÁÎÉÅ\ ÏÔÓÔÕÐÏ×\ ×\ &ÓÔÉÌÅ\ C<Tab>:set\ cin!
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! ðÏËÁÚ\ &ÎÕÍÅÒÁÃÉÉ\ ÓÔÒÏË<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! ðÏËÁÚ\ ÏÔÎÏÓÉÔÅ&ÌØÎÏÊ\ ÎÕÍÅÒÁÃÉÉ\ ÓÔÒÏË<Tab>:set\ nru!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! ðÏËÁÚ\ ÎÅ&ÐÅÞÁÔÁÅÍÙÈ\ ÚÎÁËÏ×<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &òÁÚÂÉ×ËÁ\ ÓÔÒÏË\ ÐÏ\ ÇÒÁÎÉÃÅ\ ÏËÎÁ<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! òÁÚÂÉ×ËÁ\ ÓÔÒÏË\ ÐÏ\ &ÇÒÁÎÉÃÅ\ ÓÌÏ×<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! úÁÍÅÎÁ\ ÓÉÍ×ÏÌÏ×\ &ÔÁÂÕÌÑÃÉÉ\ ÎÁ\ ÐÒÏÂÅÌÙ<Tab>:set\ et!
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! õÓÔÁÎÏ×ËÁ\ ÏÔÓÔÕÐÁ\ ËÁË\ Õ\ ÔÅËÕÝÅÊ\ &ÓÔÒÏËÉ<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! õÓÔÁÎÏ×ËÁ\ ÏÔÓÔÕÐÁ\ ËÁË\ ×\ &ÑÚÙËÅ\ óÉ<Tab>:set\ cin!
">>>---
menutrans &Shiftwidth ÷ÅÌÉ&ÞÉÎÁ\ ÏÔÓÔÕÐÁ
menutrans Soft\ &Tabstop ûÉÒÉÎÁ\ &ÔÁÂÕÌÑÃÉÉ
menutrans Te&xt\ Width\.\.\. &ûÉÒÉÎÁ\ ÔÅËÓÔÁ\.\.\.
menutrans &File\ Format\.\.\. &æÏÒÍÁÔ\ ÆÁÊÌÁ\.\.\.
menutrans &Shiftwidth ÷ÅÌÉ&ÞÉÎÁ\ ÏÔÓÔÕÐÁ
menutrans Soft\ &Tabstop ûÉÒÉÎÁ\ &ÔÁÂÕÌÑÃÉÉ
menutrans Te&xt\ Width\.\.\. &ûÉÒÉÎÁ\ ÔÅËÓÔÁ\.\.\.
menutrans &File\ Format\.\.\. &æÏÒÍÁÔ\ ÆÁÊÌÁ\.\.\.
"
"
"
" Tools menu
menutrans &Jump\ to\ This\ Tag<Tab>g^] &ðÅÒÅÊÔÉ\ Ë\ ÍÅÔËÅ<Tab>g^]
menutrans Jump\ &Back<Tab>^T ÅÒÎÕÔØÓÑ\ ÎÁÚÁÄ<Tab>^T
menutrans Build\ &Tags\ File óÏÚÄÁÔØ\ ÆÁÊÌ\ ÍÅ&ÔÏË
" Submenu of Tools menu
menutrans &Jump\ to\ this\ tag<Tab>g^] &ðÅÒÅÊÔÉ\ ÐÏ\ ÕËÁÚÁÔÅÌÀ<Tab>g\ Ctrl+]
menutrans Jump\ &back<Tab>^TÅÒÎÕÔØÓÑ\ ÎÁÚÁÄ<Tab>Ctrl+T
menutrans Build\ &Tags\ File óÏÚÄÁÔØ\ ÆÁÊÌ\ Ó\ &ÉÎÄÅËÓÁÍÉ
"-------------------
menutrans &Folding &óËÌÁÄËÉ
menutrans &Spelling ðÒ&Á×ÏÐÉÓÁÎÉÅ
menutrans &Diff &ïÔÌÉÞÉÑ\ (diff)
menutrans &Folding ó&ÔÒÕËÔÕÒÁ\ ÔÅËÓÔÁ
menutrans &Spelling ðÒ&Á×ÏÐÉÓÁÎÉÅ
menutrans &Diff &óÒÁ×ÎÅÎÉÅ\ ÔÅËÓÔÁ
"-------------------
menutrans &Make<Tab>:make ëÏ&ÍÐÉÌÉÒÏ×ÁÔØ<Tab>:make
menutrans &List\ Errors<Tab>:cl óÐÉÓÏË\ Ï&ÛÉÂÏË<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! óÐÉÓÏË\ ÓÏÏ&ÂÝÅÎÉÊ<Tab>:cl!
menutrans &Next\ Error<Tab>:cn óÌÅÄÕ&ÀÝÁÑ\ ÏÛÉÂËÁ<Tab>:cn
menutrans &Previous\ Error<Tab>:cp ð&ÒÅÄÙÄÕÝÁÑ\ ÏÛÉÂËÁ<Tab>:cp
menutrans &Older\ List<Tab>:cold âÏÌÅÅ\ ÓÔÁÒ&ÙÊ\ ÓÐÉÓÏË\ ÏÛÉÂÏË<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew âÏÌÅÅ\ Ó×Å&ÖÉÊ\ ÓÐÉÓÏË\ ÏÛÉÂÏË<Tab>:cnew
menutrans Error\ &Window ïË&ÎÏ\ ÏÛÉÂÏË
menutrans Se&t\ Compiler ÷ÙÂÏÒ\ &ËÏÍÐÉÌÑÔÏÒÁ
menutrans Show\ Compiler\ Se&ttings\ in\ Menu ðÏËÁ&ÚÁÔØ\ ÎÁÓÔÒÏÊËÉ\ ËÏÍÐÉ&ÌÑÔÏÒÁ\ ×\ ÍÅÎÀ
menutrans &Make<Tab>:make ëÏ&ÍÐÉÌÑÃÉÑ<Tab>:make
menutrans &List\ Errors<Tab>:cl òÁÓÐÏÚÎÁÎÎÙÅ\ Ï&ÛÉÂËÉ<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! ÷ÅÓ&Ø\ ÓÐÉÓÏË\ ÒÅÚÕÌØÔÁÔÏ×<Tab>:cl!
menutrans &Next\ Error<Tab>:cn óÌÅÄÕ&ÀÝÁÑ\ ÚÁÐÉÓØ\ ÉÚ\ ÓÐÉÓËÁ<Tab>:cn
menutrans &Previous\ Error<Tab>:cp ðÒ&ÅÄÙÄÕÝÁÑ\ ÚÁÐÉÓØ\ ÉÚ\ ÓÐÉÓËÁ<Tab>:cp
menutrans &Older\ List<Tab>:cold ðÒÅÄ&ÙÄÕÝÉÊ\ ÓÐÉÓÏË\ ÒÅÚÕÌØÔÁÔÏ×<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew ó&ÌÅÄÕÀÝÉÊ\ ÓÐÉÓÏË\ ÒÅÚÕÌØÔÁÔÏ×<Tab>:cnew
menutrans Error\ &Window ïË&ÎÏ\ ÓÏ\ ÓÐÉÓËÏÍ\ ÒÅÚÕÌØÔÁÔÏ×
menutrans Show\ Compiler\ Se&ttings\ in\ Menu ðÏËÁÚÁÔØ\ ÍÅÎÀ\ ×ÙÂÏÒÁ\ &ËÏÍÐÉÌÑÔÏÒÁ
menutrans Se&T\ Compiler ÷ÙÂÒÁÔØ\ &ËÏÍÐÉÌÑÔÏÒ
"-------------------
menutrans &Convert\ to\ HEX<Tab>:%!xxd ð&ÅÒÅ×ÅÓÔÉ\ ×\ HEX<Tab>:%!xxd
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r ðÅÒÅ×ÅÓÔÉ\ É&Ú\ HEX<Tab>:%!xxd\ -r
menutrans &Convert\ to\ HEX<Tab>:%!xxd ðÒÅÏ&ÂÒÁÚÏ×ÁÔØ\ ×\ HEX<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r ðÒÅÏÂÒÁÚÏ×ÁÔØ\ É&Ú\ HEX<Tab>:%!xxd\ -r
">>>---------------- Tools/Spelling
menutrans &Spell\ Check\ On ËÌ\ ÐÒÏ×ÅÒËÕ\ ÐÒÁ×ÏÐÉÓÁÎÉÑ
menutrans Spell\ Check\ &Off ÷Ù&ËÌ\ ÐÒÏ×ÅÒËÕ\ ÐÒÁ×ÏÐÉÓÁÎÉÑ
menutrans To\ &Next\ Error<Tab>]s &óÌÅÄÕÀÝÁÑ\ ÏÛÉÂËÁ<Tab>]s
menutrans To\ &Previous\ Error<Tab>[s &ðÒÅÄÙÄÕÝÁÑ\ ÏÛÉÂËÁ<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= ðÒÅÄÌÏÖÉÔØ\ ÉÓÐ&ÒÁ×ÌÅÎÉÑ<Tab>z=
menutrans &Repeat\ Correction<Tab>:spellrepall ðÏ×&ÔÏÒÉÔØ\ ÉÓÐÒÁ×ÌÅÎÉÅ\ ÄÌÑ\ ×ÓÅÈ<Tab>spellrepall
menutrans &Spell\ Check\ On ÷ÙÐÏÌÎÑÔØ\ &ÐÒÏ×ÅÒËÕ
menutrans Spell\ Check\ &Off &îÅ\ ×ÙÐÏÌÎÑÔØ\ ÐÒÏ×ÅÒËÕ
menutrans To\ &Next\ error<Tab>]s ó&ÌÅÄÕÀÝÁÑ\ ÏÛÉÂËÁ<Tab>]s
menutrans To\ &Previous\ error<Tab>[s ðÒ&ÅÄÙÄÕÝÁÑ\ ÏÛÉÂËÁ<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= ÷ÁÒÉÁÎÔ&Ù\ ÎÁÐÉÓÁÎÉÑ<Tab>z=
menutrans &Repeat\ correction<Tab>:spellrepall úÁÍÅÎÉÔØ\ &×ÓÅ<Tab>:spellrepall
"-------------------
menutrans Set\ Language\ to\ "en" õÓÔÁÎÏ×ÉÔØ\ ÑÚÙË\ "en"
menutrans Set\ Language\ to\ "en_au" õÓÔÁÎÏ×ÉÔØ\ ÑÚÙË\ "en_au"
menutrans Set\ Language\ to\ "en_ca" õÓÔÁÎÏ×ÉÔØ\ ÑÚÙË\ "en_ca"
menutrans Set\ Language\ to\ "en_gb" õÓÔÁÎÏ×ÉÔØ\ ÑÚÙË\ "en_gb"
menutrans Set\ Language\ to\ "en_nz" õÓÔÁÎÏ×ÉÔØ\ ÑÚÙË\ "en_nz"
menutrans Set\ Language\ to\ "en_us" õÓÔÁÎÏ×ÉÔØ\ ÑÚÙË\ "en_us"
menutrans &Find\ More\ Languages &îÁÊÔÉ\ ÂÏÌØÛÅ\ ÑÚÙËÏ×
let g:menutrans_set_lang_to = 'õÓÔÁÎÏ×ÉÔØ ÑÚÙË'
"
"
" The Spelling popup menu
"
"
let g:menutrans_spell_change_ARG_to = 'éÓÐÒÁ×ÉÔØ\ "%s"\ ÎÁ'
let g:menutrans_spell_add_ARG_to_word_list = 'äÏÂÁ×ÉÔØ\ "%s"\ ×\ ÓÌÏ×ÁÒØ'
let g:menutrans_spell_ignore_ARG = 'ðÒÏÐÕÓÔÉÔØ\ "%s"'
menutrans Set\ language\ to\ "en" ðÒÏ×ÅÒËÁ\ ÄÌÑ\ ÑÚÙËÁ\ "en"
menutrans Set\ language\ to\ "en_au" ðÒÏ×ÅÒËÁ\ ÄÌÑ\ ÑÚÙËÁ\ "en_au"
menutrans Set\ language\ to\ "en_ca" ðÒÏ×ÅÒËÁ\ ÄÌÑ\ ÑÚÙËÁ\ "en_ca"
menutrans Set\ language\ to\ "en_gb" ðÒÏ×ÅÒËÁ\ ÄÌÑ\ ÑÚÙËÁ\ "en_gb"
menutrans Set\ language\ to\ "en_nz" ðÒÏ×ÅÒËÁ\ ÄÌÑ\ ÑÚÙËÁ\ "en_nz"
menutrans Set\ language\ to\ "en_us" ðÒÏ×ÅÒËÁ\ ÄÌÑ\ ÑÚÙËÁ\ "en_us"
menutrans &Find\ More\ Languages îÁÊÔÉ\ ÄÌÑ\ ÄÒÕÇÉÈ\ &ÑÚÙËÏ×
let g:menutrans_set_lang_to = 'ðÒÏ×ÅÒËÁ ÄÌÑ ÑÚÙËÁ'
">>>---------------- Folds
menutrans &Enable/Disable\ Folds<Tab>zi ÷ËÌ/×ÙËÌ\ &ÓËÌÁÄËÉ<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv ïÔËÒÙÔØ\ ÓÔÒÏËÕ\ Ó\ &ËÕÒÓÏÒÏÍ<Tab>zv
menutrans Vie&w\ Cursor\ Line\ Only<Tab>zMzx ïÔËÒÙÔØ\ &ÔÏÌØËÏ\ ÓÔÒÏËÕ\ Ó\ ËÕÒÓÏÒÏÍ<Tab>zMzx
menutrans C&lose\ More\ Folds<Tab>zm úÁËÒÙÔØ\ &ÂÏÌØÛÅ\ ÓËÌÁÄÏË<Tab>zm
menutrans &Close\ All\ Folds<Tab>zM úÁËÒÙÔØ\ &×ÓÅ\ ÓËÌÁÄËÉ<Tab>zM
menutrans &Open\ All\ Folds<Tab>zR ïÔËÒ&ÙÔØ\ ×ÓÅ\ ÓËÌÁÄËÉ<Tab>zR
menutrans O&pen\ More\ Folds<Tab>zr ïÔË&ÒÙÔØ\ ÂÏÌØÛÅ\ ÓËÌÁÄÏË<Tab>zr
menutrans Fold\ Met&hod &íÅÔÏÄ\ ÓËÌÁÄÏË
menutrans Create\ &Fold<Tab>zf óÏ&ÚÄÁÔØ\ ÓËÌÁÄËÕ<Tab>zf
menutrans &Delete\ Fold<Tab>zd õ&ÄÁÌÉÔØ\ ÓËÌÁÄËÕ<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD õÄÁÌÉÔØ\ ×Ó&Å\ ÓËÌÁÄËÉ<Tab>zD
menutrans Fold\ col&umn\ Width &ûÉÒÉÎÁ\ ËÏÌÏÎËÉ\ ÓËÌÁÄÏË
menutrans &Enable/Disable\ folds<Tab>zi &ðÏËÁÚÁÔØ\ ÉÌÉ\ ÕÂÒÁÔØ\ ÓÔÒÕËÔÕÒÕ<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv ðÒÏÓÍÏÔÒ\ ÓÔÒÏËÉ\ ÐÏÄ\ &ËÕÒÓÏÒÏÍ<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx ðÒÏÓÍÏÔÒ\ &ÔÏÌØËÏ\ ÓÔÒÏËÉ\ ÐÏÄ\ ËÕÒÓÏÒÏÍ<Tab>z\ Shift+M\ zx
menutrans C&lose\ more\ folds<Tab>zm ó×ÅÒÎÕÔØ\ ×ÌÏ&ÖÅÎÎÙÅ\ ÂÌÏËÉ\ ÓÔÒÕËÔÕÒÙ<Tab>zm
menutrans &Close\ all\ folds<Tab>zM ó×ÅÒÎÕÔØ\ &×ÓÅ\ ÂÌÏËÉ\ ÓÔÒÕËÔÕÒÙ<Tab>z\ Shift+M
menutrans &Open\ all\ folds<Tab>zR òÁÚ×ÅÒÎÕÔØ\ ×&ÓÅ\ ÂÌÏËÉ\ ÓÔÒÕËÔÕÒÙ<Tab>z\ Shift+R
menutrans O&pen\ more\ folds<Tab>zr òÁ&Ú×ÅÒÎÕÔØ\ ×ÌÏÖÅÎÎÙÊ\ ÂÌÏË\ ÓÔÒÕËÔÕÒÙ<Tab>zr
menutrans Fold\ Met&hod &íÅÔÏÄ\ ÒÁÚÍÅÔËÉ\ ÓÔÒÕËÔÕÒÙ
menutrans Create\ &Fold<Tab>zf óÏ&ÚÄÁÔØ\ ÂÌÏË\ ÓÔÒÕËÔÕÒÙ<Tab>zf
menutrans &Delete\ Fold<Tab>zd &õÂÒÁÔØ\ ÂÌÏË\ ÓÔÒÕËÔÕÒÙ<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD õÂÒÁÔØ\ ×Ó&Å\ ÂÌÏËÉ\ ÓÔÒÕËÔÕÒÙ<Tab>z\ Shift+D
menutrans Fold\ col&umn\ width &ûÉÒÉÎÁ\ ÓÔÏÌÂÃÁ\ ÓÏ\ ÚÎÁÞËÁÍÉ\ ÓÔÒÕËÔÕÒÙ
">>>->>>----------- Tools/Folds/Fold Method
menutrans M&anual ÷ÒÕ&ÞÎÕÀ
menutrans I&ndent ï&ÔÓÔÕÐ
menutrans E&xpression ÙÒÁÖÅÎÉÅ
menutrans S&yntax &óÉÎÔÁËÓÉÓ
menutrans Ma&rker &íÁÒËÅÒÙ
">>>--------------- Tools/Diff
menutrans &Update ï&ÂÎÏ×ÉÔØ
menutrans &Get\ Block éÚÍÅÎÉÔØ\ &ÜÔÏÔ\ ÂÕÆÅÒ
menutrans &Put\ Block éÚÍÅÎÉÔØ\ &ÄÒÕÇÏÊ\ ÂÕÆÅÒ
">>>--------------- Tools/Diff/Error window
menutrans &Update<Tab>:cwin ï&ÂÎÏ×ÉÔØ<Tab>:cwin
menutrans &Close<Tab>:cclose &úÁËÒÙÔØ<Tab>:cclose
menutrans &Open<Tab>:copen &ïÔËÒÙÔØ<Tab>:copen
menutrans M&anual òÁÚÍÅÔËÁ\ ×ÒÕ&ÞÎÕÀ
menutrans I&ndent îÁ\ ÏÓÎÏ×Å\ Ï&ÔÓÔÕÐÏ×
menutrans E&xpression îÁ\ ÏÓÎÏ×Å\ Ò&ÁÓÞ£ÔÏ×
menutrans S&yntax îÁ\ ÏÓÎÏ×Å\ &ÓÉÎÔÁËÓÉÓÁ
menutrans &Diff îÁ\ ÏÓÎÏ×Å\ ÒÁÚÌÉÞÉÊ\ ×\ ÔÅËÓÔÁÈ
menutrans Ma&rker îÁ\ ÏÓÎÏ×Å\ &ÍÁÒËÅÒÏ×
">>>--------------- Sub of Tools/Diff
menutrans &Update ï&ÂÎÏ×ÉÔØ\ ÓÏÄÅÒÖÉÍÏÅ\ ÏËÏÎ
menutrans &Get\ Block ðÅÒÅÎÅÓÔÉ\ &×\ ÔÅËÕÝÉÊ\ ÂÕÆÅÒ
menutrans &Put\ Block ðÅÒÅÎÅÓÔÉ\ &ÉÚ\ ÔÅËÕÝÅÇÏ\ ÂÕÆÅÒÁ
">>>--------------- Tools/Error window
menutrans &Update<Tab>:cwin ï&ÂÎÏ×ÉÔØ<Tab>:cwin
menutrans &Close<Tab>:cclose &úÁËÒÙÔØ<Tab>:cclose
menutrans &Open<Tab>:copen &ïÔËÒÙÔØ<Tab>:copen
"
"
" Syntax menu
"
menutrans &Show\ File\ Types\ in\ Menu ðÏËÁÚÁÔØ\ ÍÅÎÀ\ ×ÙÂÏÒÁ\ ÔÉÐÁ\ &ÆÁÊÌÁ
menutrans Set\ '&syntax'\ only &éÚÍÅÎÑÔØ\ ÔÏÌØËÏ\ ÚÎÁÞÅÎÉÅ\ 'syntax'
menutrans Set\ '&filetype'\ too éÚÍÅÎÑÔØ\ &ÔÁËÖÅ\ ÚÎÁÞÅÎÉÅ\ 'filetype'
menutrans &Off &ïÔËÌÀÞÉÔØ
menutrans &Manual ÷ÒÕ&ÞÎÕÀ
menutrans A&utomatic &á×ÔÏÍÁÔÉÞÅÓËÉ
menutrans On/Off\ for\ &This\ File ÷ËÌ/×ÙËÌ\ ÄÌÑ\ &ÜÔÏÇÏ\ ÆÁÊÌÁ
menutrans Co&lor\ Test ðÒÏ×ÅÒËÁ\ &Ã×ÅÔÏ×
menutrans &Highlight\ Test ðÒÏ×ÅÒËÁ\ ÐÏÄ&Ó×ÅÔËÉ
menutrans &Convert\ to\ HTML ó&ÄÅÌÁÔØ\ HTML\ Ó\ ÐÏÄÓ×ÅÔËÏÊ
menutrans &Show\ File\ Types\ in\ menu &ðÏËÁÚÁÔØ\ ÍÅÎÀ\ ×ÙÂÏÒÁ\ ÔÉÐÁ\ ÆÁÊÌÁ
menutrans Set\ '&syntax'\ only á&ËÔÉ×ÉÒÏ×ÁÔØ\ ÐÁÒÁÍÅÔÒ\ 'syntax'
menutrans Set\ '&filetype'\ too áËÔÉ×ÉÒÏ×ÁÔØ\ ÐÁÒÁ&ÍÅÔÒ\ 'filetype'
menutrans &Off &ïÔËÌÀÞÉÔØ\ ÐÏÄÓ×ÅÔËÕ
menutrans &Manual ÷ËÌÀÞÅÎÉÅ\ ÐÏÄÓ×ÅÔËÉ\ ×ÒÕ&ÞÎÕÀ
menutrans A&utomatic ÷ËÌÀÞÅÎÉÅ\ ÐÏÄÓ×ÅÔËÉ\ &Á×ÔÏÍÁÔÉÞÅÓËÉ
menutrans on/off\ for\ &This\ file éÚÍÅÎÉÔØ\ ÒÅÖÉÍ\ ÄÌÑ\ &ÔÅËÕÝÅÇÏ\ ÆÁÊÌÁ
menutrans Co&lor\ test ðÒÏ×ÅÒÉÔØ\ ÐÏÄÄÅÒ&ÖÉ×ÁÅÍÙÅ\ Ã×ÅÔÁ
menutrans &Highlight\ test ðÏËÁÚÁÔØ\ ÇÒÕÐÐÙ\ ÐÏÄ&Ó×ÅÔËÉ
menutrans &Convert\ to\ HTML ðÒÅÏ&ÂÒÁÚÏ×ÁÔØ\ ÔÅËÕÝÉÊ\ ÆÁÊÌ\ ×\ HTML
"
"
" Buffers menu
"
menutrans &Refresh\ menu ï&ÂÎÏ×ÉÔØ\ ÍÅÎÀ
menutrans Delete õ&ÄÁÌÉÔØ
menutrans &Alternate &óÏÓÅÄÎÉÊ
menutrans &Next ó&ÌÅÄÕÀÝÉÊ
menutrans &Previous &ðÒÅÄÙÄÕÝÉÊ
menutrans [No\ File] [îÅÔ\ ÆÁÊÌÁ]
menutrans &Refresh\ menu &ïÂÎÏ×ÉÔØ\ ÓÐÉÓÏË\ ÂÕÆÅÒÏ×
menutrans &Delete &úÁËÒÙÔØ\ ÂÕÆÅÒ
menutrans &Alternate &óÏÓÅÄÎÉÊ\ ÂÕÆÅÒ
menutrans &Next ó&ÌÅÄÕÀÝÉÊ\ ÂÕÆÅÒ
menutrans &Previous &ðÒÅÄÙÄÕÝÉÊ\ ÂÕÆÅÒ
"
"
" Window menu
" Submenu of Window menu
"
menutrans &New<Tab>^Wn &îÏ×ÏÅ\ ÏËÎÏ<Tab>^Wn
menutrans S&plit<Tab>^Ws &òÁÚÄÅÌÉÔØ\ ÏËÎÏ<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ ïÔËÒÙÔØ\ &ÓÏÓÅÄÎÉÊ\ ÆÁÊÌ\ ×\ ÎÏ×ÏÍ\ ÏËÎÅ<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv òÁÚÄÅÌÉÔØ\ ÐÏ\ &×ÅÒÔÉËÁÌÉ<Tab>^Wv
menutrans Split\ File\ E&xplorer ïÔËÒÙÔØ\ ÐÒÏ×ÏÄÎÉË\ ÐÏ\ &ÆÁÊÌÏ×ÏÊ\ ÓÉÓÔÅÍÅ
menutrans &New<Tab>^Wn &óÏÚÄÁÔØ<Tab>Ctrl+W\ n
menutrans S&plit<Tab>^Ws òÁÚÄÅÌÉÔØ\ ÐÏ\ &ÇÏÒÉÚÏÎÔÁÌÉ<Tab>Ctrl+W\ s
menutrans Split\ &Vertically<Tab>^Wv òÁÚÄÅÌÉÔØ\ ÐÏ\ &×ÅÒÔÉËÁÌÉ<Tab>Ctrl+W\ v
menutrans Sp&lit\ To\ #<Tab>^W^^ ó&ÏÓÅÄÎÉÊ\ ÆÁÊÌ\ ×\ ÎÏ×ÏÍ\ ÏËÎÅ<Tab>Ctrl+W\ Ctrl+^
menutrans Split\ File\ E&xplorer äÉÓÐÅÔÞÅÒ\ ÆÁÊÌÏ×
"
menutrans &Close<Tab>^Wc &úÁËÒÙÔØ\ ÜÔÏ\ ÏËÎÏ<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo úÁËÒÙÔØ\ &ÏÓÔÁÌØÎÙÅ\ ÏËÎÁ<Tab>^Wo
menutrans &Close<Tab>^Wc &úÁËÒÙÔØ\ ÔÅËÕÝÅÅ\ ÏËÎÏ<Tab>Ctrl+W\ c
menutrans Close\ &Other(s)<Tab>^Wo ú&ÁËÒÙÔØ\ ÄÒÕÇÉÅ\ ÏËÎÁ<Tab>Ctrl+W\ o
"
menutrans Move\ &To &ðÅÒÅÍÅÓÔÉÔØ
menutrans Rotate\ &Up<Tab>^WR óÄ×ÉÎÕÔØ\ ××ÅÒ&È<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr óÄ×ÉÎÕÔØ\ ×&ÎÉÚ<Tab>^Wr
menutrans Move\ &To &ðÅÒÅÍÅÓÔÉÔØ
menutrans Rotate\ &Up<Tab>^WR óÄ×ÉÎÕÔØ\ ××ÅÒ&È<Tab>Ctrl+W\ Shift+R
menutrans Rotate\ &Down<Tab>^Wr óÄ×ÉÎÕÔØ\ ×&ÎÉÚ<Tab>Ctrl+W\ r
"
menutrans &Equal\ Size<Tab>^W= ï&ÄÉÎÁËÏ×ÙÊ\ ÒÁÚÍÅÒ<Tab>^W=
menutrans &Max\ Height<Tab>^W_ íÁËÓÉÍÁÌØÎÁÑ\ ×&ÙÓÏÔÁ<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ íÉÎÉÍÁÌØÎÁÑ\ ×ÙÓÏ&ÔÁ<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| íÁËÓÉÍÁÌØÎÁÑ\ &ÛÉÒÉÎÁ<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| íÉÎÉÍÁÌ&ØÎÁÑ\ ÛÉÒÉÎÁ<Tab>^W1\|
">>>----------------- Window/Move To
menutrans &Top<Tab>^WK ÷&×ÅÒÈ<Tab>^WK
menutrans &Bottom<Tab>^WJ ÷&ÎÉÚ<Tab>^WJ
menutrans &Left\ Side<Tab>^WH ÷&ÌÅ×Ï<Tab>^WH
menutrans &Right\ Side<Tab>^WL ÷&ÐÒÁ×Ï<Tab>^WL
menutrans &Equal\ Size<Tab>^W= ÷ÙÒÁ×ÎÉ×ÁÎÉÅ\ ÒÁÚ&ÍÅÒÁ<Tab>Ctrl+W\ =
menutrans &Max\ Height<Tab>^W_ íÁËÓÉÍÁÌØÎÁÑ\ ×&ÙÓÏÔÁ<Tab>Ctrl+W\ _
menutrans M&in\ Height<Tab>^W1_ íÉÎÉÍÁÌØÎÁÑ\ ×ÙÓÏ&ÔÁ<Tab>Ctrl+W\ 1_
menutrans Max\ &Width<Tab>^W\| íÁËÓÉÍÁÌØÎÁÑ\ &ÛÉÒÉÎÁ<Tab>Ctrl+W\ \|
menutrans Min\ Widt&h<Tab>^W1\| íÉÎÉÍÁÌØÎÁÑ\ Û&ÉÒÉÎÁ<Tab>Ctrl+W\ 1\|
">>>----------------- Submenu of Window/Move To
menutrans &Top<Tab>^WK ÷&×ÅÒÈ<Tab>Ctrl+W\ Shift+K
menutrans &Bottom<Tab>^WJ ÷&ÎÉÚ<Tab>Ctrl+W\ Shift+J
menutrans &Left\ side<Tab>^WH ÷&ÌÅ×Ï<Tab>Ctrl+W\ Shift+H
menutrans &Right\ side<Tab>^WL ÷&ÐÒÁ×Ï<Tab>Ctrl+W\ Shift+L
"
"
" The popup menu
"
"
menutrans &Undo ï&ÔÍÅÎÉÔØ
menutrans Cu&t ÙÒÅÚÁÔØ
menutrans &Copy &ëÏÐÉÒÏ×ÁÔØ
menutrans &Paste ÷Ë&ÌÅÉÔØ
menutrans &Delete &õÄÁÌÉÔØ
menutrans Select\ Blockwise âÌÏËÏ×ÏÅ\ ×ÙÄÅÌÅÎÉÅ
menutrans Select\ &Word ÷ÙÄÅÌÉÔØ\ &ÓÌÏ×Ï
menutrans Select\ &Sentence ÷ÙÄÅÌÉÔØ\ &ÐÒÅÄÌÏÖÅÎÉÅ
menutrans Select\ Pa&ragraph ÷ÙÄÅÌÉÔØ\ ÐÁÒÁ&ÇÒÁÆ
menutrans Select\ &Line ÷ÙÄÅÌÉÔØ\ ÓÔ&ÒÏËÕ
menutrans Select\ &Block ÷ÙÄÅÌÉÔØ\ &ÂÌÏË
menutrans Select\ &All ÷ÙÄÅÌÉÔØ\ &×Ó£
menutrans &Undo &ïÔÍÅÎÉÔØ
menutrans Cu&tÙÒÅÚÁÔØ
menutrans &Copy &ëÏÐÉÒÏ×ÁÔØ
menutrans &Paste ÷ÓÔ&Á×ÉÔØ
menutrans &Delete &õÄÁÌÉÔØ
menutrans Select\ Blockwise âÌÏËÏ×ÏÅ\ ×ÙÄÅÌÅÎÉÅ
menutrans Select\ &Word ÷ÙÄÅÌÉÔØ\ Ó&ÌÏ×Ï
menutrans Select\ &Line ÷ÙÄÅÌÉÔØ\ Ó&ÔÒÏËÕ
menutrans Select\ &Block ÷ÙÄÅÌÉÔØ\ &ÂÌÏË
menutrans Select\ &All ÷&ÙÄÅÌÉÔØ\ ×Ó£
menutrans Select\ &Sentence ÷ÙÄÅÌÉÔØ\ ÐÒÅÄÌÏ&ÖÅÎÉÅ
menutrans Select\ Pa&ragraph ÷ÙÄÅÌÉÔØ\ ÁÂ&ÚÁÃ
"
" The Spelling popup menu
"
let g:menutrans_spell_change_ARG_to = 'éÓÐÒÁ×ÉÔØ\ "%s"'
let g:menutrans_spell_add_ARG_to_word_list = 'äÏÂÁ×ÉÔØ\ "%s"\ ×\ ÓÌÏ×ÁÒØ'
let g:menutrans_spell_ignore_ARG = 'ðÒÏÐÕÓÔÉÔØ\ "%s"'
"
" The GUI toolbar
"
@@ -282,29 +284,39 @@ if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open ïÔËÒÙÔØ ÆÁÊÌ
tmenu ToolBar.Save óÏÈÒÁÎÉÔØ ÆÁÊÌ
tmenu ToolBar.SaveAll óÏÈÒÁÎÉÔØ ×ÓÅ ÆÁÊÌÙ
tmenu ToolBar.Print îÁÐÅÞÁÔÁÔØ
tmenu ToolBar.Undo ïÔÍÅÎÉÔØ
tmenu ToolBar.Redo ÷ÅÒÎÕÔØ
tmenu ToolBar.Cut ÷ÙÒÅÚÁÔØ
tmenu ToolBar.Copy ëÏÐÉÒÏ×ÁÔØ
tmenu ToolBar.Paste ÷ËÌÅÉÔØ
tmenu ToolBar.FindNext îÁÊÔÉ ÓÌÅÄÕÀÝÅÅ
tmenu ToolBar.FindPrev îÁÊÔÉ ÐÒÅÄÙÄÕÝÅÅ
tmenu ToolBar.Replace îÁÊÔÉ ÉÌÉ ÚÁÍÅÎÉÔØ...
tmenu ToolBar.LoadSesn úÁÇÒÕÚÉÔØ ÓÅÁÎÓ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ
tmenu ToolBar.SaveSesn óÏÈÒÁÎÉÔØ ÓÅÁÎÓ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ
tmenu ToolBar.RunScript ÷ÙÐÏÌÎÉÔØ ÓÃÅÎÁÒÉÊ Vim
tmenu ToolBar.Make ëÏÍÐÉÌÑÃÉÑ
tmenu ToolBar.Shell ïÂÏÌÏÞËÁ
tmenu ToolBar.RunCtags óÏÚÄÁÔØ ÆÁÊÌ ÍÅÔÏË
tmenu ToolBar.TagJump ðÅÒÅÊÔÉ Ë ÍÅÔËÅ
tmenu ToolBar.Help óÐÒÁ×ËÁ
tmenu ToolBar.FindHelp îÁÊÔÉ ÓÐÒÁ×ËÕ
endfun
def g:Do_toolbar_tmenu()
tmenu ToolBar.New óÏÚÄÁÔØ ÄÏËÕÍÅÎÔ
tmenu ToolBar.Open ïÔËÒÙÔØ ÆÁÊÌ
tmenu ToolBar.Save óÏÈÒÁÎÉÔØ ÆÁÊÌ
tmenu ToolBar.SaveAll óÏÈÒÁÎÉÔØ ×ÓÅ ÆÁÊÌÙ
tmenu ToolBar.Print ðÅÞÁÔØ
tmenu ToolBar.Undo ïÔÍÅÎÉÔØ
tmenu ToolBar.Redo ÷ÅÒÎÕÔØ
tmenu ToolBar.Cut ÷ÙÒÅÚÁÔØ
tmenu ToolBar.Copy ëÏÐÉÒÏ×ÁÔØ
tmenu ToolBar.Paste ÷ÓÔÁ×ÉÔØ
tmenu ToolBar.Find îÁÊÔÉ...
tmenu ToolBar.FindNext îÁÊÔÉ ÓÌÅÄÕÀÝÅÅ
tmenu ToolBar.FindPrev îÁÊÔÉ ÐÒÅÄÙÄÕÝÅÅ
tmenu ToolBar.Replace úÁÍÅÎÉÔØ...
tmenu ToolBar.NewSesn óÏÚÄÁÔØ ÓÅÁÎÓ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ
tmenu ToolBar.LoadSesn úÁÇÒÕÚÉÔØ ÓÅÁÎÓ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ
tmenu ToolBar.SaveSesn óÏÈÒÁÎÉÔØ ÓÅÁÎÓ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ
tmenu ToolBar.RunScript ÷ÙÐÏÌÎÉÔØ ËÏÍÁÎÄÎÙÊ ÆÁÊÌ ÐÒÏÇÒÁÍÍÙ Vim
tmenu ToolBar.Shell ëÏÍÁÎÄÎÁÑ ÏÂÏÌÏÞËÁ
tmenu ToolBar.Make ëÏÍÐÉÌÑÃÉÑ
tmenu ToolBar.RunCtags óÏÚÄÁÔØ ÆÁÊÌ Ó ÉÎÄÅËÓÁÍÉ
tmenu ToolBar.TagJump ðÅÒÅÊÔÉ ÐÏ ÕËÁÚÁÔÅÌÀ
tmenu ToolBar.Help óÐÒÁ×ËÁ
tmenu ToolBar.FindHelp ðÏÉÓË × ÄÏËÕÍÅÎÔÁÃÉÉ
tmenu ToolBar.WinClose úÁËÒÙÔØ ÔÅËÕÝÅÅ ÏËÎÏ
tmenu ToolBar.WinMax íÁËÓÉÍÁÌØÎÁÑ ×ÙÓÏÔÁ ÔÅËÕÝÅÇÏ ÏËÎÁ
tmenu ToolBar.WinMin íÉÎÉÍÁÌØÎÁÑ ×ÙÓÏÔÁ ÔÅËÕÝÅÇÏ ÏËÎÁ
tmenu ToolBar.WinSplit òÁÚÄÅÌÉÔØ ÏËÎÏ ÐÏ ÇÏÒÉÚÏÎÔÁÌÉ
tmenu ToolBar.WinVSplit òÁÚÄÅÌÉÔØ ÏËÎÏ ÐÏ ×ÅÒÔÉËÁÌÉ
tmenu ToolBar.WinMaxWidth íÁËÓÉÍÁÌØÎÁÑ ÛÉÒÉÎÁ ÔÅËÕÝÅÇÏ ÏËÎÁ
tmenu ToolBar.WinMinWidth íÉÎÉÍÁÌØÎÁÑ ÛÉÒÉÎÁ ÔÅËÕÝÅÇÏ ÏËÎÁ
enddef
endif
"
"
@@ -312,26 +324,41 @@ endif
"
" Find in help dialog
"
let g:menutrans_help_dialog = "÷×ÅÄÉÔÅ ËÏÍÁÎÄÕ ÉÌÉ ÓÌÏ×Ï ÄÌÑ ÐÏÉÓËÁ:\n\näÏÂÁרÔÅ i_ ÄÌÑ ÐÏÉÓËÁ ËÏÍÁÎÄ ÒÅÖÉÍÁ ÷ÓÔÁ×ËÉ (ÎÁÐÒÉÍÅÒ, i_CTRL-X)\näÏÂÁרÔÅ c_ ÄÌÑ ÐÏÉÓËÁ ËÏÍÁÎÄ ïÂÙÞÎÏÇÏ ÒÅÖÉÍÁ (ÎÁÐÒÉÍÅÒ, Ó_<Del>)\näÏÂÁרÔÅ ' ÄÌÑ ÐÏÉÓËÁ ÓÐÒÁ×ËÉ ÐÏ ÏÐÃÉÉ (ÎÁÐÒÉÍÅÒ, 'shiftwidth')"
let g:menutrans_help_dialog = "îÁÂÅÒÉÔÅ ËÏÍÁÎÄÕ ÉÌÉ ÓÌÏ×Ï, ËÏÔÏÒÙÅ ÔÒÅÂÕÅÔÓÑ ÎÁÊÔÉ × ÄÏËÕÍÅÎÔÁÃÉÉ.\n\nþÔÏÂÙ ÎÁÊÔÉ ËÏÍÁÎÄÙ ÒÅÖÉÍÁ ×ÓÔÁ×ËÉ, ÉÓÐÏÌØÚÕÊÔÅ ÐÒÉÓÔÁ×ËÕ i_ (ÎÁÐÒÉÍÅÒ, i_CTRL-X)\nþÔÏÂÙ ÎÁÊÔÉ ËÏÍÁÎÄÙ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ, ÉÓÐÏÌØÚÕÊÔÅ ÐÒÉÓÔÁ×ËÕ c_ (ÎÁÐÒÉÍÅÒ, c_<Del>)\nþÔÏÂÙ ÎÁÊÔÉ ÉÎÆÏÒÍÁÃÉÀ Ï ÐÁÒÁÍÅÔÒÁÈ, ÉÓÐÏÌØÚÕÊÔÅ ÓÉÍ×ÏÌ ' (ÎÁÐÒÉÍÅÒ, 'shftwidth')"
"
" Searh path dialog
" Search path dialog
"
let g:menutrans_path_dialog = "õËÁÖÉÔÅ ÐÕÔØ ÄÌÑ ÐÏÉÓËÁ ÆÁÊÌÏ×.\néÍÅÎÁ ËÁÔÁÌÏÇÏ× ÒÁÚÄÅÌÑÀÔÓÑ ÚÁÐÑÔÙÍÉ."
let g:menutrans_path_dialog = "õËÁÖÉÔÅ ÞÅÒÅÚ ÚÁÐÑÔÕÀ ÎÁÉÍÅÎÏ×ÁÎÉÑ ËÁÔÁÌÏÇÏ×, ÇÄÅ ÂÕÄÅÔ ×ÙÐÏÌÎÑÔØÓÑ ÐÏÉÓË ÆÁÊÌÏ×"
"
" Tag files dialog
"
let g:menutrans_tags_dialog = "÷×ÅÄÉÔÅ ÉÍÅÎÁ ÆÁÊÌÏ× ÍÅÔÏË (ÞÅÒÅÚ ÚÁÐÑÔÕÀ).\n"
let g:menutrans_tags_dialog = "õËÁÖÉÔÅ ÞÅÒÅÚ ÚÁÐÑÔÕÀ ÎÁÉÍÅÎÏ×ÁÎÉÑ ÆÁÊÌÏ× ÉÎÄÅËÓÏ×"
"
" Text width dialog
"
let g:menutrans_textwidth_dialog = "÷×ÅÄÉÔÅ ÛÉÒÉÎÕ ÔÅËÓÔÁ ÄÌÑ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ.\näÌÑ ÏÔÍÅÎÙ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ ××ÅÄÉÔÅ 0."
let g:menutrans_textwidth_dialog = "õËÁÖÉÔÅ ËÏÌÉÞÅÓÔ×Ï ÓÉÍ×ÏÌÏ× ÄÌÑ ÕÓÔÁÎÏ×ËÉ ÛÉÒÉÎÙ ÔÅËÓÔÁ\nþÔÏÂÙ ÏÔÍÅÎÉÔØ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÅ, ÕËÁÖÉÔÅ 0"
"
" File format dialog
"
let g:menutrans_fileformat_dialog = "÷ÙÂÅÒÉÔÅ ÆÏÒÍÁÔ ÆÁÊÌÁ."
let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\nï&ÔÍÅÎÁ"
let g:menutrans_fileformat_dialog = "÷ÙÂÅÒÉÔÅ ÆÏÒÍÁÔ ÆÁÊÌÁ"
let g:menutrans_fileformat_choices = "&1. Unix\n&2. Dos\n&3. Mac\nïÔÍÅÎÁ (&C)"
"
let menutrans_no_file = "[âÅÚÙÍÑÎÎÙÊ]"
" Menus to handle Russian encodings
" Thanks to Pavlo Bohmat for the idea
" vassily ragosin <vrr[at]users.sourceforge.net>
"
an 10.355 &File.-SEP- <Nop>
an 10.360.20 &File.ïÔËÒÙÔØ\ ×\ ËÏÄÉÒÏ×ËÅ\.\.\..CP1251 :browse e ++enc=cp1251<CR>
an 10.360.30 &File.ïÔËÒÙÔØ\ ×\ ËÏÄÉÒÏ×ËÅ\.\.\..CP866 :browse e ++enc=cp866<CR>
an 10.360.30 &File.ïÔËÒÙÔØ\ ×\ ËÏÄÉÒÏ×ËÅ\.\.\..KOI8-R :browse e ++enc=koi8-r<CR>
an 10.360.40 &File.ïÔËÒÙÔØ\ ×\ ËÏÄÉÒÏ×ËÅ\.\.\..UTF-8 :browse e ++enc=utf-8<CR>
an 10.365.20 &File.óÏÈÒÁÎÉÔØ\ Ó\ ËÏÄÉÒÏ×ËÏÊ\.\.\..CP1251 :browse w ++enc=cp1251<CR>
an 10.365.30 &File.óÏÈÒÁÎÉÔØ\ Ó\ ËÏÄÉÒÏ×ËÏÊ\.\.\..CP866 :browse w ++enc=cp866<CR>
an 10.365.30 &File.óÏÈÒÁÎÉÔØ\ Ó\ ËÏÄÉÒÏ×ËÏÊ\.\.\..KOI8-R :browse w ++enc=koi8-r<CR>
an 10.365.40 &File.óÏÈÒÁÎÉÔØ\ Ó\ ËÏÄÉÒÏ×ËÏÊ\.\.\..UTF-8 :browse w ++enc=utf-8<CR>
"
let menutrans_no_file = "[îÅÔ ÆÁÊÌÁ]"
let &cpo = s:keepcpo
unlet s:keepcpo
+258 -231
View File
@@ -1,23 +1,25 @@
" Menu Translations: Russian
" Maintainer: Sergey Alyoshin <alyoshin.s@gmail.com>
" Previous Maintainer: Vassily Ragosin <vrr[at]users.sourceforge.net>
" Last Change: 16 May 2018
" Maintainer: Restorer, <restorer@mail2k.ru>
" Previous Maintainer: Sergey Alyoshin, <alyoshin.s@gmail.com>
" vassily ragosin, <vrr[at]users.sourceforge.net>
" Last Change: 23 Aug 2023
" Original translations
" URL: cvs://cvs.sf.net:/cvsroot/ruvim/extras/menu/menu_ru_ru.vim
" URL: https://github.com/RestorerZ/RuVim
"
" $Id: menu_ru_ru.vim,v 1.1 2004/06/13 16:09:10 vimboss Exp $
"
" Adopted for RuVim project by Vassily Ragosin.
" First translation: Tim Alexeevsky <realtim [at] mail.ru>,
" based on ukrainian translation by Bohdan Vlasyuk <bohdan@vstu.edu.ua>
" First translation: Tim Alexeevsky, <realtim [at] mail.ru>,
" based on ukrainian translation by Bohdan Vlasyuk, <bohdan@vstu.edu.ua>
"
"
" Quit when menu translations have already been done.
"
" Check is
"
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
let g:did_menu_trans = 1
let s:keepcpo= &cpo
set cpo&vim
@@ -25,256 +27,256 @@ scriptencoding utf-8
" Top
menutrans &File &Файл
menutrans &Edit П&равка
menutrans &Tools &Инструменты
menutrans &Syntax &Синтаксис
menutrans &Edit &Правка
menutrans &Tools С&ервис
menutrans &Syntax Син&таксис
menutrans &Buffers &Буферы
menutrans &Window &Окно
menutrans &Help С&правка
menutrans &Help &Справка
"
"
"
" Help menu
menutrans &Overview<Tab><F1> &Обзор<Tab><F1>
menutrans &User\ Manual Руково&дство\ пользователя
menutrans &How-To\ Links &Как\ это\ сделать\.\.\.
menutrans &Find\.\.\. &Поиск
" Submenu of menu Help
menutrans &Overview<Tab><F1> О&бщий\ обзор<Tab>F1
menutrans &User\ Manual &Руководство\ пользователя
menutrans &How-to\ links &Инструкции
menutrans &Find\.\.\. &Найти\.\.\.
"--------------------
menutrans &Credits &Благодарности
menutrans Co&pying &Распространение
menutrans &Sponsor/Register Помо&щь/Регистрация
menutrans O&rphans &Сироты
menutrans &Credits Со&авторы
menutrans Co&pying &Лицензия
menutrans &Sponsor/Register Сод&ействие\ и\ регистрация
menutrans O&rphans &Благотворительность
"--------------------
menutrans &Version &Информация\ о\ программе
menutrans &About &Заставка
menutrans &Version &Текущая\ версия
menutrans &About &О\ программе
"
"
" File menu
" Submenu of File menu
menutrans &Open\.\.\.<Tab>:e &Открыть\.\.\.<Tab>:e
menutrans Sp&lit-Open\.\.\.<Tab>:sp По&делить\ окно\.\.\.<Tab>:sp
menutrans Open\ Tab\.\.\.<Tab>:tabnew Открыть\ в&кладку\.\.\.<Tab>:tabnew
menutrans &New<Tab>:enew &Новый<Tab>:enew
menutrans Sp&lit-Open\.\.\.<Tab>:sp От&крыть\ в\ новом\ окне\.\.\.<Tab>:sp
menutrans Open\ &Tab\.\.\.<Tab>:tabnew Откры&ть\ в\ новой\ вкладке\.\.\.<Tab>:tabnew
menutrans &New<Tab>:enew Созд&ать<Tab>:enew
menutrans &Close<Tab>:close &Закрыть<Tab>:close
"--------------------
menutrans &Save<Tab>:w &Сохранить<Tab>:w
menutrans Save\ &As\.\.\.<Tab>:sav Сохранить\ &как\.\.\.<Tab>:sav
menutrans Save\ &As\.\.\.<Tab>:sav Со&хранить\ как\.\.\.<Tab>:sav
"--------------------
menutrans Split\ &Diff\ With\.\.\. Ср&авнить\ с\.\.\.
menutrans Split\ Patched\ &By\.\.\. Сравнить\ с\ применением\ зап&латки\.\.\.
menutrans Split\ &Diff\ with\.\.\. Сра&внить\ с\.\.\.
menutrans Split\ Patched\ &By\.\.\. Сравн&ить\ и\ исправить\.\.\.
"--------------------
menutrans &Print На&печатать
menutrans Sa&ve-Exit<Tab>:wqa Вы&ход\ с\ сохранением<Tab>:wqa
menutrans E&xit<Tab>:qa &Выход<Tab>:qa
menutrans &Print &Печать\.\.\.
menutrans Sa&ve-Exit<Tab>:wqa Сохра&нить\ и\ выйти<Tab>:wqa
menutrans E&xit<Tab>:qa В&ыход<Tab>:qa
"
"
" Edit menu
menutrans &Undo<Tab>u О&тменить<Tab>u
menutrans &Redo<Tab>^R В&ернуть<Tab>^R
" Submenu of Edit menu
menutrans &Undo<Tab>u &Отменить<Tab>u
menutrans &Redo<Tab>^R В&ернуть<Tab>Ctrl+R
menutrans Rep&eat<Tab>\. Повторит&ь<Tab>\.
"--------------------
menutrans Cu&t<Tab>"+x &Вырезать<Tab>"+x
menutrans &Copy<Tab>"+y &Копировать<Tab>"+y
menutrans &Paste<Tab>"+gP Вк&леить<Tab>"+gP
menutrans Put\ &Before<Tab>[p Вклеить\ пере&д<Tab>[p
menutrans Put\ &After<Tab>]p Вклеить\ по&сле<Tab>]p
menutrans &Paste<Tab>"+gP Вст&авить<Tab>"+g\ Shift+P
menutrans Put\ &Before<Tab>[p Поместить\ п&еред<Tab>[p
menutrans Put\ &After<Tab>]p Поместить\ по&сле<Tab>]p
menutrans &Delete<Tab>x &Удалить<Tab>x
menutrans &Select\ All<Tab>ggVG В&ыделить\ всё<Tab>ggVG
menutrans &Select\ All<Tab>ggVG В&ыделить\ всё<Tab>gg\ Shift+V\ Shift+G
"--------------------
" Athena GUI only
menutrans &Find<Tab>/ &Поиск<Tab>/
menutrans Find\ and\ Rep&lace<Tab>:%s Поиск\ и\ &замена<Tab>:%s
" End Athena GUI only
menutrans &Find\.\.\.<Tab>/ &Поиск\.\.\.<Tab>/
menutrans Find\ and\ Rep&lace\.\.\. Поиск\ и\ &замена\.\.\.
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:%s Поиск\ и\ &замена\.\.\.<Tab>:%s
menutrans Find\ and\ Rep&lace\.\.\.<Tab>:s Поиск\ и\ &замена\.\.\.<Tab>:s
" if has("win32") || has("gui_gtk") || has("gui_kde") || has("gui_motif")
menutrans &Find\.\.\. &Найти\.\.\.
menutrans Find\ and\ Rep&lace\.\.\. &Заменить\.\.\.
" else
menutrans &Find<Tab>/ &Найти<Tab>/
menutrans Find\ and\ Rep&lace<Tab>:%s &Заменить<Tab>:%s
menutrans Find\ and\ Rep&lace<Tab>:s &Заменить<Tab>:s
"--------------------
menutrans Settings\ &Window Окно\ настройки\ &опций
menutrans Startup\ &Settings Настройки\ запус&ка
menutrans &Global\ Settings &Глобальные\ настройки
menutrans F&ile\ Settings Настройки\ &файлов
menutrans C&olor\ Scheme &Цветовая\ схема
menutrans &Keymap Раскладка\ кл&авиатуры
menutrans Select\ Fo&nt\.\.\. Выбор\ &шрифта\.\.\.
menutrans Settings\ &Window Все\ &параметры\.\.\.
menutrans Startup\ &Settings Параметры\ запус&ка
menutrans &Global\ Settings О&бщие\ параметры
menutrans F&ile\ Settings Пара&метры\ текущего\ буфера
menutrans Show\ C&olor\ Schemes\ in\ Menu Показать\ меню\ выбора\ цве&товой\ схемы
menutrans C&olor\ Scheme Цветовая\ с&хема
menutrans Show\ &Keymaps\ in\ Menu Показать\ меню\ выбора\ раскладки\ к&лавиатуры
menutrans &Keymap &Раскладка\ клавиатуры
menutrans None Не\ использовать
menutrans Select\ Fo&nt\.\.\. &Шрифт\.\.\.
">>>----------------- Edit/Global settings
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Подсветка\ &найденных\ соответствий<Tab>:set\ hls!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! &Регистронезависимый\ поиск<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Показывать\ парные\ &элементы<Tab>:set\ sm!
menutrans &Context\ Lines Стр&ок\ вокруг\ курсора
menutrans &Virtual\ Edit Вир&туальное\ редактирование
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Режим\ &Вставки<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! &Совместимость\ с\ Vi<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. &Путь\ для\ поиска\ файлов\.\.\.
menutrans Ta&g\ Files\.\.\. Файлы\ &меток\.\.\.
menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Подсветка\ сов&падений<Tab>:set\ hls!
menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! &Регистронезависимый\ поиск<Tab>:set\ ic!
menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! Подсветка\ парных\ &элементов<Tab>:set\ sm!
menutrans &Context\ lines Контекстных\ стр&ок
menutrans &Virtual\ Edit Вир&туальное\ редактирование
menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Режим\ &вставки<Tab>:set\ im!
menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! &Совместимость\ с\ редактором\ Vi<Tab>:set\ cp!
menutrans Search\ &Path\.\.\. &Каталоги\ для\ поиска\ файлов\.\.\.
menutrans Ta&g\ Files\.\.\. И&ндексные\ файлы\.\.\.
"
menutrans Toggle\ &Toolbar &Инструментальная\ панель
menutrans Toggle\ &Bottom\ Scrollbar Полоса\ прокрутки\ вни&зу
menutrans Toggle\ &Left\ Scrollbar Полоса\ прокрутки\ с&лева
menutrans Toggle\ &Right\ Scrollbar Полоса\ прокрутки\ спр&ава
menutrans Toggle\ &Toolbar Показ\ панели\ &инструментов
menutrans Toggle\ &Bottom\ Scrollbar Показ\ полосы\ прокрутки\ вни&зу
menutrans Toggle\ &Left\ Scrollbar Показ\ полосы\ прокрутки\ с&лева
menutrans Toggle\ &Right\ Scrollbar Показ\ полосы\ прокрутки\ спр&ава
">>>->>>------------- Edit/Global settings/Virtual edit
menutrans Never Выключено
menutrans Block\ Selection При\ выделении\ блока
menutrans Insert\ Mode В\ режиме\ Вставки
menutrans Block\ and\ Insert При\ выделении\ блока\ и\ в\ режиме\ Вставки
menutrans Always Включено\ всегда
menutrans Never Выключено\ во\ всех\ режимах
menutrans Block\ Selection Включено\ в\ режиме\ визуального\ блока
menutrans Insert\ mode Включено\ в\ режиме\ вставки
menutrans Block\ and\ Insert Включено\ в\ режимах\ визуального\ блока\ и\ вставки
menutrans Always Включено\ во\ всех\ режимах
">>>----------------- Edit/File settings
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! &Нумерация\ строк<Tab>:set\ nu!
menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! Относите&льная\ нумерация\ строк<Tab>:set\ nru!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Отобра&жение\ невидимых\ символов<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &Перенос\ длинных\ строк<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ Word<Tab>:set\ lbr! Перенос\ &целых\ слов<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding-tab<Tab>:set\ et! Про&белы\ вместо\ табуляции<Tab>:set\ et!
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Автоматическое\ форматирование\ &отступов<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Форматирование\ отступов\ в\ &стиле\ C<Tab>:set\ cin!
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Показ\ &нумерации\ строк<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! Показ\ относите&льной\ нумерации\ строк<Tab>:set\ nru!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! Показ\ не&печатаемых\ знаков<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! &Разбивка\ строк\ по\ границе\ окна<Tab>:set\ wrap!
menutrans Toggle\ W&rapping\ at\ word<Tab>:set\ lbr! Разбивка\ строк\ по\ &границе\ слов<Tab>:set\ lbr!
menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! Замена\ символов\ &табуляции\ на\ пробелы<Tab>:set\ et!
menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! Установка\ отступа\ как\ у\ текущей\ &строки<Tab>:set\ ai!
menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! Установка\ отступа\ как\ в\ &языке\ Си<Tab>:set\ cin!
">>>---
menutrans &Shiftwidth Вели&чина\ отступа
menutrans Soft\ &Tabstop Ширина\ &табуляции
menutrans Te&xt\ Width\.\.\. &Ширина\ текста\.\.\.
menutrans &File\ Format\.\.\. &Формат\ файла\.\.\.
menutrans &Shiftwidth Вели&чина\ отступа
menutrans Soft\ &Tabstop Ширина\ &табуляции
menutrans Te&xt\ Width\.\.\. &Ширина\ текста\.\.\.
menutrans &File\ Format\.\.\. &Формат\ файла\.\.\.
"
"
"
" Tools menu
menutrans &Jump\ to\ This\ Tag<Tab>g^] &Перейти\ к\ метке<Tab>g^]
menutrans Jump\ &Back<Tab>^T &Вернуться\ назад<Tab>^T
menutrans Build\ &Tags\ File Создать\ файл\ ме&ток
" Submenu of Tools menu
menutrans &Jump\ to\ this\ tag<Tab>g^] &Перейти\ по\ указателю<Tab>g\ Ctrl+]
menutrans Jump\ &back<Tab>^T &Вернуться\ назад<Tab>Ctrl+T
menutrans Build\ &Tags\ File Создать\ файл\ с\ &индексами
"-------------------
menutrans &Folding &Складки
menutrans &Spelling Пр&авописание
menutrans &Diff &Отличия\ (diff)
menutrans &Folding С&труктура\ текста
menutrans &Spelling Пр&авописание
menutrans &Diff &Сравнение\ текста
"-------------------
menutrans &Make<Tab>:make Ко&мпилировать<Tab>:make
menutrans &List\ Errors<Tab>:cl Список\ о&шибок<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Список\ соо&бщений<Tab>:cl!
menutrans &Next\ Error<Tab>:cn Следу&ющая\ ошибка<Tab>:cn
menutrans &Previous\ Error<Tab>:cp П&редыдущая\ ошибка<Tab>:cp
menutrans &Older\ List<Tab>:cold Более\ стар&ый\ список\ ошибок<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew Более\ све&жий\ список\ ошибок<Tab>:cnew
menutrans Error\ &Window Ок&но\ ошибок
menutrans Se&t\ Compiler Выбор\ &компилятора
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Пока&зать\ настройки\ компи&лятора\ в\ меню
menutrans &Make<Tab>:make Ко&мпиляция<Tab>:make
menutrans &List\ Errors<Tab>:cl Распознанные\ о&шибки<Tab>:cl
menutrans L&ist\ Messages<Tab>:cl! Вес&ь\ список\ результатов<Tab>:cl!
menutrans &Next\ Error<Tab>:cn Следу&ющая\ запись\ из\ списка<Tab>:cn
menutrans &Previous\ Error<Tab>:cp Пр&едыдущая\ запись\ из\ списка<Tab>:cp
menutrans &Older\ List<Tab>:cold Пред&ыдущий\ список\ результатов<Tab>:cold
menutrans N&ewer\ List<Tab>:cnew С&ледующий\ список\ результатов<Tab>:cnew
menutrans Error\ &Window Ок&но\ со\ списком\ результатов
menutrans Show\ Compiler\ Se&ttings\ in\ Menu Показать\ меню\ выбора\ &компилятора
menutrans Se&T\ Compiler Выбрать\ &компилятор
"-------------------
menutrans &Convert\ to\ HEX<Tab>:%!xxd П&еревести\ в\ HEX<Tab>:%!xxd
menutrans Conve&rt\ Back<Tab>:%!xxd\ -r Перевести\ и&з\ HEX<Tab>:%!xxd\ -r
menutrans &Convert\ to\ HEX<Tab>:%!xxd Прео&бразовать\ в\ HEX<Tab>:%!xxd
menutrans Conve&rt\ back<Tab>:%!xxd\ -r Преобразовать\ и&з\ HEX<Tab>:%!xxd\ -r
">>>---------------- Tools/Spelling
menutrans &Spell\ Check\ On &Вкл\ проверку\ правописания
menutrans Spell\ Check\ &Off Вы&кл\ проверку\ правописания
menutrans To\ &Next\ Error<Tab>]s &Следующая\ ошибка<Tab>]s
menutrans To\ &Previous\ Error<Tab>[s &Предыдущая\ ошибка<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= Предложить\ исп&равления<Tab>z=
menutrans &Repeat\ Correction<Tab>:spellrepall Пов&торить\ исправление\ для\ всех<Tab>spellrepall
menutrans &Spell\ Check\ On Выполнять\ &проверку
menutrans Spell\ Check\ &Off &Не\ выполнять\ проверку
menutrans To\ &Next\ error<Tab>]s С&ледующая\ ошибка<Tab>]s
menutrans To\ &Previous\ error<Tab>[s Пр&едыдущая\ ошибка<Tab>[s
menutrans Suggest\ &Corrections<Tab>z= Вариант&ы\ написания<Tab>z=
menutrans &Repeat\ correction<Tab>:spellrepall Заменить\ &все<Tab>:spellrepall
"-------------------
menutrans Set\ Language\ to\ "en" Установить\ язык\ "en"
menutrans Set\ Language\ to\ "en_au" Установить\ язык\ "en_au"
menutrans Set\ Language\ to\ "en_ca" Установить\ язык\ "en_ca"
menutrans Set\ Language\ to\ "en_gb" Установить\ язык\ "en_gb"
menutrans Set\ Language\ to\ "en_nz" Установить\ язык\ "en_nz"
menutrans Set\ Language\ to\ "en_us" Установить\ язык\ "en_us"
menutrans &Find\ More\ Languages &Найти\ больше\ языков
let g:menutrans_set_lang_to = 'Установить язык'
"
"
" The Spelling popup menu
"
"
let g:menutrans_spell_change_ARG_to = 'Исправить\ "%s"\ на'
let g:menutrans_spell_add_ARG_to_word_list = 'Добавить\ "%s"\ в\ словарь'
let g:menutrans_spell_ignore_ARG = 'Пропустить\ "%s"'
menutrans Set\ language\ to\ "en" Проверка\ для\ языка\ "en"
menutrans Set\ language\ to\ "en_au" Проверка\ для\ языка\ "en_au"
menutrans Set\ language\ to\ "en_ca" Проверка\ для\ языка\ "en_ca"
menutrans Set\ language\ to\ "en_gb" Проверка\ для\ языка\ "en_gb"
menutrans Set\ language\ to\ "en_nz" Проверка\ для\ языка\ "en_nz"
menutrans Set\ language\ to\ "en_us" Проверка\ для\ языка\ "en_us"
menutrans &Find\ More\ Languages Найти\ для\ других\ &языков
let g:menutrans_set_lang_to = 'Проверка для языка'
">>>---------------- Folds
menutrans &Enable/Disable\ Folds<Tab>zi Вкл/выкл\ &складки<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv Открыть\ строку\ с\ &курсором<Tab>zv
menutrans Vie&w\ Cursor\ Line\ Only<Tab>zMzx Открыть\ &только\ строку\ с\ курсором<Tab>zMzx
menutrans C&lose\ More\ Folds<Tab>zm Закрыть\ &больше\ складок<Tab>zm
menutrans &Close\ All\ Folds<Tab>zM Закрыть\ &все\ складки<Tab>zM
menutrans &Open\ All\ Folds<Tab>zR Откр&ыть\ все\ складки<Tab>zR
menutrans O&pen\ More\ Folds<Tab>zr Отк&рыть\ больше\ складок<Tab>zr
menutrans Fold\ Met&hod &Метод\ складок
menutrans Create\ &Fold<Tab>zf Со&здать\ складку<Tab>zf
menutrans &Delete\ Fold<Tab>zd У&далить\ складку<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Удалить\ вс&е\ складки<Tab>zD
menutrans Fold\ col&umn\ Width &Ширина\ колонки\ складок
menutrans &Enable/Disable\ folds<Tab>zi &Показать\ или\ убрать\ структуру<Tab>zi
menutrans &View\ Cursor\ Line<Tab>zv Просмотр\ строки\ под\ &курсором<Tab>zv
menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Просмотр\ &только\ строки\ под\ курсором<Tab>z\ Shift+M\ zx
menutrans C&lose\ more\ folds<Tab>zm Свернуть\ вло&женные\ блоки\ структуры<Tab>zm
menutrans &Close\ all\ folds<Tab>zM Свернуть\ &все\ блоки\ структуры<Tab>z\ Shift+M
menutrans &Open\ all\ folds<Tab>zR Развернуть\ в&се\ блоки\ структуры<Tab>z\ Shift+R
menutrans O&pen\ more\ folds<Tab>zr Ра&звернуть\ вложенный\ блок\ структуры<Tab>zr
menutrans Fold\ Met&hod &Метод\ разметки\ структуры
menutrans Create\ &Fold<Tab>zf Со&здать\ блок\ структуры<Tab>zf
menutrans &Delete\ Fold<Tab>zd &Убрать\ блок\ структуры<Tab>zd
menutrans Delete\ &All\ Folds<Tab>zD Убрать\ вс&е\ блоки\ структуры<Tab>z\ Shift+D
menutrans Fold\ col&umn\ width &Ширина\ столбца\ со\ значками\ структуры
">>>->>>----------- Tools/Folds/Fold Method
menutrans M&anual Вру&чную
menutrans I&ndent О&тступ
menutrans E&xpression &Выражение
menutrans S&yntax &Синтаксис
menutrans Ma&rker &Маркеры
">>>--------------- Tools/Diff
menutrans &Update О&бновить
menutrans &Get\ Block Изменить\ &этот\ буфер
menutrans &Put\ Block Изменить\ &другой\ буфер
">>>--------------- Tools/Diff/Error window
menutrans &Update<Tab>:cwin О&бновить<Tab>:cwin
menutrans &Close<Tab>:cclose &Закрыть<Tab>:cclose
menutrans &Open<Tab>:copen &Открыть<Tab>:copen
menutrans M&anual Разметка\ вру&чную
menutrans I&ndent На\ основе\ о&тступов
menutrans E&xpression На\ основе\ р&асчётов
menutrans S&yntax На\ основе\ &синтаксиса
menutrans &Diff На\ основе\ различий\ в\ текстах
menutrans Ma&rker На\ основе\ &маркеров
">>>--------------- Sub of Tools/Diff
menutrans &Update О&бновить\ содержимое\ окон
menutrans &Get\ Block Перенести\ &в\ текущий\ буфер
menutrans &Put\ Block Перенести\ &из\ текущего\ буфера
">>>--------------- Tools/Error window
menutrans &Update<Tab>:cwin О&бновить<Tab>:cwin
menutrans &Close<Tab>:cclose &Закрыть<Tab>:cclose
menutrans &Open<Tab>:copen &Открыть<Tab>:copen
"
"
" Syntax menu
"
menutrans &Show\ File\ Types\ in\ Menu Показать\ меню\ выбора\ типа\ &файла
menutrans Set\ '&syntax'\ only &Изменять\ только\ значение\ 'syntax'
menutrans Set\ '&filetype'\ too Изменять\ &также\ значение\ 'filetype'
menutrans &Off &Отключить
menutrans &Manual Вру&чную
menutrans A&utomatic &Автоматически
menutrans On/Off\ for\ &This\ File Вкл/выкл\ для\ &этого\ файла
menutrans Co&lor\ Test Проверка\ &цветов
menutrans &Highlight\ Test Проверка\ под&светки
menutrans &Convert\ to\ HTML С&делать\ HTML\ с\ подсветкой
menutrans &Show\ File\ Types\ in\ menu &Показать\ меню\ выбора\ типа\ файла
menutrans Set\ '&syntax'\ only А&ктивировать\ параметр\ 'syntax'
menutrans Set\ '&filetype'\ too Активировать\ пара&метр\ 'filetype'
menutrans &Off &Отключить\ подсветку
menutrans &Manual Включение\ подсветки\ вру&чную
menutrans A&utomatic Включение\ подсветки\ &автоматически
menutrans on/off\ for\ &This\ file Изменить\ режим\ для\ &текущего\ файла
menutrans Co&lor\ test Проверить\ поддер&живаемые\ цвета
menutrans &Highlight\ test Показать\ группы\ под&светки
menutrans &Convert\ to\ HTML Прео&бразовать\ текущий\ файл\ в\ HTML
"
"
" Buffers menu
"
menutrans &Refresh\ menu О&бновить\ меню
menutrans Delete У&далить
menutrans &Alternate &Соседний
menutrans &Next С&ледующий
menutrans &Previous &Предыдущий
menutrans [No\ File] [Нет\ файла]
menutrans &Refresh\ menu &Обновить\ список\ буферов
menutrans &Delete &Закрыть\ буфер
menutrans &Alternate &Соседний\ буфер
menutrans &Next С&ледующий\ буфер
menutrans &Previous &Предыдущий\ буфер
"
"
" Window menu
" Submenu of Window menu
"
menutrans &New<Tab>^Wn &Новое\ окно<Tab>^Wn
menutrans S&plit<Tab>^Ws &Разделить\ окно<Tab>^Ws
menutrans Sp&lit\ To\ #<Tab>^W^^ Открыть\ &соседний\ файл\ в\ новом\ окне<Tab>^W^^
menutrans Split\ &Vertically<Tab>^Wv Разделить\ по\ &вертикали<Tab>^Wv
menutrans Split\ File\ E&xplorer Открыть\ проводник\ по\ &файловой\ системе
menutrans &New<Tab>^Wn &Создать<Tab>Ctrl+W\ n
menutrans S&plit<Tab>^Ws Разделить\ по\ &горизонтали<Tab>Ctrl+W\ s
menutrans Split\ &Vertically<Tab>^Wv Разделить\ по\ &вертикали<Tab>Ctrl+W\ v
menutrans Sp&lit\ To\ #<Tab>^W^^ С&оседний\ файл\ в\ новом\ окне<Tab>Ctrl+W\ Ctrl+^
menutrans Split\ File\ E&xplorer Диспетчер\ файлов
"
menutrans &Close<Tab>^Wc &Закрыть\ это\ окно<Tab>^Wc
menutrans Close\ &Other(s)<Tab>^Wo Закрыть\ &остальные\ окна<Tab>^Wo
menutrans &Close<Tab>^Wc &Закрыть\ текущее\ окно<Tab>Ctrl+W\ c
menutrans Close\ &Other(s)<Tab>^Wo З&акрыть\ другие\ окна<Tab>Ctrl+W\ o
"
menutrans Move\ &To &Переместить
menutrans Rotate\ &Up<Tab>^WR Сдвинуть\ ввер&х<Tab>^WR
menutrans Rotate\ &Down<Tab>^Wr Сдвинуть\ в&низ<Tab>^Wr
menutrans Move\ &To &Переместить
menutrans Rotate\ &Up<Tab>^WR Сдвинуть\ ввер&х<Tab>Ctrl+W\ Shift+R
menutrans Rotate\ &Down<Tab>^Wr Сдвинуть\ в&низ<Tab>Ctrl+W\ r
"
menutrans &Equal\ Size<Tab>^W= О&динаковый\ размер<Tab>^W=
menutrans &Max\ Height<Tab>^W_ Максимальная\ в&ысота<Tab>^W_
menutrans M&in\ Height<Tab>^W1_ Минимальная\ высо&та<Tab>^W1_
menutrans Max\ &Width<Tab>^W\| Максимальная\ &ширина<Tab>^W\|
menutrans Min\ Widt&h<Tab>^W1\| Минимал&ьная\ ширина<Tab>^W1\|
">>>----------------- Window/Move To
menutrans &Top<Tab>^WK В&верх<Tab>^WK
menutrans &Bottom<Tab>^WJ В&низ<Tab>^WJ
menutrans &Left\ Side<Tab>^WH В&лево<Tab>^WH
menutrans &Right\ Side<Tab>^WL В&право<Tab>^WL
menutrans &Equal\ Size<Tab>^W= Выравнивание\ раз&мера<Tab>Ctrl+W\ =
menutrans &Max\ Height<Tab>^W_ Максимальная\ в&ысота<Tab>Ctrl+W\ _
menutrans M&in\ Height<Tab>^W1_ Минимальная\ высо&та<Tab>Ctrl+W\ 1_
menutrans Max\ &Width<Tab>^W\| Максимальная\ &ширина<Tab>Ctrl+W\ \|
menutrans Min\ Widt&h<Tab>^W1\| Минимальная\ ш&ирина<Tab>Ctrl+W\ 1\|
">>>----------------- Submenu of Window/Move To
menutrans &Top<Tab>^WK В&верх<Tab>Ctrl+W\ Shift+K
menutrans &Bottom<Tab>^WJ В&низ<Tab>Ctrl+W\ Shift+J
menutrans &Left\ side<Tab>^WH В&лево<Tab>Ctrl+W\ Shift+H
menutrans &Right\ side<Tab>^WL В&право<Tab>Ctrl+W\ Shift+L
"
"
" The popup menu
"
"
menutrans &Undo О&тменить
menutrans Cu&t &Вырезать
menutrans &Copy &Копировать
menutrans &Paste Вк&леить
menutrans &Delete &Удалить
menutrans Select\ Blockwise Блоковое\ выделение
menutrans Select\ &Word Выделить\ &слово
menutrans Select\ &Sentence Выделить\ &предложение
menutrans Select\ Pa&ragraph Выделить\ пара&граф
menutrans Select\ &Line Выделить\ ст&року
menutrans Select\ &Block Выделить\ &блок
menutrans Select\ &All Выделить\ &всё
menutrans &Undo &Отменить
menutrans Cu&t &Вырезать
menutrans &Copy &Копировать
menutrans &Paste Вст&авить
menutrans &Delete &Удалить
menutrans Select\ Blockwise Блоковое\ выделение
menutrans Select\ &Word Выделить\ с&лово
menutrans Select\ &Line Выделить\ с&троку
menutrans Select\ &Block Выделить\ &блок
menutrans Select\ &All В&ыделить\ всё
menutrans Select\ &Sentence Выделить\ предло&жение
menutrans Select\ Pa&ragraph Выделить\ аб&зац
"
" The Spelling popup menu
"
let g:menutrans_spell_change_ARG_to = 'Исправить\ "%s"'
let g:menutrans_spell_add_ARG_to_word_list = 'Добавить\ "%s"\ в\ словарь'
let g:menutrans_spell_ignore_ARG = 'Пропустить\ "%s"'
"
" The GUI toolbar
"
@@ -282,29 +284,39 @@ if has("toolbar")
if exists("*Do_toolbar_tmenu")
delfun Do_toolbar_tmenu
endif
fun Do_toolbar_tmenu()
tmenu ToolBar.Open Открыть файл
tmenu ToolBar.Save Сохранить файл
tmenu ToolBar.SaveAll Сохранить все файлы
tmenu ToolBar.Print Напечатать
tmenu ToolBar.Undo Отменить
tmenu ToolBar.Redo Вернуть
tmenu ToolBar.Cut Вырезать
tmenu ToolBar.Copy Копировать
tmenu ToolBar.Paste Вклеить
tmenu ToolBar.FindNext Найти следующее
tmenu ToolBar.FindPrev Найти предыдущее
tmenu ToolBar.Replace Найти или заменить...
tmenu ToolBar.LoadSesn Загрузить сеанс редактирования
tmenu ToolBar.SaveSesn Сохранить сеанс редактирования
tmenu ToolBar.RunScript Выполнить сценарий Vim
tmenu ToolBar.Make Компиляция
tmenu ToolBar.Shell Оболочка
tmenu ToolBar.RunCtags Создать файл меток
tmenu ToolBar.TagJump Перейти к метке
tmenu ToolBar.Help Справка
tmenu ToolBar.FindHelp Найти справку
endfun
def g:Do_toolbar_tmenu()
tmenu ToolBar.New Создать документ
tmenu ToolBar.Open Открыть файл
tmenu ToolBar.Save Сохранить файл
tmenu ToolBar.SaveAll Сохранить все файлы
tmenu ToolBar.Print Печать
tmenu ToolBar.Undo Отменить
tmenu ToolBar.Redo Вернуть
tmenu ToolBar.Cut Вырезать
tmenu ToolBar.Copy Копировать
tmenu ToolBar.Paste Вставить
tmenu ToolBar.Find Найти...
tmenu ToolBar.FindNext Найти следующее
tmenu ToolBar.FindPrev Найти предыдущее
tmenu ToolBar.Replace Заменить...
tmenu ToolBar.NewSesn Создать сеанс редактирования
tmenu ToolBar.LoadSesn Загрузить сеанс редактирования
tmenu ToolBar.SaveSesn Сохранить сеанс редактирования
tmenu ToolBar.RunScript Выполнить командный файл программы Vim
tmenu ToolBar.Shell Командная оболочка
tmenu ToolBar.Make Компиляция
tmenu ToolBar.RunCtags Создать файл с индексами
tmenu ToolBar.TagJump Перейти по указателю
tmenu ToolBar.Help Справка
tmenu ToolBar.FindHelp Поиск в документации
tmenu ToolBar.WinClose Закрыть текущее окно
tmenu ToolBar.WinMax Максимальная высота текущего окна
tmenu ToolBar.WinMin Минимальная высота текущего окна
tmenu ToolBar.WinSplit Разделить окно по горизонтали
tmenu ToolBar.WinVSplit Разделить окно по вертикали
tmenu ToolBar.WinMaxWidth Максимальная ширина текущего окна
tmenu ToolBar.WinMinWidth Минимальная ширина текущего окна
enddef
endif
"
"
@@ -312,26 +324,41 @@ endif
"
" Find in help dialog
"
let g:menutrans_help_dialog = "Введите команду или слово для поиска:\n\nДобавьте i_ для поиска команд режима Вставки (например, i_CTRL-X)\nДобавьте c_ для поиска команд Обычного режима (например, с_<Del>)\nДобавьте ' для поиска справки по опции (например, 'shiftwidth')"
let g:menutrans_help_dialog = "Наберите команду или слово, которые требуется найти в документации.\n\nЧтобы найти команды режима вставки, используйте приставку i_ (например, i_CTRL-X)\nЧтобы найти команды командной строки, используйте приставку c_ (например, c_<Del>)\nЧтобы найти информацию о параметрах, используйте символ ' (например, 'shftwidth')"
"
" Searh path dialog
" Search path dialog
"
let g:menutrans_path_dialog = "Укажите путь для поиска файлов.\nИмена каталогов разделяются запятыми."
let g:menutrans_path_dialog = "Укажите через запятую наименования каталогов, где будет выполняться поиск файлов"
"
" Tag files dialog
"
let g:menutrans_tags_dialog = "Введите имена файлов меток (через запятую).\n"
let g:menutrans_tags_dialog = "Укажите через запятую наименования файлов индексов"
"
" Text width dialog
"
let g:menutrans_textwidth_dialog = "Введите ширину текста для форматирования.\nДля отмены форматирования введите 0."
let g:menutrans_textwidth_dialog = "Укажите количество символов для установки ширины текста\nЧтобы отменить форматирование, укажите 0"
"
" File format dialog
"
let g:menutrans_fileformat_dialog = "Выберите формат файла."
let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\nО&тмена"
let g:menutrans_fileformat_dialog = "Выберите формат файла"
let g:menutrans_fileformat_choices = "&1. Unix\n&2. Dos\n&3. Mac\nОтмена (&C)"
"
let menutrans_no_file = "[Безымянный]"
" Menus to handle Russian encodings
" Thanks to Pavlo Bohmat for the idea
" vassily ragosin <vrr[at]users.sourceforge.net>
"
an 10.355 &File.-SEP- <Nop>
an 10.360.20 &File.Открыть\ в\ кодировке\.\.\..CP1251 :browse e ++enc=cp1251<CR>
an 10.360.30 &File.Открыть\ в\ кодировке\.\.\..CP866 :browse e ++enc=cp866<CR>
an 10.360.30 &File.Открыть\ в\ кодировке\.\.\..KOI8-R :browse e ++enc=koi8-r<CR>
an 10.360.40 &File.Открыть\ в\ кодировке\.\.\..UTF-8 :browse e ++enc=utf-8<CR>
an 10.365.20 &File.Сохранить\ с\ кодировкой\.\.\..CP1251 :browse w ++enc=cp1251<CR>
an 10.365.30 &File.Сохранить\ с\ кодировкой\.\.\..CP866 :browse w ++enc=cp866<CR>
an 10.365.30 &File.Сохранить\ с\ кодировкой\.\.\..KOI8-R :browse w ++enc=koi8-r<CR>
an 10.365.40 &File.Сохранить\ с\ кодировкой\.\.\..UTF-8 :browse w ++enc=utf-8<CR>
"
let menutrans_no_file = "[Нет файла]"
so $VIMRUNTIME/lang/macvim_menu/menu_ru_ru.apple.vim
so $VIMRUNTIME/lang/macvim_menu/menu_ru_ru.custom.vim
+12 -1
View File
@@ -1,3 +1,14 @@
" Menu Translations: Russian
source <sfile>:p:h/menu_ru_ru.utf-8.vim
if ('utf-8' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.utf-8.vim')
source <sfile>:p:h/menu_ru_ru.utf-8.vim
elseif ('cp1251' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.cp1251.vim')
source <sfile>:p:h/menu_ru_ru.cp1251.vim
" elseif ('cp866' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.cp866.vim')
" source <sfile>:p:h/menu_ru_ru.cp866.vim
elseif ('koi8-r' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.koi8-r.vim')
source <sfile>:p:h/menu_ru_ru.koi8-r.vim
else
echomsg 'Could not find the menu file matching the current encoding'
endif

Some files were not shown because too many files have changed in this diff Show More