Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ブロックとその終了キーワードを vim と適切に揃える方法はありますか? いくつかの条件でネストされた関数がある場合、物事はすぐに醜くなり始める可能性があります。vim はその日を救うことができますか?
もちろん。関連するコードブロックを選択して を押すだけ=です。
gg=G
(上に移動し、下まで完全にインデントし直します)
endwiseと呼ばれる素敵な Vim プラグインもあり、両端を自動的に挿入します。