:global コマンドと :move コマンドを組み合せて、全ての行を 1 行目の上に移動することで、行を逆順に並べ替えたファイルを作ることができます。コマンドは次の通りです: :global/^/m 0 短縮して書くこともできます: :g/^/m 0 "^" という正規表現は行の先頭に (それ ...
vimでcommentなんかをscrollで見てると最初はうまくsyntax highlightされてるんだが、scroll中に色がおかしくなる場合が稀にある。 言語、patternにもよりけりで、vimのversionによっても違うかもしれない。。。 と、いうわけで具体例を示すのが困難なのだが、vim(version 9 ...
fzf in itself is not a Vim plugin, and the official repository only provides the basic wrapper function for Vim and it's up to the users to write their own Vim commands with it. However, I've learned ...