LoginSignup
3
0

More than 5 years have passed since last update.

vimで右にhelpを表示する

Posted at

便利な設定があるわけじゃなさそうなので、こんなコマンドを自分で定義してみた。

command

.vimrc
commands! -nargs=1 -complete=help Vh :vertical belowright help <args>
  • commands!でコマンドを指定。同名のコマンドがあれば上書きする。
  • -nargs=で引数の数を指定
  • -complete=で補完のタイプを指定。他にもファイルとかディレクトリとかあるらしい。
  • vertical belowright [cmd]で縦分割して右ウィンドウにコマンドの結果を表示する。
  • <args>は引数
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0