Vim incremental search

If you’re using vim (and who isn’t nowadays), you can enable incremental search with: :set incsearch Then just use the regular search command / and it will move the highlight as you add characters to the search string. I also like hlsearch as well since it highlights all found items (once the search command is … Read more

Bind Ctrl+Tab and Ctrl+Shift+Tab in tmux

Recent “unreleased” versions of tmux do automatically recognize those xterm-style key sequences once you have your terminal sending them (no need to change your terminfo entry). The next release version (1.8?) should also have this support. With an appropriate build of tmux1, all you have to do is bind the keys in your tmux configuration: … Read more

How to send characters in PuTTY serial communication only when pressing enter?

The settings you need are “Local echo” and “Line editing” under the “Terminal” category on the left. To get the characters to display on the screen as you enter them, set “Local echo” to “Force on”. To get the terminal to not send the command until you press Enter, set “Local line editing” to “Force … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)