ソラリスvim終了キー

ソラリスvim終了キー

簡単な質問:なぜvimでendを押すとFが出るのですか?

次はこんなことが起こるでしょう。

This is a text file,i will press "end key"

    F
    F
    F
    F
:(

ベストアンサー1

解決策を探す

# For some reason home and end keys are not mapping properly.
# Home key
imap <esc>OH <esc>0i
cmap <esc>OH <home>
nmap <esc>OH 0
# End key
nmap <esc>OF $
imap <esc>OF <esc>$a
cmap <esc>OF <end>

http://ianrolfe.livejournal.com/39474.html

おすすめ記事