何故か唐突に vimエディタの :cdコマンドの話。 vimエディタの :cd コマンドは、カレントディレクトリを変更するために使われます。 この:cdコマンドで、いくつかのディレクトリを移動している時、 直前まで居たディレクトリにカレントディレクトリを戻したくなったら、 :cd - でカレントディレクトリを、直前まで居たディレクトリに戻せる。 今日はこれだけなんです。 ではでは~。 おまけ。 現在編集中のファイルのあるディレクトリに、 カレントディレクトリを変更する。 :cd %:h :CdCurrent (Kaoriya版vimの場合) ファイルを指定して、そのファイルのあるディレクトリに、 カレントディレクトリを変更する。 (#8のファイルと同じディレクトリに変更する場合の例。 この番号(#8)がよく解らない人は、こちらを見てね。) :cd #8:p:h
This episode demonstrates how Vim’s native file browser can be used to explore and manipulate the file system. The video demonstrates some of the functionality of the netrw plugin, which is usually distributed with Vim. Note that if the NERD_tree is installed, then the functionality described in this episode won’t work for you. Exploring the filesystem The file explorer is just another Vim buffer,
Learning VIM while playing a gamePress any key to start! What is VIM Adventures?VIM Adventures is an online game based on VIM's keyboard shortcuts (commands, motions and operators). It's the "Zelda meets text editing" game. It's a puzzle game for practicing and memorizing VIM commands (good old VI is also covered, of course). It's an easy way to learn VIM without a steep learning curve. You play a
Articles Products Gallery FTP SKK About Contact Admin VimでRSenseを使って快適Rubyプログラミング perlomni.vim, jedi.vimに続く三大スクリプト言語(?)用補完プラグイン、RSenseの紹介です。 RSenseとは? RSenseトップページより。 RSenseはEmacsやVimなどの高機能テキストエディタに特化したRubyのための開発援助ツールです。UNIXの思想に従うことで高い透明性を実現し、ユーザーが簡単に学習・拡張・修正できるように設計されています。また、コピーレフトライセンス(GPLv3+)を採用することで、自由なソフトウェアであり続けることを保証しています。 Perlにはperlomni.vim, Pythonにはjedi.vimがあり、RubyにはRsenseがあります。導入が割と大変という
Vimでのコピー方法を調べてたら「Visualモードでyを押せばテキストがコピーできて便利だぜ、ヤフゥー!」な紹介がすぐに見つかったのに他のソフトと連携するためにyankじゃなくてクリップボードにコピーする方法がちょっと見つかりにくかったので紹介します。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く