https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&feed=atom&action=history
老旧文章/Gvim的安装及配置 - 版本历史
2024-03-29T16:01:39Z
本wiki的该页面的版本历史
MediaWiki 1.26.3
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=150049&oldid=prev
Yexiaoxing:已恢复1.202.40.80(对话)的编辑至Luojie-dune的最后一个修订版本
2013-03-23T08:33:07Z
<p>已恢复<a href="/%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/1.202.40.80" title="特殊:用户贡献/1.202.40.80">1.202.40.80</a>(<a href="/index.php?title=%E7%94%A8%E6%88%B7%E8%AE%A8%E8%AE%BA:1.202.40.80&action=edit&redlink=1" class="new" title="用户讨论:1.202.40.80(页面不存在)">对话</a>)的编辑至<a href="/%E7%94%A8%E6%88%B7:Luojie-dune" title="用户:Luojie-dune">Luojie-dune</a>的最后一个修订版本</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='zh-Hans'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">2013年3月23日 (六) 08:33的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l125" >第125行:</td>
<td colspan="2" class="diff-lineno">第125行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>set guifont=AR\ PL\ New\ Sung\ 10</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>set guifont=AR\ PL\ New\ Sung\ 10</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">==参考资料==</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[http://www.2quanxun.com VIM][http://www.xtutu.com OpenVZ][http://www.weiluoka.com XEN][http://www.anywayanyday.net BurstNet][http://www.transphone.cc Redhat][http://www.imessage.cc CentOS][http://www.onstar.cc lighttpd][http://www.ideapad.cc LVS][http://www.touchpad.cc DSN][http://www.taobaoguanwang.com XEN][http://www.7j7k.com ZEN][http://www.wanglidanni.com Maths][http://www.mashengxi.com SIS][http://www.gourideqq.com TUO][http://www.xiaogege.com AVS][http://www.iipian.com MOQ][http://www.girlfriendvid.net LQP][http://cnzynga.com RIA][http://www.aiaipian.com AIAI]</del></div></td><td colspan="2"> </td></tr>
</table>
Yexiaoxing
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=149925&oldid=prev
1.202.40.80:/* 使用字体名为多个单词的字体 */
2013-03-21T06:01:30Z
<p><span dir="auto"><span class="autocomment">使用字体名为多个单词的字体</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='zh-Hans'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">2013年3月21日 (四) 06:01的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l125" >第125行:</td>
<td colspan="2" class="diff-lineno">第125行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>set guifont=AR\ PL\ New\ Sung\ 10</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>set guifont=AR\ PL\ New\ Sung\ 10</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==参考资料==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[http://www.2quanxun.com VIM][http://www.xtutu.com OpenVZ][http://www.weiluoka.com XEN][http://www.anywayanyday.net BurstNet][http://www.transphone.cc Redhat][http://www.imessage.cc CentOS][http://www.onstar.cc lighttpd][http://www.ideapad.cc LVS][http://www.touchpad.cc DSN][http://www.taobaoguanwang.com XEN][http://www.7j7k.com ZEN][http://www.wanglidanni.com Maths][http://www.mashengxi.com SIS][http://www.gourideqq.com TUO][http://www.xiaogege.com AVS][http://www.iipian.com MOQ][http://www.girlfriendvid.net LQP][http://cnzynga.com RIA][http://www.aiaipian.com AIAI]</ins></div></td></tr>
</table>
1.202.40.80
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=137452&oldid=prev
Luojie-dune:Gvim的安装及配置移动到老旧文章/Gvim的安装及配置
2010-04-24T11:58:36Z
<p><a href="/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE" class="mw-redirect" title="Gvim的安装及配置">Gvim的安装及配置</a>移动到<a href="/%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE" title="老旧文章/Gvim的安装及配置">老旧文章/Gvim的安装及配置</a></p>
<table class='diff diff-contentalign-left'>
<tr style='vertical-align: top;' lang='zh-Hans'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">←上一版本</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">2010年4月24日 (六) 11:58的版本</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='zh-Hans'><div class="mw-diff-empty">(没有差异)</div>
</td></tr></table>
Luojie-dune
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=114599&oldid=prev
Isoar:/* 安装程序 */
2009-05-07T12:20:24Z
<p><span dir="auto"><span class="autocomment">安装程序</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='zh-Hans'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">2009年5月7日 (四) 12:20的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l18" >第18行:</td>
<td colspan="2" class="diff-lineno">第18行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre><nowiki></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre><nowiki></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>sudo apt-get install vim-gtk vim-doc cscope</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>sudo apt-get install vim-gtk vim-doc cscope</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></nowiki></pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">安装完整版的Vim:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><pre><nowiki></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">sudo apt-get install vim-full </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Isoar
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=113830&oldid=prev
124.90.220.46:/* 配置gvim */
2009-04-03T15:00:20Z
<p><span dir="auto"><span class="autocomment">配置gvim</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='zh-Hans'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">2009年4月3日 (五) 15:00的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l66" >第66行:</td>
<td colspan="2" class="diff-lineno">第66行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/delmenu.vim</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/delmenu.vim</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/menu.vim</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/menu.vim</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>"设置开启语法高亮</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>" 设置开启语法高亮</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>syntax on</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>syntax on</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>" 设置语法高亮度</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>" 设置语法高亮度</div></td></tr>
</table>
124.90.220.46
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=113829&oldid=prev
124.90.220.46:/* 配置gvim */
2009-04-03T14:59:51Z
<p><span dir="auto"><span class="autocomment">配置gvim</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='zh-Hans'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">2009年4月3日 (五) 14:59的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l66" >第66行:</td>
<td colspan="2" class="diff-lineno">第66行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/delmenu.vim</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/delmenu.vim</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/menu.vim</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>source $VIMRUNTIME/menu.vim</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">"设置开启语法高亮</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">syntax on</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>" 设置语法高亮度</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>" 设置语法高亮度</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>set syn=cpp</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>set syn=cpp</div></td></tr>
</table>
124.90.220.46
https://wiki.ubuntu.org.cn/index.php?title=%E8%80%81%E6%97%A7%E6%96%87%E7%AB%A0/Gvim%E7%9A%84%E5%AE%89%E8%A3%85%E5%8F%8A%E9%85%8D%E7%BD%AE&diff=22525&oldid=prev
Oneleaf:新页面: 本文作者:yonsan 授权许可:[http://www.creativecommons.cn/licenses/by-nc-sa/1.0/ 创作共用协议] 编辑人员:rApJtR 校对人员: 适用版本:Ubuntu Linux 5.10 ...
2007-05-31T01:36:45Z
<p>新页面: 本文作者:yonsan 授权许可:[http://www.creativecommons.cn/licenses/by-nc-sa/1.0/ 创作共用协议] 编辑人员:rApJtR 校对人员: 适用版本:Ubuntu Linux 5.10 ...</p>
<p><b>新页面</b></p><div><br />
本文作者:yonsan<br />
<br />
授权许可:[http://www.creativecommons.cn/licenses/by-nc-sa/1.0/ 创作共用协议]<br />
<br />
编辑人员:rApJtR<br />
<br />
校对人员:<br />
<br />
适用版本:Ubuntu Linux 5.10 breezy<br />
<br />
文章状态:整理中<br />
----<br />
''以下代码只需粘贴至终端运行即可''<br />
<br />
== 安装程序 ==<br />
<br />
<pre><nowiki><br />
sudo apt-get install vim-gtk vim-doc cscope<br />
</nowiki></pre><br />
<br />
== 创建启动项 ==<br />
<br />
<pre><nowiki><br />
sudo cat > /usr/share/applications/gvim.desktop << "EOF"<br />
[Desktop Entry]<br />
Name=Gvim<br />
Comment[zh_CN]=Gvim编辑器<br />
Exec=gvim<br />
Icon=/usr/share/pixmaps/gnome-word.png<br />
Terminal=false<br />
X-MultipleArgs=false<br />
Type=Application<br />
Categories=Application;Development;<br />
Encoding=UTF-8<br />
StartupNotify=true<br />
EOF<br />
</nowiki></pre><br />
<br />
== 配置gvim ==<br />
<br />
<pre><nowiki><br />
cat > $HOME/.vimrc << "EOF"<br />
" 项目: gvim 配置文件<br />
" 作者: yonsan<br />
" 安装: sudo apt-get install vim-gtk<br />
" 用法: 将本文件(.vimrc)拷贝到$HOME/<br />
<br />
" 使用 murphy 调色板<br />
colo murphy<br />
" 设置用于GUI图形用户界面的字体列表。<br />
set guifont=SimSun\ 10<br />
"<br />
set nocompatible<br />
" 设定文件浏览器目录为当前目录<br />
set bsdir=buffer<br />
set autochdir<br />
" 设置编码<br />
set enc=utf-8<br />
" 设置文件编码<br />
set fenc=utf-8<br />
" 设置文件编码检测类型及支持格式<br />
set fencs=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936<br />
" 指定菜单语言<br />
set langmenu=zh_CN.UTF-8<br />
source $VIMRUNTIME/delmenu.vim<br />
source $VIMRUNTIME/menu.vim<br />
" 设置语法高亮度<br />
set syn=cpp<br />
"显示行号<br />
set nu!<br />
" 查找结果高亮度显示<br />
set hlsearch<br />
" tab宽度<br />
set tabstop=4<br />
set cindent shiftwidth=4<br />
set autoindent shiftwidth=4<br />
" C/C++注释<br />
set comments=://<br />
" 修正自动C式样注释功能 <2005/07/16><br />
set comments=s1:/*,mb:*,ex0:/<br />
" 增强检索功能<br />
set tags=./tags,./../tags,./**/tags<br />
" 保存文件格式<br />
set fileformats=unix,dos<br />
" 键盘操作<br />
map <Up> gk<br />
map <Down> gj<br />
" 命令行高度<br />
set cmdheight=1<br />
" 中文帮助<br />
if version > 603<br />
set helplang=cn<br />
endi<br />
EOF<br />
</nowiki></pre><br />
<br />
== 一些问题 ==<br />
=== 菜单栏乱码 ===<br />
这有可能是你将locale设置为GBK而导致。<br />
<br />
编辑 $HOME/.vimrc ,将其中相关内容调整为<br />
<pre><nowiki><br />
" 指定菜单语言<br />
set langmenu=zh_CN.GBK<br />
set enc=chinese<br />
set fencs=gbk,utf-8,ucs-bom,gb18030,gb2312,cp936<br />
source $VIMRUNTIME/delmenu.vim<br />
source $VIMRUNTIME/menu.vim<br />
</nowiki></pre><br />
<br />
=== 使用字体名为多个单词的字体 ===<br />
<br />
如果我想使用的字体的名字是两个以上单词的,比如说Courier 10 Pitch或者是AR PL New Sung的话,应该怎么样设置guifont呢?<br />
<br />
将 $HOME/.vimrc 中相关内容改为<br />
<pre><nowiki><br />
set guifont=AR\ PL\ New\ Sung\ 10<br />
</nowiki></pre></div>
Oneleaf