code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
" Menu Translations: Japanese (for Windows) " Translated By: MURAOKA Taro <koron@tka.att.ne.jp> " Last Change: 29-Apr-2004. source <sfile>:p:h/menu_japanese_japan.932.vim
zyz2011-vim
runtime/lang/menu_ja.cp932.vim
Vim Script
gpl2
174
" Menu Translations: Russian source <sfile>:p:h/menu_ru_ru.vim
zyz2011-vim
runtime/lang/menu_ru.utf-8.vim
Vim Script
gpl2
64
" Menu Translations: Slovak source <sfile>:p:h/menu_slovak_slovak_republic.1250.vim
zyz2011-vim
runtime/lang/menu_sk_sk.cp1250.vim
Vim Script
gpl2
88
" Menu Translations: Serbian source <sfile>:p:h/menu_sr_rs.utf-8.vim
zyz2011-vim
runtime/lang/menu_sr_yu.utf-8.vim
Vim Script
gpl2
70
" Menu Translations: Traditional Chinese source <sfile>:p:h/menu_chinese_taiwan.950.vim
zyz2011-vim
runtime/lang/menu_zh_tw.cp950.vim
Vim Script
gpl2
89
" Menu Translations: Finnish for Windows CodePage 1252 encoding source <sfile>:p:h/menu_fi_fi.latin1.vim
zyz2011-vim
runtime/lang/menu_finnish_finland.1252.vim
Vim Script
gpl2
106
" Menu Translations: Nederlands source <sfile>:p:h/menu_nl_nl.latin1.vim
zyz2011-vim
runtime/lang/menu_nl.latin1.vim
Vim Script
gpl2
74
" Menu Translations: Japanese " eucjp is the same as euc-jp. Source the other one from here. source <sfile>:p:h/menu_ja_jp.utf-8.vim
zyz2011-vim
runtime/lang/menu_ja.utf-8.vim
Vim Script
gpl2
135
" Menu Translations: Japanese (for UNIX) " Translated By: Muraoka Taro <koron@tka.att.ne.jp> " Last Change: 08:50:47 25-Mar-2001. " ujis is the same as euc-jp. Source the other one from here. source <sfile>:p:h/menu_ja_jp.euc-jp.vim
zyz2011-vim
runtime/lang/menu_ja.ujis.vim
Vim Script
gpl2
237
" Menu Translations: Traditional Chinese (for UNIX/Big5 Windows) " Last Change: 2000 Nov 11 " $LANG on Windows 95/98/NT is Chinese(Taiwan)_Taiwan.950 " $LANG on Windows 2000/ME is Chinese_Taiwan.950 " Source the other one from here. source <sfile>:p:h/menu_chinese_taiwan.950.vim
zyz2011-vim
runtime/lang/menu_chinese(taiwan)_taiwan.950.vim
Vim Script
gpl2
284
" Menu Translations: Serbian " Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com> " Last Change: Fri, 30 May 2003 10:17:39 Eastern Daylight Time " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " Help menu menutrans &Help Помо&ћ menutrans &Overview<Tab><F1> &Преглед<Tab><F1> menutrans &User\ Manual &Упутство\ за\ кориснике menutrans &How-to\ links &Како\ да\.\.\. menutrans &Find &Нађи menutrans &Credits &Заслуге menutrans Co&pying П&реузимање menutrans O&rphans &Сирочићи menutrans &Version &Верзија menutrans &About &О\ програму " File menu menutrans &File &Датотека menutrans &Open\.\.\.<Tab>:e &Отвори\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp &Подели-отвори\.\.\.<Tab>:sp 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 " Edit menu menutrans &Edit &Уређивање menutrans &Undo<Tab>u &Врати<Tab>u menutrans &Redo<Tab>^R &Поврати<Tab>^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 &Paste<Tab>"+P &Убаци<Tab>"+gP 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 &Find\.\.\. &Нађи\.\.\. menutrans Find\ and\ Rep&lace\.\.\. Нађи\ и\ &замени\.\.\. menutrans Settings\ &Window П&розор\ подешавања menutrans &Global\ Settings Оп&шта\ подешавања menutrans F&ile\ Settings Подешавања\ за\ да&тотеке menutrans &Shiftwidth &Померај menutrans Soft\ &Tabstop &Мека\ табулација menutrans Te&xt\ Width\.\.\. &Ширина\ текста\.\.\. menutrans &File\ Format\.\.\. &Врста\ датотеке\.\.\. menutrans C&olor\ Scheme Бо&је menutrans &Keymap Прес&ликавање\ тастатуре menutrans Select\ Fo&nt\.\.\. Избор\ &фонта\.\.\. " Edit/Global Settings menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Нагласи\ &образце\ (да/не)<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Занемари\ \величину\ &слова\ (да/не)<Tab>:set\ ic! menutrans Toggle\ &Showmatch<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&ompatible<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\ &List\ Mode<Tab>:set\ list! Режим\ &листе\ (да/не)<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Обавијање\ &редова\ (да/не)<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Преломи\ &на\ реч\ (да/не)<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! Размаци\ уместо\ &табулације\ (да/не)<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! Ауто-&увлачење\ (да/не)<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Це-увлачење\ (да/не)<Tab>:set\ cin! " Edit/Keymap menutrans None Ниједан " Tools menu menutrans &Tools &Алатке menutrans &Jump\ to\ this\ tag<Tab>g^] Скочи\ на\ &ову\ ознаку<Tab>g^] menutrans Jump\ &back<Tab>^T Скочи\ &натраг<Tab>^T menutrans Build\ &Tags\ File Изгради\ &датотеку\ ознака menutrans &Folding &Подвијање menutrans Create\ &Fold<Tab>zf С&твори\ подвијутак<Tab>zf menutrans &Delete\ Fold<Tab>zd О&бриши\ подвијутак<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD Обриши\ све\ по&двијутке<Tab>zD menutrans Fold\ column\ &width Ширина\ &реда\ подвијутка menutrans &Diff &Упоређивање menutrans &Make<Tab>:make 'mak&е'<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 &Set\ Compiler И&забери\ преводиоца menutrans &Convert\ to\ HEX<Tab>:%!xxd Претвори\ у\ &ХЕКС<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Вр&ати\ у\ првобитан\ облик<Tab>:%!xxd\ -r " Tools/Folding 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 O&pen\ more\ folds<Tab>zr Отвори\ виш&е\ подвијутака<Tab>zr menutrans &Open\ all\ folds<Tab>zR О&твори\ све\ подвијутке<Tab>zR menutrans Fold\ Met&hod &Начин\ подвијања " Tools/Folding/Fold Method menutrans M&anual &Ручно menutrans I&ndent &Увученост menutrans E&xpression &Израз menutrans S&yntax &Синтакса "menutrans &Diff menutrans Ma&rker &Ознака " Tools/Diff menutrans &Update &Ажурирај menutrans &Get\ Block &Прихвати\ измену menutrans &Put\ Block Пре&баци\ измену " Tools/Error Window menutrans &Update<Tab>:cwin &Ажурирај<Tab>:cwin menutrans &Open<Tab>:copen &Отвори<Tab>:copen menutrans &Close<Tab>:cclose &Затвори<Tab>:cclose " Bufers menu menutrans &Buffers &Бафери menutrans &Refresh\ menu &Ажурирај menutrans Delete &Обриши menutrans &Alternate А&лтернативни menutrans &Next &Следећи menutrans &Previous &Претходни menutrans [No\ File] [Нема\ датотеке] " Window menu menutrans &Window &Прозор 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 &Close<Tab>^Wc &Затвори<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Затвори\ &остале<Tab>^Wo "menutrans Ne&xt<Tab>^Ww &Следећи<Tab>^Ww "menutrans P&revious<Tab>^WW П&ретходни<Tab>^WW menutrans Move\ &To Пре&мести menutrans Rotate\ &Up<Tab>^WR &Кружно\ нагоре<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr Кружно\ надол&е<Tab>^Wr 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 " 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 Изабери\ &све " The GUI toolbar 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.Find Нађи tmenu ToolBar.FindNext Нађи следећи tmenu ToolBar.FindPrev Нађи претходни tmenu ToolBar.Replace Замени tmenu ToolBar.New Нови tmenu ToolBar.WinSplit Подели прозор tmenu ToolBar.WinMax Максимална висина tmenu ToolBar.WinMin Минимална висина tmenu ToolBar.WinVSplit Подели усправно tmenu ToolBar.WinMaxWidth Максимална ширина tmenu ToolBar.WinMinWidth Минимална ширина tmenu ToolBar.WinClose Затвори прозор tmenu ToolBar.LoadSesn Учитај сеансу tmenu ToolBar.SaveSesn Сачувај сеансу tmenu ToolBar.RunScript Изврши спис tmenu ToolBar.Make 'make' tmenu ToolBar.Shell Оперативно окружење tmenu ToolBar.RunCtags Направи ознаке tmenu ToolBar.TagJump Иди на ознаку tmenu ToolBar.Help Помоћ tmenu ToolBar.FindHelp Нађи објашњење endfun endif " Syntax menu menutrans &Syntax &Синтакса menutrans &Show\ filetypes\ in\ menu Избор\ 'filetype'\ из\ &менија 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 " dialog texts let menutrans_help_dialog = "Унесите наредбу или реч чије појашњење тражите:\n\nДодајте i_ за наредбе уноса (нпр. i_CTRL-X)\nДодајте c_ за наредбе командног режима (нпр. с_<Del>)\nДодајте ' за имена опција (нпр. 'shiftwidth')" let g:menutrans_path_dialog = "Унесите пут претраге за датотеке\nРаздвојите зарезима имена директоријума." let g:menutrans_tags_dialog = "Унесите имена датотека са ознакама\nРаздвојите зарезима имена." let g:menutrans_textwidth_dialog = "Унесите нову ширину текста (0 спречава прелом)" let g:menutrans_fileformat_dialog = "Изаберите врсту датотеке" let menutrans_no_file = "[Нема датотеке]" let &cpo = s:keepcpo unlet s:keepcpo " vim: tw=0 keymap=serbian
zyz2011-vim
runtime/lang/menu_sr_rs.utf-8.vim
Vim Script
gpl2
13,472
" Menu Translations: Polish source <sfile>:p:h/menu_polish_poland.1250.vim
zyz2011-vim
runtime/lang/menu_pl_pl.cp1250.vim
Vim Script
gpl2
76
" Menu Translations: UK English for ASCII source <sfile>:p:h/menu_en_gb.latin1.vim
zyz2011-vim
runtime/lang/menu_english_united_kingdom.ascii.vim
Vim Script
gpl2
84
" Menu Translations: Korean source <sfile>:p:h/menu_ko_kr.utf-8.vim
zyz2011-vim
runtime/lang/menu_ko.utf-8.vim
Vim Script
gpl2
69
" Menu Translations: French for UTF-8 encoding source <sfile>:p:h/menu_fr_fr.latin1.vim
zyz2011-vim
runtime/lang/menu_fr_fr.utf-8.vim
Vim Script
gpl2
89
" Menu Translations: Esperanto for UTF-8 encoding source <sfile>:p:h/menu_eo.utf-8.vim
zyz2011-vim
runtime/lang/menu_eo_eo.utf-8.vim
Vim Script
gpl2
88
" Menu Translations: Traditional Chinese source <sfile>:p:h/menu_chinese_taiwan.950.vim
zyz2011-vim
runtime/lang/menu_zh.cp950.vim
Vim Script
gpl2
89
" Menu Translations: Russian source <sfile>:p:h/menu_ru_ru.vim
zyz2011-vim
runtime/lang/menu_ru_ru.utf-8.vim
Vim Script
gpl2
64
" Menu Translations: Korean " Maintainer: SungHyun Nam <goweol@gmail.com> " Last Change: 2012 May 01 " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " Help menu menutrans &Help 도움말(&H) menutrans &Overview<Tab><F1> 개관(&O)<Tab><F1> menutrans &User\ Manual 사용자\ 매뉴얼(&U) menutrans &How-to\ links 하우투\ 목록(&H) menutrans &GUI GUI(&G) menutrans &Find\.\.\. 찾기(&F)\.\.\. menutrans &Credits 고마운\ 분(&C) menutrans Co&pying 저작권(&p) menutrans &Sponsor/Register 후원/등록(&S) menutrans O&rphans 고아(&r) menutrans &Version 버젼(&V) menutrans &About 이\ 프로그램은(&A) " File menu menutrans &File 파일(&F) menutrans &Open\.\.\.<Tab>:e 열기(&O)\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp 나눠서\ 열기(&l)\.\.\.<Tab>:sp menutrans Open\ Tab\.\.\.<Tab>:tabnew 탭\ 열기\.\.\.<Tab>:tabnew menutrans &New<Tab>:enew 새로운(&N)<Tab>:enew menutrans &Close<Tab>:close 닫기(&C)<Tab>:close menutrans &Save<Tab>:w 저장(&S)<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav 다른\ 이름으로\ 저장(&A)\.\.\.<Tab>:sav "menutrans Split\ &Diff\ with\.\.\. Split\ &Diff\ with\.\.\. "menutrans Split\ Patched\ &By\.\.\. Split\ Patched\ &By\.\.\. menutrans &Print 인쇄(&P) menutrans Sa&ve-Exit<Tab>:wqa 저장하고\ 끝내기(&v)<Tab>:wqa menutrans E&xit<Tab>:qa 끝내기(&x)<Tab>:qa " Edit menu menutrans &Edit 편집(&E) menutrans &Undo<Tab>u 취소(&U)<Tab>u menutrans &Redo<Tab>^R 다시\ 실행(&R)<Tab>^R menutrans Rep&eat<Tab>\. 되풀이(&e)<Tab>\. menutrans Cu&t<Tab>"+x 자르기(&t)<Tab>"+x menutrans &Copy<Tab>"+y 복사(&C)<Tab>"+y menutrans &Paste<Tab>"+gP 붙이기(&P)<Tab>"+gP menutrans Put\ &Before<Tab>[p 앞에\ 붙이기(&B)<Tab>[p menutrans Put\ &After<Tab>]p 뒤에\ 붙이기(&A)<Tab>]p menutrans &Delete<Tab>x 지우기(&D)<Tab>x menutrans &Select\ All<Tab>ggVG 모두\ 고르기(&S)<Tab>ggVG menutrans &Find\.\.\. 찾기(&F)\.\.\. menutrans Find\ and\ Rep&lace\.\.\. 찾아서\ 바꾸기(&l)\.\.\. menutrans Settings\ &Window 설정\ 창(&W) menutrans Startup\ &Settings 시작\ 설정(&S) " Edit/Global Settings menutrans &Global\ Settings 전역\ 설정(&G) menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 패턴\ 하이라이트\ 토글(&H)<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! 대소문자\ 구분\ 토글(&I)<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! Showmatch\ 토글(&S)<Tab>:set\ sm! menutrans &Context\ lines 콘텍스트\ 줄(&C) menutrans &Virtual\ Edit 가상\ 편집(&V) menutrans Never 사용\ 안\ 함 menutrans Block\ Selection 블럭\ 고르기 menutrans Insert\ mode 삽입\ 모드 menutrans Block\ and\ Insert 블럭과\ 삽입 menutrans Always 항상\ 사용 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 삽입\ 모드\ 토글(&M)<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Vi\ 호환\ 토글(&o)<Tab>:set\ cp! menutrans Search\ &Path\.\.\. 찾기\ 경로(&P)\.\.\. menutrans Ta&g\ Files\.\.\. 꼬리표\ 파일(&g)\.\.\. " GUI options menutrans Toggle\ &Toolbar 도구막대\ 토글(&T) menutrans Toggle\ &Bottom\ Scrollbar 바닥\ 스크롤바\ 토글(&B) menutrans Toggle\ &Left\ Scrollbar 왼쪽\ 스크롤바\ 토글(&L) menutrans Toggle\ &Right\ Scrollbar 오른쪽\ 스크롤바\ 토글(&R) " Edit/File Settings menutrans F&ile\ Settings 파일\ 설정(&i) " Boolean options menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 줄\ 번호붙이기\ 토글(&N)<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! 목록\ 모드\ 토글(&L)<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 줄\ Wrap\ 토글(&W)<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 낱말에서\ Wrap\ 토글(&r)<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! 탭\ 확장\ 토글(&e)<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! 자동인덴트\ 토글(&a)<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! C-인덴팅\ 토글(&C)<Tab>:set\ cin! " other options menutrans &Shiftwidth 쉬프트\ 너비(&S) menutrans Soft\ &Tabstop 소프트\ 탭스톱(&T) menutrans Te&xt\ Width\.\.\. 텍스트\ 너비(&x)\.\.\. menutrans &File\ Format\.\.\. 파일\ 형식(&F)\.\.\. menutrans C&olor\ Scheme 컬러\ 스킴(&o) menutrans &Keymap 키맵(&K) menutrans Select\ Fo&nt\.\.\. 글꼴\ 고르기(&F)\.\.\. " Programming menu menutrans &Tools 도구(&T) menutrans &Jump\ to\ this\ tag<Tab>g^] 이\ 꼬리표로\ 가기(&J)<Tab>g^] menutrans Jump\ &back<Tab>^T 뒤로\ 가기(&b)<Tab>^T menutrans Build\ &Tags\ File 꼬리표\ 파일\ 만들기(&T) menutrans &Spelling 맞춤법\ 검사(&S) menutrans &Spell\ Check\ On 맞춤법\ 검사\ 시작(&S) menutrans Spell\ Check\ &Off 맞춤법\ 검사\ 끝(&O) menutrans To\ &Next\ error<Tab>]s 다음\ 에러로(&N)<Tab>]s menutrans To\ &Previous\ error<Tab>[s 이전\ 에러로(&P)<Tab>[s menutrans Suggest\ &Corrections<Tab>z= 수정\ 제안(&C)<Tab>z= menutrans &Repeat\ correction<Tab>:spellrepall 수정\ 반복(&R)<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 다른\ 언어\ 찾기(&F) " Tools.Fold Menu menutrans &Folding 접기(&F) " open close folds menutrans &Enable/Disable\ folds<Tab>zi 접기\ 사용\ 토글(&E)<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv 커서\ 줄\ 보기(&V)<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx 커서\ 줄만\ 보기(&w)<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm 더\ 많은\ 접기\ 닫기(&l)<Tab>zm menutrans &Close\ all\ folds<Tab>zM 모든\ 접기\ 닫기(&C)<Tab>zM menutrans O&pen\ more\ folds<Tab>zr 더\ 많은\ 접기\ 열기(&p)<Tab>zr menutrans &Open\ all\ folds<Tab>zR 접힌\ 부분\ 모두\ 펴기(&O)<Tab>zR " fold method menutrans Fold\ Met&hod 접는\ 방법(&h) menutrans M&anual 수동(&a) menutrans I&ndent 들여쓰기(&n) menutrans E&xpression 표현식(&x) menutrans S&yntax 신택스(&y) "menutrans &Diff &Diff menutrans Ma&rker 꼬리표(&r) " create and delete folds menutrans Create\ &Fold<Tab>zf 접기\ 생성(&F)<Tab>zf menutrans &Delete\ Fold<Tab>zd 접기\ 삭제(&D)<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD 모든\ 접기\ 삭제(&A)<Tab>zD " moving around in folds menutrans Fold\ column\ &width 접기\ 컬럼\ 너비(&w) "menutrans &Diff &Diff menutrans &Update 갱신(&U) menutrans &Get\ Block 블럭\ 가져오기(&G) menutrans &Put\ Block 블럭\ 집어넣기(&P) menutrans &Make<Tab>:make 빌드(&M)<Tab>:make menutrans &List\ Errors<Tab>:cl 에러\ 목록\ 보기(&L)<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! 메시지\ 목록\ 보기(&i)<Tab>:cl! menutrans &Next\ Error<Tab>:cn 다음\ 에러(&N)<Tab>:cn menutrans &Previous\ Error<Tab>:cp 이전\ 에러(&P)<Tab>:cp menutrans &Older\ List<Tab>:cold 오래된\ 목록(&O)<Tab>:cold menutrans N&ewer\ List<Tab>:cnew 새로운\ 목록(&e)<Tab>:cnew menutrans Error\ &Window 에러\ 창(&W) menutrans &Update<Tab>:cwin 갱신(&U)<Tab>:cwin menutrans &Open<Tab>:copen 열기(&O)<Tab>:copen menutrans &Close<Tab>:cclose 닫기(&C)<Tab>:cclose menutrans Se&T\ Compiler 컴파일러\ 설정(&T) menutrans &Convert\ to\ HEX<Tab>:%!mc\ vim:xxd 십육진으로\ 변환<Tab>:%!mc\ vim:xxd menutrans &Convert\ to\ HEX<Tab>:%!xxd 십육진으로\ 변환(&C)<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!mc\ vim:xxd\ -r 원래대로\ 변환(&r)<Tab>:%!mc\ vim:xxd\ -r menutrans Conve&rt\ back<Tab>:%!xxd\ -r 원래대로\ 변환(&r)<Tab>:%!xxd\ -r " Names for buffer menu. menutrans &Buffers 버퍼(&B) menutrans &Refresh\ menu 차림표\ 다시그리기(&R) menutrans &Delete 지우기(&D) menutrans &Alternate 교체(&A) menutrans &Next 다음(&N) menutrans &Previous 이전(&P) " Window menu menutrans &Window 창(&W) menutrans &New<Tab>^Wn 새\ 창(&N)<Tab>^Wn menutrans S&plit<Tab>^Ws 나누기(&p)<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ #으로\ 나누기(&l)<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv 세로로\ 나누기(&V)<Tab>^Wv menutrans Split\ File\ E&xplorer 파일\ 익스플로러\ 나누기 menutrans &Close<Tab>^Wc 닫기(&C)<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo 다른\ 창\ 닫기(&O)<Tab>^Wo menutrans Move\ &To 이동(&T) menutrans &Top<Tab>^WK 꼭대기(&T)<Tab>^WK menutrans &Bottom<Tab>^WJ 바닥(&B)<Tab>^WJ menutrans &Left\ side<Tab>^WH 왼쪽(&L)<Tab>^WH menutrans &Right\ side<Tab>^WL 오른쪽(&R)<Tab>^WL menutrans Rotate\ &Up<Tab>^WR 위로\ 회전(&U)<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr 아래로\ 회전(&D)<Tab>^Wr menutrans &Equal\ Size<Tab>^W= 같은\ 높이로(&E)<Tab>^W= menutrans &Max\ Height<Tab>^W_ 최대\ 높이로(&M)<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ 최소\ 높이로(&i)<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| 최대\ 넓이로(&W)<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| 최소\ 넓이로(&h)<Tab>^W1\| " The popup menu menutrans &Undo 취소(&U) menutrans Cu&t 자르기(&t) menutrans &Copy 복사(&C) menutrans &Paste 붙이기(&P) menutrans &Delete 지우기(&D) menutrans Select\ Blockwise 사각형\ 고르기 menutrans Select\ &Word 낱말\ 고르기(&W) menutrans Select\ &Line 줄\ 고르기(&L) menutrans Select\ &Block 구획\ 고르기(&B) menutrans Select\ &All 모두\ 고르기(&A) " The GUI toolbar 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.Find 찾기... tmenu ToolBar.FindNext 다음 찾기 tmenu ToolBar.FindPrev 이전 찾기 tmenu ToolBar.Replace 바꾸기 tmenu ToolBar.LoadSesn 세션 읽어오기 tmenu ToolBar.SaveSesn 세션 저장 tmenu ToolBar.RunScript 스크립트 실행 tmenu ToolBar.Make Make tmenu ToolBar.Shell 쉘 tmenu ToolBar.RunCtags 꼬리표 만들기 tmenu ToolBar.TagJump 꼬리표로 가기 tmenu ToolBar.Help 도움말 tmenu ToolBar.FindHelp 도움말 찾기... endfun endif " Syntax menu menutrans &Syntax 문법(&S) menutrans &Show\ filetypes\ in\ menu 모든\ 선택가능한\ 항목\ 보기(&S) menutrans Set\ '&syntax'\ only 'syntax'만\ 설정(&s) menutrans Set\ '&filetype'\ too 'filetype'도\ 설정(&f) menutrans &Off 끄기(&O) menutrans &Manual 수동(&M) menutrans A&utomatic 자동(&u) menutrans on/off\ for\ &This\ file 이\ 파일만\ 켜기/끄기(&T) menutrans Co&lor\ test 색\ 시험(&l) menutrans &Highlight\ test Highlight\ 시험(&H) menutrans &Convert\ to\ HTML HTML로\ 변환(&C) let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_ko_kr.utf-8.vim
Vim Script
gpl2
11,345
" Menu translations: Portuguese for UTF-8 encoding source <sfile>:p:h/menu_pt_br.vim
zyz2011-vim
runtime/lang/menu_pt_br.utf-8.vim
Vim Script
gpl2
86
" Menu Translations: German for UTF-8 encoding source <sfile>:p:h/menu_de_de.latin1.vim
zyz2011-vim
runtime/lang/menu_de_de.utf-8.vim
Vim Script
gpl2
89
" Menu Translations: Slovak " Translated By: Martin Lacko <lacko@host.sk> " Last Change: 2003 May 11 " This is redirection to slovak menu-translations file source <sfile>:p:h/menu_slovak_slovak_republic.1250.vim
zyz2011-vim
runtime/lang/menu_sk_sk.1250.vim
Vim Script
gpl2
217
" Menu Translations: Italian for UTF-8 encoding source <sfile>:p:h/menu_hu_hu.iso_8859-2.vim
zyz2011-vim
runtime/lang/menu_hu.iso_8859-2.vim
Vim Script
gpl2
94
" Menu Translations: Japanese (for UNIX) " Translated By: Muraoka Taro <koron@tka.att.ne.jp> " Last Change: 08:50:47 25-Mar-2001. " eucjp is the same as euc-jp. Source the other one from here. source <sfile>:p:h/menu_ja_jp.euc-jp.vim
zyz2011-vim
runtime/lang/menu_ja.eucjp.vim
Vim Script
gpl2
238
" Menu Translations: Japanese (for UNIX) " Translated By: Muraoka Taro <koron@tka.att.ne.jp> " Last Change: 08:50:47 25-Mar-2001. " eucjp is the same as euc-jp. Source the other one from here. source <sfile>:p:h/menu_ja_jp.euc-jp.vim
zyz2011-vim
runtime/lang/menu_ja.euc-jp.vim
Vim Script
gpl2
238
" Menu Translations: Czech for Windows in ASCII encoding source <sfile>:p:h/menu_czech_czech_republic.ascii.vim
zyz2011-vim
runtime/lang/menu_czech_czech_republic.1252.vim
Vim Script
gpl2
113
" Menu Translations: Simplified Chinese (Windows) " Last Change: Tue Sep 4 11:26:52 CST 2001 " $LANG on Windows 95/98/NT is Chinese(GB)_GB.936 " $LANG on Windows 2000/ME is Chinese_GB.936 " Source the other one from here. source <sfile>:p:h/menu_chinese_gb.936.vim
zyz2011-vim
runtime/lang/menu_chinese(gb)_gb.936.vim
Vim Script
gpl2
270
" Menu Translations: Slovak " Translated By: Martin Lacko <lacko@host.sk> " Last Change: 2002 May 27 if has("win32") || has("win16") || has("dos16") || has("dos32") source <sfile>:p:h/menu_sk_sk.1250.vim else source <sfile>:p:h/menu_sk_sk.iso_8859-2.vim endif
zyz2011-vim
runtime/lang/menu_sk_sk.vim
Vim Script
gpl2
264
" Menu Translations: Italian source <sfile>:p:h/menu_it_it.latin1.vim
zyz2011-vim
runtime/lang/menu_it.latin1.vim
Vim Script
gpl2
71
" Menu Translations: Spanish for UTF-8 encoding source <sfile>:p:h/menu_es_es.latin1.vim
zyz2011-vim
runtime/lang/menu_es.utf-8.vim
Vim Script
gpl2
90
" Menu translations for Catalan " source <sfile>:p:h/menu_ca_es.latin1.vim
zyz2011-vim
runtime/lang/menu_ca.latin1.vim
Vim Script
gpl2
75
" Menu Translations: German for Windows CodePage 1252 encoding source <sfile>:p:h/menu_de_de.latin1.vim
zyz2011-vim
runtime/lang/menu_german_germany.1252.vim
Vim Script
gpl2
105
" Menu Translations: Esperanto for UTF-8 encoding source <sfile>:p:h/menu_eo.utf-8.vim
zyz2011-vim
runtime/lang/menu_eo_xx.utf-8.vim
Vim Script
gpl2
88
" Menu Translations: Afrikaans source <sfile>:p:h/menu_af_af.latin1.vim
zyz2011-vim
runtime/lang/menu_af.latin1.vim
Vim Script
gpl2
73
" Menu Translations: Russian " Maintainer: vassily ragosin <vrr[at]users.sourceforge.net> " Last Change: 26 Apr 2004 " URL: cvs://cvs.sf.net:/cvsroot/ruvim/extras/menu/menu_ru_ru.vim " " $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> " " " Quit when menu translations have already been done. " if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " Top menutrans &File &Файл menutrans &Edit П&равка menutrans &Tools &Инструменты menutrans &Syntax &Синтаксис menutrans &Buffers &Буферы menutrans &Window &Окно menutrans &Help С&правка " " " " Help menu 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 &Заставка " " " File menu menutrans &Open\.\.\.<Tab>:e &Открыть\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp По&делить\ окно\.\.\.<Tab>:sp 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 " " " Edit menu menutrans &Undo<Tab>u О&тменить<Tab>u menutrans &Redo<Tab>^R В&ернуть<Tab>^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 &Delete<Tab>x &Удалить<Tab>x menutrans &Select\ All<Tab>ggVG В&ыделить\ всё<Tab>ggVG "-------------------- 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 "-------------------- menutrans Settings\ &Window Окно\ настройки\ &опций menutrans &Global\ Settings &Глобальные\ настройки menutrans F&ile\ Settings Настройки\ &файлов menutrans C&olor\ Scheme &Цветовая\ схема menutrans &Keymap Раскладка\ кл&авиатуры menutrans Select\ Fo&nt\.\.\. Выбор\ &шрифта\.\.\. ">>>----------------- Edit/Global settings menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Подсветка\ &найденных\ соответствий<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! &Регистронезависимый\ поиск<Tab>:set\ ic! menutrans Toggle\ &Showmatch<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&ompatible<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\ &List\ Mode<Tab>:set\ list! Отобра&жение\ невидимых\ символов<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! &Перенос\ длинных\ строк<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Перенос\ &целых\ слов<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! Про&белы\ вместо\ табуляции<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! Автоматическое\ форматирование\ &отступов<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! Форматирование\ отступов\ в\ &стиле\ C<Tab>:set\ cin! ">>>--- 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 Создать\ &файл\ меток "------------------- menutrans &Folding Работа\ со\ &складками menutrans &Diff &Отличия\ (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 &Set\ Compiler Выбор\ &компилятора "------------------- menutrans &Convert\ to\ HEX<Tab>:%!xxd П&еревести\ в\ HEX<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Перевести\ и&з\ HEX<Tab>:%!xxd\ -r ">>>---------------- 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 &Ширина\ колонки\ складок ">>>->>>----------- 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 " " " Syntax menu " menutrans &Show\ filetypes\ 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] [Нет\ файла] " " " 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 &Close<Tab>^Wc &Закрыть\ это\ окно<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Закрыть\ &остальные\ окна<Tab>^Wo " menutrans Move\ &To &Переместить menutrans Rotate\ &Up<Tab>^WR Сдвинуть\ ввер&х<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr Сдвинуть\ в&низ<Tab>^Wr " 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 " " " 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 В&ыделить\ &всё " " The GUI toolbar " 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.Find Поиск... 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 endif " " " Dialog texts " " Find in help dialog " let g:menutrans_help_dialog = "Введите команду или слово для поиска:\n\nДобавьте i_ для поиска команд режима Вставки (например, i_CTRL-X)\nДобавьте c_ для поиска команд Обычного режима (например, с_<Del>)\nДобавьте ' для поиска справки по опции (например, 'shiftwidth')" " " Searh path dialog " let g:menutrans_path_dialog = "Укажите путь для поиска файлов.\nИмена каталогов разделяются запятыми." " " Tag files dialog " let g:menutrans_tags_dialog = "Введите имена файлов меток (через запятую).\n" " " Text width dialog " 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 menutrans_no_file = "[Нет файла]" let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_ru_ru.vim
Vim Script
gpl2
15,056
" Menu Translations: UK English for ASCII source <sfile>:p:h/menu_en_gb.latin1.vim
zyz2011-vim
runtime/lang/menu_english_united_kingdom.1252.vim
Vim Script
gpl2
84
" Menu Translations: Italian for UTF-8 encoding source <sfile>:p:h/menu_hu_hu.utf-8.vim
zyz2011-vim
runtime/lang/menu_hu.utf-8.vim
Vim Script
gpl2
89
" Menu Translations: French for ISO 8859-1 encoding source <sfile>:p:h/menu_fr_fr.latin1.vim
zyz2011-vim
runtime/lang/menu_fr.latin1.vim
Vim Script
gpl2
94
" Menu Translations: Finnish for UTF-8 encoding source <sfile>:p:h/menu_fi_fi.latin1.vim
zyz2011-vim
runtime/lang/menu_fi.utf-8.vim
Vim Script
gpl2
90
" Menu Translations: Japanese (for Windows) " Translated By: MURAOKA Taro <koron@tka.att.ne.jp> " Last Change: 29-Apr-2004. source <sfile>:p:h/menu_japanese_japan.932.vim
zyz2011-vim
runtime/lang/menu_ja_jp.cp932.vim
Vim Script
gpl2
174
" Menu Translations: French for UTF-8 encoding source <sfile>:p:h/menu_fr_fr.latin1.vim
zyz2011-vim
runtime/lang/menu_fr.utf-8.vim
Vim Script
gpl2
89
" Menu Translations: Serbian source <sfile>:p:h/menu_sr_rs.iso_8859-2.vim
zyz2011-vim
runtime/lang/menu_sr_yu.iso_8859-2.vim
Vim Script
gpl2
75
" Menu Translations: French for Windows CodePage 1252 encoding source <sfile>:p:h/menu_fr_fr.latin1.vim
zyz2011-vim
runtime/lang/menu_french_france.1252.vim
Vim Script
gpl2
105
" Menu Translations: Serbian source <sfile>:p:h/menu_sr_rs.iso_8859-5.vim
zyz2011-vim
runtime/lang/menu_sr_yu.iso_8859-5.vim
Vim Script
gpl2
75
" Menu Translations: Serbian source <sfile>:p:h/menu_sr_rs.ascii.vim
zyz2011-vim
runtime/lang/menu_sr_yu.ascii.vim
Vim Script
gpl2
70
" Menu Translations: Norwegian for UTF-8 encoding " menu_no.utf-8.vim 289 2004-05-16 18:00:52Z sunny source <sfile>:p:h/menu_no_no.latin1.vim
zyz2011-vim
runtime/lang/menu_no.utf-8.vim
Vim Script
gpl2
143
" Menu Translations: Traditional Chinese source <sfile>:p:h/menu_chinese_taiwan.950.vim
zyz2011-vim
runtime/lang/menu_zh_tw.big5.vim
Vim Script
gpl2
89
" Menu Translations: Afrikaans for UTF-8 encoding source <sfile>:p:h/menu_af_af.latin1.vim
zyz2011-vim
runtime/lang/menu_af_af.utf-8.vim
Vim Script
gpl2
92
" Menu Translations: Vietnamese " Maintainer: Phan Vinh Thinh <teppi@vnlinux.org> " Last Change: 12 Mar 2005 " URL: http://iatp.vspu.ac.ru/phan/vietvim/lang/menu_vi_vn.vim " " " Adopted for VietVim project by Phan Vinh Thinh. " First translation: Phan Vinh Thinh <teppi@vnlinux.org> " " " Quit when menu translations have already been done. " if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " Top menutrans &File &Tập\ tin menutrans &Edit &Soạn\ thảo menutrans &Tools Cô&ng\ cụ menutrans &Syntax &Cú\ pháp menutrans &Buffers &Bộ\ đệm menutrans &Window Cử&a\ sổ menutrans &Help Trợ\ &giúp " " " " Help menu menutrans &Overview<Tab><F1> &Tổng\ quan<Tab><F1> menutrans &User\ Manual &Hướng\ dẫn\ sử\ dụng menutrans &How-to\ links &Làm\ như\ thế\ nào menutrans &Find\.\.\. Tìm\ &kiếm\.\.\. "-------------------- menutrans &Credits Lời\ &cảm\ ơn menutrans Co&pying &Bản\ quyền menutrans &Sponsor/Register &Giúp\ đỡ/Đăng\ ký menutrans O&rphans Trẻ\ &mồ\ côi "-------------------- menutrans &Version &Phiên\ bản menutrans &About &Về\ Vim " " " File menu menutrans &Open\.\.\.<Tab>:e &Mở\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp &Chia-Mở\.\.\.<Tab>:sp menutrans &New<Tab>:enew Mớ&i<Tab>:enew menutrans &Close<Tab>:close Đó&ng<Tab>:close "-------------------- menutrans &Save<Tab>:w &Ghi\ nhớ<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav Ghi\ n&hư\.\.\.<Tab>:sav "-------------------- menutrans Split\ &Diff\ with\.\.\. &So\ sánh\ với\.\.\. menutrans Split\ Patched\ &By\.\.\. So\ sánh\ đã\ vá\ lỗi\ &bởi\.\.\. "-------------------- menutrans &Print In\ &ra menutrans Sa&ve-Exit<Tab>:wqa Ghi\ nhớ\ rồi\ th&oát <Tab>:wqa menutrans E&xit<Tab>:qa &Thoát<Tab>:qa " " " Edit menu menutrans &Undo<Tab>u &Hủy\ bước<Tab>u menutrans &Redo<Tab>^R &Làm\ lại<Tab>^R menutrans Rep&eat<Tab>\. Lặ&p\ lại<Tab>\. "-------------------- menutrans Cu&t<Tab>"+x &Cắt<Tab>"+x menutrans &Copy<Tab>"+y &Sao\ chép<Tab>"+y menutrans &Paste<Tab>"+gP &Dán<Tab>"+gP menutrans Put\ &Before<Tab>[p Dán\ trướ&c<Tab>[p menutrans Put\ &After<Tab>]p Dán\ sa&u<Tab>]p menutrans &Delete<Tab>x &Xóa<Tab>x menutrans &Select\ All<Tab>ggVG Chọ&n\ tất\ cả<Tab>ggVG "-------------------- menutrans &Find\.\.\.<Tab>/ &Tìm\ kiếm\.\.\.<Tab>/ menutrans Find\ and\ Rep&lace\.\.\. Tìm\ kiếm\ &và\ thay\ thế\.\.\. menutrans Find\ and\ Rep&lace\.\.\.<Tab>:%s Tìm\ kiếm\ &và\ thay\ thế\.\.\.<Tab>:%s menutrans Find\ and\ Rep&lace\.\.\.<Tab>:s Tìm\ kiếm\ &và\ thay\ thế\.\.\<Tab>:s "-------------------- menutrans Settings\ &Window Cửa\ &sổ\ thiết\ lập menutrans &Global\ Settings Thiết\ lập\ t&oàn\ cầu menutrans F&ile\ Settings &Thiết\ lập\ tập\ t&in menutrans C&olor\ Scheme Phối\ hợp\ màu\ &sắc menutrans &Keymap Sơ\ đồ\ &bàn\ phím menutrans Select\ Fo&nt\.\.\. Chọn\ &phông\ chữ\.\.\. ">>>----------------- Edit/Global settings menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Chiếu\ sáng\ từ\ tìm\ thấy <Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! &Không\ tính\ đến\ kiểu\ chữ<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! Cho\ &biết\ phần\ tử\ có\ cặp<Tab>:set\ sm! menutrans &Context\ lines Số\ &dòng\ quanh\ con\ trỏ menutrans &Virtual\ Edit &Soạn\ thảo\ ảo menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Chế\ độ\ chè&n<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Tương\ thích\ với\ &Vi<Tab>:set\ cp! menutrans Search\ &Path\.\.\. Đường\ dẫn\ tìm\ &kiếm\.\.\. menutrans Ta&g\ Files\.\.\. Tập\ tin\ t&hẻ\ ghi\.\.\. " menutrans Toggle\ &Toolbar Ẩn/hiện\ th&anh\ công\ cụ menutrans Toggle\ &Bottom\ Scrollbar Ẩn/hiện\ thanh\ kéo\ nằ&m\ dưới menutrans Toggle\ &Left\ Scrollbar Ẩn/hiện\ thanh\ ké&o\ bên\ trái menutrans Toggle\ &Right\ Scrollbar Ẩn/hiện\ thanh\ kéo\ bên\ &phải ">>>->>>------------- Edit/Global settings/Virtual edit menutrans Never Tắt menutrans Block\ Selection Khi\ chọn\ khối menutrans Insert\ mode Trong\ chế\ độ\ Chèn menutrans Block\ and\ Insert Khi\ chọn\ khối\ và\ Chèn menutrans Always Luôn\ luôn\ bật ">>>----------------- Edit/File settings menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Đánh\ &số\ dòng<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! &Chế\ độ\ danh\ sách<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! &Ngắt\ những\ dòng\ dài<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Ngắt\ từ\ nguyên\ &vẹn<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! &Dấu\ trắng\ thay\ cho\ tab<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! &Tự\ động\ thụt\ dòng<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! T&hụt\ dòng\ kiểu\ C<Tab>:set\ cin! ">>>--- menutrans &Shiftwidth Chiều\ &rộng\ thụt\ dòng menutrans Soft\ &Tabstop Chiều\ rộng\ T&ab menutrans Te&xt\ Width\.\.\. Chiều\ rộng\ văn\ &bản\.\.\. menutrans &File\ Format\.\.\. Định\ dạng\ tậ&p\ tin\.\.\. ">>>----------------- Edit/File settings/Color Scheme menutrans default Mặc\ định ">>>----------------- Edit/File settings/Keymap menutrans None Không\ dùng menutrans arabic Ả\ rập menutrans czech Séc menutrans esperanto Etperantô menutrans greek Hy\ Lạp menutrans hebrew Do\ thái menutrans hebrewp Do\ thái\ p menutrans lithuania-baltic Lát-vi\ Bal-tíc menutrans magyar Hungari menutrans persian-iranian Iran\ Ba\ Tư menutrans persian Ba\ Tư menutrans russian-jcuken Nga\ jcuken menutrans russian-jcukenwin Nga\ jcukenwin menutrans russian-yawerty Nga\ yawerty menutrans serbian-latin Xéc-bi\ La-tinh menutrans serbian Xéc-bi menutrans slovak slovak " " " " Tools menu menutrans &Jump\ to\ this\ tag<Tab>g^] &Nhảy\ tới\ thẻ\ ghi<Tab>g^] menutrans Jump\ &back<Tab>^T &Quay\ lại<Tab>^T menutrans Build\ &Tags\ File &Tạo\ tập\ tin\ thẻ\ ghi "------------------- menutrans &Folding Nếp\ &gấp menutrans &Diff &Khác\ biệt (diff) "------------------- menutrans &Make<Tab>:make &Biên\ dịch<Tab>:make menutrans &List\ Errors<Tab>:cl &Danh\ sách\ lỗi<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! Danh\ &sách\ thông\ báo<Tab>:cl! menutrans &Next\ Error<Tab>:cn &Lỗi\ tiếp\ theo<Tab>:cn menutrans &Previous\ Error<Tab>:cp Lỗi\ t&rước<Tab>:cp menutrans &Older\ List<Tab>:cold Danh\ sách\ &cũ\ hơn<Tab>:cold menutrans N&ewer\ List<Tab>:cnew Danh\ sách\ &mới\ hơn<Tab>:cnew menutrans Error\ &Window Cử&a\ sổ\ lỗi menutrans &Set\ Compiler C&họn\ trình\ biên\ dịch "------------------- menutrans &Convert\ to\ HEX<Tab>:%!xxd Ch&uyển\ thành\ HEX<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Chuyển\ từ\ HE&X<Tab>:%!xxd\ -r ">>>---------------- Folds menutrans &Enable/Disable\ folds<Tab>zi &Bật/tắt\ nếp\ gấp<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv &Xem\ dòng\ có\ con\ trỏ<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx &Chỉ\ xem\ dòng\ có\ con\ trỏ<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm Đóng\ &nhiều\ nếp\ gấp\ hơn<Tab>zm menutrans &Close\ all\ folds<Tab>zM Đóng\ mọi\ nếp\ &gấp<Tab>zM menutrans &Open\ all\ folds<Tab>zR &Mở\ mọi\ nếp\ gấp<Tab>zR menutrans O&pen\ more\ folds<Tab>zr Mở\ n&hiều\ nếp\ gấp\ hơn<Tab>zr menutrans Fold\ Met&hod &Phương\ pháp\ gấp menutrans Create\ &Fold<Tab>zf &Tạo\ nếp\ gấp<Tab>zf menutrans &Delete\ Fold<Tab>zd Xó&a\ nếp\ gấp<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD Xóa\ mọ&i\ nếp\ gấp<Tab>zD menutrans Fold\ col&umn\ width Chiều\ &rộng\ cột\ nếp\ gấp ">>>->>>----------- Tools/Folds/Fold Method menutrans M&anual &Thủ\ công menutrans I&ndent Thụt\ &dòng menutrans E&xpression &Biểu\ thức menutrans S&yntax &Cú\ pháp menutrans Ma&rker &Dấu\ hiệu ">>>--------------- Tools/Diff menutrans &Update &Cập\ nhật menutrans &Get\ Block &Thay\ đổi\ bộ\ đệm\ này menutrans &Put\ Block T&hay\ đổi\ bộ\ đệm\ khác ">>>--------------- Tools/Diff/Error window menutrans &Update<Tab>:cwin &Cập\ nhật<Tab>:cwin menutrans &Close<Tab>:cclose Đó&ng<Tab>:cclose menutrans &Open<Tab>:copen &Mở<Tab>:copen " " " Syntax menu " menutrans &Show\ filetypes\ in\ menu &Hiển\ thị\ loại\ tập\ tin\ trong\ trình\ đơn menutrans Set\ '&syntax'\ only &Chỉ\ thay\ đổi\ giá\ trị\ 'syntax' menutrans Set\ '&filetype'\ too Th&ay\ đổi\ cả\ giá\ trị\ 'filetype' menutrans &Off &Tắt menutrans &Manual &Bằng\ tay menutrans A&utomatic Tự\ độ&ng menutrans on/off\ for\ &This\ file Bật\ tắt\ &cho\ tập\ tin\ này menutrans Co&lor\ test &Kiểm\ tra\ màu\ sắc menutrans &Highlight\ test Kiểm\ tra\ chiếu\ &sáng menutrans &Convert\ to\ HTML &Chuyển\ thành\ HTML ">>>---------------- Syntax/AB menutrans Apache\ config Cấu\ hình\ Apache menutrans Ant\ build\ file Tập\ tin\ biên\ dịch\ Ant menutrans Apache-style\ config Cấu\ hình\ phong\ cách\ Apache menutrans Arc\ Macro\ Language Ngôn\ ngữ\ Macro\ Arc menutrans Arch\ inventory Kiểm\ kê\ Arch menutrans ASP\ with\ VBScript ASP\ với\ VBScript menutrans ASP\ with\ Perl ASP\ với\ Perl menutrans BC\ calculator Máy\ tính\ BC menutrans BDF\ font Phông\ chữ\ BDF menutrans blank không\ dùng ">>>---------------- Syntax/C menutrans Calendar Lịch menutrans Cheetah\ template Mẫu\ Cheetah menutrans Config Cấu\ hình " " " Buffers menu " menutrans &Refresh\ menu &Cập\ nhật\ trình\ đơn menutrans Delete &Xóa menutrans &Alternate Xen\ &kẽ menutrans &Next Tiế&p\ theo menutrans &Previous &Trước menutrans [No\ File] [Không\ có\ tập\ tin] " " " Window menu " menutrans &New<Tab>^Wn &Mới<Tab>^Wn menutrans S&plit<Tab>^Ws &Chia\ đôi<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ Chia\ &tới\ #<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv Chia\ &dọc<Tab>^Wv menutrans Split\ File\ E&xplorer Mở\ trình\ &duyệt\ tập\ tin " menutrans &Close<Tab>^Wc Đó&ng<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Đóng\ các\ cửa\ sổ\ &khác<Tab>^Wo " menutrans Move\ &To C&huyển\ tới menutrans Rotate\ &Up<Tab>^WR &Lên\ trên<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr &Xuống\ dưới<Tab>^Wr " menutrans &Equal\ Size<Tab>^W= Cân\ &bằng\ kích\ thước<Tab>^W= menutrans &Max\ Height<Tab>^W_ Chiều\ c&ao\ lớn\ nhất<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ Chiều\ ca&o\ nhỏ\ nhất<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| Chiều\ &rộng\ lớn\ nhất<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| Chiề&u\ rộng\ nhỏ\ nhất<Tab>^W1\| ">>>----------------- Window/Move To menutrans &Top<Tab>^WK Đầ&u<Tab>^WK menutrans &Bottom<Tab>^WJ &Cuối<Tab>^WJ menutrans &Left\ side<Tab>^WH &Trái<Tab>^WH menutrans &Right\ side<Tab>^WL &Phải<Tab>^WL " " " The popup menu " " menutrans &Undo &Hủy\ bước menutrans Cu&t &Cắt menutrans &Copy &Sao\ chép menutrans &Paste &Dán menutrans &Delete &Xóa menutrans Select\ Blockwise Chọn\ &theo\ khối menutrans Select\ &Word Chọ&n\ từ menutrans Select\ &Line Chọn\ dòn&g menutrans Select\ &Block Chọn\ &khối menutrans Select\ &All Chọn\ tất\ &cả " " The GUI toolbar " if has("toolbar") if exists("*Do_toolbar_tmenu") delfun Do_toolbar_tmenu endif fun Do_toolbar_tmenu() tmenu ToolBar.Open Mở tập tin tmenu ToolBar.Save Ghi nhớ tập tin tmenu ToolBar.SaveAll Ghi nhớ tất cả tmenu ToolBar.Print In ra tmenu ToolBar.Undo Hủy bước tmenu ToolBar.Redo Làm lại tmenu ToolBar.Cut Cắt tmenu ToolBar.Copy Sao chép tmenu ToolBar.Paste Dán tmenu ToolBar.Find Tìm kiếm tmenu ToolBar.FindNext Tìm tiếp theo tmenu ToolBar.FindPrev Tìm ngược lại tmenu ToolBar.Replace Thay thế... tmenu ToolBar.LoadSesn Nạp buổi làm việc tmenu ToolBar.SaveSesn Ghi nhớ buổi làm việc tmenu ToolBar.RunScript Chạy script của Vim tmenu ToolBar.Make Biên dịch tmenu ToolBar.Shell Shell tmenu ToolBar.RunCtags Tạo tập tin thẻ ghi tmenu ToolBar.TagJump Chuyển tới thẻ ghi tmenu ToolBar.Help Trợ giúp tmenu ToolBar.FindHelp Tìm trong trợ giúp endfun endif " " " Dialog texts " " Find in help dialog " let g:menutrans_help_dialog = "Hãy nhập câu lệnh hoặc từ khóa tìm kiếm:\n\nThêm i_ để tìm kiếm câu lệnh của chế độ Nhập Input (Ví dụ, i_CTRL-X)\nThêm c_ để tìm kiếm câu lệnh của chế độ soạn thảo dòng lệnh (Ví dụ, с_<Del>)\nThêm ' để tìm kiếm trợ giúp cho một tùy chọn (ví dụ, 'shiftwidth')" " " Searh path dialog " let g:menutrans_path_dialog = "Hãy chỉ ra đường dẫn để tìm kiếm tập tin.\nTên của thư mục phân cách nhau bởi dấu phẩy." " " Tag files dialog " let g:menutrans_tags_dialog = "Nhập tên tập tin thẻ ghi (phân cách bởi dấu phẩy).\n" " " Text width dialog " let g:menutrans_textwidth_dialog = "Hãy nhập chiều rộng văn bản mới.\nNhập 0 để hủy bỏ." " " File format dialog " let g:menutrans_fileformat_dialog = "Hãy chọn định dạng tập tin." let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\n&Hủy bỏ" " let menutrans_no_file = "[không có tập tin]" let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_vi_vn.vim
Vim Script
gpl2
14,091
" Menu Translations: Japanese (for UNIX) " Translated By: Muraoka Taro <koron@tka.att.ne.jp> " Last Change: 08:50:47 25-Mar-2001. " eucjp is the same as euc-jp. Source the other one from here. source <sfile>:p:h/menu_ja_jp.euc-jp.vim
zyz2011-vim
runtime/lang/menu_ja_jp.eucjp.vim
Vim Script
gpl2
238
" Menu Translations: Finnish for latin 1 encoding source <sfile>:p:h/menu_fi_fi.latin1.vim
zyz2011-vim
runtime/lang/menu_fi.latin1.vim
Vim Script
gpl2
92
" Menu Translations: Slovenian / Slovensko " Maintainer: Mojca Miklavec <mojca.miklavec.lists@gmail.com> " Originally By: Mojca Miklavec <mojca.miklavec.lists@gmail.com> " Last Change: Sat, 17 Jun 2006 " vim:set foldmethod=marker tabstop=8: " TODO: add/check all '&'s " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " {{{ FILE / DATOTEKA menutrans &File &Datoteka menutrans &Open\.\.\.<Tab>:e &Odpri\ \.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp Odpri\ de&ljeno\ \.\.\.<Tab>:sp menutrans Open\ Tab\.\.\.<Tab>:tabnew Odpri\ v\ zavi&hku\ \.\.\.<Tab>:tabnew menutrans &New<Tab>:enew &Nova<Tab>:enew menutrans &Close<Tab>:close &Zapri<Tab>:close menutrans &Save<Tab>:w &Shrani<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav Shrani\ &kot\ \.\.\.<Tab>:sav menutrans &Print Na&tisni menutrans Sa&ve-Exit<Tab>:wqa Shrani\ in\ &končaj<Tab>:wqa menutrans E&xit<Tab>:qa &Izhod<Tab>:qa if has("diff") menutrans Split\ &Diff\ with\.\.\. Primerjaj\ z\ (di&ff)\ \.\.\. menutrans Split\ Patched\ &By\.\.\. &Popravi\ z\ (patch)\ \.\.\. endif " }}} FILE / DATOTEKA " {{{ EDIT / UREDI menutrans &Edit &Uredi menutrans &Undo<Tab>u &Razveljavi<Tab>u menutrans &Redo<Tab>^R &Obnovi<Tab>^R menutrans Rep&eat<Tab>\. Po&novi<Tab>\. menutrans Cu&t<Tab>"+x &Izreži<Tab>"+x menutrans &Copy<Tab>"+y &Kopiraj<Tab>"+y menutrans &Paste<Tab>"+gP &Prilepi<Tab>"+gP menutrans Put\ &Before<Tab>[p Vrini\ pred<Tab>[p menutrans Put\ &After<Tab>]p Vrini\ za<Tab>]p menutrans &Delete<Tab>x Iz&briši<Tab>x menutrans &Select\ all<Tab>ggVG Izberi\ vse<Tab>ggVG menutrans &Find\.\.\. Po&išči\ \.\.\. menutrans Find\ and\ Rep&lace\.\.\. Poišči\ in\ &zamenjaj\ \.\.\. " [-- SETTINGS --] menutrans Settings\ &Window Nastavitve\ \.\.\. menutrans Startup\ &Settings Začetne\ nastavitve menutrans &Global\ Settings &Globalne\ nastavitve menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Vključi/izključi\ poudarjanje\ iskanega\ niza<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Vključi/izključi\ ločevanje\ velikih\ in\ malih\ črk<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! Vključi/izključi\ kratek\ skok\ na\ pripadajoči\ oklepaj<Tab>:set\ sm! menutrans &Context\ lines Št\.\ vidnih\ vrstic\ pred/za\ kurzorjem menutrans &Virtual\ Edit Dovoli\ položaj\ kazalčka,\ kjer\ ni\ besedila menutrans Never Nikoli menutrans Block\ Selection Le\ med\ izbiranjem\ bloka menutrans Insert\ mode Le\ v\ načinu\ za\ pisanje menutrans Block\ and\ Insert Pri\ obojem menutrans Always Vedno menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Vključi/izključi\ način\ za\ pisanje<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Vključi/izključi\ združljivost\ z\ Vi-jem<Tab>:set\ cp! menutrans Search\ &Path\.\.\. Pot\ za\ iskanje\ \.\.\. menutrans Ta&g\ Files\.\.\. Ta&g-datoteke\.\.\. menutrans Toggle\ &Toolbar Pokaži/skrij\ Orodja menutrans Toggle\ &Bottom\ Scrollbar Pokaži/skrij\ spodnji\ drsnik menutrans Toggle\ &Left\ Scrollbar Pokaži/skrij\ levi\ drsnik menutrans Toggle\ &Right\ Scrollbar Pokaži/skrij\ desni\ drsnik " Edit/File Settings menutrans F&ile\ Settings &Nastavitve\ datoteke " Boolean options menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Pokaži/skrij\ številke\ vrstic<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! Pokaži/skrij\ nevidne\ znake<Tab>:set\ list! " space/tab menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Vključi/izključi\ prelome\ vrstic<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Vključi/izključi\ prelome\ vrstic\ med\ besedami<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! Vključi/izključi\ zamenjavo\ tabulatorjev\ s\ presledki<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! Vključi/izključi\ avtomatsko\ zamikanje\ vrstic<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! Vključi/izključi\ C-jevski\ način\ zamikanja\ vrstic<Tab>:set\ cin! " other options menutrans &Shiftwidth Širina\ zamika\ vrstic menutrans Soft\ &Tabstop Širina\ &tabulatorja menutrans Te&xt\ Width\.\.\. Širina\ besedila\ \.\.\. menutrans &File\ Format\.\.\. Format\ &datoteke\ \.\.\. menutrans C&olor\ Scheme &Barvna\ shema\ \.\.\. menutrans &Keymap &Keymap menutrans Select\ Fo&nt\.\.\. Pisava\ \.\.\. " }}} EDIT / UREDI " {{{ TOOLS / ORODJA menutrans &Tools &Orodja menutrans &Jump\ to\ this\ tag<Tab>g^] &Skoči\ k\ tej\ znački<Tab>g^] menutrans Jump\ &back<Tab>^T Skoči\ Na&zaj<Tab>^T menutrans Build\ &Tags\ File Napravi\ datoteke\ z\ značkami\ (tag) if has("spell") menutrans &Spelling Črkovalnik menutrans &Spell\ Check\ On &Vključi menutrans Spell\ Check\ &Off &Izključi menutrans To\ &Next\ error<Tab>]s K\ &naslednji\ napaki<Tab>]s menutrans To\ &Previous\ error<Tab>[s K\ &prejšnji\ napaki<Tab>[s menutrans Suggest\ &Corrections<Tab>z= Predlagaj\ popravek<Tab>z= menutrans &Repeat\ correction<Tab>:spellrepall Po&novi\ popravke\ na\ vseh\ besedah<Tab>:spellrepall menutrans Set\ language\ to\ "en" Angleški\ "en" menutrans Set\ language\ to\ "en_au" Angleški\ "en_au" menutrans Set\ language\ to\ "en_ca" Angleški\ "en_ca" menutrans Set\ language\ to\ "en_gb" Angleški\ "en_gb" menutrans Set\ language\ to\ "en_nz" Angleški\ "en_nz" menutrans Set\ language\ to\ "en_us" Angleški\ "en_us" menutrans Set\ language\ to\ "sl" Slovenski\ "sl" menutrans Set\ language\ to\ "de" Nemški\ "de" menutrans Set\ language\ to\ Črkovalnik:\ menutrans &Find\ More\ Languages &Ostali\ jeziki endif if has("folding") menutrans &Folding Zvijanje\ kode " open close folds menutrans &Enable/Disable\ folds<Tab>zi Omogoči/onemogoči\ zvijanje<Tab>zi " Omogoči/onemogoči\ zavihke menutrans &View\ Cursor\ Line<Tab>zv Pokaži\ vrstico\ s\ kazalčkom<Tab>zv " kjer je kazalec menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Pokaži\ samo\ vrstico\ s\ kazalčkom<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm Zvij\ naslednji\ nivo<Tab>zm " Zapri\ več\ zavihkov menutrans &Close\ all\ folds<Tab>zM Zvij\ vso\ kodo<Tab>zM " Zapri\ vse\ zavihke menutrans O&pen\ more\ folds<Tab>zr Razvij\ en\ nivo<Tab>zr " Odpri\ več\ zavihkov menutrans &Open\ all\ folds<Tab>zR Razvij\ vso\ kodo<Tab>zR " Odpri\ vse\ zavihke " fold method menutrans Fold\ Met&hod Kriterij\ za\ zvijanje " Ustvarjanje\ zavihkov menutrans M&anual &Ročno menutrans I&ndent Glede\ na\ &poravnavo menutrans E&xpression Z\ &izrazi\ (foldexpr) menutrans S&yntax Glede\ na\ &sintakso menutrans &Diff Razlike\ (&diff) menutrans Ma&rker Z\ &markerji/označbami " create and delete folds " TODO accelerators menutrans Create\ &Fold<Tab>zf Ustvari\ zvitek<Tab>zf menutrans &Delete\ Fold<Tab>zd Izbriši\ zvitek<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD Izbriši\ vse\ zvitke<Tab>zD " moving around in folds menutrans Fold\ column\ &width Širina\ drevesa\ z\ zvitki endif " has folding if has("diff") menutrans &Diff Razlike\ (&Diff) menutrans &Update &Posodobi<Tab> menutrans &Get\ Block &Sprejmi\ (spremeni\ to\ okno) " XXX: check if translation is OK menutrans &Put\ Block &Pošlji\ (spremeni\ drugo\ okno) endif menutrans &Make<Tab>:make Napravi\ (&make)<Tab>:make menutrans &List\ Errors<Tab>:cl Pokaži\ napake<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! Pokaži\ sporočila<Tab>:cl! menutrans &Next\ Error<Tab>:cn K\ &naslednji\ napaki<Tab>:cn menutrans &Previous\ Error<Tab>:cp K\ &prejšnji\ napaki<Tab>:cp menutrans &Older\ List<Tab>:cold K\ &starejšemu\ seznamu\ napak<Tab>:cold menutrans N&ewer\ List<Tab>:cnew K\ &novejšemu\ seznamu\ napak<Tab>:cnew menutrans Error\ &Window Okno\ z\ napakami menutrans &Update<Tab>:cwin &Posodobi<Tab>:cwin menutrans &Open<Tab>:copen &Odpri<Tab>:copen menutrans &Close<Tab>:cclose &Zapri<Tab>:cclose menutrans &Set\ Compiler Nastavi\ &prevajalnik menutrans Se&T\ Compiler Nastavi\ &prevajalnik " bug in original translation? menutrans &Convert\ to\ HEX<Tab>:%!xxd Pretvori\ v\ HE&X<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Pretvori\ nazaj<Tab>:%!xxd\ -r " }}} TOOLS / ORODJA " {{{ SYNTAX / BARVANJE KODE menutrans &Syntax &Barvanje\ kode menutrans &Show\ filetypes\ in\ menu Podprte\ vrste\ datotek menutrans Set\ '&syntax'\ only Samo\ barvanje\ ('&syntax') menutrans Set\ '&filetype'\ too Tudi\ obnašanje\ ('&filetype') menutrans &Off &Izključeno menutrans &Manual &Ročno menutrans A&utomatic &Avtomatsko menutrans on/off\ for\ &This\ file Vključi/izključi\ za\ to\ datoteko menutrans Co&lor\ test Preizkus\ barv menutrans &Highlight\ test Preizkus\ barvanja\ kode menutrans &Convert\ to\ HTML Pretvori\ v\ &HTML " }}} SYNTAX / BARVANJE KODE " {{{ BUFFERS / MEDPOMNILNIK menutrans &Buffers &Medpomnilnik " XXX: ni najbolje: okno bi bolj pristajalo, ampak okno je že menutrans &Refresh\ menu &Osveži menutrans Delete &Briši menutrans &Alternate &Menjaj menutrans &Next &Naslednji menutrans &Previous &Prejšnji menutrans [No\ File] [Brez\ datoteke] " }}} BUFFERS / MEDPOMNILNIK " {{{ WINDOW / OKNO menutrans &Window &Okno menutrans &New<Tab>^Wn &Novo<Tab>^Wn menutrans S&plit<Tab>^Ws Razdeli<Tab>^Ws menutrans Split\ &Vertically<Tab>^Wv Razdeli\ navpično<Tab>^Ws menutrans Split\ File\ E&xplorer Razdeli:\ Vsebina\ mape menutrans Sp&lit\ To\ #<Tab>^W^^ Razdeli\ v\ #<Tab>^W^^ menutrans &Close<Tab>^Wc &Zapri<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Zapri\ &ostala<Tab>^Wo menutrans Move\ &To Premakni menutrans &Top<Tab>^WK &Gor<Tab>^WK menutrans &Bottom<Tab>^WJ &Dol<Tab>^WJ menutrans &Left\ side<Tab>^WH &Levo<Tab>^WH menutrans &Right\ side<Tab>^WL &Desno<Tab>^WL menutrans Rotate\ &Up<Tab>^WR Zavrti\ navzgor<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr Zavrti\ navzdol<Tab>^Wr menutrans &Equal\ Size<Tab>^W= &Enaka\ velikost<Tab>^W= menutrans &Max\ Height<Tab>^W_ Najvišje<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ Najnižje<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| Najširše<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| Najožje<Tab>^W1\| " }}} WINDOW / OKNO " {{{ HELP / POMOČ menutrans &Help &Pomoč menutrans &Overview<Tab><F1> Hitri\ pregled<Tab><F1> menutrans &User\ Manual P&riročnik menutrans &How-to\ links &How-to\ kazalo menutrans &Find\.\.\. Po&išči\ \.\.\. " conflicts with Edit.Find menutrans &Credits &Avtorji menutrans Co&pying &Licenca menutrans &Sponsor/Register Registracija\ in\ &donacije menutrans O&rphans &Sirotam menutrans &Version &Verzija menutrans &About &O\ programu " }}} HELP / POMOČ " {{{ POPUP menutrans &Undo &Razveljavi menutrans Cu&t &Izreži menutrans &Copy &Kopieraj menutrans &Paste &Prilepi menutrans &Delete &Zbriši menutrans Select\ Blockwise Izbiraj\ po\ blokih menutrans Select\ &Word Izberi\ &besedo menutrans Select\ &Sentence Izberi\ &stavek menutrans Select\ Pa&ragraph Izberi\ &odstavek menutrans Select\ &Line Izberi\ vrs&tico menutrans Select\ &Block Izberi\ b&lok menutrans &Select\ All<Tab>ggVG Izberi\ &vse<Tab>ggVG " }}} POPUP " {{{ TOOLBAR if has("toolbar") if exists("*Do_toolbar_tmenu") delfun Do_toolbar_tmenu endif fun Do_toolbar_tmenu() tmenu ToolBar.Open Odpri datoteko tmenu ToolBar.Save Shrani datoteko tmenu ToolBar.SaveAll Shrani vse datoteke tmenu ToolBar.Print Natisni tmenu ToolBar.Undo Razveljavi tmenu ToolBar.Redo Obnovi tmenu ToolBar.Cut Izreži tmenu ToolBar.Copy Kopiraj tmenu ToolBar.Paste Prilepi tmenu ToolBar.Find Najdi ... tmenu ToolBar.FindNext Najdi naslednje tmenu ToolBar.FindPrev Najdi prejšnje tmenu ToolBar.Replace Najdi in zamenjaj ... tmenu ToolBar.LoadSesn Naloži sejo tmenu ToolBar.SaveSesn Shrani trenutno sejo tmenu ToolBar.RunScript Izberi Vim skripto za izvajanje tmenu ToolBar.Make Napravi trenutni projekt (:make) tmenu ToolBar.RunCtags Napravi značke v trenutnem direktoriju (!ctags -R.) tmenu ToolBar.TagJump Skoči k znački pod kurzorjem tmenu ToolBar.Help Pomoč za Vim tmenu ToolBar.FindHelp Išči v pomoči za Vim endfun endif " }}} TOOLBAR " {{{ DIALOG TEXTS let g:menutrans_no_file = "[Brez datoteke]" let g:menutrans_help_dialog = "Vnesite ukaz ali besedo, za katero želite pomoč:\n\nUporabite predpono i_ za ukaze v načinu za pisanje (npr.: i_CTRL-X)\nUporabite predpono c_ za ukaze v ukazni vrstici (command-line) (npr.: c_<Del>)\nUporabite predpono ' za imena opcij (npr.: 'shiftwidth')" let g:menutrans_path_dialog = "Vnesite poti za iskanje datotek.\nImena direktorijev ločite z vejico." let g:menutrans_tags_dialog = "Vnesite imena datotek z značkami ('tag').\nImana ločite z vejicami." let g:menutrans_textwidth_dialog = "Vnesite novo širino besedila (ali 0 za izklop formatiranja): " let g:menutrans_fileformat_dialog = "Izberite format datoteke" let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\n&Prekliči" " }}} let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_sl_si.utf-8.vim
Vim Script
gpl2
13,290
" Menu Translations: Esperanto " Maintainer: Dominique PELLE <dominique.pelle@free.fr> " Last Change: 2012 May 01 " " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 menutrans &Help &Helpo menutrans &Overview<Tab><F1> &Enhavtabelo<Tab><F1> menutrans &User\ Manual &Uzula\ manlibro menutrans &How-to\ links &Kiel\ fari menutrans &Find\.\.\. T&rovi\.\.\. " -sep1- menutrans &Credits &Dankoj menutrans Co&pying &Permisilo menutrans &Sponsor/Register &Subteni/Registriĝi menutrans O&rphans &Orfoj " -sep2- menutrans &Version &Versio menutrans &About Pri\ &Vim let g:menutrans_help_dialog = "Tajpu komandon aŭ serĉendan vorton en la helparo.\n\nAldonu i_ por la komandoj de la enmeta reĝimo (ekz: i_CTRL-X)\nAldonu c_ por redakto de la komanda linio (ekz: c_<Del>)\nĈirkaŭi la opciojn per apostrofoj (ekz: 'shiftwidth')" menutrans &File &Dosiero menutrans &Open\.\.\.<Tab>:e &Malfermi\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp Malfermi\ &divide\.\.\.<Tab>:sp menutrans Open\ Tab\.\.\.<Tab>:tabnew Malfermi\ &langeton\.\.\.<Tab>:tabnew menutrans &New<Tab>:enew &Nova<Tab>:enew menutrans &Close<Tab>:close &Fermi<Tab>:close " -SEP1- menutrans &Save<Tab>:w &Konservi<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav Konservi\ ki&el\.\.\.<Tab>:sav " -SEP2- menutrans Split\ &Diff\ with\.\.\. Kom&pari\ divide\.\.\. menutrans Split\ Patched\ &By\.\.\. &Testi\ flikaĵon\.\.\. " -SEP3- menutrans &Print &Presi " -SEP4- menutrans Sa&ve-Exit<Tab>:wqa Konservi\ kaj\ eli&ri<Tab>:wqa menutrans E&xit<Tab>:qa &Eliri<Tab>:qa menutrans &Edit &Redakti menutrans &Undo<Tab>u &Malfari<Tab>u menutrans &Redo<Tab>^R Re&fari<Tab>^R menutrans Rep&eat<Tab>\. R&ipeti<Tab>\. " -SEP1- menutrans Cu&t<Tab>"+x &Tondi<Tab>"+x menutrans &Copy<Tab>"+y &Kopii<Tab>"+y menutrans &Paste<Tab>"+gP Al&glui<Tab>"+gP menutrans Put\ &Before<Tab>[p Enmeti\ &antaŭ<Tab>[p menutrans Put\ &After<Tab>]p Enmeti\ ma&lantaŭ<Tab>]p menutrans &Delete<Tab>x &Forviŝi<Tab>x menutrans &Select\ All<Tab>ggVG A&partigi\ ĉion<Tab>ggVG " -SEP2- menutrans &Find\.\.\. &Trovi\.\.\. menutrans Find\ and\ Rep&lace\.\.\. Trovi\ kaj\ a&nstataŭigi\.\.\. menutrans &Find<Tab>/ &Trovi<Tab>/ menutrans Find\ and\ Rep&lace<Tab>:%s Trovi\ kaj\ ansta&taŭigi<Tab>:%s menutrans Find\ and\ Rep&lace<Tab>:s Trovi\ kaj\ ansta&taŭigi<Tab>:s " -SEP3- menutrans Settings\ &Window Fenestro\ de\ a&gordoj menutrans Startup\ &Settings Agordoj\ de\ prav&aloroj menutrans &Global\ Settings Mallo&kaj\ agordoj menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Baskuli\ emfazon\ de\ ŝa&blono<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Baskuli\ kongruon\ de\ uskle&co<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! Baskuli\ kongruon\ de\ kram&poj<Tab>:set\ sm! menutrans &Context\ lines Linioj\ de\ &kunteksto menutrans &Virtual\ Edit &Virtuala\ redakto menutrans Never &Neniam menutrans Block\ Selection &Bloka\ apartigo menutrans Insert\ mode &Enmeta\ reĝimo menutrans Block\ and\ Insert Blo&ko\ kaj\ enmeto menutrans Always Ĉia&m menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Baskuli\ &enmetan\ reĝimon<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Baskuli\ kongruon\ kun\ &Vi<Tab>:set\ cp! menutrans Search\ &Path\.\.\. &Serĉvojo\ de\ dosieroj\.\.\. menutrans Ta&g\ Files\.\.\. Dosiero\ de\ etike&doj\.\.\. " -SEP1- menutrans Toggle\ &Toolbar Baskuli\ &ilobreton menutrans Toggle\ &Bottom\ Scrollbar Baskuli\ su&ban\ rulumskalon menutrans Toggle\ &Left\ Scrollbar Baskuli\ &maldekstran\ rulumskalon menutrans Toggle\ &Right\ Scrollbar Baskuli\ &dekstran\ rulumskalon let g:menutrans_path_dialog = "Tajpu la vojon de serĉo de dosieroj.\nDisigu la dosierujojn per komoj." let g:menutrans_tags_dialog = "Tajpu la nomojn de dosieroj de etikedoj.\nDisigu la nomojn per komoj." menutrans F&ile\ Settings A&gordoj\ de\ dosiero menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Baskuli\ &numerojn\ de\ linioj<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! Baskuli\ &listan\ reĝimon<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Baskuli\ linifal&don<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Baskuli\ &vortofaldon<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! Baskuli\ ekspansio\ de\ &taboj<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! Baskuli\ &aŭtokrommarĝenon<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! Baskuli\ &C-krommarĝenon<Tab>:set\ cin! " -SEP2- menutrans &Shiftwidth &Larĝo\ de\ krommarĝeno menutrans Soft\ &Tabstop &Malm&olaj\ taboj menutrans Te&xt\ Width\.\.\. Larĝo\ de\ te&ksto\.\.\. menutrans &File\ Format\.\.\. &Formato\ de\ &dosiero\.\.\. let g:menutrans_textwidth_dialog = "Tajpu la novan larĝon de teksto\n(0 por malŝalti formatigon)." let g:menutrans_fileformat_dialog = "Elektu la formaton de la skribonta dosiero." let g:menutrans_fileformat_choices = " &Unikso \n &Dos \n &Mak \n &Rezigni " menutrans C&olor\ Scheme &Koloraro menutrans &Keymap Klavo&mapo menutrans None (nenio) menutrans Select\ Fo&nt\.\.\. Elekti\ &tiparon\.\.\. menutrans &Tools &Iloj menutrans &Jump\ to\ this\ tag<Tab>g^] &Aliri\ al\ tiu\ etikedo<Tab>g^] menutrans Jump\ &back<Tab>^T &Retroiri<Tab>^T menutrans Build\ &Tags\ File Krei\ &etikedan\ dosieron " -SEP1- menutrans &Spelling &Literumilo menutrans &Spell\ Check\ On Ŝal&ti\ literumilon menutrans Spell\ Check\ &Off &Malŝalti\ literumilon menutrans To\ &Next\ error<Tab>]s Al\ sek&vonta\ eraro<Tab>]s menutrans To\ &Previous\ error<Tab>[s Al\ an&taŭa\ eraro<Tab>[s menutrans Suggest\ &Corrections<Tab>z= &Sugesti\ korektojn<Tab>z= menutrans &Repeat\ correction<Tab>:spellrepall R&ipeti\ korekton<Tab>:spellrepall menutrans Set\ language\ to\ "en" Angla menutrans Set\ language\ to\ "en_au" Angla\ (Aŭstralio) menutrans Set\ language\ to\ "en_ca" Angla\ (Kanado) menutrans Set\ language\ to\ "en_gb" Angla\ (Britio) menutrans Set\ language\ to\ "en_nz" Angla\ (Novzelando) menutrans Set\ language\ to\ "en_us" Angla\ (Usono) menutrans &Find\ More\ Languages &Trovi\ pli\ da\ lingvoj menutrans &Folding &Faldo menutrans &Enable/Disable\ folds<Tab>zi &Baskuli\ faldojn<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv &Vidi\ linion\ de\ kursoro<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Vidi\ nur\ &kursoran\ linion<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm F&ermi\ pli\ da\ faldoj<Tab>zm menutrans &Close\ all\ folds<Tab>zM Fermi\ ĉiu&jn\ faldojn<Tab>zM menutrans O&pen\ more\ folds<Tab>zr &Malfermi\ pli\ da\ faldoj<Tab>zr menutrans &Open\ all\ folds<Tab>zR Malfermi\ ĉiuj&n\ faldojn<Tab>zR " -SEP1- menutrans Fold\ Met&hod &Metodo\ de\ faldo menutrans M&anual &Permana\ metodo menutrans I&ndent &Krommarĝeno menutrans E&xpression &Esprimo menutrans S&yntax &Sintakso menutrans &Diff &Komparo menutrans Ma&rker Ma&rko menutrans Create\ &Fold<Tab>zf &Krei\ faldon<Tab>zf menutrans &Delete\ Fold<Tab>zd Forv&iŝi\ faldon<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD Forviŝi\ ĉiu&jn\ faldojn<Tab>zD " -SEP2- menutrans Fold\ col&umn\ width &Larĝo\ de\ falda\ kolumno menutrans &Diff Kom&pari menutrans &Update Ĝis&datigi menutrans &Get\ Block &Akiri\ blokon menutrans &Put\ Block Enme&ti\ blokon " -SEP2- menutrans &Make<Tab>:make Lanĉi\ ma&ke<Tab>:make menutrans &List\ Errors<Tab>:cl Listigi\ &erarojn<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! Listigi\ &mesaĝojn<Tab>:cl! menutrans &Next\ Error<Tab>:cn Sek&vanta\ eraro<Tab>:cn menutrans &Previous\ Error<Tab>:cp An&taŭa\ eraro<Tab>:cp menutrans &Older\ List<Tab>:cold Pli\ ma&lnova\ listo<Tab>:cold menutrans N&ewer\ List<Tab>:cnew Pli\ nova\ listo<Tab>:cnew menutrans Error\ &Window &Fenestro\ de\ eraroj menutrans &Update<Tab>:cwin Ĝis&datigi<Tab>:cwin menutrans &Open<Tab>:copen &Malfermi<Tab>:copen menutrans &Close<Tab>:cclose &Fermi<Tab>:cclose " -SEP3- menutrans &Convert\ to\ HEX<Tab>:%!xxd Konverti\ al\ deksesuma<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Retrokonverti<Tab>:%!xxd\ -r menutrans Se&T\ Compiler &Elekti\ kompililon menutrans &Buffers &Bufroj menutrans Dummy Fikcia menutrans &Refresh\ menu Ĝis&datigi\ menuon menutrans &Delete &Forviŝi menutrans &Alternate &Alterni menutrans &Next &Sekvanta menutrans &Previous An&taŭa " -SEP- menutrans &others a&liaj menutrans &u-z &u-z let g:menutrans_no_file = "[Neniu dosiero]" menutrans &Window Fene&stro menutrans &New<Tab>^Wn &Nova<Tab>^Wn menutrans S&plit<Tab>^Ws Di&vidi<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ Dividi\ &al\ #<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv Dividi\ &vertikale<Tab>^Wv menutrans Split\ File\ E&xplorer Dividi\ &dosierfoliumilo " -SEP1- menutrans &Close<Tab>^Wc &Fermi<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Fermi\ &aliajn<Tab>^Wo " -SEP2- menutrans Move\ &To &Movu\ al menutrans &Top<Tab>^WK Su&pro<Tab>^WK menutrans &Bottom<Tab>^WJ Su&bo<Tab>^WJ menutrans &Left\ side<Tab>^WH Maldekstra\ &flanko<Tab>^WH menutrans &Right\ side<Tab>^WL Dekstra\ f&lanko<Tab>^WL menutrans Rotate\ &Up<Tab>^WR Rota&cii\ supre<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr Rotac&ii\ sube<Tab>^Wr " -SEP3- menutrans &Equal\ Size<Tab>^W= &Egala\ grando<Tab>^W= menutrans &Max\ Height<Tab>^W_ Ma&ksimuma\ alto<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ Mi&nimuma\ alto<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| Maksimuma\ &larĝo<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| Minimuma\ lar&ĝo<Tab>^W1\| " PopUp menutrans &Undo &Malfari " -SEP1- menutrans Cu&t &Tondi menutrans &Copy &Kopii menutrans &Paste &Al&glui " &Buffers.&Delete overwrites this one menutrans &Delete &Forviŝi " -SEP2- menutrans Select\ Blockwise Apartigi\ &bloke menutrans Select\ &Word Apartigi\ &vorton menutrans Select\ &Line Apartigi\ &linion menutrans Select\ &Block Apartigi\ blo&kon menutrans Select\ &All Apartigi\ ĉi&on " ToolBar menutrans Open Malfermi menutrans Save Konservi menutrans SaveAll Konservi\ ĉion menutrans Print Presi " -sep1- menutrans Undo Rezigni menutrans Redo Refari " -sep2- menutrans Cut Tondi menutrans Copy Kopii menutrans Paste Alglui " -sep3- menutrans Find Trovi menutrans FindNext Trovi\ sekvanten menutrans FindPrev Trovi\ antaŭen menutrans Replace Anstataŭigi " -sep4- menutrans New Nova menutrans WinSplit DividFen menutrans WinMax MaksFen menutrans WinMin MinFen menutrans WinVSplit VDividFen menutrans WinMaxWidth MaksLarĝFen menutrans WinMinWidth MinLarĝFen menutrans WinClose FermFen " -sep5- menutrans LoadSesn ŜargSeanc menutrans SaveSesn KonsSeanc menutrans RunScript LanĉSkript " -sep6- menutrans Make Make menutrans RunCtags KreiEtik menutrans TagJump IriAlEtik " -sep7- menutrans Help Helpo menutrans FindHelp SerĉHelp fun! Do_toolbar_tmenu() let did_toolbar_tmenu = 1 tmenu ToolBar.Open Malfermi dosieron tmenu ToolBar.Save Konservi aktualan dosieron tmenu ToolBar.SaveAll Konservi ĉiujn dosierojn tmenu ToolBar.Print Presi tmenu ToolBar.Undo Rezigni tmenu ToolBar.Redo Refari tmenu ToolBar.Cut Tondi tmenu ToolBar.Copy Kopii tmenu ToolBar.Paste Alglui if !has("gui_athena") tmenu ToolBar.Find Trovi tmenu ToolBar.FindNext Trovi sekvanten tmenu ToolBar.FindPrev Trovi antaŭen tmenu ToolBar.Replace Anstataŭigi endif if 0 " disabled; These are in the Windows menu tmenu ToolBar.New Nova fenestro tmenu ToolBar.WinSplit Dividi fenestron tmenu ToolBar.WinMax Maksimumi fenestron tmenu ToolBar.WinMin Minimumi fenestron tmenu ToolBar.WinVSplit Dividi vertikale tmenu ToolBar.WinMaxWidth Maksimumi larĝon de fenestro tmenu ToolBar.WinMinWidth Minimumi larĝon de fenestro tmenu ToolBar.WinClose Fermi fenestron endif tmenu ToolBar.LoadSesn Malfermi seancon tmenu ToolBar.SaveSesn Konservi aktualan seancon tmenu ToolBar.RunScript Ruli skripton Vim tmenu ToolBar.Make Lanĉi make tmenu ToolBar.RunCtags Krei etikedojn tmenu ToolBar.TagJump Atingi tiun etikedon tmenu ToolBar.Help Helpo de Vim tmenu ToolBar.FindHelp Serĉo en helparo endfun menutrans &Syntax &Sintakso menutrans &Off &Malŝalti menutrans &Manual &Permana menutrans A&utomatic &Aŭtomata menutrans on/off\ for\ &This\ file Ŝalti/Malŝalti\ por\ &tiu\ dosiero " The Start Of The Syntax Menu menutrans ABC\ music\ notation ABC\ (muzika\ notacio) menutrans AceDB\ model Modelo\ AceDB menutrans Apache\ config Konfiguro\ de\ Apache menutrans Apache-style\ config Konfiguro\ de\ stilo\ Apache menutrans ASP\ with\ VBScript ASP\ kun\ VBScript menutrans ASP\ with\ Perl ASP\ kun\ Perl menutrans Assembly Asemblilo menutrans BC\ calculator Kalkulilo\ BC menutrans BDF\ font Tiparo\ BDF menutrans BIND\ config Konfiguro\ de\ BIND menutrans BIND\ zone Zone\ BIND menutrans Cascading\ Style\ Sheets CSS menutrans Cfg\ Config\ file Konfigura\ dosiero\ \.cfg menutrans Cheetah\ template Ŝablono\ Cheetah menutrans commit\ file Dosiero\ commit menutrans Generic\ Config\ file Dosiero\ de\ ĝenerala\ konfiguro menutrans Digital\ Command\ Lang DCL menutrans DNS/BIND\ zone Regiono\ BIND/DNS menutrans Dylan\ interface Interfaco\ Dylan menutrans Dylan\ lid Dylan\ lid menutrans Elm\ filter\ rules Reguloj\ de\ filtrado\ Elm menutrans ERicsson\ LANGuage Erlang\ (Lingvo\ de\ Ericsson) menutrans Essbase\ script Skripto\ Essbase menutrans Eterm\ config Konfiguro\ de\ Eterm menutrans Exim\ conf Konfiguro\ de\ Exim menutrans Fvwm\ configuration Konfiguro\ de\ Fvwm menutrans Fvwm2\ configuration Konfiguro\ de\ Fvwm2 menutrans Fvwm2\ configuration\ with\ M4 Konfiguro\ de\ Fvwm2\ kun\ M4 menutrans GDB\ command\ file Komanda\ dosiero\ de\ GDB menutrans HTML\ with\ M4 HTML\ kun\ M4 menutrans Cheetah\ HTML\ template Ŝablono\ Cheetah\ HTML menutrans IDL\Generic\ IDL Ĝenerala\ IDL\IDL menutrans IDL\Microsoft\ IDL IDL\IDL\ Mikrosofto menutrans Indent\ profile Profilo\ Indent menutrans Inno\ setup Konfiguro\ de\ Inno menutrans InstallShield\ script Skripto\ InstallShield menutrans KDE\ script Skripto\ KDE menutrans LFTP\ config Konfiguro\ de\ LFTP menutrans LifeLines\ script Skripto\ LifeLines menutrans Lynx\ Style Stilo\ de\ Lynx menutrans Lynx\ config Konfiguro\ de\ Lynx menutrans Man\ page Manlibra\ paĝo menutrans MEL\ (for\ Maya) MEL\ (por\ Maya) menutrans 4DOS\ \.bat\ file Dosiero\ \.bat\ 4DOS menutrans \.bat\/\.cmd\ file Dosiero\ \.bat\/\.cmd menutrans \.ini\ file Dosiero\ \.ini menutrans Module\ Definition Difino\ de\ modulo menutrans Registry Registraro menutrans Resource\ file Dosiero\ de\ rimedoj menutrans Novell\ NCF\ batch Staplo\ Novell\ NCF menutrans NSIS\ script Skripto\ NSIS menutrans Oracle\ config Konfiguro\ de\ Oracle menutrans Palm\ resource\ compiler Tradukilo\ de\ rimedoj\ Palm menutrans PHP\ 3-4 PHP\ 3\ et\ 4 menutrans Postfix\ main\ config Ĉefa\ konfiguro\ de\ Postfix menutrans Povray\ scene\ descr Scenejo\ Povray menutrans Povray\ configuration Konfiguro\ de\ Povray menutrans Purify\ log Protokolo\ de\ Purify menutrans Readline\ config Konfiguro\ de\ Readline menutrans RCS\ log\ output Protokola\ eligo\ de\ RCS menutrans RCS\ file Dosiero\ RCS menutrans RockLinux\ package\ desc\. Priskribo\ de\ pakaĵoj\ RockLinux menutrans Samba\ config Konfiguro\ de\ Samba menutrans SGML\ catalog Katalogo\ SGML menutrans SGML\ DTD DTD\ SGML menutrans SGML\ Declaration Deklaracio\ SGML menutrans Shell\ script Skripto-ŝelo menutrans sh\ and\ ksh sh\ kaj\ ksh menutrans Sinda\ compare Komparo\ Sinda menutrans Sinda\ input Enigo\ Sinda menutrans Sinda\ output Eligo\ Sinda menutrans SKILL\ for\ Diva SKILL\ por\ Diva menutrans Smarty\ Templates Ŝablono\ Smarty menutrans SNNS\ network Reto\ SNNS menutrans SNNS\ pattern Ŝablono\ SNNS menutrans SNNS\ result Rezulto\ SNNS menutrans Snort\ Configuration Konfiguro\ de\ Snort menutrans Squid\ config Konfiguro\ de\ Squid menutrans Subversion\ commit Commit\ Subversion menutrans TAK\ compare Komparo\ TAK menutrans TAK\ input Enigo\ TAK menutrans TAK\ output Eligo\ TAK menutrans TeX\ configuration Konfiguro\ de\ TeX menutrans TF\ mud\ client TF\ (client\ MUD) menutrans Tidy\ configuration Konfiguro\ de\ Tidy menutrans Trasys\ input Enigo\ Trasys menutrans Command\ Line Komanda\ linio menutrans Geometry Geometrio menutrans Optics Optiko menutrans Vim\ help\ file Helpa\ dosiero\ de\ Vim menutrans Vim\ script Skripto\ Vim menutrans Viminfo\ file Dosiero\ Viminfo menutrans Virata\ config Konfiguro\ de\ Virata menutrans Wget\ config Konfiguro\ de\ wget menutrans Whitespace\ (add) Spacetoj menutrans WildPackets\ EtherPeek\ Decoder Malkodilo\ WildPackets\ EtherPeek menutrans X\ resources Rimedoj\ X menutrans XXD\ hex\ dump Eligo\ deksesuma\.\ de\ xxd menutrans XFree86\ Config Konfiguro\ de\ XFree86 " The End Of The Syntax Menu menutrans &Show\ filetypes\ in\ menu &Montri\ dosiertipojn\ en\ menuo " -SEP1- menutrans Set\ '&syntax'\ only Ŝalti\ nur\ '&syntax' menutrans Set\ '&filetype'\ too Ŝalti\ ankaŭ\ '&filetype' menutrans &Off M&alŝaltita " -SEP3- menutrans Co&lor\ test Testo\ de\ &koloroj menutrans &Highlight\ test Testo\ de\ &emfazo menutrans &Convert\ to\ HTML Konverti\ al\ &HTML let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_eo.utf-8.vim
Vim Script
gpl2
17,811
" Menu Translations: Czech for systems without localization " Maintainer: Jiri Brezina <brzj@seznam.cz> " vim:set foldmethod=marker: " $Revision: 1.3 $ " $Date: 2005/12/19 22:06:56 $ " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim " {{{ File menu menutrans &File &Soubor menutrans &Open\.\.\.<Tab>:e &Otevrit\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp Otevrit\ v\ no&vem\ okne\.\.\.<Tab>:sp menutrans &New<Tab>:enew &Novy<Tab>:enew menutrans &Close<Tab>:close &Zavrit<Tab>:close menutrans &Save<Tab>:w &Ulozit<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav Ulozit\ &jako\.\.\.<Tab>:sav menutrans Split\ &Diff\ with\.\.\. Rozdelit\ okno\ -\ &Diff\.\.\. menutrans Split\ Patched\ &By\.\.\. Rozdelit\ okno\ -\ &Patch\.\.\. menutrans &Print &Tisk menutrans Sa&ve-Exit<Tab>:wqa U&lozit\ -\ Konec<Tab>:wqa menutrans E&xit<Tab>:qa &Konec<Tab>:qa " }}} " {{{ Edit menu menutrans &Edit Upr&avy menutrans &Undo<Tab>u &Zpet<Tab>u menutrans &Redo<Tab>^R Z&rusit\ vraceni<Tab>^R menutrans Rep&eat<Tab>\. &Opakovat<Tab>\. menutrans Cu&t<Tab>"+x &Vyriznout<Tab>"+x menutrans &Copy<Tab>"+y &Kopirovat<Tab>"+y menutrans &Paste<Tab>"+gP V&lozit<Tab>"+gP menutrans Put\ &Before<Tab>[p Vlozit\ &pred<Tab>[p menutrans Put\ &After<Tab>]p Vlozi&t\ za<Tab>]p menutrans &Delete<Tab>x &Smazat<Tab>x menutrans &Select\ All<Tab>ggVG Vy&brat\ vse<Tab>ggVG menutrans &Find\.\.\. &Hledat\.\.\. menutrans Find\ and\ Rep&lace\.\.\. &Nahradit\.\.\. menutrans Options\.\.\. Volb&y\.\.\. menutrans Settings\ &Window Nastav&eni\ okna " {{{2 Edit -1 menutrans &Global\ Settings &Globalni\ nastaveni menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! &Prepnout\ zvyrazneni\ vzoru<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Prepnout\ ignorovani\ &VERZALEK<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! Prepnout\ &Showmatch\ \{\(\[\])\}<Tab>:set\ sm! menutrans &Context\ lines Zobrazit\ konte&xt\ kurzoru menutrans &Virtual\ Edit Virtualni\ p&ozice\ kurzoru menutrans Never Nikdy menutrans Block\ Selection Vyber\ Bloku menutrans Insert\ mode Insert\ mod menutrans Block\ and\ Insert Blok\ a\ Insert menutrans Always Vzdycky menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Prepnout\ Insert\ mo&d<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Prepnout\ kompatibilni\ rezim\ s\ 'vi'<Tab>:set\ cp! menutrans Search\ &Path\.\.\. Nastavit\ &cestu\ k\ prohledavani\.\.\. menutrans Ta&g\ Files\.\.\. Ta&g\ soubory\.\.\. menutrans Toggle\ &Toolbar Prepnout\ &Toolbar menutrans Toggle\ &Bottom\ Scrollbar Pr&epnout\ dolni\ rolovaci\ listu menutrans Toggle\ &Left\ Scrollbar Prepnout\ &levou\ rolovaci\ listu menutrans Toggle\ &Right\ Scrollbar Prepnout\ p&ravou\ rolovaci\ listu " {{{2 Edit -2 menutrans F&ile\ Settings Nastaveni\ so&uboru menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Prepnout\ cislovani\ ra&dku<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! Prepnout\ &List\ mod<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Prepnout\ zala&movani\ radku<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Prepnout\ zl&om\ ve\ slove<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! Prepnout\ &expand-tab<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! Prepnout\ &auto-indent<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! Prepnout\ &C-indenting<Tab>:set\ cin! menutrans &Shiftwidth Nastav&it\ sirku\ od&sazeni menutrans Soft\ &Tabstop Nastavit\ Soft\ &Tabstop menutrans Te&xt\ Width\.\.\. Sirka\ te&xtu\.\.\. menutrans &File\ Format\.\.\. &Format\ souboru\.\.\. " {{{2 Edit -3 menutrans C&olor\ Scheme Barevne\ s&chema menutrans &Keymap Klavesova\ m&apa menutrans Select\ Fo&nt\.\.\. Vybrat\ pis&mo\.\.\. " }}}1 " {{{ Programming menu menutrans &Tools Nast&roje menutrans &Jump\ to\ this\ tag<Tab>g^] &Skocit\ na\ tag<Tab>g^] menutrans Jump\ &back<Tab>^T Skocit\ &zpet<Tab>^T menutrans Build\ &Tags\ File &Vytvorit\ soubor\ tagu menutrans &Spelling &Kontrola\ pravopisu menutrans &Spell\ Check\ On Kontrola\ pravopisu\ &zapnuta menutrans Spell\ Check\ &Off Kontrola\ pravopisu\ &vypnuta menutrans To\ Next\ error<Tab>]s &Dalsi\ chyba<Tab>]s menutrans To\ Previous\ error<Tab>[s &Predchozi\ chyba<Tab>[s menutrans Suggest\ Corrections<Tab>z? &Navrh\ oprav<Tab>z? menutrans Repeat\ correction<Tab>:spellrepall Zopakovat\ &opravu<Tab>:spellrepall menutrans Set\ language\ to\ "en" Nastav\ jazyk\ na\ "en" menutrans Set\ language\ to\ "en_au" Nastav\ jazyk\ na\ "en_au" menutrans Set\ language\ to\ "en_ca" Nastav\ jazyk\ na\ "en_ca" menutrans Set\ language\ to\ "en_gb" Nastav\ jazyk\ na\ "en_gb" menutrans Set\ language\ to\ "en_nz" Nastav\ jazyk\ na\ "en_nz" menutrans Set\ language\ to\ "en_us" Nastav\ jazyk\ na\ "en_us" menutrans Set\ language\ to\ "cz" Nastav\ jazyk\ na\ "cz" menutrans Set\ language\ to\ "cs_cz" Nastav\ jazyk\ na\ "cs_cz" menutrans &Find\ More\ Languages Nalezt\ dalsi\ &jazyky menutrans &Folding &Foldy menutrans &Enable/Disable\ folds<Tab>zi &Ano/Ne<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv &Zobrazit\ radek\ kurzoru<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Zo&brazit\ pouze\ radek\ kurzoru\ <Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm &Vyjmout\ jednu\ uroven\ foldu<Tab>zm menutrans &Close\ all\ folds<Tab>zM Zavri&t\ vsechny\ foldy<Tab>zM menutrans O&pen\ more\ folds<Tab>zr Pridat\ jedn&u\ uroven\ foldu<Tab>zr menutrans &Open\ all\ folds<Tab>zR &Otevrit\ vsechny\ foldy<Tab>zR menutrans Fold\ Met&hod Metoda\ &skladani "menutrans M&anual &Rucne "menutrans I&ndent &Odsazeni "menutrans E&xpression &Vyraz "menutrans S&yntax &Syntax "menutrans &Diff &Diff "menutrans Ma&rker Ma&rker menutrans Create\ &Fold<Tab>zf Vytvorit\ &fold<Tab>zf menutrans &Delete\ Fold<Tab>zd Vymazat\ fol&d<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD V&ymazat\ vsechny\ foldy<Tab>zD menutrans Fold\ col&umn\ width Sloupec\ zob&razeni\ foldu menutrans &Update &Obnovit menutrans &Get\ Block &Sejmout\ Blok menutrans &Put\ Block &Vlozit\ Blok menutrans &Make<Tab>:make &Make<Tab>:make menutrans &List\ Errors<Tab>:cl Vypis\ &chyb<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! Vyp&is\ zprav<Tab>:cl! menutrans &Next\ Error<Tab>:cn Dalsi\ ch&yba<Tab>:cn menutrans &Previous\ Error<Tab>:cp &Predchozi\ chyba<Tab>:cp menutrans &Older\ List<Tab>:cold Sta&rsi\ seznam<Tab>:cold menutrans N&ewer\ List<Tab>:cnew N&ovejsi\ seznam<Tab>:cnew menutrans Error\ &Window Chybove\ o&kno menutrans SeT\ Compiler Nas&taveni\ kompilatoru menutrans &Update<Tab>:cwin O&bnovit<Tab>:cwin menutrans &Open<Tab>:copen &Otevrit<Tab>:copen menutrans &Close<Tab>:cclose &Zavrit<Tab>:cclose menutrans &Set\ Compiler N&astavit\ kompilator menutrans &Convert\ to\ HEX<Tab>:%!xxd Prevest\ do\ sestnactkoveho\ format&u<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Pr&evest\ zpet<Tab>:%!xxd\ -r " }}} " {{{ Syntax menu menutrans &Syntax Synta&xe menutrans Set\ '&syntax'\ only Nastavit\ pouze\ 'synta&x' menutrans Set\ '&filetype'\ too Nastavit\ take\ '&filetype' menutrans &Off &Vypnout menutrans &Manual &Rucne menutrans A&utomatic A&utomaticky menutrans on/off\ for\ &This\ file &Prepnout\ (pro\ tento\ soubor) menutrans o&ff\ (this\ file) vyp&nout\ (pro\ tento\ soubor) menutrans Co&lor\ test Test\ &barev menutrans &Highlight\ test &Test\ zvyraznovani menutrans &Convert\ to\ HTML Prevest\ &do\ HTML menutrans &Show\ filetypes\ in\ menu &Zobrazit\ vyber\ moznosti " }}} " {{{ Menu Buffers menutrans &Buffers &Buffery menutrans &Refresh\ menu &Obnovit\ menu menutrans &Delete Z&rusit menutrans &Alternate &Zmenit menutrans &Next &Dalsi menutrans &Previous &Predchozi menutrans [No\ File] [Zadny\ soubor] " }}} " {{{ Menu Window menutrans &Window &Okna menutrans &New<Tab>^Wn &Nove<Tab>^Wn menutrans S&plit<Tab>^Ws &Rozdelit<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ Ro&zdelit\ na\ #<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv Rozdelit\ &vertikalne<Tab>^Wv menutrans Split\ File\ E&xplorer Rozdelit\ -\ File\ E&xplorer menutrans Move\ &To &Presun menutrans &Top<Tab>^WK &Nahoru<Tab>^WK menutrans &Bottom<Tab>^WJ &Dolu<Tab>^WJ menutrans &Left\ side<Tab>^WH &Vlevo<Tab>^WH menutrans &Right\ side<Tab>^WL Vp&ravo<Tab>^WL menutrans &Close<Tab>^Wc Zavri&t<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Zavrit\ &ostatni<Tab>^Wo menutrans Ne&xt<Tab>^Ww &Dalsi<Tab>^Ww menutrans P&revious<Tab>^WW &Predchozi<Tab>^WW menutrans &Equal\ Size<Tab>^W= &Stejna\ vyska<Tab>^W= menutrans &Max\ Height<Tab>^W_ Maximalni\ vys&ka<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ M&inimalni\ vyska<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| &Maximalni\ sirka<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| Minimalni\ sirk&a<Tab>^W1\| menutrans Rotate\ &Up<Tab>^WR Rotovat\ na&horu<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr Rotovat\ &dolu<Tab>^Wr " {{{ Help menu menutrans &Help &Napoveda menutrans &Overview<Tab><F1> &Prehled<Tab><F1> menutrans &User\ Manual &Uzivatelsky\ Manual menutrans &How-to\ links Ho&wto menutrans &GUI &Graficke\ rozhrani menutrans &Credits &Autori menutrans Co&pying &Licencni\ politika menutrans &Sponsor/Register Sponzorovani/&Registrace menutrans &Find\.\.\. &Hledat\.\.\. menutrans O&rphans O&sirele\ deti menutrans &Version &Verze menutrans &About &O\ aplikaci " }}} " {{{ The popup menu menutrans &Undo &Zpet menutrans Cu&t &Vyriznout menutrans &Copy &Kopirovat menutrans &Paste &Vlozit menutrans &Delete &Smazat menutrans Select\ Blockwise Vybrat\ blokove menutrans Select\ &Word Vybrat\ &slovo menutrans Select\ &Line Vybrat\ &radek menutrans Select\ &Block Vybrat\ &blok menutrans Select\ &All Vybrat\ &vse " }}} " {{{ The GUI toolbar if has("toolbar") if exists("*Do_toolbar_tmenu") delfun Do_toolbar_tmenu endif fun Do_toolbar_tmenu() tmenu ToolBar.Open Otevrit soubor tmenu ToolBar.Save Ulozit soubor tmenu ToolBar.SaveAll Ulozit vsechny soubory tmenu ToolBar.Print Tisk tmenu ToolBar.Undo Zpet tmenu ToolBar.Redo Zrusit vraceni tmenu ToolBar.Cut Vyriznout tmenu ToolBar.Copy Kopirovat tmenu ToolBar.Paste Vlozit tmenu ToolBar.Find Hledat... tmenu ToolBar.FindNext Hledat dalsi tmenu ToolBar.FindPrev Hledat predchozi tmenu ToolBar.Replace Nahradit... if 0 " disabled; These are in the Windows menu tmenu ToolBar.New Nove okno tmenu ToolBar.WinSplit Rozdelit okno tmenu ToolBar.WinMax Maximalizovat okno tmenu ToolBar.WinMin Minimalizovat okno tmenu ToolBar.WinClose Zavrit okno endif tmenu ToolBar.LoadSesn Nacist sezeni tmenu ToolBar.SaveSesn Ulozit sezeni tmenu ToolBar.RunScript Spustit skript tmenu ToolBar.Make Spustit make tmenu ToolBar.Shell Spustit shell tmenu ToolBar.RunCtags Spustit ctags tmenu ToolBar.TagJump Skocit na tag pod kurzorem tmenu ToolBar.Help Napoveda tmenu ToolBar.FindHelp Hledat napovedu k... endfun endif " }}} let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_czech_czech_republic.ascii.vim
Vim Script
gpl2
11,143
" Menu Translations: Italian for Latin1 source <sfile>:p:h/menu_it_it.latin1.vim
zyz2011-vim
runtime/lang/menu_italian_italy.1252.vim
Vim Script
gpl2
82
" Menu Translations: Czech source <sfile>:p:h/menu_czech_czech_republic.1252.vim
zyz2011-vim
runtime/lang/menu_cs_cz.latin1.vim
Vim Script
gpl2
82
" Menu Translations: Serbian source <sfile>:p:h/menu_sr_rs.utf-8.vim
zyz2011-vim
runtime/lang/menu_sr.utf-8.vim
Vim Script
gpl2
70
" Menu Translations: Nederlands for UTF-8 encoding source <sfile>:p:h/menu_nl_nl.latin1.vim
zyz2011-vim
runtime/lang/menu_nl.utf-8.vim
Vim Script
gpl2
93
" Menu Translations: Italian for UTF-8 encoding source <sfile>:p:h/menu_it_it.latin1.vim
zyz2011-vim
runtime/lang/menu_it_it.utf-8.vim
Vim Script
gpl2
90
" Menu Translations: UK English " Maintainer: Mike Williams <mrw@eandem.co.uk> " Last Change: 2003 Feb 10 " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 " Note: there is no "scriptencoding" command here, all encodings should be " able to handle ascii characters without conversion. " Convert from American to UK spellings. menutrans C&olor\ Scheme C&olour\ Scheme menutrans Co&lor\ test Co&lour\ test
zyz2011-vim
runtime/lang/menu_en_gb.latin1.vim
Vim Script
gpl2
484
source <sfile>:p:h/menu_es_es.latin1.vim
zyz2011-vim
runtime/lang/menu_spanish_spain.850.vim
Vim Script
gpl2
41
" Menu Translations: Swedish for UTF-8 encoding source <sfile>:p:h/menu_sv_se.latin1.vim
zyz2011-vim
runtime/lang/menu_sv_se.utf-8.vim
Vim Script
gpl2
90
" Menu Translations: Serbian " Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com> " Last Change: Fri, 30 May 2003 12:15:30 -0400 " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim " Help menu menutrans &Help Pomo&c menutrans &Overview<Tab><F1> &Pregled<Tab><F1> menutrans &User\ Manual &Uputstvo\ za\ korisnike menutrans &How-to\ links &Kako\ da\.\.\. menutrans &Find &Nadji menutrans &Credits &Zasluge menutrans Co&pying P&reuzimanje menutrans O&rphans &Sirocici menutrans &Version &Verzija menutrans &About &O\ programu " File menu menutrans &File &Datoteka menutrans &Open\.\.\.<Tab>:e &Otvori\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp &Podeli-otvori\.\.\.<Tab>:sp menutrans &New<Tab>:enew &Nova<Tab>:enew menutrans &Close<Tab>:close &Zatvori<Tab>:close menutrans &Save<Tab>:w &Sacuvaj<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav Sacuvaj\ &kao\.\.\.<Tab>:sav menutrans Split\ &Diff\ with\.\.\. Podeli\ i\ &uporedi\ sa\.\.\. menutrans Split\ Patched\ &By\.\.\. Po&deli\ i\ prepravi\ sa\.\.\. menutrans &Print Sta&mpaj menutrans Sa&ve-Exit<Tab>:wqa Sacuvaj\ i\ za&vrsi<Tab>:wqa menutrans E&xit<Tab>:qa K&raj<Tab>:qa " Edit menu menutrans &Edit &Uredjivanje menutrans &Undo<Tab>u &Vrati<Tab>u menutrans &Redo<Tab>^R &Povrati<Tab>^R menutrans Rep&eat<Tab>\. P&onovi<Tab>\. menutrans Cu&t<Tab>"+x Ise&ci<Tab>"+x menutrans &Copy<Tab>"+y &Kopiraj<Tab>"+y menutrans &Paste<Tab>"+gP &Ubaci<Tab>"+gP menutrans &Paste<Tab>"+P &Ubaci<Tab>"+gP menutrans Put\ &Before<Tab>[p Stavi\ pre&d<Tab>[p menutrans Put\ &After<Tab>]p Stavi\ &iza<Tab>]p menutrans &Delete<Tab>x Iz&brisi<Tab>x menutrans &Select\ all<Tab>ggVG Izaberi\ sv&e<Tab>ggVG menutrans &Find\.\.\. &Nadji\.\.\. menutrans Find\ and\ Rep&lace\.\.\. Nadji\ i\ &zameni\.\.\. menutrans Settings\ &Window P&rozor\ podesavanja menutrans &Global\ Settings Op&sta\ podesavanja menutrans F&ile\ Settings Podesavanja\ za\ da&toteke menutrans &Shiftwidth &Pomeraj menutrans Soft\ &Tabstop &Meka\ tabulacija menutrans Te&xt\ Width\.\.\. &Sirina\ teksta\.\.\. menutrans &File\ Format\.\.\. &Vrsta\ datoteke\.\.\. menutrans C&olor\ Scheme Bo&je menutrans &Keymap Pres&likavanje\ tastature menutrans Select\ Fo&nt\.\.\. Izbor\ &fonta\.\.\. " Edit/Global Settings menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Naglasi\ &obrazce\ (da/ne)<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Zanemari\ \velicinu\ &slova\ (da/ne)<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! Proveri\ pratecu\ &zagradu\ (da/ne)<Tab>:set\ sm! menutrans &Context\ lines Vidljivi\ &redovi menutrans &Virtual\ Edit Virtuelno\ &uredjivanje menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Rezim\ u&nosa\ (da/ne)<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! '&Vi'\ saglasno\ (da/ne)<Tab>:set\ cp! menutrans Search\ &Path\.\.\. Putanja\ &pretrage\.\.\. menutrans Ta&g\ Files\.\.\. &Datoteke\ oznaka\.\.\. menutrans Toggle\ &Toolbar Linija\ sa\ &alatkama\ (da/ne) menutrans Toggle\ &Bottom\ Scrollbar Donja\ l&inija\ klizanja\ (da/ne) menutrans Toggle\ &Left\ Scrollbar &Leva\ linija\ klizanja\ (da/ne) menutrans Toggle\ &Right\ Scrollbar &Desna\ linija\ klizanja\ (da/ne) " Edit/Global Settings/Virtual Edit menutrans Never Nikad menutrans Block\ Selection Izbor\ bloka menutrans Insert\ mode Rezim\ unosa menutrans Block\ and\ Insert Blok\ i\ unos menutrans Always Uvek " Edit/File Settings menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! Redni\ &brojevi\ (da/ne)<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! Rezim\ &liste\ (da/ne)<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! Obavijanje\ &redova\ (da/ne)<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! Prelomi\ &na\ rec\ (da/ne)<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! Razmaci\ umesto\ &tabulacije\ (da/ne)<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! Auto-&uvlacenje\ (da/ne)<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! &Ce-uvlacenje\ (da/ne)<Tab>:set\ cin! " Edit/Keymap menutrans None Nijedan " Tools menu menutrans &Tools &Alatke menutrans &Jump\ to\ this\ tag<Tab>g^] Skoci\ na\ &ovu\ oznaku<Tab>g^] menutrans Jump\ &back<Tab>^T Skoci\ &natrag<Tab>^T menutrans Build\ &Tags\ File Izgradi\ &datoteku\ oznaka menutrans &Folding &Podvijanje menutrans Create\ &Fold<Tab>zf S&tvori\ podvijutak<Tab>zf menutrans &Delete\ Fold<Tab>zd O&brisi\ podvijutak<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD Obrisi\ sve\ po&dvijutke<Tab>zD menutrans Fold\ column\ &width Sirina\ &reda\ podvijutka menutrans &Diff &Uporedjivanje menutrans &Make<Tab>:make 'mak&e'<Tab>:make menutrans &List\ Errors<Tab>:cl Spisak\ &gresaka<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! Sp&isak\ poruka<Tab>:cl! menutrans &Next\ Error<Tab>:cn S&ledeca\ greska<Tab>:cn menutrans &Previous\ Error<Tab>:cp Pre&thodna\ greska<Tab>:cp menutrans &Older\ List<Tab>:cold Stari\ spisa&k<Tab>:cold menutrans N&ewer\ List<Tab>:cnew No&vi\ spisak<Tab>:cnew menutrans Error\ &Window Prozor\ sa\ g&reskama menutrans &Set\ Compiler I&zaberi\ prevodioca menutrans &Convert\ to\ HEX<Tab>:%!xxd Pretvori\ u\ &HEKS<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Vr&ati\ u\ prvobitan\ oblik<Tab>:%!xxd\ -r " Tools/Folding menutrans &Enable/Disable\ folds<Tab>zi &Omoguci/prekini\ podvijanje<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv &Pokazi\ red\ sa\ kursorom<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx Pokazi\ &samo\ red\ sa\ kursorom<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm &Zatvori\ vise\ podvijutaka<Tab>zm menutrans &Close\ all\ folds<Tab>zM Zatvori\ s&ve\ podvijutke<Tab>zM menutrans O&pen\ more\ folds<Tab>zr Otvori\ vis&e\ podvijutaka<Tab>zr menutrans &Open\ all\ folds<Tab>zR O&tvori\ sve\ podvijutke<Tab>zR menutrans Fold\ Met&hod &Nacin\ podvijanja " Tools/Folding/Fold Method menutrans M&anual &Rucno menutrans I&ndent &Uvucenost menutrans E&xpression &Izraz menutrans S&yntax &Sintaksa "menutrans &Diff menutrans Ma&rker &Oznaka " Tools/Diff menutrans &Update &Azuriraj menutrans &Get\ Block &Prihvati\ izmenu menutrans &Put\ Block Pre&baci\ izmenu " Tools/Error Window menutrans &Update<Tab>:cwin &Azuriraj<Tab>:cwin menutrans &Open<Tab>:copen &Otvori<Tab>:copen menutrans &Close<Tab>:cclose &Zatvori<Tab>:cclose " Bufers menu menutrans &Buffers &Baferi menutrans &Refresh\ menu &Azuriraj menutrans Delete &Obrisi menutrans &Alternate A&lternativni menutrans &Next &Sledeci menutrans &Previous &Prethodni menutrans [No\ File] [Nema\ datoteke] " Window menu menutrans &Window &Prozor menutrans &New<Tab>^Wn &Novi<Tab>^Wn menutrans S&plit<Tab>^Ws &Podeli<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ Podeli\ sa\ &alternativnim<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv Podeli\ &uspravno<Tab>^Wv menutrans Split\ File\ E&xplorer Podeli\ za\ pregled\ &datoteka menutrans &Close<Tab>^Wc &Zatvori<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo Zatvori\ &ostale<Tab>^Wo "menutrans Ne&xt<Tab>^Ww &Sledeci<Tab>^Ww "menutrans P&revious<Tab>^WW P&rethodni<Tab>^WW menutrans Move\ &To Pre&mesti menutrans Rotate\ &Up<Tab>^WR &Kruzno\ nagore<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr Kruzno\ nadol&e<Tab>^Wr menutrans &Equal\ Size<Tab>^W= &Iste\ velicine<Tab>^W= menutrans &Max\ Height<Tab>^W_ Maksimalna\ &visina<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ Minima&lna\ visina<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| Maksimalna\ &sirina<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| Minimalna\ si&rina<Tab>^W1\| " Window/Move To menutrans &Top<Tab>^WK &Vrh<Tab>^WK menutrans &Bottom<Tab>^WJ &Podnozje<Tab>^WJ menutrans &Left\ side<Tab>^WH U&levo<Tab>^WH menutrans &Right\ side<Tab>^WL U&desno<Tab>^WL " The popup menu menutrans &Undo &Vrati menutrans Cu&t &Iseci menutrans &Copy &Kopiraj menutrans &Paste &Ubaci menutrans &Delete I&zbrisi menutrans Select\ Blockwise Biraj\ &pravougaono menutrans Select\ &Word Izaberi\ &rec menutrans Select\ &Line Izaberi\ r&ed menutrans Select\ &Block Izaberi\ &blok menutrans Select\ &All Izaberi\ &sve " The GUI toolbar if has("toolbar") if exists("*Do_toolbar_tmenu") delfun Do_toolbar_tmenu endif fun Do_toolbar_tmenu() tmenu ToolBar.Open Ucitaj tmenu ToolBar.Save Sacuvaj tmenu ToolBar.SaveAll Sacuvaj sve tmenu ToolBar.Print Stampaj tmenu ToolBar.Undo Vrati tmenu ToolBar.Redo Povrati tmenu ToolBar.Cut Iseci tmenu ToolBar.Copy Kopiraj tmenu ToolBar.Paste Ubaci tmenu ToolBar.Find Nadji tmenu ToolBar.FindNext Nadji sledeci tmenu ToolBar.FindPrev Nadji prethodni tmenu ToolBar.Replace Zameni tmenu ToolBar.New Novi tmenu ToolBar.WinSplit Podeli prozor tmenu ToolBar.WinMax Maksimalna visina tmenu ToolBar.WinMin Minimalna visina tmenu ToolBar.WinVSplit Podeli uspravno tmenu ToolBar.WinMaxWidth Maksimalna sirina tmenu ToolBar.WinMinWidth Minimalna sirina tmenu ToolBar.WinClose Zatvori prozor tmenu ToolBar.LoadSesn Ucitaj seansu tmenu ToolBar.SaveSesn Sacuvaj seansu tmenu ToolBar.RunScript Izvrsi spis tmenu ToolBar.Make 'make' tmenu ToolBar.Shell Operativno okruzenje tmenu ToolBar.RunCtags Napravi oznake tmenu ToolBar.TagJump Idi na oznaku tmenu ToolBar.Help Pomoc tmenu ToolBar.FindHelp Nadji objasnjenje endfun endif " Syntax menu menutrans &Syntax &Sintaksa menutrans &Show\ filetypes\ in\ menu Izbor\ 'filetype'\ iz\ &menija menutrans Set\ '&syntax'\ only Pode&si\ 'syntax'\ samo menutrans Set\ '&filetype'\ too Podesi\ 'filetype'\ &takodje menutrans &Off &Iskljuceno menutrans &Manual &Rucno menutrans A&utomatic &Automatski menutrans on/off\ for\ &This\ file Da/ne\ za\ ovu\ &datoteku menutrans Co&lor\ test Provera\ &boja menutrans &Highlight\ test Provera\ isti&canja menutrans &Convert\ to\ HTML Pretvori\ &u\ HTML " dialog texts let menutrans_help_dialog = "Unesite naredbu ili rec cije pojasnjenje trazite:\n\nDodajte i_ za naredbe unosa (npr. i_CTRL-X)\nDodajte c_ za naredbe komandnog rezima (npr. s_<Del>)\nDodajte ' za imena opcija (npr. 'shiftwidth')" let g:menutrans_path_dialog = "Unesite put pretrage za datoteke\nRazdvojite zarezima imena direktorijuma." let g:menutrans_tags_dialog = "Unesite imena datoteka sa oznakama\nRazdvojite zarezima imena." let g:menutrans_textwidth_dialog = "Unesite novu sirinu teksta (0 sprecava prelom)" let g:menutrans_fileformat_dialog = "Izaberite vrstu datoteke" let menutrans_no_file = "[Nema datoteke]" let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_sr_rs.ascii.vim
Vim Script
gpl2
11,022
" Menu Translations: Swedish source <sfile>:p:h/menu_sv_se.latin1.vim
zyz2011-vim
runtime/lang/menu_sv.latin1.vim
Vim Script
gpl2
71
" Menu Translations: German for UTF-8 encoding source <sfile>:p:h/menu_de_de.latin1.vim
zyz2011-vim
runtime/lang/menu_de.utf-8.vim
Vim Script
gpl2
89
" Menu Translations: Czech source <sfile>:p:h/menu_czech_czech_republic.1252.vim
zyz2011-vim
runtime/lang/menu_cs.latin1.vim
Vim Script
gpl2
82
" Menu Translations: Swedish for UTF-8 encoding source <sfile>:p:h/menu_sv_se.latin1.vim
zyz2011-vim
runtime/lang/menu_sv.utf-8.vim
Vim Script
gpl2
90
" Menu Translations: Japanese (for UNIX) " Translated By: Muraoka Taro <koron@tka.att.ne.jp> " Last Change: 08:50:47 25-Mar-2001. " ujis is the same as euc-jp. Source the other one from here. source <sfile>:p:h/menu_ja_jp.euc-jp.vim
zyz2011-vim
runtime/lang/menu_ja_jp.ujis.vim
Vim Script
gpl2
237
" vi:set ts=8 sts=8 sw=8 tw=0: " " Menu Translations: Japanese (UTF-8) " Translated By: MURAOKA Taro <koron.kaoriya@gmail.com> " Last Change: 21-Mar-2011. " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " Help menu menutrans &Help ヘルプ(&H) menutrans &Overview<Tab><F1> 概略(&O)<Tab><F1> menutrans &User\ Manual ユーザマニュアル(&U) menutrans &How-to\ links &How-toリンク menutrans &Credits クレジット(&C) menutrans Co&pying 著作権情報(&P) menutrans &Sponsor/Register スポンサー/登録(&S) menutrans O&rphans 孤児(&R) menutrans &Version バージョン情報(&V) menutrans &About Vimについて(&A) let g:menutrans_help_dialog = "ヘルプを検索したいコマンドもしくは単語を入力してください:\n\n挿入モードのコマンドには i_ を先頭に付加します. (例: i_CTRL-X)\nコマンドライン編集コマンドには c_ を先頭に付加します. (例: c_<Del>)\nオプションの名前には ' を付加します. (例: 'shiftwidth')" " File menu menutrans &File ファイル(&F) menutrans &Open\.\.\.<Tab>:e 開く(&O)\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp 分割して開く(&L)\.\.\.<Tab>:sp menutrans Open\ Tab\.\.\.<Tab>:tabnew タブページで開く<Tab>:tabnew menutrans &New<Tab>:enew 新規作成(&N)<Tab>:enew menutrans &Close<Tab>:close 閉じる(&C)<Tab>:close menutrans &Save<Tab>:w 保存(&S)<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav 名前を付けて保存(&A)\.\.\.<Tab>:sav menutrans Split\ &Diff\ with\.\.\. 差分表示(&D)\.\.\. menutrans Split\ Patched\ &By\.\.\. パッチ結果を表示(&B)\.\.\. menutrans &Print 印刷(&P) menutrans Sa&ve-Exit<Tab>:wqa 保存して終了(&V)<Tab>:wqa menutrans E&xit<Tab>:qa 終了(&X)<Tab>:qa " Edit menu menutrans &Edit 編集(&E) menutrans &Undo<Tab>u 取り消す(&U)<Tab>u menutrans &Redo<Tab>^R もう一度やる(&R)<Tab>^R menutrans Rep&eat<Tab>\. 繰り返す(&E)<Tab>\. menutrans Cu&t<Tab>"+x 切り取り(&T)<Tab>"+x menutrans &Copy<Tab>"+y コピー(&C)<Tab>"+y menutrans &Paste<Tab>"+gP 貼り付け(&P)<Tab>"+gP menutrans Put\ &Before<Tab>[p 前に貼る(&B)<Tab>[p menutrans Put\ &After<Tab>]p 後に貼る(&A)<Tab>]p menutrans &Delete<Tab>x 消す(&D)<Tab>x menutrans &Select\ All<Tab>ggVG 全て選択(&S)<Tab>ggVG menutrans &Find\.\.\. 検索(&F)\.\.\. menutrans &Find<Tab>/ 検索(&F)<Tab>/ menutrans Find\ and\ Rep&lace\.\.\. 置換(&L)\.\.\. menutrans Find\ and\ Rep&lace<Tab>:%s 置換(&L)<Tab>:%s menutrans Find\ and\ Rep&lace<Tab>:s 置換(&L)<Tab>:s "menutrans Options\.\.\. オプション(&O)\.\.\. menutrans Settings\ &Window 設定ウィンドウ(&W) menutrans Startup\ &Settings 起動時の設定(&S) " Edit/Global Settings menutrans &Global\ Settings 全体設定(&G) menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! \ パターン強調切替(&H)<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! \ 大小文字区別切替(&I)<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! \ マッチ表示切替(&S)<Tab>:set\ sm! menutrans &Context\ lines カーソル周辺行数(&C) menutrans &Virtual\ Edit 仮想編集(&V) menutrans Never 無効 menutrans Block\ Selection ブロック選択時 menutrans Insert\ mode 挿入モード時 menutrans Block\ and\ Insert ブロック/挿入モード時 menutrans Always 常時 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! \ 挿入(初心者)モード切替(&M)<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! \ Vi互換モード切替(&O)<Tab>:set\ cp! menutrans Search\ &Path\.\.\. 検索パス(&P)\.\.\. menutrans Ta&g\ Files\.\.\. タグファイル(&G)\.\.\. " " GUI options menutrans Toggle\ &Toolbar ツールバー表示切替(&T) menutrans Toggle\ &Bottom\ Scrollbar スクロールバー(下)表示切替(&B) menutrans Toggle\ &Left\ Scrollbar スクロールバー(左)表示切替(&L) menutrans Toggle\ &Right\ Scrollbar スクロールバー(右)表示切替(&R) let g:menutrans_path_dialog = "ファイルの検索パスを入力してください:\nディレクトリ名はカンマ ( , ) で区切ってください." let g:menutrans_tags_dialog = "タグファイルの名前を入力してください:\n名前はカンマ ( , ) で区切ってください." " Edit/File Settings " Boolean options menutrans F&ile\ Settings ファイル設定(&I) menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! \ 行番号表示切替(&N)<Tab>:set\ nu! menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! \ 相対行番号表示切替(&V)<Tab>:set\ rnu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! \ リストモード切替(&L)<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! \ 行折返し切替(&W)<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! \ 単語折返し切替(&R)<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! \ タブ展開切替(&E)<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! \ 自動字下げ切替(&A)<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! \ C言語字下げ切替(&C)<Tab>:set\ cin! " other options menutrans &Shiftwidth シフト幅(&S) menutrans Soft\ &Tabstop ソフトウェアタブ幅(&T) menutrans Te&xt\ Width\.\.\. テキスト幅(&X)\.\.\. menutrans &File\ Format\.\.\. 改行記号選択(&F)\.\.\. let g:menutrans_textwidth_dialog = "テキストの幅('textwidth')を設定してください (0で整形を無効化):" let g:menutrans_fileformat_dialog = "ファイル出力の際の改行記号の形式を選んでください." let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\nキャンセル(&C)" menutrans C&olor\ Scheme 色テーマ選択(&O) menutrans &Keymap キーマップ(&K) menutrans None なし " Programming menu menutrans &Tools ツール(&T) menutrans &Jump\ to\ this\ tag<Tab>g^] タグジャンプ(&J)<Tab>g^] menutrans Jump\ &back<Tab>^T 戻る(&B)<Tab>^T menutrans Build\ &Tags\ File タグファイル作成(&T) menutrans &Make<Tab>:make メイク(&M)<Tab>:make menutrans &List\ Errors<Tab>:cl エラーリスト(&L)<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! メッセージリスト(&I)<Tab>:cl! menutrans &Next\ Error<Tab>:cn 次のエラーへ(&N)<Tab>:cn menutrans &Previous\ Error<Tab>:cp 前のエラーへ(&P)<Tab>:cp menutrans &Older\ List<Tab>:cold 古いリスト(&O)<Tab>:cold menutrans N&ewer\ List<Tab>:cnew 新しいリスト(&E)<Tab>:cnew menutrans Error\ &Window エラーウィンドウ(&W) menutrans &Update<Tab>:cwin 更新(&U)<Tab>:cwin menutrans &Open<Tab>:copen 開く(&O)<Tab>:copen menutrans &Close<Tab>:cclose 閉じる(&C)<Tab>:cclose menutrans &Convert\ to\ HEX<Tab>:%!xxd HEXへ変換(&C)<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r HEXから逆変換(&R)<Tab>%!xxd\ -r menutrans Se&T\ Compiler コンパイラ設定(&T) " Tools.Spelling Menu menutrans &Spelling スペリング(&S) menutrans &Spell\ Check\ On スペルチェック有効(&S) menutrans Spell\ Check\ &Off スペルチェック無効(&O) menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s menutrans Suggest\ &Corrections<Tab>z= 修正候補(&C)<Tab>z= menutrans &Repeat\ correction<Tab>:spellrepall 修正を繰り返す(&R)<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 他の言語を検索する(&F) " Tools.Fold Menu menutrans &Folding 折畳み(&F) " open close folds menutrans &Enable/Disable\ folds<Tab>zi 有効/無効切替(&E)<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv カーソル行を表示(&V)<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx カーソル行だけを表示(&W)<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm 折畳みを閉じる(&L)<Tab>zm menutrans &Close\ all\ folds<Tab>zM 全折畳みを閉じる(&C)<Tab>zM menutrans O&pen\ more\ folds<Tab>zr 折畳みを開く(&P)<Tab>zr menutrans &Open\ all\ folds<Tab>zR 全折畳みを開く(&O)<Tab>zR " fold method menutrans Fold\ Met&hod 折畳み方法(&H) menutrans M&anual 手動(&A) menutrans I&ndent インデント(&N) menutrans E&xpression 式評価(&X) menutrans S&yntax シンタックス(&Y) menutrans &Diff 差分(&D) menutrans Ma&rker マーカー(&R) " create and delete folds menutrans Create\ &Fold<Tab>zf 折畳み作成(&F)<Tab>zf menutrans &Delete\ Fold<Tab>zd 折畳み削除(&D)<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD 全折畳み削除(&A)<Tab>zD " moving around in folds menutrans Fold\ col&umn\ width 折畳みカラム幅(&U) menutrans &Update 更新(&U) menutrans &Get\ Block ブロック抽出(&G) menutrans &Put\ Block ブロック適用(&P) " Names for buffer menu. menutrans &Buffers バッファ(&B) menutrans &Refresh\ menu メニュー再読込(&R) menutrans &Delete 削除(&D) menutrans &Alternate 裏へ切替(&A) menutrans &Next 次のバッファ(&N) menutrans &Previous 前のバッファ(&P) menutrans [No\ File] [無題] let g:menutrans_no_file = "[無題]" " Window menu menutrans &Window ウィンドウ(&W) menutrans &New<Tab>^Wn 新規作成(&N)<Tab>^Wn menutrans S&plit<Tab>^Ws 分割(&P)<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ 裏バッファへ分割(&L)<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv 垂直分割(&V)<Tab>^Wv menutrans Split\ File\ E&xplorer ファイルエクスプローラ(&X) menutrans &Close<Tab>^Wc 閉じる(&C)<Tab>^Wc menutrans Move\ &To 移動(&T) menutrans &Top<Tab>^WK 上(&T)<Tab>^WK menutrans &Bottom<Tab>^WJ 下(&B)<Tab>^WJ menutrans &Left\ side<Tab>^WH 左(&L)<Tab>^WH menutrans &Right\ side<Tab>^WL 右(&R)<Tab>^WL menutrans Close\ &Other(s)<Tab>^Wo 他を閉じる(&O)<Tab>^Wo menutrans Ne&xt<Tab>^Ww 次へ(&X)<Tab>^Ww menutrans P&revious<Tab>^WW 前へ(&R)<Tab>^WW menutrans &Equal\ Size<Tab>^W= 同じ高さに(&E)<Tab>^W= menutrans &Max\ Height<Tab>^W_ 最大高に(&M)<Tab>^W_ menutrans M&in\ Height<Tab>^W1_ 最小高に(&i)<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| 最大幅に(&W)<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| 最小幅に(&H)<Tab>^W1\| menutrans Rotate\ &Up<Tab>^WR 上にローテーション(&U)<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr 下にローテーション(&D)<Tab>^Wr menutrans Select\ Fo&nt\.\.\. フォント設定(&N)\.\.\. " The popup menu menutrans &Undo 取り消す(&U) menutrans Cu&t 切り取り(&T) menutrans &Copy コピー(&C) menutrans &Paste 貼り付け(&P) menutrans &Delete 削除(&D) menutrans Select\ Blockwise 矩形ブロック選択 menutrans Select\ &Word 単語選択(&W) menutrans Select\ &Line 行選択(&L) menutrans Select\ &Block ブロック選択(&B) menutrans Select\ &All すべて選択(&A) " The GUI toolbar (for Win32 or GTK) 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.Find 検索... tmenu ToolBar.FindNext 次を検索 tmenu ToolBar.FindPrev 前を検索 tmenu ToolBar.Replace 置換... if 0 " disabled; These are in the Windows menu tmenu ToolBar.New 新規ウィンドウ作成 tmenu ToolBar.WinSplit ウィンドウ分割 tmenu ToolBar.WinMax ウィンドウ最大化 tmenu ToolBar.WinMin ウィンドウ最小化 tmenu ToolBar.WinClose ウィンドウを閉じる endif tmenu ToolBar.LoadSesn セッション読込 tmenu ToolBar.SaveSesn セッション保存 tmenu ToolBar.RunScript Vimスクリプト実行 tmenu ToolBar.Make プロジェクトをMake tmenu ToolBar.Shell シェルを開く tmenu ToolBar.RunCtags tags作成 tmenu ToolBar.TagJump タグジャンプ tmenu ToolBar.Help Vimヘルプ tmenu ToolBar.FindHelp Vimヘルプ検索 endfun endif " Syntax menu menutrans &Syntax シンタックス(&S) menutrans &Show\ filetypes\ in\ menu 対応形式をメニューに表示(&S) menutrans Set\ '&syntax'\ only 'syntax'だけ設定(&S) menutrans Set\ '&filetype'\ too 'filetype'も設定(&F) menutrans &Off 無効化(&O) menutrans &Manual 手動設定(&M) menutrans A&utomatic 自動設定(&U) menutrans on/off\ for\ &This\ file \ オン/オフ切替(&T) menutrans Co&lor\ test カラーテスト(&L) menutrans &Highlight\ test ハイライトテスト(&H) menutrans &Convert\ to\ HTML HTMLへコンバート(&C) " Japanese specific menu " 成否はiconv次第、必ずしも指定したエンコードになるわけではないことに注意 if has('iconv') " iconvのバージョン判定 let support_jisx0213 = (iconv("\x87\x64\x87\x6a", 'cp932', 'euc-jisx0213') ==# "\xad\xc5\xad\xcb") ? 1 : 0 " " 読み込み an 10.395 &File.-SEPICONV- <Nop> an 10.396.100.100 &File.エンコード指定(&E)\.\.\..開く(&O)\.\.\..SJIS(&S)<Tab>fenc=cp932 :browse confirm e ++enc=cp932<CR> if !support_jisx0213 an 10.396.100.110 &File.エンコード指定(&E)\.\.\..開く(&O)\.\.\..EUC(&E)<Tab>fenc=euc-jp :browse confirm e ++enc=euc-jp<CR> an 10.396.100.120 &File.エンコード指定(&E)\.\.\..開く(&O)\.\.\..JIS(&J)<Tab>fenc=iso-2022-jp :browse confirm e ++enc=iso-2022-jp<CR> else an 10.396.100.110 &File.エンコード指定(&E)\.\.\..開く(&O)\.\.\..EUC(&E)<Tab>fenc=euc-jisx0213 :browse confirm e ++enc=euc-jisx0213<CR> an 10.396.100.120 &File.エンコード指定(&E)\.\.\..開く(&O)\.\.\..JIS(&J)<Tab>fenc=iso-2022-jp-3 :browse confirm e ++enc=iso-2022-jp-3<CR> endif an 10.396.100.130 &File.エンコード指定(&E)\.\.\..開く(&O)\.\.\..UTF-8(&8)<Tab>fenc=utf-8 :browse confirm e ++enc=utf-8<CR> " 再読込 an 10.396.110.100 &File.エンコード指定(&E)\.\.\..再読込(&R)\.\.\..SJIS(&S)<Tab>fenc=cp932 :e ++enc=cp932<CR> if !support_jisx0213 an 10.396.110.110 &File.エンコード指定(&E)\.\.\..再読込(&R)\.\.\..EUC(&E)<Tab>fenc=euc-jp :e ++enc=euc-jp<CR> an 10.396.110.120 &File.エンコード指定(&E)\.\.\..再読込(&R)\.\.\..JIS(&J)<Tab>fenc=iso-2022-jp :e ++enc=iso-2022-jp<CR> else an 10.396.110.110 &File.エンコード指定(&E)\.\.\..再読込(&R)\.\.\..EUC(&E)<Tab>fenc=euc-jisx0213 :e ++enc=euc-jisx0213<CR> an 10.396.110.120 &File.エンコード指定(&E)\.\.\..再読込(&R)\.\.\..JIS(&J)<Tab>fenc=iso-2022-jp-3 :e ++enc=iso-2022-jp-3<CR> endif an 10.396.110.130 &File.エンコード指定(&E)\.\.\..再読込(&R)\.\.\..UTF-8(&8)<Tab>fenc=utf-8 :e ++enc=utf-8<CR> " 保存 an 10.396.115 &File.エンコード指定(&E)\.\.\..-SEP1- <Nop> an 10.396.120.100 &File.エンコード指定(&E)\.\.\..保存(&S)\.\.\..SJIS(&S)<Tab>fenc=cp932 :set fenc=cp932 \| w<CR> if !support_jisx0213 an 10.396.120.110 &File.エンコード指定(&E)\.\.\..保存(&S)\.\.\..EUC(&E)<Tab>fenc=euc-jp :set fenc=euc-jp \| w<CR> an 10.396.120.120 &File.エンコード指定(&E)\.\.\..保存(&S)\.\.\..JIS(&J)<Tab>fenc=iso-2022-jp :set fenc=iso-2022-jp \| w<CR> else an 10.396.120.110 &File.エンコード指定(&E)\.\.\..保存(&S)\.\.\..EUC(&E)<Tab>fenc=euc-jisx0213 :set fenc=euc-jisx0213 \| w<CR> an 10.396.120.120 &File.エンコード指定(&E)\.\.\..保存(&S)\.\.\..JIS(&J)<Tab>fenc=iso-2022-jp-3 :set fenc=iso-2022-jp-3 \| w<CR> endif an 10.396.120.130 &File.エンコード指定(&E)\.\.\..保存(&S)\.\.\..UTF-8(&8)<Tab>fenc=utf-8 :set fenc=utf-8 \| w<CR> endif let &cpo = s:keepcpo unlet s:keepcpo " filler to avoid the line above being recognized as a modeline " filler
zyz2011-vim
runtime/lang/menu_ja_jp.utf-8.vim
Vim Script
gpl2
16,433
" Menu Translations: UK English source <sfile>:p:h/menu_en_gb.latin1.vim
zyz2011-vim
runtime/lang/menu_en_gb.utf-8.vim
Vim Script
gpl2
74
" Menu Translations: Nederlands for UTF-8 encoding source <sfile>:p:h/menu_nl_nl.latin1.vim
zyz2011-vim
runtime/lang/menu_nl_nl.utf-8.vim
Vim Script
gpl2
93
" Menu Translations: Czech source <sfile>:p:h/menu_czech_czech_republic.1250.vim
zyz2011-vim
runtime/lang/menu_cs_cz.cp1250.vim
Vim Script
gpl2
82
" Menu Translations: Simplified Chinese <i18n-translation@lists.linux.net.cn> " Translated By: Yuheng Xie <elephant@linux.net.cn> " Last Change: Tue Apr 18 22:00:00 2006 " vim: ts=8 sw=8 noet " Quit when menu translations have already been done. if exists("did_menu_trans") finish endif let did_menu_trans = 1 let s:keepcpo= &cpo set cpo&vim scriptencoding utf-8 " Help menu menutrans &Help 帮助(&H) menutrans &Overview<Tab><F1> 纵览(&O)<Tab><F1> menutrans &User\ Manual 用户手册(&U) menutrans &How-to\ links How-to\ 指引(&H) menutrans &Find\.\.\. 查找(&F)\.\.\. menutrans &Credits 致谢(&C) menutrans Co&pying 版权(&P) menutrans &Sponsor/Register 赞助/注册(&S) menutrans O&rphans 孤儿(&R) menutrans &Version 版本(&V) menutrans &About 关于(&A) " File menu menutrans &File 文件(&F) menutrans &Open\.\.\.<Tab>:e 打开(&O)\.\.\.<Tab>:e menutrans Sp&lit-Open\.\.\.<Tab>:sp 分割并打开(&L)\.\.\.<Tab>:sp menutrans Open\ Tab\.\.\.<Tab>:tabnew 打开标签\.\.\.<Tab>:tabnew menutrans &New<Tab>:enew 新建(&N)<Tab>:enew menutrans &Close<Tab>:close 关闭(&C)<Tab>:close menutrans &Save<Tab>:w 保存(&S)<Tab>:w menutrans Save\ &As\.\.\.<Tab>:sav 另存为(&A)\.\.\.<Tab>:sav menutrans Split\ &Diff\ with\.\.\. 分割比较(Diff)(&D)\.\.\. menutrans Split\ Patched\ &By\.\.\. 分割打补丁(Patch)(&B)\.\.\. menutrans &Print 打印(&P) menutrans Sa&ve-Exit<Tab>:wqa 保存并退出(&V)<Tab>:wqa menutrans E&xit<Tab>:qa 退出(&X)<Tab>:qa " Edit menu menutrans &Edit 编辑(&E) menutrans &Undo<Tab>u 撤销(&U)<Tab>u menutrans &Redo<Tab>^R 重做(&R)<Tab>^R menutrans Rep&eat<Tab>\. 重复上次操作(&E)<Tab>\. menutrans Cu&t<Tab>"+x 剪切(&T)<Tab>"+x menutrans &Copy<Tab>"+y 复制(&C)<Tab>"+y menutrans &Paste<Tab>"+gP 粘贴(&P)<Tab>"+gP menutrans Put\ &Before<Tab>[p 粘贴到光标前(&B)<Tab>[p menutrans Put\ &After<Tab>]p 粘贴到光标后(&A)<Tab>]p menutrans &Delete<Tab>x 删除(&D)<Tab>x menutrans &Select\ All<Tab>ggVG 全选(&S)<Tab>ggVG menutrans &Find\.\.\. 查找(&F)\.\.\. menutrans Find\ and\ Rep&lace\.\.\. 查找和替换(&L)\.\.\. menutrans &Find<Tab>/ 查找(&F)<Tab>/ menutrans Find\ and\ Rep&lace<Tab>:%s 查找和替换(&L)<Tab>:%s menutrans Settings\ &Window 设定窗口(&W) menutrans Startup\ &Settings 启动设定(&S) menutrans &Global\ Settings 全局设定(&G) " Edit/Global Settings menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 开/关模式高亮(&H)<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! 开/关忽略大小写(&I)<Tab>:set\ ic! menutrans Toggle\ &Showmatch<Tab>:set\ sm! 开/关显示配对(&S)<Tab>:set\ sm! menutrans &Context\ lines 上下文行数(&C) menutrans &Virtual\ Edit 虚拟编辑(&V) menutrans Never 从不 menutrans Block\ Selection 块选择 menutrans Insert\ mode 插入模式 menutrans Block\ and\ Insert 块选择和插入模式 menutrans Always 总是 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 开/关插入模式(&M)<Tab>:set\ im! menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! 开/关\ Vi\ 兼容<Tab>:set\ cp! menutrans Search\ &Path\.\.\. 查找路径(&P)\.\.\. menutrans Ta&g\ Files\.\.\. Tag\ 文件(&T)\.\.\. " GUI options menutrans Toggle\ &Toolbar 开/关工具栏(&T) menutrans Toggle\ &Bottom\ Scrollbar 开/关底部滚动条(&B) menutrans Toggle\ &Left\ Scrollbar 开/关左端滚动条(&L) menutrans Toggle\ &Right\ Scrollbar 开/关右端滚动条(&R) " Edit/File Settings menutrans F&ile\ Settings 文件设定(&I) " Boolean options menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关显示行号(&N)<Tab>:set\ nu! menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关\ list\ 模式(&L)<Tab>:set\ list! menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 开/关折行(&W)<Tab>:set\ wrap! menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 开/关整词折行(&R)<Tab>:set\ lbr! menutrans Toggle\ &expand-tab<Tab>:set\ et! 开/关扩展\ tab(&E)<Tab>:set\ et! menutrans Toggle\ &auto-indent<Tab>:set\ ai! 开/关自动缩进(&A)<Tab>:set\ ai! menutrans Toggle\ &C-indenting<Tab>:set\ cin! 开/关\ C\ 缩进(&C)<Tab>:set\ cin! " other options menutrans &Shiftwidth 缩进宽度(&S) menutrans Soft\ &Tabstop Soft\ Tab\ 宽度(&T) menutrans Te&xt\ Width\.\.\. 文本宽度(&X)\.\.\. menutrans &File\ Format\.\.\. 文件格式(&F)\.\.\. menutrans C&olor\ Scheme 配色方案(&O) menutrans Select\ Fo&nt\.\.\. 选择字体(&N)\.\.\. menutrans &Keymap 键盘映射(&K) " Programming menu menutrans &Tools 工具(&T) menutrans &Jump\ to\ this\ tag<Tab>g^] 跳转到这个\ tag(&J)<Tab>g^] menutrans Jump\ &back<Tab>^T 跳转返回(&B)<Tab>^T menutrans Build\ &Tags\ File 建立\ Tags\ 文件(&T) " Tools.Spelling Menu menutrans &Spelling 拼写检查(&S) menutrans &Spell\ Check\ On 打开拼写检查(&S) menutrans Spell\ Check\ &Off 关闭拼写检查(&O) menutrans To\ &Next\ error<Tab>]s 上一个错误(&N)<Tab>]s menutrans To\ &Previous\ error<Tab>[s 下一个错误(&P)<Tab>[s menutrans Suggest\ &Corrections<Tab>z= 修正建议(&C)<Tab>z= menutrans &Repeat\ correction<Tab>:spellrepall 重复修正(&R)<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 查找更多语言(&F) " Tools.Fold Menu " open close folds menutrans &Folding 折叠(&F) menutrans &Enable/Disable\ folds<Tab>zi 启用/禁用折叠(&E)<Tab>zi menutrans &View\ Cursor\ Line<Tab>zv 查看此行(&V)<Tab>zv menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx 仅查看此行(&W)<Tab>zMzx menutrans C&lose\ more\ folds<Tab>zm 关闭更多折叠(&L)<Tab>zm menutrans &Close\ all\ folds<Tab>zM 关闭所有折叠(&C)<Tab>zM menutrans O&pen\ more\ folds<Tab>zr 打开更多折叠(&P)<Tab>zr menutrans &Open\ all\ folds<Tab>zR 打开所有折叠(&O)<Tab>zR " fold method menutrans Fold\ Met&hod 折叠方法(&H) menutrans M&anual 手工(&A) menutrans I&ndent 缩进(&N) menutrans E&xpression 表达式(&X) menutrans S&yntax 语法(&Y) menutrans &Diff 比较(Diff)(&D) menutrans Ma&rker 标记(&R) " create and delete folds menutrans Create\ &Fold<Tab>zf 创建折叠(&F)<Tab>zf menutrans &Delete\ Fold<Tab>zd 删除折叠(&D)<Tab>zd menutrans Delete\ &All\ Folds<Tab>zD 删除所有折叠(&A)<Tab>zD " moving around in folds menutrans Fold\ column\ &width 折叠栏宽度(&W) " Tools.Diff Menu menutrans &Diff 比较(Diff)(&D) menutrans &Update 更新(&U) menutrans &Get\ Block 得到块(&G) menutrans &Put\ Block 放置块(&P) menutrans &Make<Tab>:make Make(&M)<Tab>:make menutrans &List\ Errors<Tab>:cl 列出错误(&L)<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! 列出消息(&I)<Tab>:cl! menutrans &Next\ Error<Tab>:cn 下一个错误(&N)<Tab>:cn menutrans &Previous\ Error<Tab>:cp 上一个错误(&P)<Tab>:cp menutrans &Older\ List<Tab>:cold 更旧的错误列表(&O)<Tab>:cold menutrans N&ewer\ List<Tab>:cnew 更新的错误列表(&E)<Tab>:cnew menutrans Error\ &Window 错误窗口(&W) menutrans &Update<Tab>:cwin 更新(&U)<Tab>:cwin menutrans &Open<Tab>:copen 打开(&O)<Tab>:copen menutrans &Close<Tab>:cclose 关闭(&C)<Tab>:cclose menutrans &Convert\ to\ HEX<Tab>:%!xxd 转换成十六进制<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r 转换返回<Tab>:%!xxd\ -r menutrans Se&T\ Compiler 设定编译器(&T) " Names for buffer menu. menutrans &Buffers 缓冲区(&B) menutrans &Refresh\ menu 更新菜单(&R) menutrans &Delete 删除(&D) menutrans &Alternate 交替(&A) menutrans &Next 下一个(&N) menutrans &Previous 上一个(&P) " Window menu menutrans &Window 窗口(&W) menutrans &New<Tab>^Wn 新建(&N)<Tab>^Wn menutrans S&plit<Tab>^Ws 分割(&P)<Tab>^Ws menutrans Sp&lit\ To\ #<Tab>^W^^ 分割到\ #(&L)<Tab>^W^^ menutrans Split\ &Vertically<Tab>^Wv 垂直分割(&V)<Tab>^Wv menutrans Split\ File\ E&xplorer 分割文件浏览器(&X) menutrans &Close<Tab>^Wc 关闭(&C)<Tab>^Wc menutrans Close\ &Other(s)<Tab>^Wo 关闭其它窗口(&O)<Tab>^Wo menutrans Move\ &To 移动到(&T) menutrans &Top<Tab>^WK 顶端(&T)<Tab>^WK menutrans &Bottom<Tab>^WJ 底端(&B)<Tab>^WJ menutrans &Left\ side<Tab>^WH 左边(&L)<Tab>^WH menutrans &Right\ side<Tab>^WL 右边(&R)<Tab>^WL " menutrans Ne&xt<Tab>^Ww 下一个(&X)<Tab>^Ww " menutrans P&revious<Tab>^WW 上一个(&R)<Tab>^WW menutrans Rotate\ &Up<Tab>^WR 向上轮换(&U)<Tab>^WR menutrans Rotate\ &Down<Tab>^Wr 向下轮换(&D)<Tab>^Wr menutrans &Equal\ Size<Tab>^W= 等大(&E)<Tab>^W= menutrans &Max\ Height<Tab>^W_ 最大高度(&M)<Tab>^W menutrans M&in\ Height<Tab>^W1_ 最小高度(&I)<Tab>^W1_ menutrans Max\ &Width<Tab>^W\| 最大宽度(&W)<Tab>^W\| menutrans Min\ Widt&h<Tab>^W1\| 最小宽度(&H)<Tab>^W1\| " " The popup menu menutrans &Undo 撤销(&U) menutrans Cu&t 剪切(&T) menutrans &Copy 复制(&C) menutrans &Paste 粘贴(&P) menutrans &Delete 删除(&D) menutrans Select\ Blockwise 选择块 menutrans Select\ &Word 选择单词(&W) menutrans Select\ &Sentence 选择句子(&S) menutrans Select\ Pa&ragraph 选择段落(&R) menutrans Select\ &Line 选择行(&L) menutrans Select\ &Block 选择块(&B) menutrans Select\ &All 全选(&A) " " The GUI toolbar 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.Find 查找... tmenu ToolBar.FindNext 查找下一个 tmenu ToolBar.FindPrev 查找上一个 tmenu ToolBar.Replace 查找和替换... tmenu ToolBar.LoadSesn 加载会话 tmenu ToolBar.SaveSesn 保存当前会话 tmenu ToolBar.RunScript 运行 Vim 脚本 tmenu ToolBar.Make 执行 Make (:make) tmenu ToolBar.RunCtags 在当前目录建立 tags (!ctags -R .) tmenu ToolBar.TagJump 跳转到光标位置的 tag tmenu ToolBar.Help Vim 帮助 tmenu ToolBar.FindHelp 查找 Vim 帮助 endfun endif " Syntax menu menutrans &Syntax 语法(&S) menutrans &Show\ filetypes\ in\ menu 在菜单中显示文件类型(&S) menutrans &Off 关闭(&O) menutrans &Manual 手工(&M) menutrans A&utomatic 自动(&U) menutrans on/off\ for\ &This\ file 仅对这个文件开/关(&T) menutrans Co&lor\ test 色彩测试(&L) menutrans &Highlight\ test 高亮测试(&H) menutrans &Convert\ to\ HTML 转换成\ HTML(&C) menutrans Set\ '&syntax'\ only 仅设定\ 'syntax'(&S) menutrans Set\ '&filetype'\ too 也设定\ 'filetype'(&F) let &cpo = s:keepcpo unlet s:keepcpo
zyz2011-vim
runtime/lang/menu_zh_cn.utf-8.vim
Vim Script
gpl2
11,102
" Menu Translations: Norwegian " menu_no.latin1.vim 289 2004-05-16 18:00:52Z sunny source <sfile>:p:h/menu_no_no.latin1.vim
zyz2011-vim
runtime/lang/menu_no.latin1.vim
Vim Script
gpl2
125
" Menu Translations: Korean " Translated By: SungHyun Nam <goweol@gmail.com> " Last Change: 2008 Sep 17 source <sfile>:p:h/menu_ko_kr.euckr.vim
zyz2011-vim
runtime/lang/menu_ko_kr.vim
Vim Script
gpl2
146
" Menu Translations: Simplified Chinese (for Windows) source <sfile>:p:h/menu_chinese_gb.936.vim
zyz2011-vim
runtime/lang/menu_zh.cp936.vim
Vim Script
gpl2
98
# Makefile for the Vim tutor. # # The Japanese tutor exists in three encodings. Use the UTF-8 version as the # original and create the others with conversion. # # Similarly for Russian and Korean all: tutor.utf-8 \ tutor.bar \ tutor.ca.utf-8 \ tutor.de.utf-8 \ tutor.el tutor.el.cp737 \ tutor.eo \ tutor.es.utf-8 \ tutor.fr.utf-8 \ tutor.hr tutor.hr.cp1250 \ tutor.hu tutor.hu.cp1250 \ tutor.it.utf-8 \ tutor.ja.sjis tutor.ja.euc \ tutor.ko.euc \ tutor.no.utf-8 \ tutor.nb \ tutor.nb.utf-8 \ tutor.ru tutor.ru.cp1251 \ tutor.sv.utf-8 \ tutor.zh.utf-8 tutor.utf-8: tutor iconv -f ISO-8859-1 -t UTF-8 tutor > tutor.utf-8 tutor.bar: tutor.bar.utf-8 iconv -f UTF-8 -t ISO-8859-1 tutor.bar.utf-8 > tutor.bar tutor.ca.utf-8: tutor.ca iconv -f ISO-8859-1 -t UTF-8 tutor.ca > tutor.ca.utf-8 tutor.eo: tutor.eo.utf-8 iconv -f UTF-8 -t ISO-8859-3 tutor.eo.utf-8 > tutor.eo tutor.de.utf-8: tutor.de iconv -f ISO-8859-1 -t UTF-8 tutor.de > tutor.de.utf-8 tutor.el: tutor.el.utf-8 iconv -f UTF-8 -t ISO-8859-7 tutor.el.utf-8 > tutor.el tutor.el.cp737: tutor.el.utf-8 iconv -f UTF-8 -t cp737 tutor.el.utf-8 > tutor.el.cp737 tutor.es.utf-8: tutor.es iconv -f ISO-8859-1 -t UTF-8 tutor.es > tutor.es.utf-8 tutor.fr.utf-8: tutor.fr iconv -f ISO-8859-1 -t UTF-8 tutor.fr > tutor.fr.utf-8 tutor.hu: tutor.hu.utf-8 iconv -f UTF-8 -t ISO-8859-2 tutor.hu.utf-8 > tutor.hu tutor.hu.cp1250: tutor.hu.utf-8 iconv -f UTF-8 -t cp1250 tutor.hu.utf-8 > tutor.hu.cp1250 tutor.hr: tutor.hr.utf-8 iconv -f UTF-8 -t ISO-8859-2 tutor.hr.utf-8 > tutor.hr tutor.hr.cp1250: tutor.hr.utf-8 iconv -f UTF-8 -t cp1250 tutor.hr.utf-8 > tutor.hr.cp1250 tutor.ja.sjis: tutor.ja.utf-8 nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis tutor.ja.euc: tutor.ja.utf-8 nkf -WXe tutor.ja.utf-8 > tutor.ja.euc tutor.ko.euc: tutor.ko.utf-8 iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc tutor.no.utf-8: tutor.no iconv -f ISO-8859-1 -t UTF-8 tutor.no > tutor.no.utf-8 # nb is an alias for no tutor.nb: tutor.no cp tutor.no tutor.nb tutor.nb.utf-8: tutor.no.utf-8 cp tutor.no.utf-8 tutor.nb.utf-8 tutor.ru: tutor.ru.utf-8 iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru tutor.ru.cp1251: tutor.ru.utf-8 iconv -f UTF-8 -t cp1251 tutor.ru.utf-8 > tutor.ru.cp1251 tutor.sv.utf-8: tutor.sv iconv -f ISO-8859-1 -t UTF-8 tutor.sv > tutor.sv.utf-8 tutor.zh.utf-8: tutor.zh.big5 iconv -f BIG-5 -t UTF-8 tutor.zh.big5 > tutor.zh.utf-8
zyz2011-vim
runtime/tutor/Makefile
Makefile
gpl2
2,437
" Vim tutor support file " Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es> " Maintainer: Bram Moolenaar " Last Change: 2008 Jul 21 " This Vim script is used for detecting if a translation of the " tutor file exist, i.e., a tutor.xx file, where xx is the language. " If the translation does not exist, or no extension is given, " it defaults to the english version. " It is invoked by the vimtutor shell script. " 1. Build the extension of the file, if any: let s:ext = "" if strlen($xx) > 1 let s:ext = "." . $xx else let s:lang = "" " Check that a potential value has at least two letters. " Ignore "1043" and "C". if exists("v:lang") && v:lang =~ '\a\a' let s:lang = v:lang elseif $LC_ALL =~ '\a\a' let s:lang = $LC_ALL elseif $LANG =~ '\a\a' let s:lang = $LANG endif if s:lang != "" " Remove "@euro" (ignoring case), it may be at the end let s:lang = substitute(s:lang, '\c@euro', '', '') " On MS-Windows it may be German_Germany.1252 or Polish_Poland.1250. How " about other languages? if s:lang =~ "German" let s:ext = ".de" elseif s:lang =~ "Polish" let s:ext = ".pl" elseif s:lang =~ "Slovak" let s:ext = ".sk" elseif s:lang =~ "Czech" let s:ext = ".cs" elseif s:lang =~ "Dutch" let s:ext = ".nl" else let s:ext = "." . strpart(s:lang, 0, 2) endif endif endif " Somehow ".ge" (Germany) is sometimes used for ".de" (Deutsch). if s:ext =~? '\.ge' let s:ext = ".de" endif if s:ext =~? '\.en' let s:ext = "" endif " The japanese tutor is available in two encodings, guess which one to use " The "sjis" one is actually "cp932", it doesn't matter for this text. if s:ext =~? '\.ja' if &enc =~ "euc" let s:ext = ".ja.euc" elseif &enc != "utf-8" let s:ext = ".ja.sjis" endif endif " The korean tutor is available in two encodings, guess which one to use if s:ext =~? '\.ko' if &enc != "utf-8" let s:ext = ".ko.euc" endif endif " The Chinese tutor is available in two encodings, guess which one to use " This segment is from the above lines and modified by " Mendel L Chan <beos@turbolinux.com.cn> for Chinese vim tutorial if s:ext =~? '\.zh' if &enc =~ 'big5\|cp950' let s:ext = ".zh.big5" elseif &enc != 'utf-8' let s:ext = ".zh.euc" endif endif " The Polish tutor is available in two encodings, guess which one to use. if s:ext =~? '\.pl' if &enc =~ 1250 let s:ext = ".pl.cp1250" endif endif " The Turkish tutor is available in two encodings, guess which one to use if s:ext =~? '\.tr' if &enc == "iso-8859-9" let s:ext = ".tr.iso9" endif endif " The Greek tutor is available in three encodings, guess what to use. " We used ".gr" (Greece) instead of ".el" (Greek); accept both. if s:ext =~? '\.gr\|\.el' if &enc == "iso-8859-7" let s:ext = ".el" elseif &enc == "utf-8" let s:ext = ".el.utf-8" elseif &enc =~ 737 let s:ext = ".el.cp737" endif endif " The Slovak tutor is available in three encodings, guess which one to use if s:ext =~? '\.sk' if &enc =~ 1250 let s:ext = ".sk.cp1250" endif endif " The Czech tutor is available in three encodings, guess which one to use if s:ext =~? '\.cs' if &enc =~ 1250 let s:ext = ".cs.cp1250" endif endif " The Russian tutor is available in three encodings, guess which one to use. if s:ext =~? '\.ru' if &enc =~ '1251' let s:ext = '.ru.cp1251' elseif &enc =~ 'koi8' let s:ext = '.ru' endif endif " The Hungarian tutor is available in three encodings, guess which one to use. if s:ext =~? '\.hu' if &enc =~ 1250 let s:ext = ".hu.cp1250" elseif &enc =~ 'iso-8859-2' let s:ext = '.hu' endif endif " The Croatian tutor is available in three encodings, guess which one to use. if s:ext =~? '\.hr' if &enc =~ 1250 let s:ext = ".hr.cp1250" elseif &enc =~ 'iso-8859-2' let s:ext = '.hr' endif endif " Esperanto is only available in utf-8 if s:ext =~? '\.eo' let s:ext = ".eo.utf-8" endif " Vietnamese is only available in utf-8 if s:ext =~? '\.vi' let s:ext = ".vi.utf-8" endif " If 'encoding' is utf-8 s:ext must end in utf-8. if &enc == 'utf-8' && s:ext !~ '\.utf-8' let s:ext .= '.utf-8' endif " 2. Build the name of the file: let s:tutorfile = "/tutor/tutor" let s:tutorxx = $VIMRUNTIME . s:tutorfile . s:ext " 3. Finding the file: if filereadable(s:tutorxx) let $TUTOR = s:tutorxx else let $TUTOR = $VIMRUNTIME . s:tutorfile echo "The file " . s:tutorxx . " does not exist.\n" echo "Copying English version: " . $TUTOR 4sleep endif " 4. Making the copy and exiting Vim: e $TUTOR wq! $TUTORCOPY
zyz2011-vim
runtime/tutor/tutor.vim
Vim Script
gpl2
4,625
" Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2012 May 18 " Listen very carefully, I will say this only once if exists("did_load_filetypes") finish endif let did_load_filetypes = 1 " Line continuation is used here, remove 'C' from 'cpoptions' let s:cpo_save = &cpo set cpo&vim augroup filetypedetect " Ignored extensions if exists("*fnameescape") au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.dpkg-new,?\+.dpkg-bak,?\+.rpmsave,?\+.rpmnew \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) au BufNewFile,BufRead *~ \ let s:name = expand("<afile>") | \ let s:short = substitute(s:name, '\~$', '', '') | \ if s:name != s:short && s:short != "" | \ exe "doau filetypedetect BufRead " . fnameescape(s:short) | \ endif | \ unlet! s:name s:short au BufNewFile,BufRead ?\+.in \ if expand("<afile>:t") != "configure.in" | \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) | \ endif elseif &verbose > 0 echomsg "Warning: some filetypes will not be recognized because this version of Vim does not have fnameescape()" endif " Pattern used to match file names which should not be inspected. " Currently finds compressed files. if !exists("g:ft_ignore_pat") let g:ft_ignore_pat = '\.\(Z\|gz\|bz2\|zip\|tgz\)$' endif " Function used for patterns that end in a star: don't set the filetype if the " file name matches ft_ignore_pat. func! s:StarSetf(ft) if expand("<amatch>") !~ g:ft_ignore_pat exe 'setf ' . a:ft endif endfunc " Abaqus or Trasys au BufNewFile,BufRead *.inp call s:Check_inp() func! s:Check_inp() if getline(1) =~ '^\*' setf abaqus else let n = 1 if line("$") > 500 let nmax = 500 else let nmax = line("$") endif while n <= nmax if getline(n) =~? "^header surface data" setf trasys break endif let n = n + 1 endwhile endif endfunc " A-A-P recipe au BufNewFile,BufRead *.aap setf aap " A2ps printing utility au BufNewFile,BufRead */etc/a2ps.cfg,*/etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps " ABAB/4 au BufNewFile,BufRead *.abap setf abap " ABC music notation au BufNewFile,BufRead *.abc setf abc " ABEL au BufNewFile,BufRead *.abl setf abel " AceDB au BufNewFile,BufRead *.wrm setf acedb " Ada (83, 9X, 95) au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada if has("vms") au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada else au BufNewFile,BufRead *.gpr setf ada endif " AHDL au BufNewFile,BufRead *.tdf setf ahdl " AMPL au BufNewFile,BufRead *.run setf ampl " Ant au BufNewFile,BufRead build.xml setf ant " Apache style config file au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle') " Apache config file au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache " XA65 MOS6510 cross assembler au BufNewFile,BufRead *.a65 setf a65 " Applescript au BufNewFile,BufRead *.scpt setf applescript " Applix ELF au BufNewFile,BufRead *.am \ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif " ALSA configuration au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf " Arc Macro Language au BufNewFile,BufRead *.aml setf aml " Arch Inventory file au BufNewFile,BufRead .arch-inventory,=tagging-method setf arch " ART*Enterprise (formerly ART-IM) au BufNewFile,BufRead *.art setf art " ASN.1 au BufNewFile,BufRead *.asn,*.asn1 setf asn " Active Server Pages (with Visual Basic Script) au BufNewFile,BufRead *.asa \ if exists("g:filetype_asa") | \ exe "setf " . g:filetype_asa | \ else | \ setf aspvbs | \ endif " Active Server Pages (with Perl or Visual Basic Script) au BufNewFile,BufRead *.asp \ if exists("g:filetype_asp") | \ exe "setf " . g:filetype_asp | \ elseif getline(1) . getline(2) . getline(3) =~? "perlscript" | \ setf aspperl | \ else | \ setf aspvbs | \ endif " Grub (must be before catch *.lst) au BufNewFile,BufRead */boot/grub/menu.lst,*/boot/grub/grub.conf,*/etc/grub.conf setf grub " Assembly (all kinds) " *.lst is not pure assembly, it has two extra columns (address, byte codes) au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call s:FTasm() " This function checks for the kind of assembly that is wanted by the user, or " can be detected from the first five lines of the file. func! s:FTasm() " make sure b:asmsyntax exists if !exists("b:asmsyntax") let b:asmsyntax = "" endif if b:asmsyntax == "" call s:FTasmsyntax() endif " if b:asmsyntax still isn't set, default to asmsyntax or GNU if b:asmsyntax == "" if exists("g:asmsyntax") let b:asmsyntax = g:asmsyntax else let b:asmsyntax = "asm" endif endif exe "setf " . fnameescape(b:asmsyntax) endfunc func! s:FTasmsyntax() " see if file contains any asmsyntax=foo overrides. If so, change " b:asmsyntax appropriately let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4). \" ".getline(5)." " let match = matchstr(head, '\sasmsyntax=\zs[a-zA-Z0-9]\+\ze\s') if match != '' let b:asmsyntax = match elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library')) let b:asmsyntax = "vmasm" endif endfunc " Macro (VAX) au BufNewFile,BufRead *.mar setf vmasm " Atlas au BufNewFile,BufRead *.atl,*.as setf atlas " Autoit v3 au BufNewFile,BufRead *.au3 setf autoit " Autohotkey au BufNewFile,BufRead *.ahk setf autohotkey " Automake au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake " Autotest .at files are actually m4 au BufNewFile,BufRead *.at setf m4 " Avenue au BufNewFile,BufRead *.ave setf ave " Awk au BufNewFile,BufRead *.awk setf awk " B au BufNewFile,BufRead *.mch,*.ref,*.imp setf b " BASIC or Visual Basic au BufNewFile,BufRead *.bas call s:FTVB("basic") " Check if one of the first five lines contains "VB_Name". In that case it is " probably a Visual Basic file. Otherwise it's assumed to be "alt" filetype. func! s:FTVB(alt) if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'VB_Name\|Begin VB\.\(Form\|MDIForm\|UserControl\)' setf vb else exe "setf " . a:alt endif endfunc " 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 " FreeBasic file (similar to QBasic) au BufNewFile,BufRead *.fb,*.bi setf freebasic " Batch file for MSDOS. au BufNewFile,BufRead *.bat,*.sys setf dosbatch " *.cmd is close to a Batch file, but on OS/2 Rexx files also use *.cmd. au BufNewFile,BufRead *.cmd \ if getline(1) =~ '^/\*' | setf rexx | else | setf dosbatch | endif " Batch file for 4DOS au BufNewFile,BufRead *.btm call s:FTbtm() func! s:FTbtm() if exists("g:dosbatch_syntax_for_btm") && g:dosbatch_syntax_for_btm setf dosbatch else setf btm endif endfunc " BC calculator au BufNewFile,BufRead *.bc setf bc " BDF font au BufNewFile,BufRead *.bdf setf bdf " BibTeX bibliography database file au BufNewFile,BufRead *.bib setf bib " BibTeX Bibliography Style au BufNewFile,BufRead *.bst setf bst " BIND configuration au BufNewFile,BufRead named.conf,rndc.conf setf named " BIND zone au BufNewFile,BufRead named.root setf bindzone au BufNewFile,BufRead *.db call s:BindzoneCheck('') func! s:BindzoneCheck(default) if getline(1).getline(2).getline(3).getline(4) =~ '^; <<>> DiG [0-9.]\+ <<>>\|BIND.*named\|$ORIGIN\|$TTL\|IN\s\+SOA' setf bindzone elseif a:default != '' exe 'setf ' . a:default endif endfunc " Blank au BufNewFile,BufRead *.bl setf blank " Blkid cache file au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " C or lpc au BufNewFile,BufRead *.c call s:FTlpc() func! s:FTlpc() if exists("g:lpc_syntax_for_c") let lnum = 1 while lnum <= 12 if getline(lnum) =~# '^\(//\|inherit\|private\|protected\|nosave\|string\|object\|mapping\|mixed\)' setf lpc return endif let lnum = lnum + 1 endwhile endif setf c endfunc " Calendar au BufNewFile,BufRead calendar setf calendar " C# au BufNewFile,BufRead *.cs setf cs " Cabal au BufNewFile,BufRead *.cabal setf cabal " Cdrdao TOC au BufNewFile,BufRead *.toc setf cdrtoc " Cdrdao config au BufNewFile,BufRead */etc/cdrdao.conf,*/etc/defaults/cdrdao,*/etc/default/cdrdao,.cdrdao setf cdrdaoconf " Cfengine au BufNewFile,BufRead cfengine.conf setf cfengine " ChaiScript au BufRead,BufNewFile *.chai setf chaiscript " Comshare Dimension Definition Language au BufNewFile,BufRead *.cdl setf cdl " Conary Recipe au BufNewFile,BufRead *.recipe setf conaryrecipe " Controllable Regex Mutilator au BufNewFile,BufRead *.crm setf crm " Cyn++ au BufNewFile,BufRead *.cyn setf cynpp " Cynlib " .cc and .cpp files can be C++ or Cynlib. au BufNewFile,BufRead *.cc \ if exists("cynlib_syntax_for_cc")|setf cynlib|else|setf cpp|endif au BufNewFile,BufRead *.cpp \ if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf cpp|endif " C++ au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf cpp if has("fname_case") au BufNewFile,BufRead *.C,*.H setf cpp endif " .h files can be C, Ch C++, ObjC or ObjC++. " Set c_syntax_for_h if you want C, ch_syntax_for_h if you want Ch. ObjC is " detected automatically. au BufNewFile,BufRead *.h call s:FTheader() func! s:FTheader() if match(getline(1, min([line("$"), 200])), '^@\(interface\|end\|class\)') > -1 if exists("g:c_syntax_for_h") setf objc else setf objcpp endif elseif exists("g:c_syntax_for_h") setf c elseif exists("g:ch_syntax_for_h") setf ch else setf cpp endif endfunc " Ch (CHscript) au BufNewFile,BufRead *.chf setf ch " TLH files are C++ headers generated by Visual C++'s #import from typelibs au BufNewFile,BufRead *.tlh setf cpp " Cascading Style Sheets au BufNewFile,BufRead *.css setf css " Century Term Command Scripts (*.cmd too) au BufNewFile,BufRead *.con setf cterm " Changelog au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch \ setf debchangelog au BufNewFile,BufRead [cC]hange[lL]og \ if getline(1) =~ '; urgency=' \| setf debchangelog \| else \| setf changelog \| endif au BufNewFile,BufRead NEWS \ if getline(1) =~ '; urgency=' \| setf debchangelog \| endif " CHILL au BufNewFile,BufRead *..ch setf chill " Changes for WEB and CWEB or CHILL au BufNewFile,BufRead *.ch call s:FTchange() " This function checks if one of the first ten lines start with a '@'. In " that case it is probably a change file. " If the first line starts with # or ! it's probably a ch file. " If a line has "main", "include", "//" ir "/*" it's probably ch. " Otherwise CHILL is assumed. func! s:FTchange() let lnum = 1 while lnum <= 10 if getline(lnum)[0] == '@' setf change return endif if lnum == 1 && (getline(1)[0] == '#' || getline(1)[0] == '!') setf ch return endif if getline(lnum) =~ "MODULE" setf chill return endif if getline(lnum) =~ 'main\s*(\|#\s*include\|//' setf ch return endif let lnum = lnum + 1 endwhile setf chill endfunc " ChordPro au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro " Clean au BufNewFile,BufRead *.dcl,*.icl setf clean " Clever au BufNewFile,BufRead *.eni setf cl " Clever or dtd au BufNewFile,BufRead *.ent call s:FTent() func! s:FTent() " This function checks for valid cl syntax in the first five lines. " Look for either an opening comment, '#', or a block start, '{". " If not found, assume SGML. let lnum = 1 while lnum < 6 let line = getline(lnum) if line =~ '^\s*[#{]' setf cl return elseif line !~ '^\s*$' " Not a blank line, not a comment, and not a block start, " so doesn't look like valid cl code. break endif let lnum = lnum + 1 endw setf dtd endfunc " Clipper (or FoxPro; could also be eviews) au BufNewFile,BufRead *.prg \ if exists("g:filetype_prg") | \ exe "setf " . g:filetype_prg | \ else | \ setf clipper | \ endif " Cmake au BufNewFile,BufRead CMakeLists.txt,*.cmake,*.cmake.in setf cmake " Cmusrc au BufNewFile,BufRead */.cmus/{autosave,rc,command-history,*.theme} setf cmusrc au BufNewFile,BufRead */cmus/{rc,*.theme} setf cmusrc " Cobol au BufNewFile,BufRead *.cbl,*.cob,*.lib setf cobol " cobol or zope form controller python script? (heuristic) au BufNewFile,BufRead *.cpy \ if getline(1) =~ '^##' | \ setf python | \ else | \ setf cobol | \ endif " Coco/R au BufNewFile,BufRead *.atg setf coco " Cold Fusion au BufNewFile,BufRead *.cfm,*.cfi,*.cfc setf cf " Configure scripts au BufNewFile,BufRead configure.in,configure.ac setf config " CUDA Cumpute Unified Device Architecture au BufNewFile,BufRead *.cu setf cuda " WildPackets EtherPeek Decoder au BufNewFile,BufRead *.dcd setf dcd " Enlightenment configuration files au BufNewFile,BufRead *enlightenment/*.cfg setf c " Eterm au BufNewFile,BufRead *Eterm/*.cfg setf eterm " Lynx config files au BufNewFile,BufRead lynx.cfg setf lynx " Quake au BufNewFile,BufRead *baseq[2-3]/*.cfg,*id1/*.cfg setf quake au BufNewFile,BufRead *quake[1-3]/*.cfg setf quake " Quake C au BufNewFile,BufRead *.qc setf c " Configure files au BufNewFile,BufRead *.cfg setf cfg " Cucumber au BufNewFile,BufRead *.feature setf cucumber " Communicating Sequential Processes au BufNewFile,BufRead *.csp,*.fdr setf csp " CUPL logic description and simulation au BufNewFile,BufRead *.pld setf cupl au BufNewFile,BufRead *.si setf cuplsim " Debian Control au BufNewFile,BufRead */debian/control setf debcontrol au BufNewFile,BufRead control \ if getline(1) =~ '^Source:' \| setf debcontrol \| endif " Debian Sources.list au BufNewFile,BufRead */etc/apt/sources.list setf debsources au BufNewFile,BufRead */etc/apt/sources.list.d/*.list setf debsources " Deny hosts au BufNewFile,BufRead denyhosts.conf setf denyhosts " dnsmasq(8) configuration files au BufNewFile,BufRead */etc/dnsmasq.conf setf dnsmasq " ROCKLinux package description au BufNewFile,BufRead *.desc setf desc " the D language or dtrace au BufNewFile,BufRead *.d call s:DtraceCheck() func! s:DtraceCheck() let lines = getline(1, min([line("$"), 100])) if match(lines, '^module\>\|^import\>') > -1 " D files often start with a module and/or import statement. setf d elseif match(lines, '^#!\S\+dtrace\|#pragma\s\+D\s\+option\|:\S\{-}:\S\{-}:') > -1 setf dtrace else setf d endif endfunc " Desktop files au BufNewFile,BufRead *.desktop,.directory setf desktop " Dict config au BufNewFile,BufRead dict.conf,.dictrc setf dictconf " Dictd config au BufNewFile,BufRead dictd.conf setf dictdconf " Diff files au BufNewFile,BufRead *.diff,*.rej,*.patch setf diff " Dircolors au BufNewFile,BufRead .dir_colors,.dircolors,*/etc/DIR_COLORS setf dircolors " Diva (with Skill) or InstallShield au BufNewFile,BufRead *.rul \ if getline(1).getline(2).getline(3).getline(4).getline(5).getline(6) =~? 'InstallShield' | \ setf ishd | \ else | \ setf diva | \ endif " DCL (Digital Command Language - vms) or DNS zone file au BufNewFile,BufRead *.com call s:BindzoneCheck('dcl') " DOT au BufNewFile,BufRead *.dot setf dot " Dylan - lid files au BufNewFile,BufRead *.lid setf dylanlid " Dylan - intr files (melange) au BufNewFile,BufRead *.intr setf dylanintr " Dylan au BufNewFile,BufRead *.dylan setf dylan " Microsoft Module Definition au BufNewFile,BufRead *.def setf def " Dracula au BufNewFile,BufRead *.drac,*.drc,*lvs,*lpe setf dracula " Datascript au BufNewFile,BufRead *.ds setf datascript " dsl au BufNewFile,BufRead *.dsl setf dsl " DTD (Document Type Definition for XML) au BufNewFile,BufRead *.dtd setf dtd " EDIF (*.edf,*.edif,*.edn,*.edo) au BufNewFile,BufRead *.ed\(f\|if\|n\|o\) setf edif " Embedix Component Description au BufNewFile,BufRead *.ecd setf ecd " Eiffel or Specman au BufNewFile,BufRead *.e,*.E call s:FTe() " Elinks configuration au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf setf elinks func! s:FTe() let n = 1 while n < 100 && n < line("$") if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$" setf specman return endif let n = n + 1 endwhile setf eiffel endfunc " ERicsson LANGuage; Yaws is erlang too au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang " Elm Filter Rules file au BufNewFile,BufRead filter-rules setf elmfilt " ESMTP rc file au BufNewFile,BufRead *esmtprc setf esmtprc " ESQL-C au BufNewFile,BufRead *.ec,*.EC setf esqlc " Esterel au BufNewFile,BufRead *.strl setf esterel " Essbase script au BufNewFile,BufRead *.csc setf csc " Exim au BufNewFile,BufRead exim.conf setf exim " Expect au BufNewFile,BufRead *.exp setf expect " Exports au BufNewFile,BufRead exports setf exports " Falcon au BufNewFile,BufRead *.fal setf falcon " Fantom au BufNewFile,BufRead *.fan,*.fwt setf fan " Factor au BufNewFile,BufRead *.factor setf factor " Fetchmail RC file au BufNewFile,BufRead .fetchmailrc setf fetchmail " FlexWiki - disabled, because it has side effects when a .wiki file " is not actually FlexWiki "au BufNewFile,BufRead *.wiki setf flexwiki " Focus Executable au BufNewFile,BufRead *.fex,*.focexec setf focexec " Focus Master file (but not for auto.master) au BufNewFile,BufRead auto.master setf conf au BufNewFile,BufRead *.mas,*.master setf master " Forth au BufNewFile,BufRead *.fs,*.ft setf forth " Reva Forth au BufNewFile,BufRead *.frt setf reva " Fortran if has("fname_case") au BufNewFile,BufRead *.F,*.FOR,*.FPP,*.FTN,*.F77,*.F90,*.F95,*.F03,*.F08 setf fortran endif au BufNewFile,BufRead *.f,*.for,*.fortran,*.fpp,*.ftn,*.f77,*.f90,*.f95,*.f03,*.f08 setf fortran " Framescript au BufNewFile,BufRead *.fsl setf framescript " FStab au BufNewFile,BufRead fstab,mtab setf fstab " GDB command files au BufNewFile,BufRead .gdbinit setf gdb " GDMO au BufNewFile,BufRead *.mo,*.gdmo setf gdmo " Gedcom au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom " Git au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit au BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules setf gitconfig au BufNewFile,BufRead *.git/modules/**/COMMIT_EDITMSG setf gitcommit au BufNewFile,BufRead *.git/modules/**/config setf gitconfig au BufNewFile,BufRead git-rebase-todo setf gitrebase au BufNewFile,BufRead .msg.[0-9]* \ if getline(1) =~ '^From.*# This line is ignored.$' | \ setf gitsendemail | \ endif au BufNewFile,BufRead *.git/** \ if getline(1) =~ '^\x\{40\}\>\|^ref: ' | \ setf git | \ endif " Gkrellmrc au BufNewFile,BufRead gkrellmrc,gkrellmrc_? setf gkrellmrc " GP scripts (2.0 and onward) au BufNewFile,BufRead *.gp,.gprc setf gp " GPG au BufNewFile,BufRead */.gnupg/options setf gpg au BufNewFile,BufRead */.gnupg/gpg.conf setf gpg au BufNewFile,BufRead */usr/**/gnupg/options.skel setf gpg " gnash(1) configuration files au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash " Gitolite au BufNewFile,BufRead gitolite.conf setf gitolite au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite') au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl " Gnuplot scripts au BufNewFile,BufRead *.gpi setf gnuplot " GrADS scripts au BufNewFile,BufRead *.gs setf grads " Gretl au BufNewFile,BufRead *.gretl setf gretl " Groovy au BufNewFile,BufRead *.groovy setf groovy " GNU Server Pages au BufNewFile,BufRead *.gsp setf gsp " Group file au BufNewFile,BufRead */etc/group,*/etc/group-,*/etc/group.edit,*/etc/gshadow,*/etc/gshadow-,*/etc/gshadow.edit,*/var/backups/group.bak,*/var/backups/gshadow.bak setf group " GTK RC au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc " Haml au BufNewFile,BufRead *.haml setf haml " Hamster Classic | Playground files au BufNewFile,BufRead *.hsc,*.hsm setf hamster " Haskell au BufNewFile,BufRead *.hs,*.hs-boot setf haskell au BufNewFile,BufRead *.lhs setf lhaskell au BufNewFile,BufRead *.chs setf chaskell " Haste au BufNewFile,BufRead *.ht setf haste au BufNewFile,BufRead *.htpp setf hastepreproc " Hercules au BufNewFile,BufRead *.vc,*.ev,*.rs,*.sum,*.errsum setf hercules " HEX (Intel) au BufNewFile,BufRead *.hex,*.h32 setf hex " Tilde (must be before HTML) au BufNewFile,BufRead *.t.html setf tilde " HTML (.shtml and .stm for server side) au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call s:FThtml() " Distinguish between HTML, XHTML and Django func! s:FThtml() let n = 1 while n < 10 && n < line("$") if getline(n) =~ '\<DTD\s\+XHTML\s' setf xhtml return endif if getline(n) =~ '{%\s*\(extends\|block\)\>' setf htmldjango return endif let n = n + 1 endwhile setf html endfunc " HTML with Ruby - eRuby au BufNewFile,BufRead *.erb,*.rhtml setf eruby " HTML with M4 au BufNewFile,BufRead *.html.m4 setf htmlm4 " HTML Cheetah template au BufNewFile,BufRead *.tmpl setf htmlcheetah " Host config au BufNewFile,BufRead */etc/host.conf setf hostconf " Hosts access au BufNewFile,BufRead */etc/hosts.allow,*/etc/hosts.deny setf hostsaccess " Hyper Builder au BufNewFile,BufRead *.hb setf hb " Icon au BufNewFile,BufRead *.icn setf icon " IDL (Interface Description Language) au BufNewFile,BufRead *.idl call s:FTidl() " Distinguish between standard IDL and MS-IDL func! s:FTidl() let n = 1 while n < 50 && n < line("$") if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"' setf msidl return endif let n = n + 1 endwhile setf idl endfunc " Microsoft IDL (Interface Description Language) Also *.idl " MOF = WMI (Windows Management Instrumentation) Managed Object Format au BufNewFile,BufRead *.odl,*.mof setf msidl " Icewm menu au BufNewFile,BufRead */.icewm/menu setf icemenu " Indent profile (must come before IDL *.pro!) au BufNewFile,BufRead .indent.pro setf indent au BufNewFile,BufRead indent.pro call s:ProtoCheck('indent') " IDL (Interactive Data Language) au BufNewFile,BufRead *.pro call s:ProtoCheck('idlang') " Distinguish between "default" and Cproto prototype file. */ func! s:ProtoCheck(default) " Cproto files have a comment in the first line and a function prototype in " the second line, it always ends in ";". Indent files may also have " comments, thus we can't match comments to see the difference. " IDL files can have a single ';' in the second line, require at least one " chacter before the ';'. if getline(2) =~ '.;$' setf cpp else exe 'setf ' . a:default endif endfunc " Indent RC au BufNewFile,BufRead indentrc setf indent " Inform au BufNewFile,BufRead *.inf,*.INF setf inform " Initng au BufNewFile,BufRead */etc/initng/**/*.i,*.ii setf initng " Ipfilter au BufNewFile,BufRead ipf.conf,ipf6.conf,ipf.rules setf ipfilter " Informix 4GL (source - canonical, include file, I4GL+M4 preproc.) au BufNewFile,BufRead *.4gl,*.4gh,*.m4gl setf fgl " .INI file for MSDOS au BufNewFile,BufRead *.ini setf dosini " SysV Inittab au BufNewFile,BufRead inittab setf inittab " Inno Setup au BufNewFile,BufRead *.iss setf iss " JAL au BufNewFile,BufRead *.jal,*.JAL setf jal " Jam au BufNewFile,BufRead *.jpl,*.jpr setf jam " Java au BufNewFile,BufRead *.java,*.jav setf java " JavaCC au BufNewFile,BufRead *.jj,*.jjt setf javacc " JavaScript, ECMAScript au BufNewFile,BufRead *.js,*.javascript,*.es,*.jsx,*.json setf javascript " Java Server Pages au BufNewFile,BufRead *.jsp setf jsp " Java Properties resource file (note: doesn't catch font.properties.pl) au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_?? setf jproperties au BufNewFile,BufRead *.properties_??_??_* call s:StarSetf('jproperties') " Jess au BufNewFile,BufRead *.clp setf jess " Jgraph au BufNewFile,BufRead *.jgr setf jgraph " Jovial au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial " Kixtart au BufNewFile,BufRead *.kix setf kix " Kimwitu[++] au BufNewFile,BufRead *.k setf kwt " KDE script au BufNewFile,BufRead *.ks setf kscript " Kconfig au BufNewFile,BufRead Kconfig,Kconfig.debug setf kconfig " Lace (ISE) au BufNewFile,BufRead *.ace,*.ACE setf lace " Latte au BufNewFile,BufRead *.latte,*.lte setf latte " Limits au BufNewFile,BufRead */etc/limits,*/etc/*limits.conf,*/etc/*limits.d/*.conf setf limits " LambdaProlog (*.mod too, see Modsim) au BufNewFile,BufRead *.sig setf lprolog " LDAP LDIF au BufNewFile,BufRead *.ldif setf ldif " Ld loader au BufNewFile,BufRead *.ld setf ld " Lex au BufNewFile,BufRead *.lex,*.l setf lex " Libao au BufNewFile,BufRead */etc/libao.conf,*/.libao setf libao " Libsensors au BufNewFile,BufRead */etc/sensors.conf,*/etc/sensors3.conf setf sensors " LFTP au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp " Lifelines (or Lex for C++!) au BufNewFile,BufRead *.ll setf lifelines " Lilo: Linux loader au BufNewFile,BufRead lilo.conf setf lilo " Lisp (*.el = ELisp, *.cl = Common Lisp, *.jl = librep Lisp) if has("fname_case") au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.jl,*.L,.emacs,.sawfishrc setf lisp else au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.jl,.emacs,.sawfishrc setf lisp endif " SBCL implementation of Common Lisp au BufNewFile,BufRead sbclrc,.sbclrc setf lisp " Liquid au BufNewFile,BufRead *.liquid setf liquid " Lite au BufNewFile,BufRead *.lite,*.lt setf lite " LiteStep RC files au BufNewFile,BufRead */LiteStep/*/*.rc setf litestep " Login access au BufNewFile,BufRead */etc/login.access setf loginaccess " Login defs au BufNewFile,BufRead */etc/login.defs setf logindefs " Logtalk au BufNewFile,BufRead *.lgt setf logtalk " LOTOS au BufNewFile,BufRead *.lot,*.lotos setf lotos " Lout (also: *.lt) au BufNewFile,BufRead *.lou,*.lout setf lout " Lua au BufNewFile,BufRead *.lua setf lua " Linden Scripting Language (Second Life) au BufNewFile,BufRead *.lsl setf lsl " Lynx style file (or LotusScript!) au BufNewFile,BufRead *.lss setf lss " M4 au BufNewFile,BufRead *.m4 \ if expand("<afile>") !~? 'html.m4$\|fvwm2rc' | setf m4 | endif " MaGic Point au BufNewFile,BufRead *.mgp setf mgp " Mail (for Elm, trn, mutt, muttng, rn, slrn) au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt{ng,}-*-\w\+,mutt[[:alnum:]_-]\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail " Mail aliases au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases setf mailaliases " Mailcap configuration file au BufNewFile,BufRead .mailcap,mailcap setf mailcap " Makefile au BufNewFile,BufRead *[mM]akefile,*.mk,*.mak,*.dsp setf make " MakeIndex au BufNewFile,BufRead *.ist,*.mst setf ist " Manpage au BufNewFile,BufRead *.man setf man " Man config au BufNewFile,BufRead */etc/man.conf,man.config setf manconf " Maple V au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple " Map (UMN mapserver config file) au BufNewFile,BufRead *.map setf map " Markdown au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,README.md setf markdown " Mason au BufNewFile,BufRead *.mason,*.mhtml setf mason " Matlab or Objective C au BufNewFile,BufRead *.m call s:FTm() func! s:FTm() let n = 1 while n < 10 let line = getline(n) if line =~ '^\s*\(#\s*\(include\|import\)\>\|/\*\|//\)' setf objc return endif if line =~ '^\s*%' setf matlab return endif if line =~ '^\s*(\*' setf mma return endif let n = n + 1 endwhile if exists("g:filetype_m") exe "setf " . g:filetype_m else setf matlab endif endfunc " Mathematica notebook au BufNewFile,BufRead *.nb setf mma " Maya Extension Language au BufNewFile,BufRead *.mel setf mel " Mercurial config (looks like generic config file) au BufNewFile,BufRead *.hgrc,*hgrc setf cfg " Messages (logs mostly) au BufNewFile,BufRead */log/{auth,cron,daemon,debug,kern,lpr,mail,messages,news/news,syslog,user}{,.log,.err,.info,.warn,.crit,.notice}{,.[0-9]*,-[0-9]*} setf messages " Metafont au BufNewFile,BufRead *.mf setf mf " MetaPost au BufNewFile,BufRead *.mp setf mp " MGL au BufNewFile,BufRead *.mgl setf mgl " MMIX or VMS makefile au BufNewFile,BufRead *.mms call s:FTmms() " Symbian meta-makefile definition (MMP) au BufNewFile,BufRead *.mmp setf mmp func! s:FTmms() let n = 1 while n < 10 let line = getline(n) if line =~ '^\s*\(%\|//\)' || line =~ '^\*' setf mmix return endif if line =~ '^\s*#' setf make return endif let n = n + 1 endwhile setf mmix endfunc " Modsim III (or LambdaProlog) au BufNewFile,BufRead *.mod \ if getline(1) =~ '\<module\>' | \ setf lprolog | \ else | \ setf modsim3 | \ endif " Modula 2 au BufNewFile,BufRead *.m2,*.DEF,*.MOD,*.md,*.mi setf modula2 " Modula 3 (.m3, .i3, .mg, .ig) au BufNewFile,BufRead *.[mi][3g] setf modula3 " Monk au BufNewFile,BufRead *.isc,*.monk,*.ssc,*.tsc setf monk " MOO au BufNewFile,BufRead *.moo setf moo " Modconf au BufNewFile,BufRead */etc/modules.conf,*/etc/modules,*/etc/conf.modules setf modconf " Mplayer config au BufNewFile,BufRead mplayer.conf,*/.mplayer/config setf mplayerconf " Moterola S record au BufNewFile,BufRead *.s19,*.s28,*.s37 setf srec " Mrxvtrc au BufNewFile,BufRead mrxvtrc,.mrxvtrc setf mrxvtrc " Msql au BufNewFile,BufRead *.msql setf msql " Mysql au BufNewFile,BufRead *.mysql setf mysql " Mutt setup files (must be before catch *.rc) au BufNewFile,BufRead */etc/Muttrc.d/* call s:StarSetf('muttrc') " M$ Resource files au BufNewFile,BufRead *.rc setf rc " MuPAD source au BufRead,BufNewFile *.mu setf mupad " Mush au BufNewFile,BufRead *.mush setf mush " Mutt setup file (also for Muttng) au BufNewFile,BufRead Mutt{ng,}rc setf muttrc " Nano au BufNewFile,BufRead */etc/nanorc,.nanorc setf nanorc " Nastran input/DMAP "au BufNewFile,BufRead *.dat setf nastran " Natural au BufNewFile,BufRead *.NS[ACGLMNPS] setf natural " Netrc au BufNewFile,BufRead .netrc setf netrc " Ninja file au BufNewFile,BufRead *.ninja setf ninja " Novell netware batch files au BufNewFile,BufRead *.ncf setf ncf " Nroff/Troff (*.ms and *.t are checked below) au BufNewFile,BufRead *.me \ if expand("<afile>") != "read.me" && expand("<afile>") != "click.me" | \ setf nroff | \ endif au BufNewFile,BufRead *.tr,*.nr,*.roff,*.tmac,*.mom setf nroff au BufNewFile,BufRead *.[1-9] call s:FTnroff() " This function checks if one of the first five lines start with a dot. In " that case it is probably an nroff file: 'filetype' is set and 1 is returned. func! s:FTnroff() if getline(1)[0] . getline(2)[0] . getline(3)[0] . getline(4)[0] . getline(5)[0] =~ '\.' setf nroff return 1 endif return 0 endfunc " Nroff or Objective C++ au BufNewFile,BufRead *.mm call s:FTmm() func! s:FTmm() let n = 1 while n < 10 let line = getline(n) if line =~ '^\s*\(#\s*\(include\|import\)\>\|/\*\)' setf objcpp return endif let n = n + 1 endwhile setf nroff endfunc " Not Quite C au BufNewFile,BufRead *.nqc setf nqc " NSIS au BufNewFile,BufRead *.nsi,*.nsh setf nsis " OCAML au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit setf ocaml " Occam au BufNewFile,BufRead *.occ setf occam " Omnimark au BufNewFile,BufRead *.xom,*.xin setf omnimark " OpenROAD au BufNewFile,BufRead *.or setf openroad " OPL au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl " Oracle config file au BufNewFile,BufRead *.ora setf ora " Packet filter conf au BufNewFile,BufRead pf.conf setf pf " Pam conf au BufNewFile,BufRead */etc/pam.conf setf pamconf " PApp au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp " Password file au BufNewFile,BufRead */etc/passwd,*/etc/passwd-,*/etc/passwd.edit,*/etc/shadow,*/etc/shadow-,*/etc/shadow.edit,*/var/backups/passwd.bak,*/var/backups/shadow.bak setf passwd " Pascal (also *.p) au BufNewFile,BufRead *.pas setf pascal " Delphi project file au BufNewFile,BufRead *.dpr setf pascal " PDF au BufNewFile,BufRead *.pdf setf pdf " Perl if has("fname_case") au BufNewFile,BufRead *.pl,*.PL call s:FTpl() else au BufNewFile,BufRead *.pl call s:FTpl() endif au BufNewFile,BufRead *.plx,*.al setf perl au BufNewFile,BufRead *.p6,*.pm6 setf perl6 func! s:FTpl() if exists("g:filetype_pl") exe "setf " . g:filetype_pl else " recognize Prolog by specific text in the first non-empty line " require a blank after the '%' because Perl uses "%list" and "%translate" let l = getline(nextnonblank(1)) if l =~ '\<prolog\>' || l =~ '^\s*\(%\+\(\s\|$\)\|/\*\)' || l =~ ':-' setf prolog else setf perl endif endif endfunc " Perl, XPM or XPM2 au BufNewFile,BufRead *.pm \ if getline(1) =~ "XPM2" | \ setf xpm2 | \ elseif getline(1) =~ "XPM" | \ setf xpm | \ else | \ setf perl | \ endif " Perl POD au BufNewFile,BufRead *.pod setf pod " Php, php3, php4, etc. " Also Phtml (was used for PHP 2 in the past) " Also .ctp for Cake template file au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp setf php " Pike au BufNewFile,BufRead *.pike,*.lpc,*.ulpc,*.pmod setf pike " Pinfo config au BufNewFile,BufRead */etc/pinforc,*/.pinforc setf pinfo " Palm Resource compiler au BufNewFile,BufRead *.rcp setf pilrc " Pine config au BufNewFile,BufRead .pinerc,pinerc,.pinercex,pinercex setf pine " PL/M (also: *.inp) au BufNewFile,BufRead *.plm,*.p36,*.pac setf plm " PL/SQL au BufNewFile,BufRead *.pls,*.plsql setf plsql " PLP au BufNewFile,BufRead *.plp setf plp " PO and PO template (GNU gettext) au BufNewFile,BufRead *.po,*.pot setf po " Postfix main config au BufNewFile,BufRead main.cf setf pfmain " PostScript (+ font files, encapsulated PostScript, Adobe Illustrator) au BufNewFile,BufRead *.ps,*.pfa,*.afm,*.eps,*.epsf,*.epsi,*.ai setf postscr " PostScript Printer Description au BufNewFile,BufRead *.ppd setf ppd " Povray au BufNewFile,BufRead *.pov setf pov " Povray configuration au BufNewFile,BufRead .povrayrc setf povini " Povray, PHP or assembly au BufNewFile,BufRead *.inc call s:FTinc() func! s:FTinc() if exists("g:filetype_inc") exe "setf " . g:filetype_inc else let lines = getline(1).getline(2).getline(3) if lines =~? "perlscript" setf aspperl elseif lines =~ "<%" setf aspvbs elseif lines =~ "<?" setf php else call s:FTasmsyntax() if exists("b:asmsyntax") exe "setf " . fnameescape(b:asmsyntax) else setf pov endif endif endif endfunc " Printcap and Termcap au BufNewFile,BufRead *printcap \ let b:ptcap_type = "print" | setf ptcap au BufNewFile,BufRead *termcap \ let b:ptcap_type = "term" | setf ptcap " PCCTS / ANTRL "au BufNewFile,BufRead *.g setf antrl au BufNewFile,BufRead *.g setf pccts " PPWizard au BufNewFile,BufRead *.it,*.ih setf ppwiz " Obj 3D file format " TODO: is there a way to avoid MS-Windows Object files? au BufNewFile,BufRead *.obj setf obj " Oracle Pro*C/C++ au BufNewFile,BufRead *.pc setf proc " Privoxy actions file au BufNewFile,BufRead *.action setf privoxy " Procmail au BufNewFile,BufRead .procmail,.procmailrc setf procmail " Progress or CWEB au BufNewFile,BufRead *.w call s:FTprogress_cweb() func! s:FTprogress_cweb() if exists("g:filetype_w") exe "setf " . g:filetype_w return endif if getline(1) =~ '&ANALYZE' || getline(3) =~ '&GLOBAL-DEFINE' setf progress else setf cweb endif endfunc " Progress or assembly au BufNewFile,BufRead *.i call s:FTprogress_asm() func! s:FTprogress_asm() if exists("g:filetype_i") exe "setf " . g:filetype_i return endif " This function checks for an assembly comment the first ten lines. " If not found, assume Progress. let lnum = 1 while lnum <= 10 && lnum < line('$') let line = getline(lnum) if line =~ '^\s*;' || line =~ '^\*' call s:FTasm() return elseif line !~ '^\s*$' || line =~ '^/\*' " Not an empty line: Doesn't look like valid assembly code. " Or it looks like a Progress /* comment break endif let lnum = lnum + 1 endw setf progress endfunc " Progress or Pascal au BufNewFile,BufRead *.p call s:FTprogress_pascal() func! s:FTprogress_pascal() if exists("g:filetype_p") exe "setf " . g:filetype_p return endif " This function checks for valid Pascal syntax in the first ten lines. " Look for either an opening comment or a program start. " If not found, assume Progress. let lnum = 1 while lnum <= 10 && lnum < line('$') let line = getline(lnum) if line =~ '^\s*\(program\|unit\|procedure\|function\|const\|type\|var\)\>' \ || line =~ '^\s*{' || line =~ '^\s*(\*' setf pascal return elseif line !~ '^\s*$' || line =~ '^/\*' " Not an empty line: Doesn't look like valid Pascal code. " Or it looks like a Progress /* comment break endif let lnum = lnum + 1 endw setf progress endfunc " Software Distributor Product Specification File (POSIX 1387.2-1995) au BufNewFile,BufRead *.psf setf psf au BufNewFile,BufRead INDEX,INFO \ if getline(1) =~ '^\s*\(distribution\|installed_software\|root\|bundle\|product\)\s*$' | \ setf psf | \ endif " Prolog au BufNewFile,BufRead *.pdb setf prolog " Promela au BufNewFile,BufRead *.pml setf promela " Protocols au BufNewFile,BufRead */etc/protocols setf protocols " Pyrex au BufNewFile,BufRead *.pyx,*.pxd setf pyrex " Python au BufNewFile,BufRead *.py,*.pyw setf python " Quixote (Python-based web framework) au BufNewFile,BufRead *.ptl setf python " Radiance au BufNewFile,BufRead *.rad,*.mat setf radiance " Ratpoison config/command files au BufNewFile,BufRead .ratpoisonrc,ratpoisonrc setf ratpoison " RCS file au BufNewFile,BufRead *\,v setf rcs " Readline au BufNewFile,BufRead .inputrc,inputrc setf readline " Registry for MS-Windows au BufNewFile,BufRead *.reg \ if getline(1) =~? '^REGEDIT[0-9]*\s*$\|^Windows Registry Editor Version \d*\.\d*\s*$' | setf registry | endif " Renderman Interface Bytestream au BufNewFile,BufRead *.rib setf rib " Rexx au BufNewFile,BufRead *.rexx,*.rex,*.jrexx,*.rxj,*.orx setf rexx " R (Splus) if has("fname_case") au BufNewFile,BufRead *.s,*.S setf r else au BufNewFile,BufRead *.s setf r endif " R Help file if has("fname_case") au BufNewFile,BufRead *.rd,*.Rd setf rhelp else au BufNewFile,BufRead *.rd setf rhelp endif " R noweb file if has("fname_case") au BufNewFile,BufRead *.Rnw,*.rnw,*.Snw,*.snw setf rnoweb else au BufNewFile,BufRead *.rnw,*.snw setf rnoweb endif " Rexx, Rebol or R au BufNewFile,BufRead *.r,*.R call s:FTr() func! s:FTr() let max = line("$") > 50 ? 50 : line("$") for n in range(1, max) " Rebol is easy to recognize, check for that first if getline(n) =~? '\<REBOL\>' setf rebol return endif endfor for n in range(1, max) " R has # comments if getline(n) =~ '^\s*#' setf r return endif " Rexx has /* comments */ if getline(n) =~ '^\s*/\*' setf rexx return endif endfor " Nothing recognized, use user default or assume Rexx if exists("g:filetype_r") exe "setf " . g:filetype_r else " Rexx used to be the default, but R appears to be much more popular. setf r endif endfunc " Remind au BufNewFile,BufRead .reminders,*.remind,*.rem setf remind " Resolv.conf au BufNewFile,BufRead resolv.conf setf resolv " Relax NG Compact au BufNewFile,BufRead *.rnc setf rnc " RPL/2 au BufNewFile,BufRead *.rpl setf rpl " Robots.txt au BufNewFile,BufRead robots.txt setf robots " Rpcgen au BufNewFile,BufRead *.x setf rpcgen " reStructuredText Documentation Format au BufNewFile,BufRead *.rst setf rst " RTF au BufNewFile,BufRead *.rtf setf rtf " Interactive Ruby shell au BufNewFile,BufRead .irbrc,irbrc setf ruby " Ruby au BufNewFile,BufRead *.rb,*.rbw setf ruby " RubyGems au BufNewFile,BufRead *.gemspec setf ruby " Rackup au BufNewFile,BufRead *.ru setf ruby " Bundler au BufNewFile,BufRead Gemfile setf ruby " Ruby on Rails au BufNewFile,BufRead *.builder,*.rxml,*.rjs setf ruby " Rantfile and Rakefile is like Ruby au BufNewFile,BufRead [rR]antfile,*.rant,[rR]akefile,*.rake setf ruby " S-lang (or shader language, or SmallLisp) au BufNewFile,BufRead *.sl setf slang " Samba config au BufNewFile,BufRead smb.conf setf samba " SAS script au BufNewFile,BufRead *.sas setf sas " Sass au BufNewFile,BufRead *.sass setf sass " Sather au BufNewFile,BufRead *.sa setf sather " Scilab au BufNewFile,BufRead *.sci,*.sce setf scilab " SCSS au BufNewFile,BufRead *.scss setf scss " SD: Streaming Descriptors au BufNewFile,BufRead *.sd setf sd " SDL au BufNewFile,BufRead *.sdl,*.pr setf sdl " sed au BufNewFile,BufRead *.sed setf sed " Sieve (RFC 3028) au BufNewFile,BufRead *.siv setf sieve " Sendmail au BufNewFile,BufRead sendmail.cf setf sm " Sendmail .mc files are actually m4. Could also be MS Message text file. au BufNewFile,BufRead *.mc call s:McSetf() func! s:McSetf() " Rely on the file to start with a comment. " MS message text files use ';', Sendmail files use '#' or 'dnl' for lnum in range(1, min([line("$"), 20])) let line = getline(lnum) if line =~ '^\s*\(#\|dnl\)' setf m4 " Sendmail .mc file return elseif line =~ '^\s*;' setf msmessages " MS Message text file return endif endfor setf m4 " Default: Sendmail .mc file endfunc " Services au BufNewFile,BufRead */etc/services setf services " Service Location config au BufNewFile,BufRead */etc/slp.conf setf slpconf " Service Location registration au BufNewFile,BufRead */etc/slp.reg setf slpreg " Service Location SPI au BufNewFile,BufRead */etc/slp.spi setf slpspi " Setserial config au BufNewFile,BufRead */etc/serial.conf setf setserial " SGML au BufNewFile,BufRead *.sgm,*.sgml \ if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'linuxdoc' | \ setf sgmllnx | \ elseif getline(1) =~ '<!DOCTYPE.*DocBook' || getline(2) =~ '<!DOCTYPE.*DocBook' | \ let b:docbk_type="sgml" | \ setf docbk | \ else | \ setf sgml | \ endif " SGMLDECL au BufNewFile,BufRead *.decl,*.dcl,*.dec \ if getline(1).getline(2).getline(3) =~? '^<!SGML' | \ setf sgmldecl | \ endif " SGML catalog file au BufNewFile,BufRead catalog setf catalog au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog') " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc. " Gentoo ebuilds are actually bash scripts au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash") au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh") au BufNewFile,BufRead */etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1)) " Also called from scripts.vim. func! SetFileTypeSH(name) if expand("<amatch>") =~ g:ft_ignore_pat return endif if a:name =~ '\<csh\>' " Some .sh scripts contain #!/bin/csh. call SetFileTypeShell("csh") return elseif a:name =~ '\<tcsh\>' " Some .sh scripts contain #!/bin/tcsh. call SetFileTypeShell("tcsh") return elseif a:name =~ '\<ksh\>' let b:is_kornshell = 1 if exists("b:is_bash") unlet b:is_bash endif if exists("b:is_sh") unlet b:is_sh endif elseif exists("g:bash_is_sh") || a:name =~ '\<bash\>' || a:name =~ '\<bash2\>' let b:is_bash = 1 if exists("b:is_kornshell") unlet b:is_kornshell endif if exists("b:is_sh") unlet b:is_sh endif elseif a:name =~ '\<sh\>' let b:is_sh = 1 if exists("b:is_kornshell") unlet b:is_kornshell endif if exists("b:is_bash") unlet b:is_bash endif endif call SetFileTypeShell("sh") endfunc " For shell-like file types, check for an "exec" command hidden in a comment, " as used for Tcl. " Also called from scripts.vim, thus can't be local to this script. func! SetFileTypeShell(name) if expand("<amatch>") =~ g:ft_ignore_pat return endif let l = 2 while l < 20 && l < line("$") && getline(l) =~ '^\s*\(#\|$\)' " Skip empty and comment lines. let l = l + 1 endwhile if l < line("$") && getline(l) =~ '\s*exec\s' && getline(l - 1) =~ '^\s*#.*\\$' " Found an "exec" line after a comment with continuation let n = substitute(getline(l),'\s*exec\s\+\([^ ]*/\)\=', '', '') if n =~ '\<tclsh\|\<wish' setf tcl return endif endif exe "setf " . a:name endfunc " tcsh scripts au BufNewFile,BufRead .tcshrc*,*.tcsh,tcsh.tcshrc,tcsh.login call SetFileTypeShell("tcsh") " csh scripts, but might also be tcsh scripts (on some systems csh is tcsh) au BufNewFile,BufRead .login*,.cshrc*,csh.cshrc,csh.login,csh.logout,*.csh,.alias call s:CSH() func! s:CSH() if exists("g:filetype_csh") call SetFileTypeShell(g:filetype_csh) elseif &shell =~ "tcsh" call SetFileTypeShell("tcsh") else call SetFileTypeShell("csh") endif endfunc " Z-Shell script au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh au BufNewFile,BufRead .zsh*,.zlog*,.zcompdump* call s:StarSetf('zsh') au BufNewFile,BufRead *.zsh setf zsh " Scheme au BufNewFile,BufRead *.scm,*.ss,*.rkt setf scheme " Screen RC au BufNewFile,BufRead .screenrc,screenrc setf screen " Simula au BufNewFile,BufRead *.sim setf simula " SINDA au BufNewFile,BufRead *.sin,*.s85 setf sinda " SiSU au BufNewFile,BufRead *.sst,*.ssm,*.ssi,*.-sst,*._sst setf sisu au BufNewFile,BufRead *.sst.meta,*.-sst.meta,*._sst.meta setf sisu " SKILL au BufNewFile,BufRead *.il,*.ils,*.cdf setf skill " SLRN au BufNewFile,BufRead .slrnrc setf slrnrc au BufNewFile,BufRead *.score setf slrnsc " Smalltalk (and TeX) au BufNewFile,BufRead *.st setf st au BufNewFile,BufRead *.cls \ if getline(1) =~ '^%' | \ setf tex | \ else | \ setf st | \ endif " Smarty templates au BufNewFile,BufRead *.tpl setf smarty " SMIL or XML au BufNewFile,BufRead *.smil \ if getline(1) =~ '<?\s*xml.*?>' | \ setf xml | \ else | \ setf smil | \ endif " SMIL or SNMP MIB file au BufNewFile,BufRead *.smi \ if getline(1) =~ '\<smil\>' | \ setf smil | \ else | \ setf mib | \ endif " SMITH au BufNewFile,BufRead *.smt,*.smith setf smith " Snobol4 and spitbol au BufNewFile,BufRead *.sno,*.spt setf snobol4 " SNMP MIB files au BufNewFile,BufRead *.mib,*.my setf mib " Snort Configuration au BufNewFile,BufRead *.hog,snort.conf,vision.conf setf hog au BufNewFile,BufRead *.rules call s:FTRules() let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*' func! s:FTRules() let path = expand('<amatch>:p') if path =~ '^/\(etc/udev/\%(rules\.d/\)\=.*\.rules\|lib/udev/\%(rules\.d/\)\=.*\.rules\)$' setf udevrules return endif if path =~ '^/etc/ufw/' setf conf " Better than hog return endif try let config_lines = readfile('/etc/udev/udev.conf') catch /^Vim\%((\a\+)\)\=:E484/ setf hog return endtry let dir = expand('<amatch>:p:h') for line in config_lines if line =~ s:ft_rules_udev_rules_pattern let udev_rules = substitute(line, s:ft_rules_udev_rules_pattern, '\1', "") if dir == udev_rules setf udevrules endif break endif endfor setf hog endfunc " Spec (Linux RPM) au BufNewFile,BufRead *.spec setf spec " Speedup (AspenTech plant simulator) au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup " Slice au BufNewFile,BufRead *.ice setf slice " Spice au BufNewFile,BufRead *.sp,*.spice setf spice " Spyce au BufNewFile,BufRead *.spy,*.spi setf spyce " Squid au BufNewFile,BufRead squid.conf setf squid " SQL for Oracle Designer au BufNewFile,BufRead *.tyb,*.typ,*.tyc,*.pkb,*.pks setf sql " SQL au BufNewFile,BufRead *.sql call s:SQL() func! s:SQL() if exists("g:filetype_sql") exe "setf " . g:filetype_sql else setf sql endif endfunc " SQLJ au BufNewFile,BufRead *.sqlj setf sqlj " SQR au BufNewFile,BufRead *.sqr,*.sqi setf sqr " OpenSSH configuration au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig " OpenSSH server configuration au BufNewFile,BufRead sshd_config setf sshdconfig " Stata au BufNewFile,BufRead *.ado,*.class,*.do,*.imata,*.mata setf stata " SMCL au BufNewFile,BufRead *.hlp,*.ihlp,*.smcl setf smcl " Stored Procedures au BufNewFile,BufRead *.stp setf stp " Standard ML au BufNewFile,BufRead *.sml setf sml " Sratus VOS command macro au BufNewFile,BufRead *.cm setf voscm " Sysctl au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl " Synopsys Design Constraints au BufNewFile,BufRead *.sdc setf sdc " Sudoers au BufNewFile,BufRead */etc/sudoers,sudoers.tmp setf sudoers " SVG (Scalable Vector Graphics) au BufNewFile,BufRead *.svg setf svg " If the file has an extension of 't' and is in a directory 't' then it is " almost certainly a Perl test file. " If the first line starts with '#' and contains 'perl' it's probably a Perl " file. " (Slow test) If a file contains a 'use' statement then it is almost certainly " a Perl file. func! s:FTperl() if expand("%:e") == 't' && expand("%:p:h:t") == 't' setf perl return 1 endif if getline(1)[0] == '#' && getline(1) =~ 'perl' setf perl return 1 endif if search('^use\s\s*\k', 'nc', 30) setf perl return 1 endif return 0 endfunc " Tads (or Nroff or Perl test file) au BufNewFile,BufRead *.t \ if !s:FTnroff() && !s:FTperl() | setf tads | endif " Tags au BufNewFile,BufRead tags setf tags " TAK au BufNewFile,BufRead *.tak setf tak " Task au BufRead,BufNewFile {pending,completed,undo}.data setf taskdata au BufRead,BufNewFile *.task setf taskedit " Tcl (JACL too) au BufNewFile,BufRead *.tcl,*.tk,*.itcl,*.itk,*.jacl setf tcl " TealInfo au BufNewFile,BufRead *.tli setf tli " Telix Salt au BufNewFile,BufRead *.slt setf tsalt " Terminfo au BufNewFile,BufRead *.ti setf terminfo " TeX au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex au BufNewFile,BufRead *.tex call s:FTtex() " Choose context, plaintex, or tex (LaTeX) based on these rules: " 1. Check the first line of the file for "%&<format>". " 2. Check the first 1000 non-comment lines for LaTeX or ConTeXt keywords. " 3. Default to "latex" or to g:tex_flavor, can be set in user's vimrc. func! s:FTtex() let firstline = getline(1) if firstline =~ '^%&\s*\a\+' let format = tolower(matchstr(firstline, '\a\+')) let format = substitute(format, 'pdf', '', '') if format == 'tex' let format = 'plain' endif else " Default value, may be changed later: let format = exists("g:tex_flavor") ? g:tex_flavor : 'plain' " Save position, go to the top of the file, find first non-comment line. let save_cursor = getpos('.') call cursor(1,1) let firstNC = search('^\s*[^[:space:]%]', 'c', 1000) if firstNC " Check the next thousand lines for a LaTeX or ConTeXt keyword. let lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>' let cpat = 'start\a\+\|setup\a\+\|usemodule\|enablemode\|enableregime\|setvariables\|useencoding\|usesymbols\|stelle\a\+\|verwende\a\+\|stel\a\+\|gebruik\a\+\|usa\a\+\|imposta\a\+\|regle\a\+\|utilisemodule\>' let kwline = search('^\s*\\\%(' . lpat . '\)\|^\s*\\\(' . cpat . '\)', \ 'cnp', firstNC + 1000) if kwline == 1 " lpat matched let format = 'latex' elseif kwline == 2 " cpat matched let format = 'context' endif " If neither matched, keep default set above. " let lline = search('^\s*\\\%(' . lpat . '\)', 'cn', firstNC + 1000) " let cline = search('^\s*\\\%(' . cpat . '\)', 'cn', firstNC + 1000) " if cline > 0 " let format = 'context' " endif " if lline > 0 && (cline == 0 || cline > lline) " let format = 'tex' " endif endif " firstNC call setpos('.', save_cursor) endif " firstline =~ '^%&\s*\a\+' " Translation from formats to file types. TODO: add AMSTeX, RevTex, others? if format == 'plain' setf plaintex elseif format == 'context' setf context else " probably LaTeX setf tex endif return endfunc " ConTeXt au BufNewFile,BufRead tex/context/*/*.tex,*.mkii,*.mkiv setf context " Texinfo au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo " TeX configuration au BufNewFile,BufRead texmf.cnf setf texmf " Tidy config au BufNewFile,BufRead .tidyrc,tidyrc setf tidy " TF mud client au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf " TPP - Text Presentation Program au BufNewFile,BufReadPost *.tpp setf tpp " Treetop au BufRead,BufNewFile *.treetop setf treetop " Trustees au BufNewFile,BufRead trustees.conf setf trustees " TSS - Geometry au BufNewFile,BufReadPost *.tssgm setf tssgm " TSS - Optics au BufNewFile,BufReadPost *.tssop setf tssop " TSS - Command Line (temporary) au BufNewFile,BufReadPost *.tsscl setf tsscl " TWIG files au BufNewFile,BufReadPost *.twig setf twig " Motif UIT/UIL files au BufNewFile,BufRead *.uit,*.uil setf uil " Udev conf au BufNewFile,BufRead */etc/udev/udev.conf setf udevconf " Udev permissions au BufNewFile,BufRead */etc/udev/permissions.d/*.permissions setf udevperm " " Udev symlinks config au BufNewFile,BufRead */etc/udev/cdsymlinks.conf setf sh " UnrealScript au BufNewFile,BufRead *.uc setf uc " Updatedb au BufNewFile,BufRead */etc/updatedb.conf setf updatedb " Upstart (init(8)) config files au BufNewFile,BufRead */etc/init/*.conf,*/.init/*.conf setf upstart au BufNewFile,BufRead */etc/init/*.override,*/.init/*.override setf upstart " Vera au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera " Verilog HDL au BufNewFile,BufRead *.v setf verilog " Verilog-AMS HDL au BufNewFile,BufRead *.va,*.vams setf verilogams " VHDL au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl') " Vim script au BufNewFile,BufRead *.vim,*.vba,.exrc,_exrc setf vim " Viminfo file au BufNewFile,BufRead .viminfo,_viminfo setf viminfo " Virata Config Script File or Drupal module au BufRead,BufNewFile *.hw,*.module,*.pkg \ if getline(1) =~ '<?php' | \ setf php | \ else | \ setf virata | \ endif " Visual Basic (also uses *.bas) or FORM au BufNewFile,BufRead *.frm call s:FTVB("form") " SaxBasic is close to Visual Basic au BufNewFile,BufRead *.sba setf vb " Vgrindefs file au BufNewFile,BufRead vgrindefs setf vgrindefs " VRML V1.0c au BufNewFile,BufRead *.wrl setf vrml " Webmacro au BufNewFile,BufRead *.wm setf webmacro " Wget config au BufNewFile,BufRead .wgetrc,wgetrc setf wget " Website MetaLanguage au BufNewFile,BufRead *.wml setf wml " Winbatch au BufNewFile,BufRead *.wbt setf winbatch " WSML au BufNewFile,BufRead *.wsml setf wsml " WvDial au BufNewFile,BufRead wvdial.conf,.wvdialrc setf wvdial " CVS RC file au BufNewFile,BufRead .cvsrc setf cvsrc " CVS commit file au BufNewFile,BufRead cvs\d\+ setf cvs " WEB (*.web is also used for Winbatch: Guess, based on expecting "%" comment " lines in a WEB file). au BufNewFile,BufRead *.web \ if getline(1)[0].getline(2)[0].getline(3)[0].getline(4)[0].getline(5)[0] =~ "%" | \ setf web | \ else | \ setf winbatch | \ endif " Windows Scripting Host and Windows Script Component au BufNewFile,BufRead *.ws[fc] setf wsh " XHTML au BufNewFile,BufRead *.xhtml,*.xht setf xhtml " X Pixmap (dynamically sets colors, use BufEnter to make it work better) au BufEnter *.xpm \ if getline(1) =~ "XPM2" | \ setf xpm2 | \ else | \ setf xpm | \ endif au BufEnter *.xpm2 setf xpm2 " XFree86 config au BufNewFile,BufRead XF86Config \ if getline(1) =~ '\<XConfigurator\>' | \ let b:xf86conf_xfree86_version = 3 | \ endif | \ setf xf86conf au BufNewFile,BufRead */xorg.conf.d/*.conf \ let b:xf86conf_xfree86_version = 4 | \ setf xf86conf " Xorg config au BufNewFile,BufRead xorg.conf,xorg.conf-4 let b:xf86conf_xfree86_version = 4 | setf xf86conf " Xinetd conf au BufNewFile,BufRead */etc/xinetd.conf setf xinetd " XS Perl extension interface language au BufNewFile,BufRead *.xs setf xs " X resources file au BufNewFile,BufRead .Xdefaults,.Xpdefaults,.Xresources,xdm-config,*.ad setf xdefaults " Xmath au BufNewFile,BufRead *.msc,*.msf setf xmath au BufNewFile,BufRead *.ms \ if !s:FTnroff() | setf xmath | endif " XML specific variants: docbk and xbl au BufNewFile,BufRead *.xml call s:FTxml() func! s:FTxml() let n = 1 while n < 100 && n < line("$") let line = getline(n) if line =~ '<!DOCTYPE.*DocBook' let b:docbk_type = "xml" setf docbk return endif if line =~ 'xmlns:xbl="http://www.mozilla.org/xbl"' setf xbl return endif let n += 1 endwhile setf xml endfunc " XMI (holding UML models) is also XML au BufNewFile,BufRead *.xmi setf xml " CSPROJ files are Visual Studio.NET's XML-based project config files au BufNewFile,BufRead *.csproj,*.csproj.user setf xml " Qt Linguist translation source and Qt User Interface Files are XML au BufNewFile,BufRead *.ts,*.ui setf xml " TPM's are RDF-based descriptions of TeX packages (Nikolai Weibull) au BufNewFile,BufRead *.tpm setf xml " Xdg menus au BufNewFile,BufRead */etc/xdg/menus/*.menu setf xml " ATI graphics driver configuration au BufNewFile,BufRead fglrxrc setf xml " XLIFF (XML Localisation Interchange File Format) is also XML au BufNewFile,BufRead *.xlf setf xml au BufNewFile,BufRead *.xliff setf xml " XML User Interface Language au BufNewFile,BufRead *.xul setf xml " X11 xmodmap (also see below) au BufNewFile,BufRead *Xmodmap setf xmodmap " Xquery au BufNewFile,BufRead *.xq,*.xql,*.xqm,*.xquery,*.xqy setf xquery " XSD au BufNewFile,BufRead *.xsd setf xsd " Xslt au BufNewFile,BufRead *.xsl,*.xslt setf xslt " Yacc au BufNewFile,BufRead *.yy setf yacc " Yacc or racc au BufNewFile,BufRead *.y call s:FTy() func! s:FTy() let n = 1 while n < 100 && n < line("$") let line = getline(n) if line =~ '^\s*%' setf yacc return endif if getline(n) =~ '^\s*\(#\|class\>\)' && getline(n) !~ '^\s*#\s*include' setf racc return endif let n = n + 1 endwhile setf yacc endfunc " Yaml au BufNewFile,BufRead *.yaml,*.yml setf yaml " yum conf (close enough to dosini) au BufNewFile,BufRead */etc/yum.conf setf dosini " Zimbu au BufNewFile,BufRead *.zu setf zimbu " Zope " dtml (zope dynamic template markup language), pt (zope page template), " cpt (zope form controller page template) au BufNewFile,BufRead *.dtml,*.pt,*.cpt call s:FThtml() " zsql (zope sql method) au BufNewFile,BufRead *.zsql call s:SQL() " Z80 assembler asz80 au BufNewFile,BufRead *.z8a setf z8a augroup END " Source the user-specified filetype file, for backwards compatibility with " Vim 5.x. if exists("myfiletypefile") && filereadable(expand(myfiletypefile)) execute "source " . myfiletypefile endif " Check for "*" after loading myfiletypefile, so that scripts.vim is only used " when there are no matching file name extensions. " Don't do this for compressed files. augroup filetypedetect au BufNewFile,BufRead * \ if !did_filetype() && expand("<amatch>") !~ g:ft_ignore_pat \ | runtime! scripts.vim | endif au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif " Extra checks for when no filetype has been detected now. Mostly used for " patterns that end in "*". E.g., "zsh*" matches "zsh.vim", but that's a Vim " script file. " Most of these should call s:StarSetf() to avoid names ending in .gz and the " like are used. " More Apache config files au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf* call s:StarSetf('apache') au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.d/*.conf* call s:StarSetf('apache') " Asterisk config file au BufNewFile,BufRead *asterisk/*.conf* call s:StarSetf('asterisk') au BufNewFile,BufRead *asterisk*/*voicemail.conf* call s:StarSetf('asteriskvm') " Bazaar version control au BufNewFile,BufRead bzr_log.* setf bzr " BIND zone au BufNewFile,BufRead */named/db.*,*/bind/db.* call s:StarSetf('bindzone') " Calendar au BufNewFile,BufRead */.calendar/*, \*/share/calendar/*/calendar.*,*/share/calendar/calendar.* \ call s:StarSetf('calendar') " Changelog au BufNewFile,BufRead [cC]hange[lL]og* \ if getline(1) =~ '; urgency=' \| call s:StarSetf('debchangelog') \|else \| call s:StarSetf('changelog') \|endif " Crontab au BufNewFile,BufRead crontab,crontab.*,*/etc/cron.d/* call s:StarSetf('crontab') " dnsmasq(8) configuration au BufNewFile,BufRead */etc/dnsmasq.d/* call s:StarSetf('dnsmasq') " Dracula au BufNewFile,BufRead drac.* call s:StarSetf('dracula') " Fvwm au BufNewFile,BufRead */.fvwm/* call s:StarSetf('fvwm') au BufNewFile,BufRead *fvwmrc*,*fvwm95*.hook \ let b:fvwm_version = 1 | call s:StarSetf('fvwm') au BufNewFile,BufRead *fvwm2rc* \ if expand("<afile>:e") == "m4" \| call s:StarSetf('fvwm2m4') \|else \| let b:fvwm_version = 2 | call s:StarSetf('fvwm') \|endif " Gedcom au BufNewFile,BufRead */tmp/lltmp* call s:StarSetf('gedcom') " GTK RC au BufNewFile,BufRead .gtkrc*,gtkrc* call s:StarSetf('gtkrc') " Jam au BufNewFile,BufRead Prl*.*,JAM*.* call s:StarSetf('jam') " Jargon au! BufNewFile,BufRead *jarg* \ if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'THIS IS THE JARGON FILE' \| call s:StarSetf('jargon') \|endif " Kconfig au BufNewFile,BufRead Kconfig.* call s:StarSetf('kconfig') " Lilo: Linux loader au BufNewFile,BufRead lilo.conf* call s:StarSetf('lilo') " Logcheck au BufNewFile,BufRead */etc/logcheck/*.d*/* call s:StarSetf('logcheck') " Makefile au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make') " Ruby Makefile au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby') " Mail (also matches muttrc.vim, so this is below the other checks) au BufNewFile,BufRead mutt[[:alnum:]._-]\{6\} setf mail " Modconf au BufNewFile,BufRead */etc/modutils/* \ if executable(expand("<afile>")) != 1 \| call s:StarSetf('modconf') \|endif au BufNewFile,BufRead */etc/modprobe.* call s:StarSetf('modconf') " Mutt setup file au BufNewFile,BufRead .mutt{ng,}rc*,*/.mutt{ng,}/mutt{ng,}rc* call s:StarSetf('muttrc') au BufNewFile,BufRead mutt{ng,}rc*,Mutt{ng,}rc* call s:StarSetf('muttrc') " Nroff macros au BufNewFile,BufRead tmac.* call s:StarSetf('nroff') " Pam conf au BufNewFile,BufRead */etc/pam.d/* call s:StarSetf('pamconf') " Printcap and Termcap au BufNewFile,BufRead *printcap* \ if !did_filetype() \| let b:ptcap_type = "print" | call s:StarSetf('ptcap') \|endif au BufNewFile,BufRead *termcap* \ if !did_filetype() \| let b:ptcap_type = "term" | call s:StarSetf('ptcap') \|endif " Remind au BufNewFile,BufRead .reminders* call s:StarSetf('remind') " Vim script au BufNewFile,BufRead *vimrc* call s:StarSetf('vim') " Subversion commit file au BufNewFile,BufRead svn-commit*.tmp setf svn " X resources file au BufNewFile,BufRead Xresources*,*/app-defaults/*,*/Xresources/* call s:StarSetf('xdefaults') " XFree86 config au BufNewFile,BufRead XF86Config-4* \ let b:xf86conf_xfree86_version = 4 | call s:StarSetf('xf86conf') au BufNewFile,BufRead XF86Config* \ if getline(1) =~ '\<XConfigurator\>' \| let b:xf86conf_xfree86_version = 3 \|endif \|call s:StarSetf('xf86conf') " X11 xmodmap au BufNewFile,BufRead *xmodmap* call s:StarSetf('xmodmap') " Xinetd conf au BufNewFile,BufRead */etc/xinetd.d/* call s:StarSetf('xinetd') " yum conf (close enough to dosini) au BufNewFile,BufRead */etc/yum.repos.d/* call s:StarSetf('dosini') " Z-Shell script au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh') " Plain text files, needs to be far down to not override others. This avoids " the "conf" type being used if there is a line starting with '#'. au BufNewFile,BufRead *.txt,*.text setf text " Use the filetype detect plugins. They may overrule any of the previously " detected filetypes. runtime! ftdetect/*.vim " NOTE: The above command could have ended the filetypedetect autocmd group " and started another one. Let's make sure it has ended to get to a consistent " state. augroup END " Generic configuration file (check this last, it's just guessing!) au filetypedetect BufNewFile,BufRead,StdinReadPost * \ if !did_filetype() && expand("<amatch>") !~ g:ft_ignore_pat \ && (getline(1) =~ '^#' || getline(2) =~ '^#' || getline(3) =~ '^#' \ || getline(4) =~ '^#' || getline(5) =~ '^#') | \ setf conf | \ endif " If the GUI is already running, may still need to install the Syntax menu. " Don't do it when the 'M' flag is included in 'guioptions'. if has("menu") && has("gui_running") \ && !exists("did_install_syntax_menu") && &guioptions !~# "M" source <sfile>:p:h/menu.vim endif " Function called for testing all functions defined here. These are " script-local, thus need to be executed here. " Returns a string with error messages (hopefully empty). func! TestFiletypeFuncs(testlist) let output = '' for f in a:testlist try exe f catch let output = output . "\n" . f . ": " . v:exception endtry endfor return output endfunc " Restore 'cpoptions' let &cpo = s:cpo_save unlet s:cpo_save
zyz2011-vim
runtime/filetype.vim
Vim Script
gpl2
65,755
" Script to define the syntax menu in synmenu.vim " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2010 Aug 04 " This is used by "make menu" in the src directory. edit <sfile>:p:h/synmenu.vim /The Start Of The Syntax Menu/+1,/The End Of The Syntax Menu/-1d let s:lnum = line(".") - 1 call append(s:lnum, "") let s:lnum = s:lnum + 1 " Use the SynMenu command and function to define all menu entries command! -nargs=* SynMenu call <SID>Syn(<q-args>) let s:cur_menu_name = "" let s:cur_menu_nr = 0 let s:cur_menu_item = 0 let s:cur_menu_char = "" fun! <SID>Syn(arg) " isolate menu name: until the first dot let i = match(a:arg, '\.') let menu_name = strpart(a:arg, 0, i) let r = strpart(a:arg, i + 1, 999) " isolate submenu name: until the colon let i = match(r, ":") let submenu_name = strpart(r, 0, i) " after the colon is the syntax name let syntax_name = strpart(r, i + 1, 999) if s:cur_menu_name != menu_name let s:cur_menu_name = menu_name let s:cur_menu_nr = s:cur_menu_nr + 10 let s:cur_menu_item = 100 let s:cur_menu_char = submenu_name[0] else " When starting a new letter, insert a menu separator. let c = submenu_name[0] if c != s:cur_menu_char exe 'an 50.' . s:cur_menu_nr . '.' . s:cur_menu_item . ' &Syntax.' . menu_name . ".-" . c . '- <nul>' let s:cur_menu_item = s:cur_menu_item + 10 let s:cur_menu_char = c endif endif call append(s:lnum, 'an 50.' . s:cur_menu_nr . '.' . s:cur_menu_item . ' &Syntax.' . menu_name . "." . submenu_name . ' :cal SetSyn("' . syntax_name . '")<CR>') let s:cur_menu_item = s:cur_menu_item + 10 let s:lnum = s:lnum + 1 endfun SynMenu AB.A2ps\ config:a2ps SynMenu AB.Aap:aap SynMenu AB.ABAP/4:abap SynMenu AB.Abaqus:abaqus SynMenu AB.ABC\ music\ notation:abc SynMenu AB.ABEL:abel SynMenu AB.AceDB\ model:acedb SynMenu AB.Ada:ada SynMenu AB.AfLex:aflex SynMenu AB.ALSA\ config:alsaconf SynMenu AB.Altera\ AHDL:ahdl SynMenu AB.Amiga\ DOS:amiga SynMenu AB.AMPL:ampl SynMenu AB.Ant\ build\ file:ant SynMenu AB.ANTLR:antlr SynMenu AB.Apache\ config:apache SynMenu AB.Apache-style\ config:apachestyle SynMenu AB.Applix\ ELF:elf SynMenu AB.Arc\ Macro\ Language:aml SynMenu AB.Arch\ inventory:arch SynMenu AB.ART:art SynMenu AB.ASP\ with\ VBScript:aspvbs SynMenu AB.ASP\ with\ Perl:aspperl SynMenu AB.Assembly.680x0:asm68k SynMenu AB.Assembly.Flat:fasm SynMenu AB.Assembly.GNU:asm SynMenu AB.Assembly.GNU\ H-8300:asmh8300 SynMenu AB.Assembly.Intel\ IA-64:ia64 SynMenu AB.Assembly.Microsoft:masm SynMenu AB.Assembly.Netwide:nasm SynMenu AB.Assembly.PIC:pic SynMenu AB.Assembly.Turbo:tasm SynMenu AB.Assembly.VAX\ Macro\ Assembly:vmasm SynMenu AB.Assembly.Z-80:z8a SynMenu AB.Assembly.xa\ 6502\ cross\ assember:a65 SynMenu AB.ASN\.1:asn SynMenu AB.Asterisk\ config:asterisk SynMenu AB.Asterisk\ voicemail\ config:asteriskvm SynMenu AB.Atlas:atlas SynMenu AB.AutoHotKey:autohotkey SynMenu AB.AutoIt:autoit SynMenu AB.Automake:automake SynMenu AB.Avenue:ave SynMenu AB.Awk:awk SynMenu AB.AYacc:ayacc SynMenu AB.B:b SynMenu AB.Baan:baan SynMenu AB.Basic.FreeBasic:freebasic SynMenu AB.Basic.IBasic:ibasic SynMenu AB.Basic.QBasic:basic SynMenu AB.Basic.Visual\ Basic:vb SynMenu AB.Bazaar\ commit\ file:bzr SynMenu AB.BC\ calculator:bc SynMenu AB.BDF\ font:bdf SynMenu AB.BibTeX.Bibliography\ database:bib SynMenu AB.BibTeX.Bibliography\ Style:bst SynMenu AB.BIND.BIND\ config:named SynMenu AB.BIND.BIND\ zone:bindzone SynMenu AB.Blank:blank SynMenu C.C:c SynMenu C.C++:cpp SynMenu C.C#:cs SynMenu C.Cabal\ Haskell\ build\ file:cabal SynMenu C.Calendar:calendar SynMenu C.Cascading\ Style\ Sheets:css SynMenu C.CDL:cdl SynMenu C.Cdrdao\ TOC:cdrtoc SynMenu C.Cdrdao\ config:cdrdaoconf SynMenu C.Century\ Term:cterm SynMenu C.CH\ script:ch SynMenu C.ChaiScript:chaiscript SynMenu C.ChangeLog:changelog SynMenu C.Cheetah\ template:cheetah SynMenu C.CHILL:chill SynMenu C.ChordPro:chordpro SynMenu C.Clean:clean SynMenu C.Clever:cl SynMenu C.Clipper:clipper SynMenu C.Cmake:cmake SynMenu C.Cmusrc:cmusrc SynMenu C.Cobol:cobol SynMenu C.Coco/R:coco SynMenu C.Cold\ Fusion:cf SynMenu C.Conary\ Recipe:conaryrecipe SynMenu C.Config.Cfg\ Config\ file:cfg SynMenu C.Config.Configure\.in:config SynMenu C.Config.Generic\ Config\ file:conf SynMenu C.CRM114:crm SynMenu C.Crontab:crontab SynMenu C.CSP:csp SynMenu C.Ctrl-H:ctrlh SynMenu C.Cucumber:cucumber SynMenu C.CUDA:cuda SynMenu C.CUPL.CUPL:cupl SynMenu C.CUPL.Simulation:cuplsim SynMenu C.CVS.commit\ file:cvs SynMenu C.CVS.cvsrc:cvsrc SynMenu C.Cyn++:cynpp SynMenu C.Cynlib:cynlib SynMenu DE.D:d SynMenu DE.Datascript:datascript SynMenu DE.Debian.Debian\ ChangeLog:debchangelog SynMenu DE.Debian.Debian\ Control:debcontrol SynMenu DE.Debian.Debian\ Sources\.list:debsources SynMenu DE.Denyhosts:denyhosts SynMenu DE.Desktop:desktop SynMenu DE.Dict\ config:dictconf SynMenu DE.Dictd\ config:dictdconf SynMenu DE.Diff:diff SynMenu DE.Digital\ Command\ Lang:dcl SynMenu DE.Dircolors:dircolors SynMenu DE.Django\ template:django SynMenu DE.DNS/BIND\ zone:bindzone SynMenu DE.DocBook.auto-detect:docbk SynMenu DE.DocBook.SGML:docbksgml SynMenu DE.DocBook.XML:docbkxml SynMenu DE.Dot:dot SynMenu DE.Doxygen.C\ with\ doxygen:c.doxygen SynMenu DE.Doxygen.C++\ with\ doxygen:cpp.doxygen SynMenu DE.Doxygen.IDL\ with\ doxygen:idl.doxygen SynMenu DE.Doxygen.Java\ with\ doxygen:java.doxygen SynMenu DE.Dracula:dracula SynMenu DE.DSSSL:dsl SynMenu DE.DTD:dtd SynMenu DE.DTML\ (Zope):dtml SynMenu DE.DTrace:dtrace SynMenu DE.Dylan.Dylan:dylan SynMenu DE.Dylan.Dylan\ interface:dylanintr SynMenu DE.Dylan.Dylan\ lid:dylanlid SynMenu DE.EDIF:edif SynMenu DE.Eiffel:eiffel SynMenu DE.Elinks\ config:elinks SynMenu DE.Elm\ filter\ rules:elmfilt SynMenu DE.Embedix\ Component\ Description:ecd SynMenu DE.ERicsson\ LANGuage:erlang SynMenu DE.ESMTP\ rc:esmtprc SynMenu DE.ESQL-C:esqlc SynMenu DE.Essbase\ script:csc SynMenu DE.Esterel:esterel SynMenu DE.Eterm\ config:eterm SynMenu DE.Eviews:eviews SynMenu DE.Exim\ conf:exim SynMenu DE.Expect:expect SynMenu DE.Exports:exports SynMenu FG.Fantom:fan SynMenu FG.Fetchmail:fetchmail SynMenu FG.FlexWiki:flexwiki SynMenu FG.Focus\ Executable:focexec SynMenu FG.Focus\ Master:master SynMenu FG.FORM:form SynMenu FG.Forth:forth SynMenu FG.Fortran:fortran SynMenu FG.FoxPro:foxpro SynMenu FG.FrameScript:framescript SynMenu FG.Fstab:fstab SynMenu FG.Fvwm.Fvwm\ configuration:fvwm1 SynMenu FG.Fvwm.Fvwm2\ configuration:fvwm2 SynMenu FG.Fvwm.Fvwm2\ configuration\ with\ M4:fvwm2m4 SynMenu FG.GDB\ command\ file:gdb SynMenu FG.GDMO:gdmo SynMenu FG.Gedcom:gedcom SynMenu FG.Git.Output:git SynMenu FG.Git.Commit:gitcommit SynMenu FG.Git.Config:gitconfig SynMenu FG.Git.Rebase:gitrebase SynMenu FG.Git.Send\ Email:gitsendemail SynMenu FG.Gkrellmrc:gkrellmrc SynMenu FG.GP:gp SynMenu FG.GPG:gpg SynMenu FG.Group\ file:group SynMenu FG.Grub:grub SynMenu FG.GNU\ Server\ Pages:gsp SynMenu FG.GNUplot:gnuplot SynMenu FG.GrADS\ scripts:grads SynMenu FG.Gretl:gretl SynMenu FG.Groff:groff SynMenu FG.Groovy:groovy SynMenu FG.GTKrc:gtkrc SynMenu HIJK.Haml:haml SynMenu HIJK.Hamster:hamster SynMenu HIJK.Haskell.Haskell:haskell SynMenu HIJK.Haskell.Haskell-c2hs:chaskell SynMenu HIJK.Haskell.Haskell-literate:lhaskell SynMenu HIJK.HASTE:haste SynMenu HIJK.HASTE\ preproc:hastepreproc SynMenu HIJK.Hercules:hercules SynMenu HIJK.Hex\ dump.XXD:xxd SynMenu HIJK.Hex\ dump.Intel\ MCS51:hex SynMenu HIJK.HTML.HTML:html SynMenu HIJK.HTML.HTML\ with\ M4:htmlm4 SynMenu HIJK.HTML.HTML\ with\ Ruby\ (eRuby):eruby SynMenu HIJK.HTML.Cheetah\ HTML\ template:htmlcheetah SynMenu HIJK.HTML.Django\ HTML\ template:htmldjango SynMenu HIJK.HTML.HTML/OS:htmlos SynMenu HIJK.HTML.XHTML:xhtml SynMenu HIJK.Host\.conf:hostconf SynMenu HIJK.Hyper\ Builder:hb SynMenu HIJK.Icewm\ menu:icemenu SynMenu HIJK.Icon:icon SynMenu HIJK.IDL\Generic\ IDL:idl SynMenu HIJK.IDL\Microsoft\ IDL:msidl SynMenu HIJK.Indent\ profile:indent SynMenu HIJK.Inform:inform SynMenu HIJK.Informix\ 4GL:fgl SynMenu HIJK.Initng:initng SynMenu HIJK.Inittab:inittab SynMenu HIJK.Inno\ setup:iss SynMenu HIJK.InstallShield\ script:ishd SynMenu HIJK.Interactive\ Data\ Lang:idlang SynMenu HIJK.IPfilter:ipfilter SynMenu HIJK.JAL:jal SynMenu HIJK.JAM:jam SynMenu HIJK.Jargon:jargon SynMenu HIJK.Java.Java:java SynMenu HIJK.Java.JavaCC:javacc SynMenu HIJK.Java.Java\ Server\ Pages:jsp SynMenu HIJK.Java.Java\ Properties:jproperties SynMenu HIJK.JavaScript:javascript SynMenu HIJK.Jess:jess SynMenu HIJK.Jgraph:jgraph SynMenu HIJK.Kconfig:kconfig SynMenu HIJK.KDE\ script:kscript SynMenu HIJK.Kimwitu++:kwt SynMenu HIJK.KixTart:kix SynMenu L.Lace:lace SynMenu L.LamdaProlog:lprolog SynMenu L.Latte:latte SynMenu L.Ld\ script:ld SynMenu L.LDAP.LDIF:ldif SynMenu L.LDAP.Configuration:ldapconf SynMenu L.Lex:lex SynMenu L.LFTP\ config:lftp SynMenu L.Libao:libao SynMenu L.LifeLines\ script:lifelines SynMenu L.Lilo:lilo SynMenu L.Limits\ config:limits SynMenu L.Linden\ scripting:lsl SynMenu L.Liquid:liquid SynMenu L.Lisp:lisp SynMenu L.Lite:lite SynMenu L.LiteStep\ RC:litestep SynMenu L.Locale\ Input:fdcc SynMenu L.Login\.access:loginaccess SynMenu L.Login\.defs:logindefs SynMenu L.Logtalk:logtalk SynMenu L.LOTOS:lotos SynMenu L.LotusScript:lscript SynMenu L.Lout:lout SynMenu L.LPC:lpc SynMenu L.Lua:lua SynMenu L.Lynx\ Style:lss SynMenu L.Lynx\ config:lynx SynMenu M.M4:m4 SynMenu M.MaGic\ Point:mgp SynMenu M.Mail:mail SynMenu M.Mail\ aliases:mailaliases SynMenu M.Mailcap:mailcap SynMenu M.Makefile:make SynMenu M.MakeIndex:ist SynMenu M.Man\ page:man SynMenu M.Man\.conf:manconf SynMenu M.Maple\ V:maple SynMenu M.Markdown:markdown SynMenu M.Mason:mason SynMenu M.Mathematica:mma SynMenu M.Matlab:matlab SynMenu M.Maxima:maxima SynMenu M.MEL\ (for\ Maya):mel SynMenu M.Messages\ (/var/log):messages SynMenu M.Metafont:mf SynMenu M.MetaPost:mp SynMenu M.MGL:mgl SynMenu M.MMIX:mmix SynMenu M.Modconf:modconf SynMenu M.Model:model SynMenu M.Modsim\ III:modsim3 SynMenu M.Modula\ 2:modula2 SynMenu M.Modula\ 3:modula3 SynMenu M.Monk:monk SynMenu M.Mplayer\ config:mplayerconf SynMenu M.MOO:moo SynMenu M.Mrxvtrc:mrxvtrc SynMenu M.MS-DOS/Windows.4DOS\ \.bat\ file:btm SynMenu M.MS-DOS/Windows.\.bat\/\.cmd\ file:dosbatch SynMenu M.MS-DOS/Windows.\.ini\ file:dosini SynMenu M.MS-DOS/Windows.Message\ text:msmessages SynMenu M.MS-DOS/Windows.Module\ Definition:def SynMenu M.MS-DOS/Windows.Registry:registry SynMenu M.MS-DOS/Windows.Resource\ file:rc SynMenu M.Msql:msql SynMenu M.MuPAD:mupad SynMenu M.MUSHcode:mush SynMenu M.Muttrc:muttrc SynMenu NO.Nanorc:nanorc SynMenu NO.Nastran\ input/DMAP:nastran SynMenu NO.Natural:natural SynMenu NO.Netrc:netrc SynMenu NO.Novell\ NCF\ batch:ncf SynMenu NO.Not\ Quite\ C\ (LEGO):nqc SynMenu NO.Nroff:nroff SynMenu NO.NSIS\ script:nsis SynMenu NO.Obj\ 3D\ wavefront:obj SynMenu NO.Objective\ C:objc SynMenu NO.Objective\ C++:objcpp SynMenu NO.OCAML:ocaml SynMenu NO.Occam:occam SynMenu NO.Omnimark:omnimark SynMenu NO.OpenROAD:openroad SynMenu NO.Open\ Psion\ Lang:opl SynMenu NO.Oracle\ config:ora SynMenu PQ.Packet\ filter\ conf:pf SynMenu PQ.Palm\ resource\ compiler:pilrc SynMenu PQ.Pam\ config:pamconf SynMenu PQ.PApp:papp SynMenu PQ.Pascal:pascal SynMenu PQ.Password\ file:passwd SynMenu PQ.PCCTS:pccts SynMenu PQ.PDF:pdf SynMenu PQ.Perl.Perl:perl SynMenu PQ.Perl.Perl\ 6:perl6 SynMenu PQ.Perl.Perl\ POD:pod SynMenu PQ.Perl.Perl\ XS:xs SynMenu PQ.PHP.PHP\ 3-4:php SynMenu PQ.PHP.Phtml\ (PHP\ 2):phtml SynMenu PQ.Pike:pike SynMenu PQ.Pine\ RC:pine SynMenu PQ.Pinfo\ RC:pinfo SynMenu PQ.PL/M:plm SynMenu PQ.PL/SQL:plsql SynMenu PQ.PLP:plp SynMenu PQ.PO\ (GNU\ gettext):po SynMenu PQ.Postfix\ main\ config:pfmain SynMenu PQ.PostScript.PostScript:postscr SynMenu PQ.PostScript.PostScript\ Printer\ Description:ppd SynMenu PQ.Povray.Povray\ scene\ descr:pov SynMenu PQ.Povray.Povray\ configuration:povini SynMenu PQ.PPWizard:ppwiz SynMenu PQ.Prescribe\ (Kyocera):prescribe SynMenu PQ.Printcap:pcap SynMenu PQ.Privoxy:privoxy SynMenu PQ.Procmail:procmail SynMenu PQ.Product\ Spec\ File:psf SynMenu PQ.Progress:progress SynMenu PQ.Prolog:prolog SynMenu PQ.ProMeLa:promela SynMenu PQ.Protocols:protocols SynMenu PQ.Purify\ log:purifylog SynMenu PQ.Pyrex:pyrex SynMenu PQ.Python:python SynMenu PQ.Quake:quake SynMenu PQ.Quickfix\ window:qf SynMenu R.R.R:r SynMenu R.R.R\ help:rhelp SynMenu R.R.R\ noweb:rnoweb SynMenu R.Racc\ input:racc SynMenu R.Radiance:radiance SynMenu R.Ratpoison:ratpoison SynMenu R.RCS.RCS\ log\ output:rcslog SynMenu R.RCS.RCS\ file:rcs SynMenu R.Readline\ config:readline SynMenu R.Rebol:rebol SynMenu R.Remind:remind SynMenu R.Relax\ NG\ compact:rnc SynMenu R.Renderman.Renderman\ Shader\ Lang:sl SynMenu R.Renderman.Renderman\ Interface\ Bytestream:rib SynMenu R.Resolv\.conf:resolv SynMenu R.Reva\ Forth:reva SynMenu R.Rexx:rexx SynMenu R.Robots\.txt:robots SynMenu R.RockLinux\ package\ desc\.:desc SynMenu R.Rpcgen:rpcgen SynMenu R.RPL/2:rpl SynMenu R.ReStructuredText:rst SynMenu R.RTF:rtf SynMenu R.Ruby:ruby SynMenu S-Sm.S-Lang:slang SynMenu S-Sm.Samba\ config:samba SynMenu S-Sm.SAS:sas SynMenu S-Sm.Sass:sass SynMenu S-Sm.Sather:sather SynMenu S-Sm.Scheme:scheme SynMenu S-Sm.Scilab:scilab SynMenu S-Sm.Screen\ RC:screen SynMenu S-Sm.SCSS:scss SynMenu S-Sm.SDC\ Synopsys\ Design\ Constraints:sdc SynMenu S-Sm.SDL:sdl SynMenu S-Sm.Sed:sed SynMenu S-Sm.Sendmail\.cf:sm SynMenu S-Sm.Send-pr:sendpr SynMenu S-Sm.Sensors\.conf:sensors SynMenu S-Sm.Service\ Location\ config:slpconf SynMenu S-Sm.Service\ Location\ registration:slpreg SynMenu S-Sm.Service\ Location\ SPI:slpspi SynMenu S-Sm.Services:services SynMenu S-Sm.Setserial\ config:setserial SynMenu S-Sm.SGML.SGML\ catalog:catalog SynMenu S-Sm.SGML.SGML\ DTD:sgml SynMenu S-Sm.SGML.SGML\ Declaration:sgmldecl SynMenu S-Sm.SGML.SGML-linuxdoc:sgmllnx SynMenu S-Sm.Shell\ script.sh\ and\ ksh:sh SynMenu S-Sm.Shell\ script.csh:csh SynMenu S-Sm.Shell\ script.tcsh:tcsh SynMenu S-Sm.Shell\ script.zsh:zsh SynMenu S-Sm.SiCAD:sicad SynMenu S-Sm.Sieve:sieve SynMenu S-Sm.Simula:simula SynMenu S-Sm.Sinda.Sinda\ compare:sindacmp SynMenu S-Sm.Sinda.Sinda\ input:sinda SynMenu S-Sm.Sinda.Sinda\ output:sindaout SynMenu S-Sm.SiSU:sisu SynMenu S-Sm.SKILL.SKILL:skill SynMenu S-Sm.SKILL.SKILL\ for\ Diva:diva SynMenu S-Sm.Slice:slice SynMenu S-Sm.SLRN.Slrn\ rc:slrnrc SynMenu S-Sm.SLRN.Slrn\ score:slrnsc SynMenu S-Sm.SmallTalk:st SynMenu S-Sm.Smarty\ Templates:smarty SynMenu S-Sm.SMIL:smil SynMenu S-Sm.SMITH:smith SynMenu Sn-Sy.SNMP\ MIB:mib SynMenu Sn-Sy.SNNS.SNNS\ network:snnsnet SynMenu Sn-Sy.SNNS.SNNS\ pattern:snnspat SynMenu Sn-Sy.SNNS.SNNS\ result:snnsres SynMenu Sn-Sy.Snobol4:snobol4 SynMenu Sn-Sy.Snort\ Configuration:hog SynMenu Sn-Sy.SPEC\ (Linux\ RPM):spec SynMenu Sn-Sy.Specman:specman SynMenu Sn-Sy.Spice:spice SynMenu Sn-Sy.Spyce:spyce SynMenu Sn-Sy.Speedup:spup SynMenu Sn-Sy.Splint:splint SynMenu Sn-Sy.Squid\ config:squid SynMenu Sn-Sy.SQL.ESQL-C:esqlc SynMenu Sn-Sy.SQL.MySQL:mysql SynMenu Sn-Sy.SQL.PL/SQL:plsql SynMenu Sn-Sy.SQL.SQL\ Anywhere:sqlanywhere SynMenu Sn-Sy.SQL.SQL\ (automatic):sql SynMenu Sn-Sy.SQL.SQL\ (Oracle):sqloracle SynMenu Sn-Sy.SQL.SQL\ Forms:sqlforms SynMenu Sn-Sy.SQL.SQLJ:sqlj SynMenu Sn-Sy.SQL.SQL-Informix:sqlinformix SynMenu Sn-Sy.SQR:sqr SynMenu Sn-Sy.Ssh.ssh_config:sshconfig SynMenu Sn-Sy.Ssh.sshd_config:sshdconfig SynMenu Sn-Sy.Standard\ ML:sml SynMenu Sn-Sy.Stata.SMCL:smcl SynMenu Sn-Sy.Stata.Stata:stata SynMenu Sn-Sy.Stored\ Procedures:stp SynMenu Sn-Sy.Strace:strace SynMenu Sn-Sy.Streaming\ descriptor\ file:sd SynMenu Sn-Sy.Subversion\ commit:svn SynMenu Sn-Sy.Sudoers:sudoers SynMenu Sn-Sy.SVG:svg SynMenu Sn-Sy.Symbian\ meta-makefile:mmp SynMenu Sn-Sy.Sysctl\.conf:sysctl SynMenu T.TADS:tads SynMenu T.Tags:tags SynMenu T.TAK.TAK\ compare:takcmp SynMenu T.TAK.TAK\ input:tak SynMenu T.TAK.TAK\ output:takout SynMenu T.Task\ data:taskdata SynMenu T.Task\ 42\ edit:taskedit SynMenu T.Tcl/Tk:tcl SynMenu T.TealInfo:tli SynMenu T.Telix\ Salt:tsalt SynMenu T.Termcap/Printcap:ptcap SynMenu T.Terminfo:terminfo SynMenu T.TeX.TeX/LaTeX:tex SynMenu T.TeX.plain\ TeX:plaintex SynMenu T.TeX.ConTeXt:context SynMenu T.TeX.TeX\ configuration:texmf SynMenu T.TeX.Texinfo:texinfo SynMenu T.TF\ mud\ client:tf SynMenu T.Tidy\ configuration:tidy SynMenu T.Tilde:tilde SynMenu T.TPP:tpp SynMenu T.Trasys\ input:trasys SynMenu T.Trustees:trustees SynMenu T.TSS.Command\ Line:tsscl SynMenu T.TSS.Geometry:tssgm SynMenu T.TSS.Optics:tssop SynMenu UV.Udev\ config:udevconf SynMenu UV.Udev\ permissions:udevperm SynMenu UV.Udev\ rules:udevrules SynMenu UV.UIT/UIL:uil SynMenu UV.UnrealScript:uc SynMenu UV.Updatedb\.conf:updatedb SynMenu UV.Valgrind:valgrind SynMenu UV.Vera:vera SynMenu UV.Verilog-AMS\ HDL:verilogams SynMenu UV.Verilog\ HDL:verilog SynMenu UV.Vgrindefs:vgrindefs SynMenu UV.VHDL:vhdl SynMenu UV.Vim.Vim\ help\ file:help SynMenu UV.Vim.Vim\ script:vim SynMenu UV.Vim.Viminfo\ file:viminfo SynMenu UV.Virata\ config:virata SynMenu UV.Visual\ Basic:vb SynMenu UV.VOS\ CM\ macro:voscm SynMenu UV.VRML:vrml SynMenu UV.VSE\ JCL:vsejcl SynMenu WXYZ.WEB.CWEB:cweb SynMenu WXYZ.WEB.WEB:web SynMenu WXYZ.WEB.WEB\ Changes:change SynMenu WXYZ.Webmacro:webmacro SynMenu WXYZ.Website\ MetaLanguage:wml SynMenu WXYZ.wDiff:wdiff SynMenu WXYZ.Wget\ config:wget SynMenu WXYZ.Whitespace\ (add):whitespace SynMenu WXYZ.WildPackets\ EtherPeek\ Decoder:dcd SynMenu WXYZ.WinBatch/Webbatch:winbatch SynMenu WXYZ.Windows\ Scripting\ Host:wsh SynMenu WXYZ.WSML:wsml SynMenu WXYZ.WvDial:wvdial SynMenu WXYZ.X\ Keyboard\ Extension:xkb SynMenu WXYZ.X\ Pixmap:xpm SynMenu WXYZ.X\ Pixmap\ (2):xpm2 SynMenu WXYZ.X\ resources:xdefaults SynMenu WXYZ.XBL:xbl SynMenu WXYZ.Xinetd\.conf:xinetd SynMenu WXYZ.Xmodmap:xmodmap SynMenu WXYZ.Xmath:xmath SynMenu WXYZ.XML:xml SynMenu WXYZ.XML\ Schema\ (XSD):xsd SynMenu WXYZ.XQuery:xquery SynMenu WXYZ.Xslt:xslt SynMenu WXYZ.XFree86\ Config:xf86conf SynMenu WXYZ.YAML:yaml SynMenu WXYZ.Yacc:yacc call append(s:lnum, "") wq
zyz2011-vim
runtime/makemenu.vim
Vim Script
gpl2
17,852
.TH VIMTUTOR 1 "2001 April 2" .SH ИМЯ vimtutor \- учебник по Vim .SH КОМАНДНАЯ СТРОКА .br .B vimtutor [язык] .SH ОПИСАНИЕ Команда .B vimtutor запускает учебник по .B Vim. При этом сначала происходит создание копии файла учебника, чтобы его можно было редактировать без опасения потерять исходный файл. .PP Программа .B vimtutor полезна для новичков, желающих научиться самым основным командам .B Vim. .PP Необязательный параметр [язык] представляет собой двухсимвольный код языка, например "ru" или "it". Если параметр [язык] не указан, то используется язык активной в настоящий момент локали. Если учебник на этом языке не существует, то по умолчанию используется учебник на английском языке. .PP При работе с учебником .B Vim всегда запускается в режиме совместимости с Vi. .SH ФАЙЛЫ .TP 15 /usr/local/lib/vim/tutor/tutor[.язык] Текст учебника .B vimtutor. .TP 15 /usr/local/lib/vim/tutor/tutor.vim Сценарий Vim, который используется для создания рабочей копии текста учебника .B vimtutor. .SH АВТОРЫ .B Vimtutor был впервые написан для Vi Майклом К. Пирсом (Michael C. Pierce) и Робертом К. Уэа (Robert K. Ware) из Colorado School of Mines по идее Чарльза Смита (Charles Smith) из Colorado State University. E-mail: bware@mines.colorado.edu. .br Впоследствии учебник был доработан для использования в .B Vim Брамом Мооленааром (Bram Moolenaar). Имена переводчиков учебника упоминаются в соответствующих файлах. .SH СМОТРИ ТАКЖЕ vim(1)
zyz2011-vim
runtime/doc/vimtutor-ru.UTF-8.1
Roff Manpage
gpl2
2,265
VIMTUTOR(1) VIMTUTOR(1) NAME vimtutor - the Vim tutor SYNOPSIS vimtutor [-g] [language] DESCRIPTION Vimtutor starts the Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file. The Vimtutor is useful for people that want to learn their first Vim commands. The optional argument -g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or falls back to Vim if gvim is not found. The optional [language] argument is the two-letter name of a language, like "it" or "es". If the [language] argument is missing, the language of the current locale will be used. If a tutor in this language is available, it will be used. Otherwise the English version will be used. Vim is always started in Vi compatible mode. FILES /usr/local/lib/vim/tutor/tutor[.language] The Vimtutor text file(s). /usr/local/lib/vim/tutor/tutor.vim The Vim script used to copy the Vimtutor text file. AUTHOR The Vimtutor was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by Charles Smith, Colorado State University. E-mail: bware@mines.col‐ orado.edu. It was modified for Vim by Bram Moolenaar. For the names of the trans‐ lators see the tutor files. SEE ALSO vim(1) 2001 April 2 VIMTUTOR(1)
zyz2011-vim
runtime/doc/vimtutor.man
Roff
gpl2
1,681
.TH EVIM 1 "2002 February 16" .SH NAME evim \- easy Vim, edit a file with Vim and setup for modeless editing .SH SYNOPSIS .br .B evim [options] [file ..] .br .B eview .SH DESCRIPTION .B eVim starts .B Vim and sets options to make it behave like a modeless editor. This is still Vim but used as a point-and-click editor. This feels a lot like using Notepad on MS-Windows. .B eVim will always run in the GUI, to enable the use of menus and toolbar. .PP Only to be used for people who really can't work with Vim in the normal way. Editing will be much less efficient. .PP .B eview is the same, but starts in read-only mode. It works just like evim \-R. .PP See vim(1) for details about Vim, options, etc. .PP The 'insertmode' option is set to be able to type text directly. .br Mappings are setup to make Copy and Paste work with the MS-Windows keys. CTRL-X cuts text, CTRL-C copies text and CTRL-V pastes text. Use CTRL-Q to obtain the original meaning of CTRL-V. .SH OPTIONS See vim(1). .SH FILES .TP 15 /usr/local/lib/vim/evim.vim The script loaded to initialize eVim. .SH AKA Also Known As "Vim for gumbies". When using evim you are expected to take a handkerchief, make a knot in each corner and wear it on your head. .SH SEE ALSO vim(1) .SH AUTHOR Most of .B Vim was made by Bram Moolenaar, with a lot of help from others. See the Help/Credits menu.
zyz2011-vim
runtime/doc/evim.1
Roff Manpage
gpl2
1,354
.TH XXD 1 "August 1996" "Manual page for xxd" .\" .\" 21st May 1996 .\" Man page author: .\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au> .\" Changes by Bram Moolenaar <Bram@vim.org> .SH NAME .I xxd \- make a hexdump or do the reverse. .SH SYNOPSIS .B xxd \-h[elp] .br .B xxd [options] [infile [outfile]] .br .B xxd \-r[evert] [options] [infile [outfile]] .SH DESCRIPTION .I xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. Like .BR uuencode (1) and .BR uudecode (1) it allows the transmission of binary data in a `mail-safe' ASCII representation, but has the advantage of decoding to standard output. Moreover, it can be used to perform binary file patching. .SH OPTIONS If no .I infile is given, standard input is read. If .I infile is specified as a .RB \` \- ' character, then input is taken from standard input. If no .I outfile is given (or a .RB \` \- ' character is in its place), results are sent to standard output. .PP Note that a "lazy" parser is used which does not check for more than the first option letter, unless the option is followed by a parameter. Spaces between a single option letter and its parameter are optional. Parameters to options can be specified in decimal, hexadecimal or octal notation. Thus .BR \-c8 , .BR "\-c 8" , .B \-c 010 and .B \-cols 8 are all equivalent. .PP .TP .IR \-a " | " \-autoskip toggle autoskip: A single '*' replaces nul-lines. Default off. .TP .IR \-b " | " \-bits Switch to bits (binary digits) dump, rather than hexdump. This option writes octets as eight digits "1"s and "0"s instead of a normal hexadecimal dump. Each line is preceded by a line number in hexadecimal and followed by an ascii (or ebcdic) representation. The command line switches \-r, \-p, \-i do not work with this mode. .TP .IR "\-c cols " | " \-cols cols" format .RI < cols > octets per line. Default 16 (\-i: 12, \-ps: 30, \-b: 6). Max 256. .TP .IR \-E " | " \-EBCDIC Change the character encoding in the righthand column from ASCII to EBCDIC. This does not change the hexadecimal representation. The option is meaningless in combinations with \-r, \-p or \-i. .TP .IR "\-g bytes " | " \-groupsize bytes" separate the output of every .RI < bytes > bytes (two hex characters or eight bit-digits each) by a whitespace. Specify .I \-g 0 to suppress grouping. .RI < Bytes "> defaults to " 2 in normal mode and \fI1\fP in bits mode. Grouping does not apply to postscript or include style. .TP .IR \-h " | " \-help print a summary of available commands and exit. No hex dumping is performed. .TP .IR \-i " | " \-include output in C include file style. A complete static array definition is written (named after the input file), unless xxd reads from stdin. .TP .IR "\-l len " | " \-len len" stop after writing .RI < len > octets. .TP .IR \-p " | " \-ps " | " \-postscript " | " \-plain output in postscript continuous hexdump style. Also known as plain hexdump style. .TP .IR \-r " | " \-revert reverse operation: convert (or patch) hexdump into binary. If not writing to stdout, xxd writes into its output file without truncating it. Use the combination .I \-r \-p to read plain hexadecimal dumps without line number information and without a particular column layout. Additional Whitespace and line-breaks are allowed anywhere. .TP .I \-seek offset When used after .IR \-r : revert with .RI < offset > added to file positions found in hexdump. .TP .I \-s [+][\-]seek start at .RI < seek > bytes abs. (or rel.) infile offset. \fI+ \fRindicates that the seek is relative to the current stdin file position (meaningless when not reading from stdin). \fI\- \fRindicates that the seek should be that many characters from the end of the input (or if combined with \fI+\fR: before the current stdin file position). Without \-s option, xxd starts at the current file position. .TP .I \-u use upper case hex letters. Default is lower case. .TP .IR \-v " | " \-version show version string. .SH CAVEATS .PP .I xxd \-r has some builtin magic while evaluating line number information. If the output file is seekable, then the linenumbers at the start of each hexdump line may be out of order, lines may be missing, or overlapping. In these cases xxd will lseek(2) to the next position. If the output file is not seekable, only gaps are allowed, which will be filled by null-bytes. .PP .I xxd \-r never generates parse errors. Garbage is silently skipped. .PP When editing hexdumps, please note that .I xxd \-r skips everything on the input line after reading enough columns of hexadecimal data (see option \-c). This also means, that changes to the printable ascii (or ebcdic) columns are always ignored. Reverting a plain (or postscript) style hexdump with xxd \-r \-p does not depend on the correct number of columns. Here anything that looks like a pair of hex-digits is interpreted. .PP Note the difference between .br \fI% xxd \-i file\fR .br and .br \fI% xxd \-i < file\fR .PP .I xxd \-s +seek may be different from .IR "xxd \-s seek" , as lseek(2) is used to "rewind" input. A '+' makes a difference if the input source is stdin, and if stdin's file position is not at the start of the file by the time xxd is started and given its input. The following examples may help to clarify (or further confuse!)... .PP Rewind stdin before reading; needed because the `cat' has already read to the end of stdin. .br \fI% sh \-c "cat > plain_copy; xxd \-s 0 > hex_copy" < file\fR .PP Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign means "relative to the current position", thus the `128' adds to the 1k where dd left off. .br \fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet" < file\fR .PP Hexdump from file position 0x100 ( = 1024\-768) on. .br \fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +\-768 > hex_snippet" < file\fR .PP However, this is a rare situation and the use of `+' is rarely needed. The author prefers to monitor the effect of xxd with strace(1) or truss(1), whenever \-s is used. .SH EXAMPLES .PP .br Print everything but the first three lines (hex 0x30 bytes) of .BR file . .br \fI% xxd \-s 0x30 file\fR .PP .br Print 3 lines (hex 0x30 bytes) from the end of .BR file . .br \fI% xxd \-s \-0x30 file\fR .PP .br Print 120 bytes as continuous hexdump with 20 octets per line. .br \fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR .br 2e54482058584420312022417567757374203139 .br 39362220224d616e75616c207061676520666f72 .br 20787864220a2e5c220a2e5c222032317374204d .br 617920313939360a2e5c22204d616e2070616765 .br 20617574686f723a0a2e5c2220202020546f6e79 .br 204e7567656e74203c746f6e79407363746e7567 .br .br Hexdump the first 120 bytes of this man page with 12 octets per line. .br \fI% xxd \-l 120 \-c 12 xxd.1\fR .br 0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A .br 000000c: 7567 7573 7420 3139 3936 2220 ugust 1996" .br 0000018: 224d 616e 7561 6c20 7061 6765 "Manual page .br 0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\\ .br 0000030: 220a 2e5c 2220 3231 7374 204d "..\\" 21st M .br 000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\\" .br 0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut .br 0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\\" .br 0000060: 546f 6e79 204e 7567 656e 7420 Tony Nugent .br 000006c: 3c74 6f6e 7940 7363 746e 7567 <tony@sctnug .PP .br Display just the date from the file xxd.1 .br \fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR .br 0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996 .PP .br Copy .B input_file to .B output_file and prepend 100 bytes of value 0x00. .br \fI% xxd input_file | xxd \-r \-s 100 > output_file\fR .br .br Patch the date in the file xxd.1 .br \fI% echo "0000037: 3574 68" | xxd \-r \- xxd.1\fR .br \fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR .br 0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996 .PP .br Create a 65537 byte file with all bytes 0x00, except for the last one which is 'A' (hex 0x41). .br \fI% echo "010000: 41" | xxd \-r > file\fR .PP .br Hexdump this file with autoskip. .br \fI% xxd \-a \-c 12 file\fR .br 0000000: 0000 0000 0000 0000 0000 0000 ............ .br * .br 000fffc: 0000 0000 40 ....A .PP Create a 1 byte file containing a single 'A' character. The number after '\-r \-s' adds to the linenumbers found in the file; in effect, the leading bytes are suppressed. .br \fI% echo "010000: 41" | xxd \-r \-s \-0x10000 > file\fR .PP Use xxd as a filter within an editor such as .B vim(1) to hexdump a region marked between `a' and `z'. .br \fI:'a,'z!xxd\fR .PP Use xxd as a filter within an editor such as .B vim(1) to recover a binary hexdump marked between `a' and `z'. .br \fI:'a,'z!xxd \-r\fR .PP Use xxd as a filter within an editor such as .B vim(1) to recover one line of a hexdump. Move the cursor over the line and type: .br \fI!!xxd \-r\fR .PP Read single characters from a serial line .br \fI% xxd \-c1 < /dev/term/b &\fR .br \fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR .br \fI% echo \-n foo > /dev/term/b\fR .PP .SH "RETURN VALUES" The following error values are returned: .TP 0 no errors encountered. .TP \-1 operation not supported ( .I xxd \-r \-i still impossible). .TP 1 error while parsing options. .TP 2 problems with input file. .TP 3 problems with output file. .TP 4,5 desired seek position is unreachable. .SH "SEE ALSO" uuencode(1), uudecode(1), patch(1) .br .SH WARNINGS The tools weirdness matches its creators brain. Use entirely at your own risk. Copy files. Trace it. Become a wizard. .br .SH VERSION This manual page documents xxd version 1.7 .SH AUTHOR .br (c) 1990-1997 by Juergen Weigert .br <jnweiger@informatik.uni\-erlangen.de> .LP Distribute freely and credit me, .br make money and share with me, .br lose money and don't ask me. .PP Manual page started by Tony Nugent .br <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au> .br Small changes by Bram Moolenaar. Edited by Juergen Weigert. .PP
zyz2011-vim
runtime/doc/xxd.1
Roff Manpage
gpl2
9,962
BEGIN { FS=" "; } NR == 1 { nf=split(FILENAME,f,".") print "<HTML>"; print "<HEAD><TITLE>" f[1] "</TITLE></HEAD>"; print "<BODY BGCOLOR=\"#ffffff\">"; print "<H1>Vim Documentation: " f[1] "</H1>"; print "<A NAME=\"top\"></A>"; print "<HR>"; print "<PRE>"; } { # # protect special chars # gsub(/&/,"\\&amp;"); gsub(/>/,"\\&gt;"); gsub(/</,"\\&lt;"); gsub(/"/,"\\&quot;"); gsub(/%/,"\\&#37;"); nf=split($0,tag," "); tagkey[t]=tag[1];tagref[t]=tag[2];tagnum[t]=NR; print $1 " " $2 " line " NR >"tags.ref" n=split($2,w,"."); printf ("|<A HREF=\"%s.html#%s\">%s</A>| %s\n",w[1],$1,$1,$2); } END { topback(); print "</PRE>\n</BODY>\n\n\n</HTML>"; } # # as main we keep index.txt (by default) # other candidate, help.txt # function topback () { printf("<A HREF=\"#top\">top</A> - "); printf("<A HREF=\"help.html\">back to help</A>\n"); }
zyz2011-vim
runtime/doc/maketags.awk
Awk
gpl2
867
.TH VIMDIFF 1 "2001 March 30" .SH ИМЯ vimdiff \- позволяет редактировать две или три версии файла с помощью Vim с отображением различий. .SH КОМАНДНАЯ СТРОКА .br .B vimdiff [ключи] файл1 файл2 [файл3] .PP .B gvimdiff .SH ОПИСАНИЕ Команда .B vimdiff загружает в .B Vim два (или три) файла. Каждый файл открывается в собственном окне. Различия между файлами отображаются с помощью подсветки синтаксиса. Эта команда позволяет наглядно отображать внесённые изменения и переносить различающиеся фрагменты из одной версии файла в другую. .PP Подробнее о Vim см. на странице справочника vim(1). .PP При запуске с помощью команды .B gvimdiff редактор запускается в режиме графического интерфейса, если это возможно. .PP В каждом окне включается опция 'diff', что позволяет использовать подсветку синтаксиса для отображения различий между файлами. .br Для улучшения работы с файлами в режиме отображения отличий также включаются опции 'wrap' и 'scrollbind'. .br Значение опции 'foldmethod' устанавливается равным "diff", что позволяет прятать в складку области текста, которые не отличаются в различных версиях файла. Значение опции 'foldcolumn' устанавливается равным 2, чтобы было проще находить, открывать и закрывать такие складки. .SH КЛЮЧИ ЗАПУСКА Для выравнивания строк между окнами используется вертикальное разделение окон, как если бы использовался ключ "\-O". Для того, чтобы использовать разделение окон по горизонтали, следует указать в командной строке ключ "\-o". .PP Остальные ключи командной строки рассматриваются на странице справочника vim(1). .SH СМОТРИ ТАКЖЕ vim(1) .SH АВТОРЫ Большая часть .B Vim создана Брамом Мооленааром (Bram Moolenaar), которому помогает огромное количество людей. См. ":help credits" в .B Vim.
zyz2011-vim
runtime/doc/vimdiff-ru.UTF-8.1
Roff Manpage
gpl2
2,940
.TH VIM 1 "2006 kwi 11" .SH NAME vim \- Vi rozbudowany, edytor tekstu dla programisty .SH SYNOPSIS .br .B vim [opcje] [plik ..] .br .B vim [opcje] \- .br .B vim [opcje] \-t znacznik .br .B vim [opcje] \-q [plik_błędu] .PP .br .B ex .br .B view .br .B gvim .B gview .B evim .B eview .br .B rvim .B rview .B rgvim .B rgview .SH OPIS .B Vim jest edytorem tekstu kompatybilnym z Vi. Może być używany do edycji wszelkiego rodzaju plików tekstowych. Użyteczny zwłaszcza przy edycji programów. .PP Posiada wiele usprawnień w porównaniu z Vi: wielopoziomowe cofanie zmian, wiele okien i buforów, podświetlanie składni, edycja linii poleceń, uzupełnianie nazw plików, pomoc on-line, wizualna selekcja, itd. Zobacz ":help vi_diff.txt" dla podsumowania różnic pomiędzy .B Vimem i Vi. .PP W czasie korzystania z .B Vima można uzyskać obszerną pomoc z systemu pomocy on-line dzięki poleceniu ":help". Zobacz rozdział POMOC ON-LINE poniżej. .PP Najczęściej .B Vim jest uruchamiany do edycji pojedynczego pliku poleceniem .PP vim plik .PP Bardziej ogólnie .B Vim jest uruchamiany poprzez: .PP vim [opcje] [lista plików] .PP Jeśli brak listy plików edytor rozpocznie z pustym buforem. W innym wypadku istnieje dokładnie jedna z czterech możliwości by wybrać jeden lub więcej plików do edycji. .TP 12 plik .. Lista nazw plików. Pierwsza nazwa będzie nazwą bieżącego pliku, który zostanie wczytany do bufora. Kursor zostanie umieszczony w pierwszym wierszu. Do kolejnych plików można przejść dzięki poleceniu ":next". By otworzyć plik, którego nazwa zaczyna się od myślnika należy listę plików poprzedzić "\-\-". .TP \- Plik do edycji jest wczytany ze standardowego wejścia. Polecenia są odczytywane ze standardowego wyjścia błędów, którym powinien być terminal (tty). .TP \-t {znacznik} Plik do edycji i początkowa pozycja kursora zależy od "znacznika", rodzaju etykiety goto. {znacznika} szuka się w pliku tags, związany z nim plik staje się plikiem bieżącym i wykonuje się powiązane polecenie. Zazwyczaj używa się tego sposobu dla programów w C, w których wypadku {znacznik} może być nazwą funkcji. W efekcie plik zawierający określoną funkcję staje się plikiem bieżącym a kursor jest umieszczony na początku funkcji. Zobacz ":help tag-commands". .TP \-q [plik_błędów] Zacznij w trybie quickFix. Plik [plik_błędów] zostaje zinterpretowany i pokaże się pierwszy błąd. Jeśli brak opcji [plik_błędów] nazwa pliku zostanie pobrana z opcji \&'errorfile' (domyślnie "AztecC.Err" dla Amigi, "errros.err" dla innych systemów. Do kolejnych błędów można przeskoczyć dzięki poleceniu ":cn". Zobacz ":help quickfix". .PP W zależności od wywołania .B Vim zachowuje się inaczej (program może być cały czas tym samym plikiem). .TP 10 vim "Normalny" sposób, wszystko jest domyślne. .TP ex Zacznij w trybie Ex. Przejdź do trybu Normalnego poleceniem ":vi". Można także uruchomić poprzez argument "\-e". .TP view Zacznij w trybie tylko do odczytu. W ten sposób będziesz chroniony przed zapisywaniem pliku. Można także uruchomić poprzez argument "\-R". .TP gvim gview Wersja GUI. Uruchamia nowe okno. Można także uruchomić poprzez argument "\-g". .TP evim eview Wersja GUI w łatwym trybie. Uruchamia nowe okno. Można także uruchomić poprzez argument "\-y". .TP rvim rview rgvim rgview Podobnie jak powyżej, ale z ograniczeniami. Nie będzie można uruchomić poleceń powłoki lub zawiesić .B Vima. Można także uruchomić poprzez argument "\-Z". .SH OPCJE Opcje można podać w dowolnej kolejności, przed lub po nazwach plików. Opcje bez argumentów można łączyć po pojedynczym myślniku. .TP 12 +[num] W pierwszym pliku kursor zostanie umieszczony w wierszu "num". Jeśli brak "num" kursor zostanie umieszczony w ostatnim wierszu. .TP +/{wzór} W pierwszym pliku kursor zostanie umieszczony na pierwszym wystąpieniu {wzór}. Zobacz ":help search-pattern" by dowiedzieć się jakie są możliwe wzorce wyszukiwania. .TP +{polecenie} .TP \-c {polecenie} {polecenie} zostanie wykonane po tym jak wczyta się pierwszy plik. {polecenie} jest interpretowane jako polecenie Ex. Jeśli {poleceni} zawiera białe znaki musi być umieszczone w podwójnych cudzysłowach (zależy to od używanej powłoki). Przykład: Vim "+set si" main.c .br Uwaga: Można użyć do 10 poleceń "+" lub "\-c". .TP \-S {plik} {plik} zostanie zinterpretowany po wczytaniu pierwszego pliku. Jest równoważne \-c "source {plik}". {plik} nie może zaczynać się '\-'. Jeśli nie podano {plik} zostanie użyty "Session.vim" (działa tylko wtedy jeśli \-S jest ostatnim argumentem). .TP \-\-cmd {polecenie} Podobne do "\-c", ale polecenie jest wykonywane tuż przed interpretacją jakiegokolwiek pliku vimrc. Można użyć do 10 takich poleceń, niezależnie od poleceń od "\-c" .TP \-A Jeśli .B Vim został skompilowany ze wsparciem dla języków arabskich (edycja od prawej do lewej i arabska mapa klawiatury) ta opcja uruchamia .B Vima w trybie arabskim, np. ustawia się opcja 'arabic'. W innym wypadku pojawi się komunikat błędu i .B Vim zakończy działanie. .TP \-b Tryb binarny. Ustawi się kilka opcji, które umożliwią edycję plików binarnych lub wykonywalnych. .TP \-C Kompatybilny. Ustawia opcję 'compatible'. W ten sposób .B Vim będzie zachowywał się jak Vi, nawet jeśli istnieje plik .vimrc. .TP \-d Uruchom w trybie diff. Powinno się użyć dwóch, trzech lub czterech nazwy plików jako argumentów. .B Vim otworzy wszystkie te pliki i pokaże różnice między nimi. Działa jak vimdiff(1). .TP \-d {urządzenie} Otwórz {urządzenie} by używać jako terminal. Tylko na Amidze. Przykład: "\-d con:20/30/600/150". .TP \-D Debugowanie. Przejdź do trybu debugowanie wykonując pierwsze polecenie ze skryptu. .TP \-e Uruchom .B Vima w trybie Ex, działa tak samo jakby wywołano program jako "ex". .TP \-E Uruchom .B Vima w ulepszonym trybie Ex, działa tak samo jakby wywołano program jako "exim". .TP \-f Pierszy plan. Dla wersji GUI. .B Vim nie nie oddzieli się od powłoki w jakiej został uruchomiony. Na Amidze .B Vim nie jest uruchomiony ponownie by otworzyć nowe okno. Opcja powinna być użyta kiedy .B Vim jest wywoływany przez program, który ma zaczekać na koniec sesji (np. mail). Na Amidze polecenia ":sh" i ":!" nie będą działać. .TP \-\-nofork Pierwszy plan. Dla wersji GUI. .B Vim nie oddzieli się od powłoki w jakiej został uruchomiony. .TP \-F Jeśli Vim został skompilowany ze wsparciem FKMAP dla edycji tekstów od prawej do lewej i mapowania klawiatury Farsi, ta opcja uruchomi .B Vima w trybie Farsi, np. zostawią ustawione opcje 'fkmap' i 'rightleft'. W innym wypadku pojawi się komunikat błędu i .B Vim zakończy działanie. .TP \-g Jeśli .B Vim został skompilowany ze wsparciem dla GUI ta opcja uruchomi GUI. W innym wypadku pojawi się komunikat błędu i .B Vim zakończy działanie. .TP \-h Wyświetli krótką pomoc o argumentach linii poleceń i opcjach. Potem .B Vim zakończy działanie. .TP \-H Jeśli .B Vim został skompilowany ze wsparciem RIGHTLEFT dla edycji od prawej do lewej oraz ma mapowanie klawiatury dla hebrajskiego, ta opcja uruchomi .B Vima w trybie hebrajskim, np. ustawi opcje 'hkmap' i 'rightleft'. W innym wypadku pojawi się komunikat błędu i .B Vim zakończy działanie. .TP \-i {viminfo} Kiedy .B Vim używa pliku viminfo ta opcja wskaże jakiego pliku użyć zamiast domyślnego "~/.viminfo". Można też ominąć użycie pliku .viminfo przez podanie nazwy "NONE". .TP \-L To samo co \-r. .TP \-l Tryb Lisp. Ustawia opcje 'lisp' i 'showmatch'. .TP \-m Zmiana pliku jest niemożliwa. Przestawia opcję 'write'. Można zmieniać zawartość bufora, ale zapisanie pliku nie jest możliwe. .TP \-M Opcje 'modifiable' i 'write' zostaną wyłączone, tak więc zmiany w pliku oraz ich zapisanie nie są możliwe. Wartość tych opcji można zmienić. .TP \-N Tryb niekompatybilny. Przestawia opcję 'compatible'. Dzięki temu .B Vim będzie zachowywał się odrobinę lepiej, ale mniej zgodnie z Vi nawet jeśli nie istnieje plik .vimrc. .TP \-n Nie powstanie plik wymiany. Odzyskanie pliku po wypadku nie będzie możliwe. Wygodne jeśli instnieje potrzeba edycji na bardzo wolnym medium (np. dyskietce). Ten cel można osiągnąć także przez ":set uc=0". Można odwrócić przez ":set uc=200". .TP \-nb Uruchom jako serwer edytora dla NetBeans. Zobacz dokumentację by dowiedzieć się więcej. .TP \-o[N] Otwórz N okien w stosie. Kiedy brak N, otwórz jedno okno dla każdego pliku. .TP \-O[N] Otwórz N okien obok siebie. Kiedy brak N, otwórz jedno okno dla każdego pliku. .TP \-p[N] Otwórz N kart. Kiedy brak N, otwórz jedną kartę dla każdego pliku. .TP \-R Tryb tylko do odczytu. Zostanie ustawiona opcja 'readonly'. Cały czas można zmieniać bufor, ale będzie istniała blokada by chronić przed przypadkowym zapisaniem pliku. Jeśli chcesz zapisać plik dodaj wykrzyknik do polecenia Ex, np. ":w!". Opcja \-R implikuje opcję \-n (zobacz poniżej). Opcja 'readonly' może zostać przestawiona poprzez ":set noro". Zobacz ":help 'readonly'". .TP \-r Wypisz listę plików wymiany razem z informacjami o nich. .TP \-r {plik} Tryb odzyskiwania danych. Plik wymiany zostanie wykorzystany do odzyskania gwałtownie przerwanej sesji. Plik wymiany to plik z taką samą nazwą co plik oryginalny z dodanym ".swp". Zobacz ":help recovery". .TP \-s Tryb cichy. Rozpoczęty tylko kiedy uruchomiony jako "Ex" lub opcja "\-e" została podana przed opcją "\-s". .TP \-s {skrypt} Zostanie wczytany plik {skrypt}. Znaki w pliku zostaną zinterpretowane jakby były wpisywane. To samo można osiągnąć poprzez polecenie ":source! {skrypt}". Jeśli osiągnięto koniec pliku zanim edytor zakończył działanie, dalsze znaki odczytywane są z klawiatury. .TP \-T {terminal} Przekazuje .B Vimowi nazwę terminalu jakiego używasz. Wymagane tylko wtedy jeśli nie działa automatycznie. Powinien być to terminal znany .B Vimowi (builtin) lub zdefiniowany w plikach termcap lub terminfo. .TP \-u {vimrc} Użyj poleceń z pliku {vimrc} w czasie uruchamiania. Wszystkie inne możliwe pliki uruchamiania zostaną pominięte. Używaj do edytowania plików specjalnych. Można pominąć także wszystkie możliwe pliki uruchamiania poprzez podanie nazwy "NONE". Zobacz ":help initialization" by poznać więcej szczegółów. .TP \-U {gvimrc} Użyj poleceń z pliku {gvimrc} w czasie uruchamiania GUI. Wszystkie inne możliwe pliki uruchamiania GUI zostaną pominięte. Można pominąć także wszystkie możliwe pliki uruchamiania GUI poprzez podanie nazwy "NONE". Zobacz ":help gui-init" by poznać więcej szczegółów. .TP \-V[N] Tryb gadatliwy. Wypisz wiadomości o tym jaki pliki są wczytywane i o informacjach pobieranych i dodawanych do pliku viminfo. Opcjonalny argument N jest wartością 'verbose'. Domyślnie 10. .TP \-v Uruchom .B Vima w trybie Vi, tak jakby program był nazwany "vi". Ma znaczenie tylko wtedy jeśli program nazwany jest "ex". .TP \-w {plik} Wszystkie wciśnięcia klawiszy, aż do zakończenia działania programu, są zapisywane w {plik} . Użyteczne jeśli chce się stworzyć skrypt do użycia z "vim \-s" lub ":source!". Jeśli {plik} istnieje, znaki są dopisywane. .TP \-W {plik} Podobnie do \-w, ale istniejący plik jest nadpisywany. .TP \-x Użyj szyfrowania podczas zapisywania plików. Zostaniesz poproszony o podanie klucza. .TP \-X Nie łącz z serwerem X. Skraca czas uruchamiania w terminalu, ale tytuł okna i schowek nie będą wykorzystywane. .TP \-y Uruchom .B Vima w łatwym trybie, tak jakby program został wywołany "evim" lub "eview". .B Vim będzie zachowywał się bardziej jak edytor kliknij-i-wpisz. .TP \-Z Tryb ograniczony. Zachowuje się jakby nazwa programu zaczynała się od "r". .TP \-\- Oznacza koniec opcji. Argumenty po tej opcji będą traktowane jak nazwy plików. Używa się do otwierania plików, których nazwy zaczynają się od '\-'. .TP \-\-echo\-wid Wyłącznie GTK GUI: wypisz ID okna na standardowe wyjście. .TP \-\-help Wyświetl informację o pomocy i zakończy, to samo co"\-h". .TP \-\-literal Potraktuj nazwy plików dosłownie i nie rozwiązuj kwantyfikatorów. Nie ma znaczenia na Uniksach gdzie powłoka rozwiązuje kwantyfikatory. .TP \-\-noplugin Pomiń ładowanie wtyczek. Implikowane przy \-u NONE. .TP \-\-remote Połącz się z serwerem Vima i edytuj w nim resztę plików podanych jako argumenty. Jeśli nie znaleziono serwera zostanie zgłoszony błąd a pliki zostaną otwarte w bieżącym Vimie. .TP \-\-remote\-expr {wyrażenie} Połącz z serwerem Vima, rozwiąż w nim {wyrażenie} i wypisz rozwiązanie na standardowe wyjście. .TP \-\-remote\-send {klawisze} Połącz z serwerem Vima i wyślij do niego {klawisze}. .TP \-\-remote\-silent Tak samo jak \-remote, ale bez ostrzeżenia kiedy nie znaleziono serwera. .TP \-\-remote\-wait Tak samo jak \-remote, ale Vim nie zakończy dopóki pliki pozostaną otwarte. .TP \-\-remote\-wait\-silent Tak samo jak \-\-remote\-wait, ale bez ostrzeżenie kiedy nie znaleziono serwera. .TP \-\-serverlist Wypisz nazwy wszystkich serwerów Vima jakie można znaleźć. .TP \-\-servername {nazwa} Użyj {nazwa} jako nazwy serwera. Wykorzystane dla bieżącego Vima o ile nie połączone z argumentem \-\-remote, wtedy jest to nazwa serwera do połączenia. .TP \-\-socketid {id} Wyłącznie GTK GUI: Użyj mechanizmu GtkPlug by uruchomić gvima w innym oknie. .TP \-\-version Wypisz informację o wersji i zakończ. .SH POMOC ON-LINE By rozpocząć wpisz ":help" w .B Vimie Wpisz ":help temat" by uzyskać pomoc na określony temat. Przykład: ":help ZZ" by uzyskać pomoc na temat polecenia "ZZ". Użyj <Tab> i CTRL\-D aby uzupełnić tematy (":help cmdline\-completion"). W plikach pomocy istnieją znaczniki by ułatwić skakanie z jednego miejsca do innego (rodzaj linków hipertekstowych, zobacz ":help"). Można w ten sposób zobaczyć całą dokumentację, np. ":help syntax.txt". .SH PLIKI .TP 15 /usr/local/lib/vim/doc/*.txt Dokumentacja .B Vima Użyj ":help doc\-file\-list" aby uzyskać pełną listę. .TP /usr/local/lib/vim/doc/tags Plik znaczników służy do znajdowania informacji w plikach dokumentacji. .TP /usr/local/lib/vim/syntax/syntax.vim Globalne uruchamianie podświetlania składni. .TP /usr/local/lib/vim/syntax/*.vim Pliki składni dla różnych języków. .TP /usr/local/lib/vim/vimrc Globalny plik uruchamiania .B Vima .TP ~/.vimrc Osobiste parametry uruchamiania .B Vima .TP /usr/local/lib/vim/gvimrc Globalne uruchamianie gvima. .TP ~/.gvimrc Osobiste parametry uruchamiania gvima. .TP /usr/local/lib/vim/optwin.vim Skrypt używany w poleceniu ":options", dobry sposób do przeglądania i ustawiania opcji. .TP /usr/local/lib/vim/menu.vim Globalne uruchamianie menu gvima. .TP /usr/local/lib/vim/bugreport.vim Skrypt służący do tworzenia raportów o błędach. Zobacz ":help bugs". .TP /usr/local/lib/vim/filetype.vim Skrypt do wykrywania typu pliku według jego nazwy. Zobacz ":help 'filetype'". .TP /usr/local/lib/vim/scripts.vim Skrypt do wykrywania typu pliku według jego zawartości. Zobacz ":help 'filetype'". .TP /usr/local/lib/vim/print/*.ps Pliku używane do drukowania PostScriptu. .PP Najświeższe wiadomości na stronie .B Vima: .br <URL:http://www.vim.org/> .SH ZOBACZ TAKŻE vimtutor(1) .SH AUTOR .B Vim został napisany przez Brama Moolenaara z dużą pomocą innych osób. Zobacz ":help credits" w .B Vimie. .br .B Vim bazuje na Steviem, nad którym pracowali: Tim Thompson, Tony Andrews i G.R. (Fred) Walter. Mało już zostało z oryginalnego kodu. .SH BŁĘDY Prawdopodobne. Zobacz ":help todo" by poznać listę znanych problemów. .PP Pamiętaj że pewna ilość problemów, które mogą być uznawane przez niektórych ludzi za błędy są w rzeczywistości spowodowane wiernością w odtwarzaniu zachowania Vi. Jeśli sądzisz, że inne rzeczy są błędami "ponieważ Vi robi to inaczej", powinieneś przyjrzeć się bliżej plikowi vi_diff.txt (lub wpisać ":help vi_diff.txt" w Vimie). Sprawdź także opis opcji 'compatible' i 'cpoptions'.
zyz2011-vim
runtime/doc/vim-pl.UTF-8.1
Roff Manpage
gpl2
16,137
.TH VIMTUTOR 1 "2 avril 2001" .SH NAME vimtutor \- tutoriel Vim .SH SYNOPSIS .br .B vimtutor [\-g] [langue] .SH DESCRIPTION .B Vimtutor lance le tutoriel .B Vim \. Il copie d'abord le fichier du tutoriel, afin que vous puissiez le modifier sans altérer le fichier original. .PP .B Vimtutor est utile pour les personnes souhaitant apprendre leurs premières commandes .B Vim \. .PP L'argument optionnel \-g lance vimtutor avec gvim plutôt qu'avec vim, si l'IHM graphique de vim est disponible, ou le lance avec vim si gvim n'est pas disponible. .PP L'argument optionnel [langue] est le nom d'une langue, spécifiée par son symbole à deux lettres, tels que "it" ou "es". Si l'argument [langue] est omis, la langue de la région linguistique actuelle sera retenue. Si le tutoriel est disponible dans cette langue, il est proposé. Sinon, c'est la version anglaise qui est proposée. .PP .B Vim est toujours lancé en mode Compatible Vi. .SH FICHIERS .TP 15 /usr/local/lib/vim/tutor/tutor[.langue] Les fichiers textes de .B Vimtutor \. .TP 15 /usr/local/lib/vim/tutor/tutor.vim Le script Vim utilisé pour copier les fichiers texte de .B Vimtutor \. .SH AUTEUR .B Vimtutor a été écrit à l'origine pour Vi par Michael C. Pierce et Robert K. Ware, de la Colorado School of Mines, en reprenant des idées émises par Charles Smith, de la Colorado State University. E-mail : bware@mines.colorado.edu. .br Il a été modifié pour .B Vim par Bram Moolenaar. Pour connaître le nom des traducteurs, consultez les fichiers textes du tutoriel. .SH VOIR AUSSI vim(1) .SH TRADUCTION Cette page de manuel a été traduite par David Blanchet <david.blanchet@free.fr> 2004-12-27. Mise à jour 2012-05-06, Dominique Pellé <dominique.pelle@gmail.com>
zyz2011-vim
runtime/doc/vimtutor-fr.UTF-8.1
Roff Manpage
gpl2
1,741
.\" Traduction Lundi 7 août 2000 par Richard Hitier .\" (richard.hitier@dial.oleane.com) .\" Mise à jour de la traduction par David Blanchet .\" (david.blanchet@free.fr) 2006-06-10 .\" Mise à jour de la traduction par Dominique Pellé .\" (dominique.pelle@gmail.com) 2008-11-29 .\" .TH VIM 1 "22 Février 2002" .SH NOM vim \- Vi IMproved, éditeur de texte pour programmeurs .SH SYNOPSIS .br .B vim [options] [fichier ...] .br .B vim [options] \- .br .B vim [options] \-t marqueur .br .B vim [options] \-q [fichiererreurs] .PP .br .B ex .br .B view .br .B gvim .B gview .B evim .B eview .br .B rvim .B rview .B rgvim .B rgview .SH DESCRIPTION .B Vim est un éditeur de texte proposant une compatibilité ascendante avec Vi. Il permet d'éditer n'importe quel type de texte brut. Il est particulièrement adapté pour l'édition des programmes. .PP Il comporte de nombreuses améliorations par rapport à Vi : annulation sur plusieurs niveaux, fenêtres et tampons multiples, coloration syntaxique, édition en ligne de commande, complètement des noms de fichiers, aide en ligne, sélection visuelle, etc. Voir ":help vi_diff.txt" pour un résumé des différences entre .B Vim et Vi. .PP Pendant l'exécution de .B Vim \, une aide abondante est accessible au travers du système d'aide en ligne, grâce à la commande ":help". Voir la section AIDE EN LIGNE plus bas. .PP Le plus souvent .B Vim est démarré pour éditer un unique fichier avec la commande .PP vim fichier .PP Plus généralement, .B Vim est lancé avec : .PP vim [options] [listefichiers] .PP Si la listefichiers est omise, l'éditeur démarre avec un tampon vide. Autrement, l'une des quatre méthodes suivantes vous permettra de choisir un ou plusieurs fichiers à éditer. .TP 12 fichier ... Une liste de noms de fichiers. Le premier sera le fichier courant et sera lu dans le tampon. Le curseur sera placé sur la première ligne du tampon. Vous pouvez passer aux autres fichiers avec la commande ":next". Pour éditer un fichier débutant par un tiret, faites précéder la liste de fichiers par "\-\-". .TP \- Le fichier à éditer est lu sur l'entrée standard (stdin). Les commandes sont lues depuis stderr, qui devrait être un terminal. .TP \-t {marqueur} Le fichier à éditer et la position initiale du curseur dépendent d'un "marqueur", qui est une sorte d'étiquette. {marqueur} est recherché dans le fichier des marqueurs, le fichier correspondant devient le fichier courant et la commande associée est exécutée. Principalement utile pour les programmes en C ; dans ce cas, {marqueur} peut être le nom d'une fonction. Au final, le fichier contenant cette fonction devient le fichier courant et le curseur est placé au début de la fonction. Voir ":help tag\-commands". .TP \-q [fichiererreurs] Démarre en mode Mise-au-point (QuickFix). Le fichier [fichiererreurs] est lu et la première erreur est affichée. Si [fichiererreurs] est omis, le nom du fichier est lu dans l'option 'errorfile' ("AztecC.Err" par défaut sur Amiga, "errors.err" sur les autres systèmes). La commande ":cn" permet de sauter aux erreurs suivantes. Voir ":help quickfix". .PP .B Vim se comporte différemment selon le nom de la commande (l'exécutable peut cependant être le même fichier). .TP 10 vim La façon "normale", le comportement par défaut. .TP ex Démarre en mode Ex. La commande ":vi" permet de passer en mode Normal. Ce mode est également accessible avec l'argument "\-e". .TP view Démarre en mode Lecture-Seule. Vous êtes protégé de l'écriture accidentelle des fichiers. Ce mode est également accessible avec l'argument "\-R". .TP gvim gview La version graphique. Ouvre une nouvelle fenêtre. Également accessible avec l'argument "\-g". .TP evim eview La version graphique en mode Débutant (easy). Ouvre une nouvelle fenêtre. Également accessible avec l'argument "\-y". .TP rvim rview rgvim rgview Comme ci-dessus, mais avec des restrictions. Il vous sera impossible de lancer des commandes du shell, ou de suspendre .B Vim. Également accessible avec l'argument "\-Z". .SH OPTIONS Les options peuvent être spécifiées dans n'importe quel ordre, avant ou après les noms de fichiers. Les options sans arguments peuvent être combinées après un unique tiret. .TP 12 +[num] Place le curseur sur la ligne "num" dans le premier fichier. Si "num" est omis, le curseur sera placé sur la dernière ligne. .TP +/{motif} Place le curseur sur la première occurrence de {motif} dans le premier fichier. Voir ":help search\-pattern" pour connaître les motifs de recherches disponibles. .TP +{commande} .TP \-c {commande} Exécute {commande} après la lecture du premier fichier. {commande} est interprétée comme une commande Ex. Si la {commande} contient des espaces, elle doit être entourée de doubles-apostrophes (cela dépend du shell utilisé). Exemple: Vim "+set si" main.c .br Note : vous pouvez utiliser jusqu'à 10 commandes "+" ou "\-c". .TP \-S {fichier} Source {fichier} après la lecture du premier fichier. C'est équivalent à \-c "source {fichier}". {fichier} ne peut pas débuter par un '\-'. Si {fichier} est omis, "Session.vim" est utilisé (cela ne fonctionne que si \-S est le dernier argument). .TP \-\-cmd {commande} Comme "\-c", mais la commande est exécutée juste avant de traiter les fichiers vimrc. Vous pouvez utiliser jusqu'à 10 de ces commandes, indépendamment des commandes "\-c". .TP \-A Si .B Vim a été compilé avec le support de la fonctionnalité ARABIC pour l'édition de fichiers de droite à gauche et les claviers arabes, cette option lance .B Vim en mode Arabe, c.-à-d. que l'option 'arabic' est activée. Sinon, un message d'erreur est émis et .B Vim quitte. .TP \-b Mode Binaire. Active plusieurs options pour permettre l'édition d'un fichier binaire ou exécutable. .TP \-C Compatible. Active l'option 'compatible'. .B Vim se comportera alors quasiment comme Vi, même s'il existe un fichier .vimrc. .TP \-d Démarre en mode Diff. Deux, trois ou quatre noms de fichiers doivent être spécifiés. .B Vim ouvrira alors tous les fichiers et affichera leurs différences. Fonctionne comme vimdiff(1). .TP \-d {périph} Ouvre {périph} pour l'utiliser comme terminal. Uniquement sur Amiga. Exemple: "\-d con:20/30/600/150". .TP \-D Debogage. Passe en mode Débogage lors de l'exécution de la première commande d'un script. .TP \-e Démarre .B Vim en mode Ex, comme si l'exécutable s'appelait "ex". .TP \-E Démarre .B Vim en mode Ex amélioré, comme si l'exécutable "exim" avait été invoqué. .TP \-f Premier-plan (Foreground). Pour la version graphique, .B Vim ne forke pas et ne se détache pas du shell dans lequel il a été invoqué. Sur Amiga, .B Vim n'est pas relancé pour ouvrir une nouvelle fenêtre. Cette option est utile quand .B Vim est exécuté par un programme qui attend la fin de la session d'édition (par exemple mail). Sur Amiga, les commandes ":sh" et ":!" ne fonctionneront pas. .TP \-\-nofork Premier-plan (Foreground). Pour la version graphique, .B Vim ne forkera pas et ne se détachera pas du shell dans lequel il a été lancé. .TP \-F Si .B Vim a été compilé avec le support de la fonctionnalité FKMAP pour l'édition de fichiers de droite à gauche et les claviers farsi, cette option lance .B Vim en mode Farsi, c.-à-d. avec les options 'fkmap' et 'rightleft' activées. Sinon, un message d'erreur est émis et .B Vim quitte. .TP \-g Si .B Vim a été compilé avec le support de l'IHM graphique, cette option active l'IHM graphique. Si le support n'a pas été compilé, un message d'erreur est émis et .B Vim quitte. .TP \-h Donne une aide succincte sur les arguments et les options de la ligne de commande. Après cela, .B Vim quitte. .TP \-H Si .B Vim a été compilé avec le support de la fonctionnalité RIGHTLEFT pour l'édition de fichiers de droite à gauche et les claviers hébreu, cette option lance .B Vim en mode Hébreu, c.-à-d. avec les options 'hkmap' et 'rightleft' activées. Sinon, un message d'erreur est émis et .B Vim quitte. .TP \-i {viminfo} Lorsque l'utilisation d'un fichier viminfo est activée, cette option indique le nom de fichier à utiliser à la place de "~/.viminfo" par défaut. Il est possible d'empêcher l'utilisation d'un fichier ".viminfo", en spécifiant le nom de fichier "NONE". .TP \-L Comme \-r. .TP \-l Mode Lisp. Active les options 'lisp' et 'showmatch'. .TP \-m Empêche la modification des fichiers. Désactive l'option 'write'. Vous pouvez toujours modifier le tampon, mais il vous sera impossible d'écrire le fichier. .TP \-M N'autorise aucune modification. les options 'modifiable' et 'write' sont désactivées, de sorte que les changements ne sont pas autorisés et que les fichiers ne peuvent pas être écrits. Note : ces options peuvent être activées pour autoriser les modifications. .TP \-N Mode Non-compatible. Désactive l'option 'compatible'. Cela améliorera le comportement de .B Vim \, mais il sera moins conforme à celui de Vi, même s'il n'existe aucun fichier ".vimrc". .TP \-n N'utilise pas de fichier d'échange (swapfile). Le recouvrement après un plantage sera impossible. Utile pour éditer un fichier sur un support très lent (disquette par ex.). Également activable avec ":set uc=0". Il est possible de l'annuler avec ":set uc=200". .TP \-nb Devient un serveur d'édition pour NetBeans. Consulter la documentation à ce sujet pour davantage de détails. .TP \-o[N] Ouvre N fenêtres les unes au-dessus des autres. Quand N est omis, ouvre une fenêtre pour chaque fichier. .TP \-O[N] Ouvre N fenêtres côte à côte. Quand N est omis, ouvre une fenêtre pour chaque fichier fichier. .TP \-p[N] Ouvre N onglets. Quand N est omis, ouvre un onglet pour chaque fichier fichier. .TP \-R Mode Lecture-Seule. Active l'option 'readonly'. Vous pouvez toujours éditer le tampon, mais il vous sera impossible de d'écraser accidentellement un fichier. Si vous voulez écraser un fichier, ajoutez un point d'exclamation à la commande Ex, comme dans ":w!". L'option \-R impose l'option \-n (voir ci-dessus). L'option 'readonly' peut être désactivée avec ":set noro". Voir ":help 'readonly'". .TP \-r Donne la liste des fichiers d'échange, avec des informations pour les utiliser à des fins de recouvrement. .TP \-r {file} Mode Recouvrement. Utilise le fichier d'échange pour récouvrer d'une session d'édition plantée. Le fichier d'échange est un fichier avec le même nom que le fichier texte, suivi du suffixe ".swp". Voir ":help recovery". .TP \-s Mode Silencieux. Disponible uniquement quand .B Vim est lancé en tant que "ex" ou quand l'option "\-e" a été spécifiée avant l'option "\-s". .TP \-s {scriptEntrée} Lit le fichier de script {scriptEntrée}. Les caractères du fichier sont interprétés comme si vous les tapiez. La commande ":source! {scriptEntrée}" donne le même résultat. Si la fin du fichier est atteinte avant que l'éditeur quitte, les caractères suivants sont lus depuis le clavier. .TP \-T {terminal} Indique à .B Vim le nom du terminal utilisé. Cela n'est requis que lorsque la détection automatique échoue. Le {terminal} devrait être connu de .B Vim (intégré) ou défini dans le fichier termcap ou terminfo. .TP \-u {vimrc} Utilise les commandes du fichier {vimrc} pour les initialisations. Toutes les autres initialisations sont omises. À utiliser pour éditer un type de fichiers particulier. Cela permet aussi d'omettre toute initialisation en spécifiant le nom de fichier "NONE". Voir ":help initialization" dans Vim pour davantage de détails. .TP \-U {gvimrc} Utilise les commandes du fichier {gvimrc} pour l'initialisation de l'IHM graphique. Toutes les autres initialisations graphiques sont omises. Cela permet aussi d'omettre toute initialisation graphique en spécifiant le nom de fichier "NONE". Voir ":help gui\-init" dans Vim pour davantage de détails. .TP \-V[N] Mode Verbeux. Donne des messages à propos des fichiers sourcés, ainsi que sur la lecture et les écritures dans le fichier viminfo. le nombre optionnel N précise la valeur de l'option 'verbose' (10 par défaut). .TP \-v Démarre .B Vim en mode Vi, comme si l'exécutable s'appelait "vi". Cela n'a d'effet que si l'exécutable invoqué est "ex". .TP \-w {scriptSortie} Tous les caractères que vous tapez sont enregistrés dans le fichier {scriptSortie}, jusqu'à ce que vous quittiez .B Vim. C'est utile quand vous voulez créer un fichier de script à utiliser avec "vim \-s" ou ":source!". Si le fichier {scriptSortie} existe, les caractères sont ajoutés à la fin. .TP \-W {scriptSortie} Comme \-w, mais un fichier existant sera écrasé. .TP \-x Chiffre les fichiers lors de l'écriture. Une clé de chiffrement sera demandée. .TP \-X Ne se connecte pas au serveur X. Accélère le temps de démarrage dans un terminal, mais le titre de la fenêtre et le presse-papier seront inaccessibles. .TP \-y Démarre .B Vim en mode Débutant (easy), comme si l'exécutable s'appelait "evim" ou "eview". Donne à .B Vim un comportement plus proche des éditeurs « cliquez-tapez ». .TP \-Z Mode restreint. Fonctionne comme si l'exécutable commençait par la lettre 'r'. .TP \-\- Délimite la fin des options. Les arguments qui suivent seront considérés comme des noms de fichiers. Cela permet d'éditer des fichier débutant par un '\-'. .TP \-\-echo\-wid IHM graphique GTK uniquement : retourne la Window ID sur stdout. .TP \-\-help Donne un message d'aide et quitte, comme "\-h". .TP \-\-literal Prend les arguments de noms de fichiers littéralement, sans étendre les jokers. N'a aucun effet sur Unix, où le shell étend les jokers. .TP \-\-noplugin Ne charge pas les greffons. Implicite avec \-u NONE. .TP \-\-remote Se connecte à un serveur Vim et lui fait éditer les fichiers spécifiés dans le reste des arguments. Si aucun serveur n'est trouvé, un avertissement est émis et les fichiers sont édités dans le Vim courant. .TP \-\-remote\-expr {expr} Se connecte à un serveur Vim, y évalue {expr} et affiche le résultat sur la sortie standard (stdout). .TP \-\-remote\-send {touches} Se connecte à un serveur Vim et y envoie {touches}. .TP \-\-remote\-silent Comme \-\-remote, mais sans émettre d'avertissement si aucun serveur n'est trouvé. .TP \-\-remote\-wait Comme \-\-remote, mais Vim ne quitte pas tant que le fichier est en cours d'édition. .TP \-\-remote\-wait\-silent Comme \-\-remote\-wait, mais sans émettre d'avertissement si aucun serveur n'est trouvé. .TP \-\-serverlist Donne la liste des noms de tous les serveurs Vim disponibles. .TP \-\-servername {nom} Utilise {nom} pour le nom de serveur. Ce nom est donné au Vim courant, à moins qu'il ne soit utilisé avec un argument \-\-remote. Dans ce cas, il s'agit du nom du serveur auquel se connecter. .TP \-\-socketid {id} IHM graphique GTK+ uniquement : utilise le mécanisme GtkPlug pour faire fonctionner gvim dans une autre fenêtre. .TP \-\-version Affiche les informations sur la version puis quitte. .SH AIDE EN LIGNE Taper ":help" dans .B Vim pour commencer. Taper ":help sujet" pour obtenir de l'aide sur un sujet précis. Par exemple : ":help ZZ" pour consulter l'aide sur la commande "ZZ". Utiliser <Tab> et CTRL\-D pour compléter les sujets (":help cmdline\-completion"). Des marqueurs sont inclus dans l'aide et vous permettent de sauter d'un endroit à un autre (comme des liens hypertextes, voir ":help"). L'ensemble des fichiers de la documentation peut être consulté de cette façon, par exemple ":help syntax.txt". .SH FICHIERS .TP 15 /usr/local/lib/vim/doc/*.txt Les fichiers de la documentation de .B Vim. Utiliser ":help doc\-file\-list" pour obtenir la liste complète. .TP /usr/local/lib/vim/doc/tags Le fichier des marqueurs utilisé pour trouver les informations dans les fichiers de la documentation. .TP /usr/local/lib/vim/syntax/syntax.vim Initialisation de la syntaxe pour l'ensemble du système. .TP /usr/local/lib/vim/syntax/*.vim Fichiers de syntaxe pour différents langages. .TP /usr/local/lib/vim/vimrc Initialisation de .B Vim pour l'ensemble du système. .TP ~/.vimrc Initialisation de .B Vim de votre compte utilisateur. .TP /usr/local/lib/vim/gvimrc Initialisation de gvim pour l'ensemble du système. .TP ~/.gvimrc Initialisation de gvim pour votre compte utilisateur. .TP /usr/local/lib/vim/optwin.vim Script utilisé pour la commande ":options", une manière pratique de consulter et de modifier les options. .TP /usr/local/lib/vim/menu.vim Initialisation des menus de gvim pour l'ensemble du système. .TP /usr/local/lib/vim/bugreport.vim Script pour générer un rapport de bogue. Voir ":help bugs". .TP /usr/local/lib/vim/filetype.vim Script pour détecter le type d'un fichier d'après son nom. Voir ":help 'filetype'". .TP /usr/local/lib/vim/scripts.vim Script pour détecter le type d'un fichier d'après son contenu. Voir ":help 'filetype'". .TP /usr/local/lib/vim/print/*.ps Fichiers utilisés pour l'impression PostScript. .PP Pour disposer d'informations récentes, consulter le site Internet de VIM : .br <URL:http://www.vim.org/> .SH VOIR AUSSI vimtutor(1) .SH AUTEUR La majeure partie de .B Vim a été écrite par Bram Moolenaar, avec l'aide de nombreux autres contributeurs. Voir ":help credits" dans .B Vim. .br .B Vim est basé sur Stevie, réalisé par Tim Thompson, Tony Andrews et G.R. (Fred) Walter. Toutefois, pratiquement rien du code original ne subsiste. .SH BOGUES Probablement. Voir ":help todo" pour consulter la liste des problèmes connus. .PP NOTE : Remarquez que bon nombre de points, qui pourraient être considérés comme des bugs par certains, sont en fait dus à une reproduction trop fidèle du comportement de Vi. Et si vous pensez que d'autres points sont des bugs "parce que Vi le fait différemment", vous devriez jeter un oeil attentif au fichier vi_diff.txt (ou taper ":help vi_diff.txt" dans Vim). Regardez aussi les options 'compatible' et 'coptions'. .SH TRADUCTION Cette page de manuel a été traduite par Richard Hitier. <richard.hitier@dial.oleane.com> 2000-08-07. .br Cette page de manuel a été mise à jour par David Blanchet. <david.blanchet@free.fr> 2006-04-10. Mise à jour 2012-05-06, Dominique Pellé <dominique.pelle@gmail.com>
zyz2011-vim
runtime/doc/vim-fr.UTF-8.1
Roff Manpage
gpl2
18,228
.TH VIMDIFF 1 "30 marzo 2001" .SH NOME vimdiff \- modifica due, tre o quattro versioni di un file con Vim, visualizzando le differenze .SH SINTASSI .br .B vimdiff [opzioni] file1 file2 [file3 [file4]] .PP .B gvimdiff .SH DESCRIZIONE .B Vimdiff inizia .B Vim per due (o tre o quattro) 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. .PP Vedere vim(1) per dettagli su Vim in generale. .PP Se iniziato con .B gvimdiff la GUI sarà utilizzata, se disponibile. .PP In ogni finestra l'opzione 'diff' è impostata, evidenziando così le differenze. .br Le opzioni 'wrap' e 'scrollbind' sono impostate per migliorare la visibilità del testo. .br L'opzione 'foldmethod' è impostata al valore "diff", che mette 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". .PP Per tutte le altre opzioni, 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. Vedere ":help credits" in .B Vim.
zyz2011-vim
runtime/doc/vimdiff-it.UTF-8.1
Roff Manpage
gpl2
1,347
.TH VIMTUTOR 1 "2001 April 2" .SH NAME vimtutor \- the Vim tutor .SH SYNOPSIS .br .B vimtutor [\-g] [language] .SH DESCRIPTION .B Vimtutor starts the .B Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file. .PP The .B Vimtutor is useful for people that want to learn their first .B Vim commands. .PP The optional argument \-g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or falls back to Vim if gvim is not found. .PP The optional [language] argument is the two-letter name of a language, like "it" or "es". If the [language] argument is missing, the language of the current locale will be used. If a tutor in this language is available, it will be used. Otherwise the English version will be used. .PP .B Vim is always started in Vi compatible mode. .SH FILES .TP 15 /usr/local/lib/vim/tutor/tutor[.language] The .B Vimtutor text file(s). .TP 15 /usr/local/lib/vim/tutor/tutor.vim The Vim script used to copy the .B Vimtutor text file. .SH AUTHOR The .B Vimtutor was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by Charles Smith, Colorado State University. E-mail: bware@mines.colorado.edu. .br It was modified for .B Vim by Bram Moolenaar. For the names of the translators see the tutor files. .SH SEE ALSO vim(1)
zyz2011-vim
runtime/doc/vimtutor.1
Roff Manpage
gpl2
1,374
# # Makefile for the Vim documentation on Unix # # If you get "don't know how to make scratch", first run make in the source # directory. Or remove the include below. AWK = awk # Set to $(VIMTARGET) when executed from src/Makefile. VIMEXE = vim # include the config.mk from the source directory. It's only needed to set # AWK, used for "make html". Comment this out if the include gives problems. include ../../src/auto/config.mk DOCS = \ arabic.txt \ autocmd.txt \ change.txt \ cmdline.txt \ debug.txt \ debugger.txt \ develop.txt \ diff.txt \ digraph.txt \ editing.txt \ eval.txt \ farsi.txt \ filetype.txt \ fold.txt \ ft_ada.txt \ ft_sql.txt \ gui.txt \ gui_w16.txt \ gui_w32.txt \ gui_x11.txt \ hangulin.txt \ hebrew.txt \ help.txt \ helphelp.txt \ howto.txt \ if_cscop.txt \ if_lua.txt \ if_mzsch.txt \ if_ole.txt \ if_perl.txt \ if_pyth.txt \ if_ruby.txt \ if_sniff.txt \ if_tcl.txt \ indent.txt \ index.txt \ insert.txt \ intro.txt \ map.txt \ mbyte.txt \ message.txt \ mlang.txt \ motion.txt \ netbeans.txt \ options.txt \ os_390.txt \ os_amiga.txt \ os_beos.txt \ os_dos.txt \ os_mac.txt \ os_mint.txt \ os_msdos.txt \ os_os2.txt \ os_qnx.txt \ os_risc.txt \ os_unix.txt \ os_vms.txt \ os_win32.txt \ pattern.txt \ pi_getscript.txt \ pi_gzip.txt \ pi_netrw.txt \ pi_paren.txt \ pi_spec.txt \ pi_tar.txt \ pi_vimball.txt \ pi_zip.txt \ print.txt \ quickfix.txt \ quickref.txt \ quotes.txt \ recover.txt \ remote.txt \ repeat.txt \ rileft.txt \ russian.txt \ scroll.txt \ sign.txt \ spell.txt \ sponsor.txt \ starting.txt \ syntax.txt \ tabpage.txt \ tagsrch.txt \ term.txt \ tips.txt \ todo.txt \ uganda.txt \ undo.txt \ usr_01.txt \ usr_02.txt \ usr_03.txt \ usr_04.txt \ usr_05.txt \ usr_06.txt \ usr_07.txt \ usr_08.txt \ usr_09.txt \ usr_10.txt \ usr_11.txt \ usr_12.txt \ usr_20.txt \ usr_21.txt \ usr_22.txt \ usr_23.txt \ usr_24.txt \ usr_25.txt \ usr_26.txt \ usr_27.txt \ usr_28.txt \ usr_29.txt \ usr_30.txt \ usr_31.txt \ usr_32.txt \ usr_40.txt \ usr_41.txt \ usr_42.txt \ usr_43.txt \ usr_44.txt \ usr_45.txt \ usr_90.txt \ usr_toc.txt \ various.txt \ version4.txt \ version5.txt \ version6.txt \ version7.txt \ vi_diff.txt \ visual.txt \ windows.txt \ workshop.txt HTMLS = \ arabic.html \ autocmd.html \ change.html \ cmdline.html \ debug.html \ debugger.html \ develop.html \ diff.html \ digraph.html \ editing.html \ eval.html \ farsi.html \ filetype.html \ fold.html \ ft_ada.html \ ft_sql.html \ gui.html \ gui_w16.html \ gui_w32.html \ gui_x11.html \ hangulin.html \ hebrew.html \ helphelp.html \ howto.html \ if_cscop.html \ if_lua.html \ if_mzsch.html \ if_ole.html \ if_perl.html \ if_pyth.html \ if_ruby.html \ if_sniff.html \ if_tcl.html \ indent.html \ index.html \ insert.html \ intro.html \ map.html \ mbyte.html \ message.html \ mlang.html \ motion.html \ netbeans.html \ options.html \ os_390.html \ os_amiga.html \ os_beos.html \ os_dos.html \ os_mac.html \ os_mint.html \ os_msdos.html \ os_os2.html \ os_qnx.html \ os_risc.html \ os_unix.html \ os_vms.html \ os_win32.html \ pattern.html \ pi_getscript.html \ pi_gzip.html \ pi_netrw.html \ pi_paren.html \ pi_spec.html \ pi_tar.html \ pi_vimball.html \ pi_zip.html \ print.html \ quickfix.html \ quickref.html \ quotes.html \ recover.html \ remote.html \ repeat.html \ rileft.html \ russian.html \ scroll.html \ sign.html \ spell.html \ sponsor.html \ starting.html \ syntax.html \ tabpage.html \ tags.html \ tagsrch.html \ term.html \ tips.html \ todo.html \ uganda.html \ undo.html \ usr_01.html \ usr_02.html \ usr_03.html \ usr_04.html \ usr_05.html \ usr_06.html \ usr_07.html \ usr_08.html \ usr_09.html \ usr_10.html \ usr_11.html \ usr_12.html \ usr_20.html \ usr_21.html \ usr_22.html \ usr_23.html \ usr_24.html \ usr_25.html \ usr_26.html \ usr_27.html \ usr_28.html \ usr_29.html \ usr_30.html \ usr_31.html \ usr_32.html \ usr_40.html \ usr_41.html \ usr_42.html \ usr_43.html \ usr_44.html \ usr_45.html \ usr_90.html \ usr_toc.html \ various.html \ version4.html \ version5.html \ version6.html \ version7.html \ vi_diff.html \ vimindex.html \ visual.html \ windows.html \ workshop.html CONVERTED = \ vim-fr.UTF-8.1 \ evim-fr.UTF-8.1 \ vimdiff-fr.UTF-8.1 \ vimtutor-fr.UTF-8.1 \ xxd-fr.UTF-8.1 \ vim-it.UTF-8.1 \ evim-it.UTF-8.1 \ vimdiff-it.UTF-8.1 \ vimtutor-it.UTF-8.1 \ xxd-it.UTF-8.1 \ vim-pl.UTF-8.1 \ evim-pl.UTF-8.1 \ vimdiff-pl.UTF-8.1 \ vimtutor-pl.UTF-8.1 \ xxd-pl.UTF-8.1 \ vim-ru.UTF-8.1 \ evim-ru.UTF-8.1 \ vimdiff-ru.UTF-8.1 \ vimtutor-ru.UTF-8.1 \ xxd-ru.UTF-8.1 .SUFFIXES: .SUFFIXES: .c .o .txt .html all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) # Use Vim to generate the tags file. Can only be used when Vim has been # compiled and installed. Supports multiple languages. vimtags: $(DOCS) $(VIMEXE) -u NONE -esX -c "helptags ++t ." -c quit # Use "doctags" to generate the tags file. Only works for English! tags: doctags $(DOCS) ./doctags $(DOCS) | LANG=C LC_ALL=C sort >tags uniq -d -2 tags doctags: doctags.c $(CC) doctags.c -o doctags vim.man: vim.1 nroff -man vim.1 | sed -e s/.//g > vim.man evim.man: evim.1 nroff -man evim.1 | sed -e s/.//g > evim.man vimdiff.man: vimdiff.1 nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man vimtutor.man: vimtutor.1 nroff -man vimtutor.1 | sed -e s/.//g > vimtutor.man xxd.man: xxd.1 nroff -man xxd.1 | sed -e s/.//g > xxd.man uganda.nsis.txt: uganda.txt sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78://' \ uganda.txt | uniq >uganda.nsis.txt # Awk version of .txt to .html conversion. html: noerrors tags $(HTMLS) @if test -f errors.log; then more errors.log; fi noerrors: -rm -f errors.log $(HTMLS): tags.ref .txt.html: $(AWK) -f makehtml.awk $< >$@ # index.html is the starting point for HTML, but for the help files it is # help.txt. Therefore use vimindex.html for index.txt. index.html: help.txt $(AWK) -f makehtml.awk help.txt >index.html vimindex.html: index.txt $(AWK) -f makehtml.awk index.txt >vimindex.html tags.ref tags.html: tags $(AWK) -f maketags.awk tags >tags.html # Perl version of .txt to .html conversion. # There can't be two rules to produce a .html from a .txt file. # Just run over all .txt files each time one changes. It's fast anyway. perlhtml: tags $(DOCS) ./vim2html.pl tags $(DOCS) clean: -rm doctags *.html tags.ref # These files are in the extra archive, skip if not present arabic.txt: touch arabic.txt farsi.txt: touch farsi.txt hebrew.txt: touch hebrew.txt russian.txt: touch russian.txt gui_w16.txt: touch gui_w16.txt gui_w32.txt: touch gui_w32.txt if_ole.txt: touch if_ole.txt os_390.txt: touch os_390.txt os_amiga.txt: touch os_amiga.txt os_beos.txt: touch os_beos.txt os_dos.txt: touch os_dos.txt os_mac.txt: touch os_mac.txt os_mint.txt: touch os_mint.txt os_msdos.txt: touch os_msdos.txt os_os2.txt: touch os_os2.txt os_qnx.txt: touch os_qnx.txt os_risc.txt: touch os_risc.txt os_win32.txt: touch os_win32.txt # Note that $< works with GNU make while $> works for BSD make. # Is there a solution that works for both?? vim-fr.UTF-8.1: vim-fr.1 iconv -f latin1 -t utf-8 $< >$@ evim-fr.UTF-8.1: evim-fr.1 iconv -f latin1 -t utf-8 $< >$@ vimdiff-fr.UTF-8.1: vimdiff-fr.1 iconv -f latin1 -t utf-8 $< >$@ vimtutor-fr.UTF-8.1: vimtutor-fr.1 iconv -f latin1 -t utf-8 $< >$@ xxd-fr.UTF-8.1: xxd-fr.1 iconv -f latin1 -t utf-8 $< >$@ vim-it.UTF-8.1: vim-it.1 iconv -f latin1 -t utf-8 $< >$@ evim-it.UTF-8.1: evim-it.1 iconv -f latin1 -t utf-8 $< >$@ vimdiff-it.UTF-8.1: vimdiff-it.1 iconv -f latin1 -t utf-8 $< >$@ vimtutor-it.UTF-8.1: vimtutor-it.1 iconv -f latin1 -t utf-8 $< >$@ xxd-it.UTF-8.1: xxd-it.1 iconv -f latin1 -t utf-8 $< >$@ vim-pl.UTF-8.1: vim-pl.1 iconv -f latin2 -t utf-8 $< >$@ evim-pl.UTF-8.1: evim-pl.1 iconv -f latin2 -t utf-8 $< >$@ vimdiff-pl.UTF-8.1: vimdiff-pl.1 iconv -f latin2 -t utf-8 $< >$@ vimtutor-pl.UTF-8.1: vimtutor-pl.1 iconv -f latin2 -t utf-8 $< >$@ xxd-pl.UTF-8.1: xxd-pl.1 iconv -f latin2 -t utf-8 $< >$@ vim-ru.UTF-8.1: vim-ru.1 iconv -f KOI8-R -t utf-8 $< >$@ evim-ru.UTF-8.1: evim-ru.1 iconv -f KOI8-R -t utf-8 $< >$@ vimdiff-ru.UTF-8.1: vimdiff-ru.1 iconv -f KOI8-R -t utf-8 $< >$@ vimtutor-ru.UTF-8.1: vimtutor-ru.1 iconv -f KOI8-R -t utf-8 $< >$@ xxd-ru.UTF-8.1: xxd-ru.1 iconv -f KOI8-R -t utf-8 $< >$@
zyz2011-vim
runtime/doc/Makefile
Makefile
gpl2
8,600
/* vim:set ts=4 sw=4: * this program makes a tags file for vim_ref.txt * * Usage: doctags vim_ref.txt vim_win.txt ... >tags * * A tag in this context is an identifier between stars, e.g. *c_files* */ #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #define LINELEN 200 int main(argc, argv) int argc; char **argv; { char line[LINELEN]; char *p1, *p2; char *p; FILE *fd; if (argc <= 1) { fprintf(stderr, "Usage: doctags docfile ... >tags\n"); exit(1); } printf("help-tags\ttags\t1\n"); while (--argc > 0) { ++argv; fd = fopen(argv[0], "r"); if (fd == NULL) { fprintf(stderr, "Unable to open %s for reading\n", argv[0]); continue; } while (fgets(line, LINELEN, fd) != NULL) { p1 = strchr(line, '*'); /* find first '*' */ while (p1 != NULL) { p2 = strchr(p1 + 1, '*'); /* find second '*' */ if (p2 != NULL && p2 > p1 + 1) /* skip "*" and "**" */ { for (p = p1 + 1; p < p2; ++p) if (*p == ' ' || *p == '\t' || *p == '|') break; /* * Only accept a *tag* when it consists of valid * characters, there is white space before it and is * followed by a white character or end-of-line. */ if (p == p2 && (p1 == line || p1[-1] == ' ' || p1[-1] == '\t') && (strchr(" \t\n\r", p[1]) != NULL || p[1] == '\0')) { *p2 = '\0'; ++p1; printf("%s\t%s\t/*", p1, argv[0]); while (*p1) { /* insert backslash before '\\' and '/' */ if (*p1 == '\\' || *p1 == '/') putchar('\\'); putchar(*p1); ++p1; } printf("*\n"); p2 = strchr(p2 + 1, '*'); /* find next '*' */ } } p1 = p2; } } fclose(fd); } return 0; }
zyz2011-vim
runtime/doc/doctags.c
C
gpl2
1,768
.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. .SH SINTASSI .br .B evim [opzioni] [file ..] .br .B eview .SH DESCRIZIONE .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. .PP Da usarsi soltanto se non si è in grado di lavorare con Vim nella maniera usuale. La modifica file sarà molto meno efficiente. .PP .B eview come sopra, ma 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. .br 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. .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 VEDERE ANCHE vim(1) .SH AUTORE Buona parte di .B Vim è stato scritto da Bram Moolenaar, con molto aiuto da altri. Vedere il menù "Aiuto/Crediti".
zyz2011-vim
runtime/doc/evim-it.UTF-8.1
Roff Manpage
gpl2
1,626
.TH VIM 1 "2006 Apr 11" .SH NAME vim \- Vi IMproved, a programmers text editor .SH SYNOPSIS .br .B vim [options] [file ..] .br .B vim [options] \- .br .B vim [options] \-t tag .br .B vim [options] \-q [errorfile] .PP .br .B ex .br .B view .br .B gvim .B gview .B evim .B eview .br .B rvim .B rview .B rgvim .B rgview .SH DESCRIPTION .B Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. .PP There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, command line editing, filename completion, on-line help, visual selection, etc.. See ":help vi_diff.txt" for a summary of the differences between .B Vim and Vi. .PP While running .B Vim a lot of help can be obtained from the on-line help system, with the ":help" command. See the ON-LINE HELP section below. .PP Most often .B Vim is started to edit a single file with the command .PP vim file .PP More generally .B Vim is started with: .PP vim [options] [filelist] .PP If the filelist is missing, the editor will start with an empty buffer. Otherwise exactly one out of the following four may be used to choose one or more files to be edited. .TP 12 file .. A list of filenames. The first one will be the current file and read into the buffer. The cursor will be positioned on the first line of the buffer. You can get to the other files with the ":next" command. To edit a file that starts with a dash, precede the filelist with "\-\-". .TP \- The file to edit is read from stdin. Commands are read from stderr, which should be a tty. .TP \-t {tag} The file to edit and the initial cursor position depends on a "tag", a sort of goto label. {tag} is looked up in the tags file, the associated file becomes the current file and the associated command is executed. Mostly this is used for C programs, in which case {tag} could be a function name. The effect is that the file containing that function becomes the current file and the cursor is positioned on the start of the function. See ":help tag\-commands". .TP \-q [errorfile] Start in quickFix mode. The file [errorfile] is read and the first error is displayed. If [errorfile] is omitted, the filename is obtained from the 'errorfile' option (defaults to "AztecC.Err" for the Amiga, "errors.err" on other systems). Further errors can be jumped to with the ":cn" command. See ":help quickfix". .PP .B Vim behaves differently, depending on the name of the command (the executable may still be the same file). .TP 10 vim The "normal" way, everything is default. .TP ex Start in Ex mode. Go to Normal mode with the ":vi" command. Can also be done with the "\-e" argument. .TP view Start in read-only mode. You will be protected from writing the files. Can also be done with the "\-R" argument. .TP gvim gview The GUI version. Starts a new window. Can also be done with the "\-g" argument. .TP evim eview The GUI version in easy mode. Starts a new window. Can also be done with the "\-y" argument. .TP rvim rview rgvim rgview Like the above, but with restrictions. It will not be possible to start shell commands, or suspend .B Vim. Can also be done with the "\-Z" argument. .SH OPTIONS The options may be given in any order, before or after filenames. Options without an argument can be combined after a single dash. .TP 12 +[num] For the first file the cursor will be positioned on line "num". If "num" is missing, the cursor will be positioned on the last line. .TP +/{pat} For the first file the cursor will be positioned on the first occurrence of {pat}. See ":help search\-pattern" for the available search patterns. .TP +{command} .TP \-c {command} {command} will be executed after the first file has been read. {command} is interpreted as an Ex command. If the {command} contains spaces it must be enclosed in double quotes (this depends on the shell that is used). Example: Vim "+set si" main.c .br Note: You can use up to 10 "+" or "\-c" commands. .TP \-S {file} {file} will be sourced after the first file has been read. This is equivalent to \-c "source {file}". {file} cannot start with '\-'. If {file} is omitted "Session.vim" is used (only works when \-S is the last argument). .TP \-\-cmd {command} Like using "\-c", but the command is executed just before processing any vimrc file. You can use up to 10 of these commands, independently from "\-c" commands. .TP \-A If .B Vim has been compiled with ARABIC support for editing right-to-left oriented files and Arabic keyboard mapping, this option starts .B Vim in Arabic mode, i.e. 'arabic' is set. Otherwise an error message is given and .B Vim aborts. .TP \-b Binary mode. A few options will be set that makes it possible to edit a binary or executable file. .TP \-C Compatible. Set the 'compatible' option. This will make .B Vim behave mostly like Vi, even though a .vimrc file exists. .TP \-d Start in diff mode. There should be two, three or four file name arguments. .B Vim will open all the files and show differences between them. Works like vimdiff(1). .TP \-d {device} Open {device} for use as a terminal. Only on the Amiga. Example: "\-d con:20/30/600/150". .TP \-D Debugging. Go to debugging mode when executing the first command from a script. .TP \-e Start .B Vim in Ex mode, just like the executable was called "ex". .TP \-E Start .B Vim in improved Ex mode, just like the executable was called "exim". .TP \-f Foreground. For the GUI version, .B Vim will not fork and detach from the shell it was started in. On the Amiga, .B Vim is not restarted to open a new window. This option should be used when .B Vim is executed by a program that will wait for the edit session to finish (e.g. mail). On the Amiga the ":sh" and ":!" commands will not work. .TP \-\-nofork Foreground. For the GUI version, .B Vim will not fork and detach from the shell it was started in. .TP \-F If .B Vim has been compiled with FKMAP support for editing right-to-left oriented files and Farsi keyboard mapping, this option starts .B Vim in Farsi mode, i.e. 'fkmap' and 'rightleft' are set. Otherwise an error message is given and .B Vim aborts. .TP \-g If .B Vim has been compiled with GUI support, this option enables the GUI. If no GUI support was compiled in, an error message is given and .B Vim aborts. .TP \-h Give a bit of help about the command line arguments and options. After this .B Vim exits. .TP \-H If .B Vim has been compiled with RIGHTLEFT support for editing right-to-left oriented files and Hebrew keyboard mapping, this option starts .B Vim in Hebrew mode, i.e. 'hkmap' and 'rightleft' are set. Otherwise an error message is given and .B Vim aborts. .TP \-i {viminfo} When using the viminfo file is enabled, this option sets the filename to use, instead of the default "~/.viminfo". This can also be used to skip the use of the .viminfo file, by giving the name "NONE". .TP \-L Same as \-r. .TP \-l Lisp mode. Sets the 'lisp' and 'showmatch' options on. .TP \-m Modifying files is disabled. Resets the 'write' option. You can still modify the buffer, but writing a file is not possible. .TP \-M Modifications not allowed. The 'modifiable' and 'write' options will be unset, so that changes are not allowed and files can not be written. Note that these options can be set to enable making modifications. .TP \-N No-compatible mode. Reset the 'compatible' option. This will make .B Vim behave a bit better, but less Vi compatible, even though a .vimrc file does not exist. .TP \-n No swap file will be used. Recovery after a crash will be impossible. Handy if you want to edit a file on a very slow medium (e.g. floppy). Can also be done with ":set uc=0". Can be undone with ":set uc=200". .TP \-nb Become an editor server for NetBeans. See the docs for details. .TP \-o[N] Open N windows stacked. When N is omitted, open one window for each file. .TP \-O[N] Open N windows side by side. When N is omitted, open one window for each file. .TP \-p[N] Open N tab pages. When N is omitted, open one tab page for each file. .TP \-R Read-only mode. The 'readonly' option will be set. You can still edit the buffer, but will be prevented from accidently overwriting a file. If you do want to overwrite a file, add an exclamation mark to the Ex command, as in ":w!". The \-R option also implies the \-n option (see below). The 'readonly' option can be reset with ":set noro". See ":help 'readonly'". .TP \-r List swap files, with information about using them for recovery. .TP \-r {file} Recovery mode. The swap file is used to recover a crashed editing session. The swap file is a file with the same filename as the text file with ".swp" appended. See ":help recovery". .TP \-s Silent mode. Only when started as "Ex" or when the "\-e" option was given before the "\-s" option. .TP \-s {scriptin} The script file {scriptin} is read. The characters in the file are interpreted as if you had typed them. The same can be done with the command ":source! {scriptin}". If the end of the file is reached before the editor exits, further characters are read from the keyboard. .TP \-T {terminal} Tells .B Vim the name of the terminal you are using. Only required when the automatic way doesn't work. Should be a terminal known to .B Vim (builtin) or defined in the termcap or terminfo file. .TP \-u {vimrc} Use the commands in the file {vimrc} for initializations. All the other initializations are skipped. Use this to edit a special kind of files. It can also be used to skip all initializations by giving the name "NONE". See ":help initialization" within vim for more details. .TP \-U {gvimrc} Use the commands in the file {gvimrc} for GUI initializations. All the other GUI initializations are skipped. It can also be used to skip all GUI initializations by giving the name "NONE". See ":help gui\-init" within vim for more details. .TP \-V[N] Verbose. Give messages about which files are sourced and for reading and writing a viminfo file. The optional number N is the value for 'verbose'. Default is 10. .TP \-v Start .B Vim in Vi mode, just like the executable was called "vi". This only has effect when the executable is called "ex". .TP \-w {scriptout} All the characters that you type are recorded in the file {scriptout}, until you exit .B Vim. This is useful if you want to create a script file to be used with "vim \-s" or ":source!". If the {scriptout} file exists, characters are appended. .TP \-W {scriptout} Like \-w, but an existing file is overwritten. .TP \-x Use encryption when writing files. Will prompt for a crypt key. .TP \-X Don't connect to the X server. Shortens startup time in a terminal, but the window title and clipboard will not be used. .TP \-y Start .B Vim in easy mode, just like the executable was called "evim" or "eview". Makes .B Vim behave like a click-and-type editor. .TP \-Z Restricted mode. Works like the executable starts with "r". .TP \-\- Denotes the end of the options. Arguments after this will be handled as a file name. This can be used to edit a filename that starts with a '\-'. .TP \-\-echo\-wid GTK GUI only: Echo the Window ID on stdout. .TP \-\-help Give a help message and exit, just like "\-h". .TP \-\-literal Take file name arguments literally, do not expand wildcards. This has no effect on Unix where the shell expands wildcards. .TP \-\-noplugin Skip loading plugins. Implied by \-u NONE. .TP \-\-remote Connect to a Vim server and make it edit the files given in the rest of the arguments. If no server is found a warning is given and the files are edited in the current Vim. .TP \-\-remote\-expr {expr} Connect to a Vim server, evaluate {expr} in it and print the result on stdout. .TP \-\-remote\-send {keys} Connect to a Vim server and send {keys} to it. .TP \-\-remote\-silent As \-\-remote, but without the warning when no server is found. .TP \-\-remote\-wait As \-\-remote, but Vim does not exit until the files have been edited. .TP \-\-remote\-wait\-silent As \-\-remote\-wait, but without the warning when no server is found. .TP \-\-serverlist List the names of all Vim servers that can be found. .TP \-\-servername {name} Use {name} as the server name. Used for the current Vim, unless used with a \-\-remote argument, then it's the name of the server to connect to. .TP \-\-socketid {id} GTK GUI only: Use the GtkPlug mechanism to run gvim in another window. .TP \-\-version Print version information and exit. .SH ON-LINE HELP Type ":help" in .B Vim to get started. Type ":help subject" to get help on a specific subject. For example: ":help ZZ" to get help for the "ZZ" command. Use <Tab> and CTRL-D to complete subjects (":help cmdline\-completion"). Tags are present to jump from one place to another (sort of hypertext links, see ":help"). All documentation files can be viewed in this way, for example ":help syntax.txt". .SH FILES .TP 15 /usr/local/lib/vim/doc/*.txt The .B Vim documentation files. Use ":help doc\-file\-list" to get the complete list. .TP /usr/local/lib/vim/doc/tags The tags file used for finding information in the documentation files. .TP /usr/local/lib/vim/syntax/syntax.vim System wide syntax initializations. .TP /usr/local/lib/vim/syntax/*.vim Syntax files for various languages. .TP /usr/local/lib/vim/vimrc System wide .B Vim initializations. .TP ~/.vimrc Your personal .B Vim initializations. .TP /usr/local/lib/vim/gvimrc System wide gvim initializations. .TP ~/.gvimrc Your personal gvim initializations. .TP /usr/local/lib/vim/optwin.vim Script used for the ":options" command, a nice way to view and set options. .TP /usr/local/lib/vim/menu.vim System wide menu initializations for gvim. .TP /usr/local/lib/vim/bugreport.vim Script to generate a bug report. See ":help bugs". .TP /usr/local/lib/vim/filetype.vim Script to detect the type of a file by its name. See ":help 'filetype'". .TP /usr/local/lib/vim/scripts.vim Script to detect the type of a file by its contents. See ":help 'filetype'". .TP /usr/local/lib/vim/print/*.ps Files used for PostScript printing. .PP For recent info read the VIM home page: .br <URL:http://www.vim.org/> .SH SEE ALSO vimtutor(1) .SH AUTHOR Most of .B Vim was made by Bram Moolenaar, with a lot of help from others. See ":help credits" in .B Vim. .br .B Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and G.R. (Fred) Walter. Although hardly any of the original code remains. .SH BUGS Probably. See ":help todo" for a list of known problems. .PP Note that a number of things that may be regarded as bugs by some, are in fact caused by a too-faithful reproduction of Vi's behaviour. And if you think other things are bugs "because Vi does it differently", you should take a closer look at the vi_diff.txt file (or type :help vi_diff.txt when in Vim). Also have a look at the 'compatible' and 'cpoptions' options.
zyz2011-vim
runtime/doc/vim.1
Roff Manpage
gpl2
14,821
VIMDIFF(1) VIMDIFF(1) NAME vimdiff - edit two, three or four versions of a file with Vim and show differences SYNOPSIS vimdiff [options] file1 file2 [file3 [file4]] gvimdiff DESCRIPTION Vimdiff starts Vim on two (or three or four) files. Each file gets its own window. The differences between the files are highlighted. This is a nice way to inspect changes and to move changes from one version to another version of the same file. See vim(1) for details about Vim itself. When started as gvimdiff the GUI will be started, if available. In each window the 'diff' option will be set, which causes the differ- ences to be highlighted. The 'wrap' and 'scrollbind' options are set to make the text look good. The 'foldmethod' option is set to "diff", which puts ranges of lines without changes in a fold. 'foldcolumn' is set to two to make it easy to spot the folds and open or close them. OPTIONS Vertical splits are used to align the lines, as if the "-O" argument was used. To use horizontal splits instead, use the "-o" argument. For all other arguments see vim(1). SEE ALSO vim(1) AUTHOR Most of Vim was made by Bram Moolenaar, with a lot of help from others. See ":help credits" in Vim. 2001 March 30 VIMDIFF(1)
zyz2011-vim
runtime/doc/vimdiff.man
Roff
gpl2
1,513
#!/usr/bin/env perl # converts vim documentation to simple html # Sirtaj Singh Kang (taj@kde.org) # Sun Feb 24 14:49:17 CET 2002 use strict; use vars qw/%url $date/; %url = (); $date = `date`; chop $date; sub maplink { my $tag = shift; if( exists $url{ $tag } ){ return $url{ $tag }; } else { #warn "Unknown hyperlink target: $tag\n"; $tag =~ s/\.txt//; $tag =~ s/</&lt;/g; $tag =~ s/>/&gt;/g; return "<code class=\"badlink\">$tag</code>"; } } sub readTagFile { my($tagfile) = @_; my( $tag, $file, $name ); open(TAGS,"$tagfile") || die "can't read tags\n"; while( <TAGS> ) { next unless /^(\S+)\s+(\S+)\s+/; $tag = $1; my $label = $tag; ($file= $2) =~ s/.txt$/.html/g; $label =~ s/\.txt//; $url{ $tag } = "<a href=\"$file#".escurl($tag)."\">".esctext($label)."</a>"; } close( TAGS ); } sub esctext { my $text = shift; $text =~ s/&/&amp;/g; $text =~ s/</&lt;/g; $text =~ s/>/&gt;/g; return $text; } sub escurl { my $url = shift; $url =~ s/"/%22/g; $url =~ s/~/%7E/g; $url =~ s/</%3C/g; $url =~ s/>/%3E/g; $url =~ s/=/%20/g; $url =~ s/#/%23/g; $url =~ s/\//%2F/g; return $url; } sub vim2html { my( $infile ) = @_; my( $outfile ); open(IN, "$infile" ) || die "Couldn't read from $infile: $!.\n"; ($outfile = $infile) =~ s:.*/::g; $outfile =~ s/\.txt$//g; open( OUT, ">$outfile.html" ) || die "Couldn't write to $outfile.html: $!.\n"; my $head = uc( $outfile ); print OUT<<EOF; <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>VIM: $outfile</title> <link rel="stylesheet" href="vim-stylesheet.css" type="text/css"> </head> <body> <h2>$head</h2> <pre> EOF my $inexample = 0; while( <IN> ) { chop; if ( /^\s*[-=]+\s*$/ ) { print OUT "</pre><hr><pre>"; next; } # examples elsif( /^>$/ || /\s>$/ ) { $inexample = 1; chop; } elsif ( $inexample && /^([<\S])/ ) { $inexample = 0; $_ = $' if $1 eq "<"; } s/\s+$//g; # Various vim highlights. note that < and > have already been escaped # so that HTML doesn't get screwed up. my @out = (); # print "Text: $_\n"; LOOP: foreach my $token ( split /((?:\|[^\|]+\|)|(?:\*[^\*]+\*))/ ) { if ( $token =~ /^\|([^\|]+)\|/ ) { # link push( @out, "|".maplink( $1 )."|" ); next LOOP; } elsif ( $token =~ /^\*([^\*]+)\*/ ) { # target push( @out, "<b class=\"vimtag\">\*<a name=\"".escurl($1)."\">".esctext($1)."<\/a>\*<\/b>"); next LOOP; } $_ = esctext($token); s/CTRL-(\w+)/<code class="keystroke">CTRL-$1<\/code>/g; # parameter <...> s/&lt;(.*?)&gt;/<code class="special">&lt;$1&gt;<\/code>/g; # parameter {...} s/\{([^}]*)\}/<code class="special">{$1}<\/code>/g; # parameter [...] s/\[(range|line|count|offset|cmd|[-+]?num)\]/<code class="special">\[$1\]<\/code>/g; # note s/(Note:?)/<code class="note">$1<\/code>/gi; # local heading s/^(.*)\~$/<code class="section">$1<\/code>/g; push( @out, $_ ); } $_ = join( "", @out ); if( $inexample == 2 ) { print OUT "<code class=\"example\">$_</code>\n"; } else { print OUT $_,"\n"; } $inexample = 2 if $inexample == 1; } print OUT<<EOF; </pre> <p><i>Generated by vim2html on $date</i></p> </body> </html> EOF } sub usage { die<<EOF; vim2html.pl: converts vim documentation to HTML. usage: vim2html.pl <tag file> <text files> EOF } sub writeCSS { open( CSS, ">vim-stylesheet.css" ) || die "Couldn't write stylesheet: $!\n"; print CSS<<EOF; body { background-color: white; color: black;} :link { color: rgb(0,137,139); } :visited { color: rgb(0,100,100); background-color: white; /* should be inherit */ } :active { color: rgb(0,200,200); background-color: white; /* should be inherit */ } B.vimtag { color : rgb(250,0,250); } h1, h2 { color: rgb(82,80,82); text-align: center; } h3, h4, h5, h6 { color: rgb(82,80,82); } .headline { color: rgb(0,137,139); } .header { color: rgb(164, 32, 246); } .section { color: rgb(164, 32, 246); } .keystroke { color: rgb(106, 89, 205); } .vim { } .example { color: rgb(0, 0, 255); } .option { } .notvi { } .special { color: rgb(106, 89, 205); } .note { color: blue; background-color: yellow; } .sub {} .badlink { color: rgb(0,37,39); } EOF } # main usage() if $#ARGV < 1; print "Processing tags...\n"; readTagFile( $ARGV[ 0 ] ); foreach my $file ( 1..$#ARGV ) { print "Processing ".$ARGV[ $file ]."...\n"; vim2html( $ARGV[ $file ] ); } print "Writing stylesheet...\n"; writeCSS(); print "done.\n"
zyz2011-vim
runtime/doc/vim2html.pl
Perl
gpl2
4,517
.TH XXD 1 "August 1996" "Страница man для xxd" .\" .\" 21st May 1996 .\" Man page author: .\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au> .\" Changes by Bram Moolenaar <Bram@vim.org> .SH ИМЯ .I xxd \- создаёт представление файла в виде шестнадцатеричных кодов или выполняет обратное преобразование. .SH КОМАНДНАЯ СТРОКА .B xxd \-h[elp] .br .B xxd [ключи] [входной_файл [выходной_файл]] .br .B xxd \-r[evert] [ключи] [входной_файл [выходной_файл]] .SH ОПИСАНИЕ .I xxd создаёт представление указанного файла или данных, прочитанных из потока стандартного ввода, в виде шестнадцатеричных кодов. Эта команда также может выполнить обратное преобразование заданных шестнадцатеричными кодами данных в исходный бинарный формат. Подобно командам .BR uuencode(1) и .BR uudecode(1), она позволяет выполнять преобразование бинарных данных в ASCII-код, который можно передавать по электронной почте, однако, помимо этого, программа xxd позволяет выполнять декодирование в поток стандартного вывода, а также может применяться для создания заплаток для бинарных файлов. .SH КЛЮЧИ ЗАПУСКА Если .I входной_файл не задан, то соответствующие данные читаются из потока стандартного ввода. В случае, если в качестве .I входного_файла используется символ .RB \` \- ', источником данных также выступает поток стандартного ввода. В том случае, если не указан .I выходной_файл (или вместо него используется символ .RB \` \- ' ), результат преобразования направляется в поток стандартного вывода. .PP Обратите внимание, что используется "ленивый" алгоритм разбора ключей, который не проверяет более одной буквы ключа, если в этом ключе не используется параметр. Пробелы между единственным символом ключа и соответствующим параметром не являются обязательными. Параметры ключей могут быть заданы с использованием десятичного, шестнадцатеричного или восьмеричного формата. Таким образом, ключи .BR \-c8 , .BR "\-c 8" , .B \-c 010 и .B \-cols 8 являются равнозначными. .PP .TP .IR \-a " | " \-autoskip Включает автоматический пропуск: вместо последовательности нулевых строк используется одиночный символ '*'. По умолчанию не применяется. .TP .IR \-b " | " \-bits Вместо шестнадцатеричного кода используются биты (двоичные цифры). При использовании этого ключа вместо обычного шестнадцатеричного представления октетов используются наборы из восьми символов "1" и "0". Каждая строка предваряется номером строки в шестнадцатеричном виде, а завершается символьным представлением (в виде ascii или ebcdic). Ключи \-r, \-p, \-i в этом режиме не работают. .TP .IR "\-c кол " | " \-cols кол" Задаёт количество октетов .RI < кол >, которое выводится на каждой строке. По умолчанию используется значение 16 (\-i: 12, \-ps: 30, \-b: 6). Максимально допустимое значение: 256. .TP .IR \-E " | " \-EBCDIC Изменяет способ кодирования символов в правой колонке с ASCII на EBCDIC. Этот ключ не изменяет шестнадцатеричное представление. Данный ключ не имеет смысла, если используются ключи \-r, \-p или \-i. .TP .IR "\-g байт " | " \-groupsize байт" Позволяет выполнять группировку указанного количества .RI < байтов > (две шестнадцатеричные цифры или восемь битов), отделяя группы друг от друга пробелами. Значение .I \-g 0 применяется для отказа от использования группировки. По умолчанию используется значение .RI < байт "> равное " 2 в обычном режиме и \fI1\fP в битовом режиме. Группировка не применяется в режимах postscript и include. .TP .IR \-h " | " \-help Выводит справку по доступным ключам командной строки и завершает работу программы. Создание шестнадцатеричного представления не выполняется. .TP .IR \-i " | " \-include Позволяет создавать вывод в стиле подключаемых заголовочных файлов языка C. Вывод содержит полноценное определение статического массива данных, имя которого соответствует имени входного файла, если xxd не считывает данные из потока стандартного ввода. .TP .IR "\-l длина " | " \-len длина" Завершает работу после записи заданного в параметре .RI < длина > количества октетов. .TP .IR \-p " | " \-ps " | " \-postscript " | " \-plain Использует непрерывный формат вывода шестнадцатеричного кода, известный как "простой" стиль или стиль "postscript". .TP .IR \-r " | " \-revert Изменяет смысл операции на противоположный: позволяет выполнять преобразование шестнадцатеричного представления в бинарный код (или применять результат в качестве заплаты). Если вывод происходит не в поток стандартного вывода, то xxd выполняет добавление кода к соответствующему файлу. При использовании комбинации ключей .I \-r \-p происходит чтение "простого" шестнадцатеричного представления без использования информации о номерах строк и какого-либо специального раскроя колонок. Пробелы и символы новой строки могут встречаться в любом месте исходных данных. .TP .I \-seek смещение При использовании после ключа .I \-r : добавлять указанное .RI < смещение > к файловым позициям, обнаруженным в исходных данных. .TP .I \-s [\+][\-]seek Начинает работу с указанного абсолютного (или относительного) .RI < смещения > в байтах во входном_файле. \fI\+ \fRуказывает, что смещение является относительным по отношению к текущей файловой позиции в потоке стандартного ввода (бессмысленно, если чтение происходит не из потока стандартного ввода). \fI\- \fRуказывает, что должно быть прочитано указанное количество символов от конца ввода (либо, если сочетается с \fI \+ \fR: перед текущей позиции файла в потоке стандартного ввода). Если ключ \-s не используется, то xxd начинает работу от текущей позиции в файле. .TP .I \-u Использует шестнадцатеричные цифры в верхнем регистре. По умолчанию используются цифры в нижнем регистре символов. .TP .IR \-v " | " \-version Отображает информацию о версии программы. .SH ПОДВОДНЫЕ КАМНИ .PP .I xxd \-r обладает встроенным интеллектом для распознавания информации о номерах строк. Если возможен поиск по входному файлу, то номера строк в начале каждой строки шестнадцатеричного представления могут быть неупорядоченными, некоторые строки могут быть пропущены или пересекаться друг с другом. В этих случаях xxd использует lseek(2) для перехода к следующей позиции. Если поиск по входному файлу невозможен, то допустимы только пропуски строк, которые заполняются нулевыми байтами. .PP .I xxd \-r никогда не выводит сообщений об ошибках. Мусор пропускается молча. .PP При редактировании шестнадцатеричных представлений бинарных файлов обращайте внимание, что .I xxd \-r пропускает в строке ввода любые данные после прочтения достаточного количества колонок шестнадцатеричных данных (см. ключ \-c). Это означает, что изменения, внесенные в колонки с печатными символами ascii (или ebcdic), всегда игнорируются. При обратном преобразовании шестнадцатеричного представления в стиле postscript с помощью команды xxd \-r \-p количество колонок не учитывается. В этом случае распознаются все символы, которые похожи на пары шестнадцатеричных цифр. .PP Обратите внимание на различие между командами .PP \fI% xxd \-i файл\fR .PP и .PP \fI% xxd \-i \< файл\fR .PP Команда .I xxd \-s \+seek может отличаться от .I xxd \-s seek, поскольку для того, чтобы "отмотать" данные на входе назад, используется вызов lseek(2). При использовании `+' поведение будет отличаться, если входные данные поступают с потока стандартного ввода, а позиция в файле стандартного ввода не находится в начале файла к тому моменту, когда программа xxd запущена и приступает к чтению ввода. Нижеследующие примеры помогут прояснить (или ещё больше запутать!) ситуацию... .PP Отмотка назад потока стандартного ввода; необходимо, поскольку 'cat' уже выполнила чтение до конца потока стандартного ввода: .PP \fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file .PP Вывод шестнадцатеричного представления от позиции в файле 0x480 (= 1024+128). Символ `+' означает "относительно текущей позиции", таким образом `128' добавляется к первому килобайту, где завершает работу dd: .PP \fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file .PP Вывод шестнадцатеричного представления от позиции в файле 0x100 (= 1024-768): .PP \fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file .PP В то же время, следует заметить, что подобные ситуации встречаются довольно редко, так что символ `+' обычно не используется. Автор предпочитает наблюдать за работой xxd с помощью strace(1) или truss(1) в тех случаях, когда применяется ключ \-s. .SH ПРИМЕРЫ .PP .br Вывести всё, кроме первых трёх строк (0x30 байтов) файла .B file : .PP \fI% xxd \-s 0x30 file .PP .br Вывести три строки (0x30 байтов) от конца файла .B file : .PP \fI% xxd \-s \-0x30 file .PP .br Вывести 120 байтов в виде непрерывного шестнадцатеричного представления по 20 октетов в строке: .PP \fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR .br 2e544820585844203120224d616e75616c207061 .br 676520666f7220787864220a2e5c220a2e5c2220 .br 32317374204d617920313939360a2e5c22204d61 .br 6e207061676520617574686f723a0a2e5c222020 .br 2020546f6e79204e7567656e74203c746f6e7940 .br 7363746e7567656e2e7070702e67752e6564752e .br .PP .br Вывести первые 120 байтов этой страницы справочника по 12 октетов в строке: .PP \fI% xxd \-l 120 \-c 12 xxd.1\fR .br 0000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M .br 000000c: 616e 7561 6c20 7061 6765 2066 anual page f .br 0000018: 6f72 2078 7864 220a 2e5c 220a or xxd"..\\". .br 0000024: 2e5c 2220 3231 7374 204d 6179 .\\" 21st May .br 0000030: 2031 3939 360a 2e5c 2220 4d61 1996..\\" Ma .br 000003c: 6e20 7061 6765 2061 7574 686f n page autho .br 0000048: 723a 0a2e 5c22 2020 2020 546f r:..\\" To .br 0000054: 6e79 204e 7567 656e 7420 3c74 ny Nugent <t .br 0000060: 6f6e 7940 7363 746e 7567 656e ony@sctnugen .br 000006c: 2e70 7070 2e67 752e 6564 752e .ppp.gu.edu. .PP .br Показать дату из файла xxd.1: .PP \fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR .br 0000028: 3231 7374 204d 6179 2031 3939 21st May 199 .PP .br Скопировать .B входной_файл в .B выходной_файл с добавлением 100 байтов со значением 0x00 в начало файла: .PP \fI% xxd входной_файл | xxd \-r \-s 100 \> выходной_файл\fR .br .PP .br Заменить дату в файле xxd.1: .PP \fI% echo '0000029: 3574 68' | xxd \-r \- xxd.1\fR .br \fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR .br 0000028: 3235 7468 204d 6179 2031 3939 25th May 199 .PP .br Создать 65537-байтный файл, все байты которого имеют значение 0x00, кроме последнего байта, который должен иметь значение 'A' (0x41): .PP \fI% echo '010000: 41' | xxd \-r \> file\fR .PP .br Создать шестнадцатеричное представление этого файла с использованием автоматического пропуска: .PP \fI% xxd \-a \-c 12 file\fR .br 0000000: 0000 0000 0000 0000 0000 0000 ............ .br * .br 000fffc: 0000 0000 40 ....A .PP Создать 1-байтный файл, содержащий символ 'A'. Число после '\-r \-s' добавляется к номерам строк, найденным в файле; иначе говоря, предшествующие байты пропускаются: .PP \fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR .PP xxd можно использовать в качестве фильтра в редакторе, например в .B vim(1), чтобы создать шестнадцатеричное представление области между отметками `a' и `z': .PP \fI:'a,'z!xxd\fR .PP Вы можете использовать xxd в качестве фильтра в редакторе, например в .B vim(1), для восстановления данных из шестнадцатеричного представления между отметками `a' и `z': .PP \fI:'a,'z!xxd \-r\fR .PP Вы можете использовать xxd в качестве фильтра в редакторе, например в .B vim(1), для восстановления данных из единственной строки шестнадцатеричного представления. Поместите курсор в соответствующую строку и наберите .PP \fI!!xxd \-r\fR .PP Чтобы прочитать единственный символ из канала связи: .PP \fI% xxd \-c1 < /dev/term/b &\fR .br \fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR .br \fI% echo \-n foo > /dev/term/b\fR .PP .SH ВОЗВРАЩАЕМЫЕ ЗНАЧЕНИЯ Программа xxd завершает работу со следующими значениями: .TP 0 Ошибки не обнаружены. .TP \-1 Операция не поддерживается (выполнение .I xxd \-r \-i пока невозможно). .TP 1 Ошибка при разборе ключей командной строки. .TP 2 Проблемы во входном файле. .TP 3 Проблемы в выходном файле. .TP 4,5 Желательная позиция поиска недостижима. .SH СМОТРИ ТАКЖЕ uuencode(1), uudecode(1), patch(1) .br .SH ПРЕДУПРЕЖДЕНИЕ Странность этой программы соответствует особенностям мозга её создателя. Используйте её на свой страх и риск. Копируйте файлы, отслеживайте вызовы, становитесь волшебником. .br .SH ВЕРСИЯ Эта страница справочника документирует xxd версии 1.7. .SH АВТОР .br (c) 1990-1997 Юрген Вайгерт (Juergen Weigert) .br <jnweiger@informatik.uni-erlangen.de> .LP Вы можете свободно распространять программу со ссылкой на меня. .br Если использование этой программы принесло вам какой-то доход, поделитесь со мной. .br Если вы потеряли деньги, то я тут не причём. .PP Первый вариант страницы справочника написан Тони Наджентом (Tony Nugent) .br <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au> .br Небольшие изменения внесены Брамом Мооленааром (Bram Moolenaar). Страница отредактирована Юргеном Вайгертом (Juergen Weigert). .PP
zyz2011-vim
runtime/doc/xxd-ru.UTF-8.1
Roff Manpage
gpl2
20,609
.TH XXD 1 "Agosto 1996" "Pagina di manuale per xxd" .\" .\" 21 Maggio 1996 .\" Autore della pagina di manuale: .\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au> .\" Modificato da Bram Moolenaar <Bram@vim.org> .SH NOME .I xxd \- Produce esadecimale da un file binario o viceversa. .SH SINTASSI .B xxd \-h[elp] .br .B xxd [opzioni] [input_file [output_file]] .br .B xxd \-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. 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. .SH OPZIONI Se non si specifica un .I input_file il programma legge dallo "standard input". Se .I input_file è specificato come il carattere .RB \` \- ' , 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". .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. I parametri delle opzioni possono essere specificati usando la notazione decimale, esadecimale oppure ottale. Pertanto .BR \-c8 , .BR "\-c 8" , .B \-c 010 e .B \-cols 8 sono notazioni equivalenti fra loro. .PP .TP .IR \-a " | " \-autoskip Richiesta di autoskip: Un singolo '*' rimpiazza linee di zeri binari. Valore di 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. .TP .IR "\-c colonne " | " \-cols colonne" .IR "\-c colonne " | " \-cols colonne" In ogni linea sono formattate .RI < colonne > colonne. Valore di default 16 (\-i: 12, \-ps: 30, \-b: 6). Valore massimo 256. .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. .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. 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". .TP .IR \-h " | " \-help 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". .TP .IR "\-l numero " | " \-len numero" Il programma esce dopo aver scritto .RI < numero > byte. .TP .IR \-p " | " \-ps " | " \-postscript " | " \-plain L'output è nello stile di un dump continuo sotto postscript. Noto anche come stile esadecimale semplice [plain]. .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 .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]. .TP .I \-seek distanza Usato con l'opzione .IR \-r : (ricostruzione), .RI < distanza > 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. .TP .I \-u usa lettere esadecimali maiuscole. Il valore di default è di usare lettere minuscole. .TP .IR \-v " | " \-version 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. .PP .I xxd \-r non genera mai errori di specifica parametri. I parametri non riconosciuti sono silenziosamente ignorati. .PP Nel modificare immagini esadecimali, tenete 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]. .PP Notare la differenza fra .br \fI% xxd \-i file\fR .br e .br \fI% xxd \-i \< file\fR .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!)... .PP Riavvolge lo "standard input" prima di leggere; necessario perché `cat' ha già letto lo stesso file ["file"] fino alla fine dello "standard input". .br \fI% sh \-c 'cat > copia_normale; xxd \-s 0 > copia_esadecimale' < file .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 .PP 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 .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. .SH ESEMPI .PP .br Stampa tutto tranne le prime tre linee (0x30 byte esadecimali) di .B file \. .br \fI% xxd \-s 0x30 file .PP .br Stampa 3 linee (0x30 byte esadecimali) alla fine di .B file \. .br \fI% xxd \-s \-0x30 file .PP .br Stampa 120 byte come immagine esadecimale continua con 20 byte per linea. .br \fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR .br 2e54482058584420312022417567757374203139 .br 39362220224d616e75616c207061676520666f72 .br 20787864220a2e5c220a2e5c222032317374204d .br 617920313939360a2e5c22204d616e2070616765 .br 20617574686f723a0a2e5c2220202020546f6e79 .br 204e7567656e74203c746f6e79407363746e7567 .br .br Stampa i primi 120 byte della pagina di manuale vim.1 a 12 byte per linea. .br \fI% xxd \-l 120 \-c 12 xxd.1\fR .br 0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A .br 000000c: 7567 7573 7420 3139 3936 2220 ugust 1996" .br 0000018: 224d 616e 7561 6c20 7061 6765 "Manual page .br 0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\ .br 0000030: 220a 2e5c 2220 3231 7374 204d "..\" 21st M .br 000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\" .br 0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut .br 0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\" .br 0000060: 546f 6e79 204e 7567 656e 7420 Tony Nugent .br 000006c: 3c74 6f6e 7940 7363 746e 7567 <tony@sctnug .PP .br Visualizza la data dal file xxd.1 .br \fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR .br 0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996 .PP .br Copiare .B input_file su .B output_file premettendogli 100 byte a 0x00. .br \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 .br \fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR .br 0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996 .PP .br Creare un file di 65537 byte tutto a 0x00, tranne che l'ultimo carattere che è una 'A' (esadecimale 0x41). .br \fI% echo '010000: 41' | xxd \-r \> file\fR .PP .br Stampa una immagine esadecimale del file di cui sopra con opzione autoskip. .br \fI% xxd \-a \-c 12 file\fR .br 0000000: 0000 0000 0000 0000 0000 0000 ............ .br * .br 000fffc: 0000 0000 40 ....A .PP Crea 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 .PP Usa 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'. .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'. .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: .br \fI!!xxd \-r\fR .PP Per leggere singoli caratteri da una linea seriale .br \fI% xxd \-c1 < /dev/term/b &\fR .br \fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR .br \fI% echo \-n foo > /dev/term/b\fR .PP .SH CODICI DI RITORNO Il programma può restituire questi codici di errore: .TP 0 nessun errore rilevato. .TP \-1 operazione non supportata ( .I xxd \-r \-i non ancora possible). .TP 1 errore durante la scansione parametri. .TP 2 problemi con il file di input. .TP 3 problemi con il file di output. .TP 4,5 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. .br .SH VERSIONE Questa pagina di manuale documenta la versione 1.7 di xxd. .SH AUTORE .br (c) 1990-1997 Juergen Weigert .br <jnweiger@informatik.uni\-erlangen.de> .LP Distribuite liberamente ed attribuitemi il credito, .br 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 .br <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au> .br Piccole modifiche di Bram Moolenaar. Modificato da Juergen Weigert. .PP
zyz2011-vim
runtime/doc/xxd-it.UTF-8.1
Roff Manpage
gpl2
12,017
.TH EVIM 1 "2002 February 16" .SH ИМЯ evim \- простой Vim, позволяет редактировать файл с помощью Vim в безрежимном режиме .SH КОМАНДНАЯ СТРОКА .br .B evim [ключи] [файл ..] .br .B eview .SH ОПИСАНИЕ Команда .B evim запускает .B Vim и настраивает ряд опций таким образом, что он начинает вести себя как обычный безрежимный редактор. В этом режиме Vim напоминает Notepad из MS-Windows. .B eVim всегда запускается с поддержкой графического интерфейса, чтобы обеспечить использование меню и инструментальной панели. .PP Эта команда создана для тех, кто по каким-то причинам не в состоянии работать с Vim в обычном режиме. Редактирование файлов при этом происходит гораздо менее эффективно, чем при использовании обычного Vim. .PP Команда .B eview выполняет почти ту же самую задачу, но файл открывается в режиме "только для чтения". Использование этой команды полностью идентично использованию evim \-R. .PP Подробнее о Vim, ключах запуска и т.п. смотрите на странице справочника vim(1). .PP При использовании .B evim включается опция 'insertmode', что позволяет вводить текст напрямую. .br Кроме того, настраиваются привязки, позволяющие использовать кнопки MS-Windows для выполнения команд копирования и вклейки. CTRL-X используется для вырезания текста, CTRL-C для копирования и CTRL-V для вклейки. Чтобы воспользоваться изначальным значением кнопки CTRL-V, используйте CTRL-Q. .SH ПАРАМЕТРЫ ЗАПУСКА См. vim(1). .SH ФАЙЛЫ .TP 15 /usr/local/lib/vim/evim.vim Сценарий, который загружается для инициализации eVim. .SH AKA eVim также известен как "Vim для чайников". Для наилучшего эффекта рекомендуется во время использования повязать на голове платок, предварительно завязав на каждом конце по узелку. .SH СМОТРИ ТАКЖЕ vim(1) .SH АВТОРЫ Большая часть .B Vim создана Брамом Мооленааром (Bram Moolenaar), которому помогает огромное количество людей. См. меню Справка/Благодарности.
zyz2011-vim
runtime/doc/evim-ru.UTF-8.1
Roff Manpage
gpl2
3,152