2010-01-01から1ヶ月間の記事一覧

Vim shortcuts I can't remember.

:set tabstop=8 Set hard tab width to 8, useful if you open a file by Emacs which uses 4 spaces for one level of indent and hard tab for 2. "+gp Paste from system clipboard after cursor "+gP Paste from system clipboard before cursor "+y Cop…

GNU screen on gnome-terminal

On a vanilla Ubuntu 9.04, you might run into some keyboard input troubles with the default screen configuration. For example, Shift+Tab in Vim (to go backwards through a directory listing) does not work properly.SolutionAdding term xtermto…

MySQL dump database

mysqldump writes a database to stdout. mysqldump -u -p > file