ByteME

Java developer logs

Showing posts with label vi. Show all posts
Showing posts with label vi. Show all posts

Sunday, November 24, 2013

How to type control characters into a file using Vi

Its simple.. For example if you need to write ^@ in a file in unix
1. Open the file in insert mode using vi
2. Use the keys in the order they have been listed
(ctrl+v) + (ctrl+@)
All it means is keep the ctrl key pressed and use v & @ in close succession

Posted by Unknown at 10:40 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Tutorial, unix, vi

Tuesday, October 22, 2013

Vi quick hack to get the arrow keys working normally

:set nocompatible
Posted by Unknown at 10:43 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: unix, vi
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2014 (22)
    • ▼  August (1)
      • Windows -- 64 bit or 32 bit?
    • ►  April (4)
    • ►  March (11)
    • ►  February (4)
    • ►  January (2)
  • ►  2013 (31)
    • ►  December (1)
    • ►  November (7)
    • ►  October (16)
    • ►  September (7)

Labels

Links Java Infographics Tutorial api Tool google video Architecture HBase Maven TFD apache Big Data Code Flume HDFS Interview Questions Yourstory hadoop unix vi Amazon Blog CQL CSS Cassandra Customization Eclipse Forbes NetApp Quote REST Remote Debugging Review Science Slides Software String Wolfram command computing distributed real-time processing

Total Pageviews

About Me

Unknown
View my complete profile
Awesome Inc. theme. Powered by Blogger.