Config Vim

xiaoxiao2021-03-06  46

$ ID: Vim.html, v 1.2 2004/12/16 12:18:00 George Exp $

"

Home Dir Is Set To C: / Vim

"

Set autoindent

Set autowrite

Set ShiftWidth = 4

"TAB???"

SET ExpandTab

SET TABSTOP = 4

SET SoftTabStop = 4

"Line Number

Set number

Increased Search

SET INCSEARCH

Highlight All The Search Patterns Match

SET HLSEARCH

"Display The Status Line Always

Set laststatus = 2

"* .swp and * ~ files

Set backupdir = c: / vim / backup

SET DIRECTORY = C: / VIM / TEMP

Get Rid of Toolbar and Menu

Set guioptions- = t "Get Rid of Toolbar

"

"

"Behaved Not Like Emacs

"

SET ShowMatch

Set fileFormat = DOS

Set ignorecase

SET Smartcase

"

"?? Taglist.vim

"

FILETYPE ON

Let TLIST_CTAGS_CMD = 'C: /Windows/ctags.exe'

NNOREMAP

: TLIST

NNOREMAP

: TLISTSYNC

NNOREMAP

: TListUpdate

Let WinManagerWindowLayout = 'FileExplorer | Taglist' Let TLIST_EXIT_ONLYWINDOW = 1 "" End of ?? Taglist.vim "?>

:% s />

"?

"NNOREMAP

:

DD

I let G: WinManagerWindowLayout = 'FileExplorer, TagSexplorer | Bufexplorer' MAP

: FirstexplorerWindow

Map

: BottomexplorerWindow

Map

: WmToggle

------------------------------------- ------------------------------ "C.Vim File Header Comment" ------------ -------------------------------------------------- ----------------- Let g: c_authorname = "george" let g: c_authorref = "ga" let g: c_email = "zlhg@hotmail.com" let g: c_company = "Let G: c_project =" "" Let g: c_copyrightHolder = "george" let g: c_cextension = "c" "c file extension; everything else is C let g: c_ccompiler =" gcc "" The c compiler let g: c_cpluscompiler = "G " "" "Compiler Flags: Compile, Don't Optimize Let G: c_lflags =" -wall -g-○ "Compiler Flags: Compiler flags: LINK, DON '= "-lm" "libraries to use let g: c_template_directory = $ home." / vimfiles / plugin / templates / "let g: c_dictionary_file = $ home." / Vimfiles / WordLists / C-C - keywords.list "Let g: c_dictionary_file = g: c_dictionary_file.", ". $ home." / Vimfiles / WordLists / K R.List "Let g: c_dictionary_file = g: c_dictionary_file.", ". $ Home. "/ Vimfiles / W ORDLISTS / STL_INDEX.LIST "Let G: c_dictionary_file = g: c_dictionary_file.", "$ home." / vimfiles / wordlists / german.list "---------- Insert Header Into New C / C -files ---------- if HAS ("AutoCMD") AutoCmd BufnewFile *. / (C / | CC / | CPP / | C /) CAALL C_COMMENTTEMPLATES ('CHEADER') AutoCMD BUFNEWFILE *. / H / | HPP /) CALL C_COMMENTTEMPLATES ('HHEADER') Endif "" "" ""

Favorite ColorShema "Color Midnight2" "End of Color Midnight" "Set Enc = GB2312" "Set statusLine =% <% f /% h% M% R% =% - 14. (% L,% C% V%) / % P "set statusline =% <% f% h% m% R% =% B / 0X% B /% L,% C% v /% p let javabrowser_ctags_cmd = 'c: /windows/ctags.exe'" " For Python See Tip 103 "NNK: Call search (" ^ ". Matchstr (". ") 1), '/ (/ s * /)')." // s ", 'b')

^ nn

: Call search ("^". matchstr (getline ("."), '/ (/ s * /)'). "// s")

^ SET tags =. / tags, .. / tags, .. / .. / tags, .. / .. / .. / tags, d: / tomcat / webapp / WORM / TAGS, D: / BACKUP / JAVA / Jive / Tags "" for Comment, When USE Alt X to Comment HTML LINE "Let g: EnhcommentifyUsealtKeys = 'YES'

转载请注明原文地址:https://www.9cbs.com/read-79920.html

New Post(0)