代码拉取完成,页面将自动刷新
<map version="freeplane 1.3.0">
<!--To view this file, download free mind mapping software Freeplane from http://freeplane.sourceforge.net -->
<node TEXT="PartII-File" ID="ID_237969410" CREATED="1451538463754" MODIFIED="1451539059599" LINK="Vim编辑器高阶技巧.mm">
<edge STYLE="bezier" COLOR="#00007c" WIDTH="thin"/>
<hook NAME="MapStyle">
<map_styles>
<stylenode LOCALIZED_TEXT="styles.root_node">
<font NAME="YaHei Consolas Hybrid"/>
<stylenode LOCALIZED_TEXT="styles.predefined" POSITION="right">
<font NAME="YaHei Consolas Hybrid"/>
<stylenode LOCALIZED_TEXT="default" MAX_WIDTH="600" COLOR="#000000" STYLE="as_parent">
<font NAME="YaHei Consolas Hybrid" SIZE="10" BOLD="false" ITALIC="false"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.details">
<font NAME="YaHei Consolas Hybrid"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.note">
<font NAME="YaHei Consolas Hybrid"/>
</stylenode>
<stylenode LOCALIZED_TEXT="defaultstyle.floating">
<edge STYLE="hide_edge"/>
<cloud COLOR="#f0f0f0" SHAPE="ROUND_RECT"/>
<font NAME="YaHei Consolas Hybrid"/>
</stylenode>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.user-defined" POSITION="right">
<font NAME="YaHei Consolas Hybrid"/>
<stylenode LOCALIZED_TEXT="styles.topic" COLOR="#18898b" STYLE="fork">
<font NAME="YaHei Consolas Hybrid" SIZE="10" BOLD="true"/>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.subtopic" COLOR="#cc3300" STYLE="fork">
<font NAME="YaHei Consolas Hybrid" SIZE="10" BOLD="true"/>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.subsubtopic" COLOR="#669900">
<font NAME="YaHei Consolas Hybrid" SIZE="10" BOLD="true"/>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.important">
<icon BUILTIN="yes"/>
<font NAME="YaHei Consolas Hybrid"/>
</stylenode>
</stylenode>
<stylenode LOCALIZED_TEXT="styles.AutomaticLayout" POSITION="right">
<font NAME="YaHei Consolas Hybrid"/>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level.root" COLOR="#000000">
<font NAME="YaHei Consolas Hybrid" SIZE="18"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,1" COLOR="#0033ff">
<font NAME="YaHei Consolas Hybrid" SIZE="16"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,2" COLOR="#00b439">
<font NAME="YaHei Consolas Hybrid" SIZE="14"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,3" COLOR="#990000">
<font NAME="YaHei Consolas Hybrid" SIZE="12"/>
</stylenode>
<stylenode LOCALIZED_TEXT="AutomaticLayout.level,4" COLOR="#111111">
<font NAME="YaHei Consolas Hybrid" SIZE="10"/>
</stylenode>
</stylenode>
</stylenode>
</map_styles>
</hook>
<hook NAME="AutomaticEdgeColor" COUNTER="11"/>
<hook NAME="accessories/plugins/AutomaticLayout.properties" VALUE="ALL"/>
<node TEXT="06-管理多个文件" POSITION="right" ID="ID_682612053" CREATED="1451538537173" MODIFIED="1453283847619">
<edge COLOR="#7c007c"/>
<node TEXT="no.36用缓冲区列表管理打开的文件" ID="ID_1664272328" CREATED="1453283942240" MODIFIED="1453528335785"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
code/files
</p>
</body>
</html>
</richcontent>
<node TEXT="vim *.txt :ls :bnext :bprev :bfirst :blast" ID="ID_1447213884" CREATED="1453528320921" MODIFIED="1453528374656"/>
<node TEXT=":buffers :bn :bp :bf :bl" ID="ID_303602861" CREATED="1453528376059" MODIFIED="1453528836424"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h :b
</p>
<p>
#轮换文件
</p>
<p>
%当前文件
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT=":bufdo" ID="ID_1507750950" CREATED="1453528542904" MODIFIED="1453528578339"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h :bufdo
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT=":bdelete N1 N2 N3 :{N,M}bd" ID="ID_1390674510" CREATED="1453528690826" MODIFIED="1453528734242"/>
<node TEXT="<C-^>当前文件与轮换文件间快速切换" ID="ID_1089593587" CREATED="1453528447817" MODIFIED="1453528828399"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
plugin :tim pope-unimpaired.vim
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="no.37" ID="ID_220676987" CREATED="1453528633894" MODIFIED="1453528638962"/>
</node>
<node TEXT="no.37用参数列表将缓冲区分开" ID="ID_1299551465" CREATED="1453283951212" MODIFIED="1453529029050"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
code/files/letters
</p>
<p>
files/.chapters
</p>
</body>
</html>
</richcontent>
<node TEXT=":args" ID="ID_1313200236" CREATED="1453528791346" MODIFIED="1453528822652"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
[] 活动文件
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="argdo write" ID="ID_182894036" CREATED="1453528581699" MODIFIED="1453529497531"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h :argdo
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="glob模式" ID="ID_1028783576" CREATED="1453528853641" MODIFIED="1453528860244">
<node TEXT=":args *.*" ID="ID_379102323" CREATED="1453528913686" MODIFIED="1453528920247">
<node TEXT="当前目录下所有文件" ID="ID_1695909099" CREATED="1453528943610" MODIFIED="1453528948653"/>
</node>
<node TEXT=":args **/*.js" ID="ID_981362313" CREATED="1453528922152" MODIFIED="1453528927797">
<node TEXT="当前目录下及子目录中的所有.js文件" ID="ID_1727847355" CREATED="1453528950519" MODIFIED="1453528966159"/>
</node>
<node TEXT=":args **/*.*" ID="ID_1956753840" CREATED="1453528934303" MODIFIED="1453528940614">
<node TEXT="当前目录下及子目录中所有文件" ID="ID_1375312758" CREATED="1453528969135" MODIFIED="1453529000432"/>
</node>
<node TEXT=":args `cat .chapters`" ID="ID_19231205" CREATED="1453529037277" MODIFIED="1453529161247">
<font NAME="DejaVu Sans Mono"/>
<node TEXT="文件.chapters中的文件" ID="ID_816501358" CREATED="1453529173097" MODIFIED="1453529196115"/>
</node>
</node>
<node TEXT=":next :prev" ID="ID_566156632" CREATED="1453529215041" MODIFIED="1453529224935"/>
<node TEXT="no.69 no.96" ID="ID_737628413" CREATED="1453529236455" MODIFIED="1453529242150"/>
</node>
<node TEXT="no.38管理隐藏的缓冲区" ID="ID_1429633417" CREATED="1453283951409" MODIFIED="1453529306600"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
code/files
</p>
</body>
</html>
</richcontent>
<node TEXT="vim *.txt Go :ls" ID="ID_730065471" CREATED="1453528320921" MODIFIED="1453529300226"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
+代表存在修改
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT=":bnext!" ID="ID_1818016467" CREATED="1453529334059" MODIFIED="1453529365350"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
h表示隐藏缓冲区
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT=":write(写入) :edit!(撤销修改) :wa[ll] :qa[ll]" ID="ID_627133895" CREATED="1453529385037" MODIFIED="1453529440471"/>
<node TEXT="set hidden" ID="ID_1235579391" CREATED="1453529463681" MODIFIED="1453529481729"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h hidden
</p>
</body>
</html>
</richcontent>
</node>
</node>
<node TEXT="no.39将工作区切分成窗口" ID="ID_1564163616" CREATED="1453283951542" MODIFIED="1453510629387">
<node TEXT="切分窗口" ID="ID_1022720185" CREATED="1453529602065" MODIFIED="1453529605965">
<node TEXT="<C-w>s" ID="ID_263862527" CREATED="1453529508805" MODIFIED="1453529583282"/>
<node TEXT="<C-w>v" ID="ID_97839087" CREATED="1453529583925" MODIFIED="1453529584675"/>
<node TEXT=":sp[lit] {file}" ID="ID_641546051" CREATED="1453529551634" MODIFIED="1453529563311"/>
<node TEXT=":vsp[lit] {file}" ID="ID_368586306" CREATED="1453529564632" MODIFIED="1453529575690"/>
</node>
<node TEXT="窗口间移动" ID="ID_1969732155" CREATED="1453529592293" MODIFIED="1453529599348">
<node TEXT="<C-w>w" ID="ID_1768713484" CREATED="1453529607947" MODIFIED="1453529629040"/>
<node ID="ID_1458774420" CREATED="1453529631054" MODIFIED="1453529631054"><richcontent TYPE="NODE">
<html>
<head>
</head>
<body>
<p>
<C-w>h
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="<C-w>j" ID="ID_416629723" CREATED="1453529632062" MODIFIED="1453529636421"/>
<node TEXT="<C-w>k" ID="ID_517716225" CREATED="1453529632500" MODIFIED="1453529638948"/>
<node TEXT="<C-w>l" ID="ID_35134355" CREATED="1453529632866" MODIFIED="1453529640923"/>
</node>
<node TEXT="关闭窗口" ID="ID_1064703326" CREATED="1453529656037" MODIFIED="1453529664276">
<node TEXT="<C-w>c" ID="ID_1152050615" CREATED="1453529665721" MODIFIED="1453529671678"/>
<node TEXT="<C-w>o" ID="ID_431898871" CREATED="1453529672984" MODIFIED="1453529681385"/>
</node>
<node TEXT="调整窗口大小及重排窗口" ID="ID_549067861" CREATED="1453529694849" MODIFIED="1453529709157">
<node TEXT="<C-w>=" ID="ID_1936864108" CREATED="1453529711241" MODIFIED="1453529871372">
<font BOLD="true"/>
</node>
<node TEXT="<C-w>_" ID="ID_596486366" CREATED="1453529711241" MODIFIED="1453529871378">
<font BOLD="true"/>
</node>
<node TEXT="<C-w>|" ID="ID_1205610861" CREATED="1453529711241" MODIFIED="1453529871379">
<font BOLD="true"/>
</node>
<node TEXT="N<C-w>_" ID="ID_1757410833" CREATED="1453529711241" MODIFIED="1453529754882"/>
<node TEXT="N<C-w>|" ID="ID_1825576917" CREATED="1453529711241" MODIFIED="1453529759586"/>
</node>
</node>
<node TEXT="no.40用标签页将窗口分组" ID="ID_1176362561" CREATED="1453283951683" MODIFIED="1453510643452">
<node TEXT="打开及关闭标签页" ID="ID_96849505" CREATED="1453530008616" MODIFIED="1453614882802"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h CTRL-W_T
</p>
</body>
</html>
</richcontent>
<node TEXT=":tabedit {filename}" ID="ID_1504626141" CREATED="1453529882810" MODIFIED="1453529977230"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h tabpage
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="<C-w>T" ID="ID_32509979" CREATED="1453529987253" MODIFIED="1453529992636"/>
</node>
<node TEXT="lcd" ID="ID_693466138" CREATED="1453529932022" MODIFIED="1453529934880">
<node TEXT="切换当前窗口的本地工作目录" ID="ID_1687866122" CREATED="1453529943331" MODIFIED="1453529961579"/>
</node>
<node TEXT="在标签页间切换" ID="ID_744914574" CREATED="1453614772237" MODIFIED="1453614781337">
<node TEXT=":tabn[ext] {N} = ngt" ID="ID_1922655762" CREATED="1453614783402" MODIFIED="1453614823346"/>
<node TEXT=":tabn[ext] = gt" ID="ID_569672973" CREATED="1453614825191" MODIFIED="1453614840812"/>
<node TEXT=":tabp[revious] = gT" ID="ID_1980699555" CREATED="1453614845470" MODIFIED="1453614858799"/>
</node>
<node TEXT="重排标签页" ID="ID_90753759" CREATED="1453614902373" MODIFIED="1453614909017">
<node TEXT=":tabmove" ID="ID_694770302" CREATED="1453614910730" MODIFIED="1453614946242"/>
</node>
</node>
</node>
<node TEXT="07-打开及保存文件" POSITION="right" ID="ID_231417984" CREATED="1451538555587" MODIFIED="1453283847634">
<edge COLOR="#007c7c"/>
<node TEXT="no.41用:edit命令打开文件" ID="ID_815127668" CREATED="1453283985358" MODIFIED="1453614983944"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
files/mvc/
</p>
</body>
</html>
</richcontent>
<node TEXT=":pwd :edit" ID="ID_167539870" CREATED="1453615012768" MODIFIED="1453615019059"/>
<node TEXT=":edit %<Tab>" ID="ID_1000707163" CREATED="1453615056874" MODIFIED="1453615288060"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h cmdline-special
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT=":edit %:h<Tab>" ID="ID_1394564521" CREATED="1453615089983" MODIFIED="1453615276264"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h ::h
</p>
<p>
cnormap <expr> %% getcmdtype( ) == ':' ? ('%:h').'/' : '%%'
</p>
</body>
</html>
</richcontent>
</node>
</node>
<node TEXT="no.42用:find打开文件" ID="ID_1249762592" CREATED="1453283985527" MODIFIED="1453615328879"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
files/mvc
</p>
</body>
</html>
</richcontent>
<node TEXT="配置path选项" ID="ID_1005049602" CREATED="1453615341438" MODIFIED="1453615443826"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h 'path'
</p>
<p>
:h file-searching
</p>
<p>
plugin tim pope rails.vim
</p>
</body>
</html>
</richcontent>
<node TEXT="set path+=app/**" ID="ID_698576991" CREATED="1453615376640" MODIFIED="1453615386130"/>
</node>
<node TEXT=":find nav" ID="ID_1790031525" CREATED="1453615463877" MODIFIED="1453615466878"/>
</node>
<node TEXT="no.43使用netrw管理文件系统" ID="ID_693569180" CREATED="1453283985683" MODIFIED="1453615585166"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
files/mvc
</p>
<p>
essential.vim
</p>
<p>
set nocompatible
</p>
<p>
filetype plugin on
</p>
</body>
</html>
</richcontent>
<node TEXT="vim ." ID="ID_1191674898" CREATED="1453615570984" MODIFIED="1453615573518"/>
<node TEXT=":E[xplore] = :edit {path} :edit . :edit %:h" ID="ID_1009092261" CREATED="1453615598242" MODIFIED="1453615674044"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h :Explore
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT=":Sexplore :Vexplore" ID="ID_567655751" CREATED="1453615706543" MODIFIED="1453615714407"/>
<node TEXT="使用netrw完成更多功能" ID="ID_1061788933" CREATED="1453615768969" MODIFIED="1453615919397"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h netrw-d
</p>
<p>
:h netrw-%
</p>
<p>
:h netrw-del
</p>
<p>
:h netrw-rename
</p>
<p>
:h netrw-ref
</p>
</body>
</html>
</richcontent>
</node>
</node>
<node TEXT="no.44把文件保存到不存在的目录中" ID="ID_940514006" CREATED="1453283985827" MODIFIED="1453510715227">
<node TEXT="<C-g>" ID="ID_155834706" CREATED="1453616101819" MODIFIED="1453616136694"><richcontent TYPE="DETAILS">
<html>
<head>
</head>
<body>
<p>
:h ctrl-G
</p>
</body>
</html>
</richcontent>
</node>
<node TEXT="!mkdir -p /path/to/save/file" ID="ID_634880116" CREATED="1453616177780" MODIFIED="1453616198607"/>
</node>
<node TEXT="no.45以超级用户权限保存文件" ID="ID_1374384842" CREATED="1453283985970" MODIFIED="1453510726719">
<node TEXT=":w !sudo tee % > /dev/null" ID="ID_458750280" CREATED="1453616288028" MODIFIED="1453616303363"/>
</node>
</node>
</node>
</map>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。