Skip to content

How to fix arrow key in vim on Ubuntu 10.04

24 July 20102 comments Engineerball, Linux, TK's LAB, Ubuntu

เมื่อใช้โปรแกรม vim ใน ubuntu 10.04 แล้วพบว่าเมื่อกดปุ่มลูกศร มันกลายเป็นตัวอักษร A, D,….. ออกมา แล้ว cursor ก้ไม่ยอมเลื่อนไปตามที่กำหนด การแก้ไขสามารถทำได้ดังนี้ครับ

เปิด terminal มาแล้วพิมพ์

user@computer:$ vim ~/.vimrc

เพิ่มข้อความนี้ลงไปแล้วกด save ซะ
set nocompatible
เรียบร้อยครับ ลองใช้งานดู

About the Author

This graet post was written by Teerapat (Ball), with a passion of Web design and Linux command line. Having a deep interest in them has driven me to learn and share this post to you.

Spread The Love, Share Our Article

  • Delicious
  • Digg
  • Newsvine
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter

Related Posts

Comments

  1. Loran December 20, 2011

    At last! Soehmtnig clear I can understand. Thanks!

    [Reply]

  2. hjvgilas December 22, 2011

    1yXHUC uoiwscobxvsn

    [Reply]

Trackbacks

There are no trackbacks on this entry.

Add a Comment

Required

Required

Optional