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)
[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)