問い MacVimでコピーした文字列を自動的にクリップボードに入れるにはどうしたらいいですか。 答え コマンド:set clipboard=unnamedを使います。 詳細 以下はCUIで試しています。 クリップボードが有効になってコンパイルされていることを確認。 $ alias vim='/Applications/MacVim.app/Contents/MacOS/Vim' $ vim --version | grep clipboard +clipboard +iconv +odbeditor +toolbar +ex_extra +mouseshape -sniff -xterm_clipboard 試す コマンド:set clipboard=unnamedを入力。 適当に文字列をコピー(たとえば yy で一行コピー)。 別アプリに行ってペースト。 うまくいったら、~/.vimrc