vim

good article:
[url]http://sontek.net/turning-vim-into-a-modern-python-ide[/url]

1. :set syntax=php

2. % #jump between { and }

3. switch buffer files
:ls
:b[n] #
:bp #previous
:bn #next

4. ctrl + o #jump reverse

5. 查找替換將^M刪除。

:%s/^M//

注意: ^M的輸入要用 ctrl-v + m 或 ctrl-v + <enter> 的方式,即按住ctrl-v的同時按m或回車。

6. xshell spf backspace :
Ins/Del/PgUp/PgDown/Home/End keybindings are broken
I was having this problem in Ubuntu when running vim in the terminal as well, I got around it by putting set term=$TERM into my .vimrc.local ($TERM == xterm)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值