{"id":18,"date":"2008-10-09T11:30:05","date_gmt":"2008-10-09T16:30:05","guid":{"rendered":"http:\/\/themayesfamily.com\/blogs\/b\/?p=18"},"modified":"2008-10-09T11:30:05","modified_gmt":"2008-10-09T16:30:05","slug":"another-vi-trick","status":"publish","type":"post","link":"https:\/\/themayesfamily.com\/blogs\/b\/2008\/10\/09\/another-vi-trick\/","title":{"rendered":"Another VI Trick"},"content":{"rendered":"<p>I was in Ubuntu and every time I was in insert mode and hit one of the arrow keys I&#8217;d get a crazy set of control characters.  Very frustrating!!!.  So looking around I found this trick.  Edit your .vimrc file and add the following line:<\/p>\n<p>set nocompatible<\/p>\n<p>That should do it.  Restart vi or vim and you&#8217;re off to the races.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was in Ubuntu and every time I was in insert mode and hit one of the arrow keys I&#8217;d get a crazy set of control characters. Very frustrating!!!. So looking around I found this trick. Edit your .vimrc file and add the following line: set nocompatible That should do it. Restart vi or vim &hellip; <a href=\"https:\/\/themayesfamily.com\/blogs\/b\/2008\/10\/09\/another-vi-trick\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Another VI Trick&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[19,25,52,55,56],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-programming","tag-arrow-keys","tag-control-characters","tag-trick","tag-vi","tag-vim"],"_links":{"self":[{"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themayesfamily.com\/blogs\/b\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}