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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A mobile friendly Vim cheat sheet

24 点作者 rtorr将近 12 年前

10 条评论

getoffmalawn将近 12 年前
Under "Working with multiple files", the split command is incorrect. It's not Ctrl+WQ; it's Ctrl+WS.
评论 #6167590 未加载
redthrowaway将近 12 年前
I'm a bit confused what the intended use case is, here. Is the idea to have it loaded on your tablet while programming on your laptop or desktop so you don't have to switch screens? Why not just print it out and pin it to the wall?
评论 #6167822 未加载
ichinaski将近 12 年前
&quot;c$ - change (replace) to the end of line&quot;<p>I find &#x27;C&#x27; simpler for that command.
评论 #6168145 未加载
dokem将近 12 年前
Should also mention:<p><pre><code> gg - top of file G - end of file 5gg - go to line 5 (I find this easier than 5G) ciw - delete current word and enter insert mode yiw - copy current word zz - center cursor (its also nice to remap G to Gzz etc)</code></pre>
评论 #6168137 未加载
dfinn将近 12 年前
Very useful. Needs a few typo fixes, but it&#x27;s bookmarked on my phone :)
tmimicus将近 12 年前
It&#x27;s missing my favorite commands - ci&quot;, ci{, and ci( - change (replace) inside quotes, brackets, and parens (respectively) pair under the cursor.
评论 #6167907 未加载
toblender将近 12 年前
I personally like :x Over :wq<p>Also a nice one is :Sex<p>For splitting windows and navigating the file system.
dsschnau将近 12 年前
Looks awesome. Going over it I&#x27;m surprised how much Vim I know already without thinking.
harrytuttle将近 12 年前
Actually just what I was after. Thanks for your efforts on this :)
tunnuz将近 12 年前
Cool, thanks!