Graphical vi-vim Cheat Sheet and Tutorial Learning vi or vim is not easy. But it doesn't have to be that difficult, either. It is, in any case, faster, more powerful, and more productive than editing with any other editor, so you would do very well in investing the time and effort to learn it. Being a vi lover myself, I came up with the idea of providing a graphical cheat sheet for those learning
.vimrc 晒し が流行りそうな予感なので、いち早く晒してみる。 しかしこうしてみると大した事はやっていないな。YYMMDDHH の時間別の自動バックアップと g を使ったキーバインドくらいが他であんまり見掛けない設定のような気がする。 autochdir は知らなかった。後で調べてみよう。 " ------------------- " 色の設定 " ------------------- syntax on colorscheme my highlight LineNr ctermfg=darkyellow " 行番号 highlight NonText ctermfg=darkgrey highlight Folded ctermfg=blue highlight SpecialKey cterm=underline ctermfg=darkgrey "highlight Spec
Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at
■ はてな vim 勉強会勝手にリファクタリング はてな vim 勉強会 リファクタリングって言うか、「行末に文字列追加」は矩形選択からも出来ますよって言う情報があるのでその紹介。ビデオでは、範囲選択してから :s/$/<br>/ とかやっていた部分。 矩形選択してから $ A <br> <ESC> で、指定した範囲の行末に <br> が入ります。 ここから自分の感想。 初っ端から驚いたけど、ヴィムって読んでるのか…。そういや、ブイアイエムって読んでる人に会った事ないかも。ブイアイエム派の人はおらんかね。今更変えらんないなぁ。 set nonumber は set nonu でも良いのかぁ。かなり頻繁に打つコマンドだけど、set nonumber ってやっていた。長いのやだから変えよう。 そして一番感激したのがコレ「:a」。こいつを使うと外部からのペーストが超便利に!普通のよそから持ってき
はてな技術勉強会で、id:secondlife が これだけは知っておけ!vim 勉強会というのをやってたので、空前の vim ブームにちょっとかぶせてみる。 これも知っておいたほうがもっといいよーって意味で、:r:!あたりを。 :r /path/to/file ってやると、カーソル位置に /path/to/file の中身が取り込めるよ! :r `perldoc -ml Sledge::Pages::Base` shell とかと同じで、`` でコマンドの実行結果が展開されるから、コマンドの実行結果がファイル名なら、そのファイルの中身が取り込めるよ! :!ls -l /path/to/dir とりあえず、:!、って打つとコマンドが打てて、結果が表示されるよ! でもその下に Hit ENTER or type command to continue ってのが出るから、Enter 押すと消え
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く