の行全体をヤンクしたとき、Vimは改行文字のためにヤンクしたテキストを入れるために新しい行を作成します。しかし、もし私がラインの一部をヤンクしたら、そのラインにヤンクしたテキストを置く方法がありますか?現在行っていますoESCpです。これが唯一の方法ですか?ここでVimにo-<esc> -pと同等の機能がありますか?
1
A
答えて
8
はVimのヘルプからあなたの答えです:あなたは常にあなたの中にいる間、レジスタから貼り付けることができますよう
:[line]pu[t] [x] Put the text [from register x] after [line] (default
current line). This always works |linewise|, thus
this command can be used to put a yanked block as new
lines.
The cursor is left on the first non-blank in the last
new line.
The register can also be '=' followed by an optional
expression. The expression continues until the end of
the command. You need to escape the '|' and '"'
characters to prevent them from terminating the
command. Example: >
:put ='path' . \",/test\"
< If there is no expression after '=', Vim uses the
previous expression. You can see it with ":dis =".
:[line]pu[t]! [x] Put the text [from register x] before [line] (default
current line).
しかしコロン-PU-入力するには、(CR)0 oをよりキーストロークとにかく=/
6
関連する問題
- 1. ActionScriptには「コアダンプ」と同等の機能がありますか?
- 2. MonoにはILDASMと同等の機能がありますか?
- 3. WPFにASP.NET "IsPostBack"と同等の機能がありますか?
- 4. JavaにC#インデクサーと同等の機能がありますか?
- 5. SolrにはCompassQueryBuilderと同等の機能がありますか?
- 6. Rubyに「yield break」と同等の機能はありますか?
- 7. freemarkerにhtml_encodeと同等の機能はありますか?
- 8. ウィンドウにfadvise/madviseと同等の機能はありますか?
- 9. C#にGroovyと同等の機能はありますか?
- 10. Windowsにtail -fと同等の機能はありますか?
- 11. テキストノードのgetBoundingClientRect()と同等の機能はありますか?
- 12. Filehelpers、Super CSV:Pythonと同等の機能はありますか?
- 13. GrailsのRailsコマンド/機能 "rake routes"と同等の機能はありますか?
- 14. javascriptまたはnode.jsにstd :: bindと同等の機能がありますか?
- 15. iOSにAndroidのアクティビティ認識APIと同等の機能がありますか?
- 16. ClangにはGCCの-malign-doubleフラグと同等の機能がありますか?
- 17. .NETにはDelphiのVCLコンポーネントモデルと同等の機能がありますか?
- 18. Perl 6にはPythonのdir()と同等の機能がありますか?
- 19. C#にはC++の#pragma packと同等の機能がありますか?
- 20. SVNにgitのコミット(プッシュなし)と同等の機能がありますか?
- 21. C#にはJavaScriptのencodeURIComponent()と同等の機能がありますか? JavaScriptで
- 22. MongoDb&PHPにMySqlのgetLastInsertID()と同等の機能がありますか?
- 23. JavaにはC#のEnvironment.GetCommandLineArgs()と同等の機能がありますか?
- 24. ZshにはBashの "local + x MY_VAR"と同等の機能がありますか?
- 25. Apache DerbyにMySQLの抽出メソッドと同等の機能がありますか?
- 26. RustにはPythonのスレッディングと同等の機能がありますか?
- 27. IntelliJにはEclipseの「メソッドビュー」と同等の機能がありますか?
- 28. JUnit 4にtestNGの@BeforeSuiteと同等の機能がありますか?
- 29. cdb/windbgにはautoexp.datと同等の機能がありますか?
- 30. XQueryにはCONNECT BY PRIORと同等の機能がありますか?
良い答えです。頻繁に使用された場合、キーストロークを削減する別のキーシーケンスに確実にバインドすることができます。 –
キーストロークが多いにもかかわらず、通常は少なくとも節約時間の出現を示す挿入モードの出入りを節約します(ESCの場合)。 –