TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Vim Splits: A Guide to Doing Exactly What You Want

47 点作者 s3b大约 15 年前

3 条评论

drKarl大约 15 年前
I've recently invested some time in learning to use vi proficiently, beyond the basic hjkl movement and i/Esc<p>I've installed the Vrapper plug-in for eclipse as well... but since I find eclipse to be full of features but bloated as hell I've done some research on how to use Vi/m as an IDE.<p>I recommend to everyone eager to learn Vim, this free book<p>A byte of Vim - <a href="http://www.swaroopch.com/notes/Vim" rel="nofollow">http://www.swaroopch.com/notes/Vim</a><p>There are a number of Vim scripts to ease developing, and thus making Vim become more of an IDE. For example:<p>Vim trinity <a href="http://www.vim.org/scripts/script.php?script_id=2347" rel="nofollow">http://www.vim.org/scripts/script.php?script_id=2347</a><p>includes the useful NERD_tree, taglist and srcexpl<p>NERD_commenter <a href="http://www.vim.org/scripts/script.php?script_id=1218" rel="nofollow">http://www.vim.org/scripts/script.php?script_id=1218</a><p>mru.vim <a href="http://www.vim.org/scripts/script.php?script_id=521" rel="nofollow">http://www.vim.org/scripts/script.php?script_id=521</a><p>xml.vim <a href="http://www.vim.org/scripts/script.php?script_id=1397" rel="nofollow">http://www.vim.org/scripts/script.php?script_id=1397</a><p>There are many more plugins, and a lot of language-dependent plugins to help you develop in your language of choice, be it java, ruby, python, C, etc<p>I guess a great part of HN users are already masters of Vi/m, but I thougt this could be helpful for those still in their path to Virvana
crazydiamond大约 15 年前
<p><pre><code> map &#60;C-j&#62; &#60;C-W&#62;j&#60;C-w&#62;_ map &#60;C-k&#62; &#60;C-W&#62;k&#60;C-w&#62;_ map &#60;C-h&#62; &#60;C-w&#62;h&#60;C-w&#62;_ map &#60;C-l&#62; &#60;C-w&#62;l&#60;C-w&#62;_ </code></pre> Try these. They expand the window they move into. You'll love them.
评论 #1354031 未加载
评论 #1354402 未加载
评论 #1354282 未加载
评论 #1354126 未加载
评论 #1354430 未加载
评论 #1354161 未加载
评论 #1354283 未加载
mahmud大约 15 年前
C-x 2 for horizontal split, and C-x 3 for vertical ;-)
评论 #1354263 未加载