Contents tagged with vim

  • delete everything in a file with Vim

    Tags: vim
    To delete everything in a file with Vim, use this command. ggdG explain gg go to the first line dG delete to the last line of file (G is movement which is " go to the last line of the document ") … Read more...
  • คำสั่งพื้นฐานของ Vim ใน normal mode

    Tags: vim
    คำสั่งง่ายๆ ของ Vim ใน normal mode w เลื่อนไปข้างหน้าหนึ่งคำ b เลื่อนย้อนกลับไปหนึ่งคำ dd ลบหนึ่งบรรทัด v เลือก highlight yy copy หนึ่งบรรทัด p วางข้อความที่ copy มาหนึ่งครั้ง u ยกเลิกที่แก้ไขล่าสุด … Read more...
  • เพิ่มความเร็วในการเขียนโปรแกรมด้วย Vim กันเถอะ

    Tags: vim
    เมื่อวันศุกร์ที่ 14 มิ.ย. 2016 ที่ผ่านมา ผมได้มีโอกาสเข้าร่วม session Vim เบื้องต้นจากคุณ Will Fuqua ทั้งนี้ขอยก credit ให้ผู้บรรยายเลย เพราะอธิบายได้ดีมากๆ ทำให้พบว่า Vim เป็น text editor ที่ดีและ … Read more...