Apache, Vi, Vim 的小記


Apache

1
2
3
4
5
6
7
# 當出而下面的問題時候
httpd: apr_sockaddr_info_get() failed for zeuik.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

# 解決的方法是
vi /etc/hosts
- 添加 zeuik.com

Vi/Vim

1
2
3
4
5
6
7
8
當按下 ctrl+s 鎖定
可以用 ctrl+q 回覆

vimrc 中,使 Mouse 可以複制貼上
set mouse=r

"a" allowed copy to vim (via middle-click)
"r" allowed copy from vim (via drag selection and middle-click in other space) and copy to vim (via middle-click)