{"id":28,"date":"2011-04-17T12:43:00","date_gmt":"2011-04-17T12:43:00","guid":{"rendered":"http:\/\/mattdturner.com\/wordpress\/?p=28"},"modified":"2011-04-26T14:31:22","modified_gmt":"2011-04-26T20:31:22","slug":"how-to-stop-thanks-for-flying-vim-message","status":"publish","type":"post","link":"http:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/","title":{"rendered":"How to Stop &#8220;Thanks for Flying Vim&#8221; Message"},"content":{"rendered":"<p><span><span style=\"font-family: inherit;\"><a href=\"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-85\" title=\"vim_airlines\" src=\"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg\" alt=\"\" width=\"490\" height=\"284\" srcset=\"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg 490w, http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1-300x173.jpg 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/a>If you are like me, you probably do a lot of your coding on a remote computer. I have known some people who will download all files from a remote computer onto their local system, make changes in a text editor, and then upload the files back to the remote server. This is a very inefficient way of coding, and is just one of the reasons why i choose to write all of my code in VIM.<\/span><\/span><\/p>\n<p>If you have ready my other posts (specifically\u00a0Useful .cshrc commands), you know that I like to have the title of the terminal set to my current working directory. However, after exiting VIM, I always end up with the frustrating \u201cThanks for flying VIM\u201d message in the title.<\/p>\n<p>I had read on other blogs and forums that adding\u00a0<code>set notitle<\/code> to your .vimrc file will prevent the \u201cThanks for flying VIM\u201d message from showing up.<\/p>\n<p>Well, that didn\u2019t work for me. After a lot of scouring the internet, I was able to find the solution.<br \/>\n<code>let &amp;titleold;=getcwd()<\/code><br \/>\nAdding this to your .vimrc file will, upon exit from vim, set the terminal title to the current working directory.<\/p>\n<div class=\"zemanta-pixie\" style=\"margin-top: 10px; height: 15px;\"><a class=\"zemanta-pixie-a\" title=\"Enhanced by Zemanta\" href=\"http:\/\/www.zemanta.com\/\"><img decoding=\"async\" class=\"zemanta-pixie-img\" style=\"border: none; float: right;\" src=\"http:\/\/img.zemanta.com\/zemified_e.png?x-id=9c2a19c7-6ec8-4dfb-898f-eaef7fc6aeb7\" alt=\"Enhanced by Zemanta\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you are like me, you probably do a lot of your coding on a remote computer. I have known some people who will download all files from a remote computer onto their local system, make changes in a text editor, and then upload the files back to the remote server. This is a very [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,64,11,21],"tags":[78,80,83,77,81,79,26,82],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-command-line","category-linux-2","category-mac","category-vim","tag-editors","tag-python","tag-read-eval-print-loop","tag-text-editor","tag-textmate","tag-vi","tag-vim-2","tag-vimscript","no-thumb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Stop &quot;Thanks for Flying Vim&quot; Message - Tech N Comp<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Stop &quot;Thanks for Flying Vim&quot; Message - Tech N Comp\" \/>\n<meta property=\"og:description\" content=\"If you are like me, you probably do a lot of your coding on a remote computer. I have known some people who will download all files from a remote computer onto their local system, make changes in a text editor, and then upload the files back to the remote server. This is a very [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech N Comp\" \/>\n<meta property=\"article:published_time\" content=\"2011-04-17T12:43:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-04-26T20:31:22+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/ddfa8276a3c382cc0a217b9cba226f28\"},\"headline\":\"How to Stop &#8220;Thanks for Flying Vim&#8221; Message\",\"datePublished\":\"2011-04-17T12:43:00+00:00\",\"dateModified\":\"2011-04-26T20:31:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/\"},\"wordCount\":199,\"commentCount\":34,\"image\":{\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2011\\\/04\\\/vim_airlines1.jpg\",\"keywords\":[\"Editors\",\"Python\",\"Read-eval-print loop\",\"Text editor\",\"TextMate\",\"Vi\",\"vim\",\"Vimscript\"],\"articleSection\":[\"Command Line\",\"Linux\",\"Mac\",\"Vim\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/\",\"url\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/\",\"name\":\"How to Stop \\\"Thanks for Flying Vim\\\" Message - Tech N Comp\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2011\\\/04\\\/vim_airlines1.jpg\",\"datePublished\":\"2011-04-17T12:43:00+00:00\",\"dateModified\":\"2011-04-26T20:31:22+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/ddfa8276a3c382cc0a217b9cba226f28\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/04\\\/how-to-stop-thanks-for-flying-vim-message\\\/#primaryimage\",\"url\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2011\\\/04\\\/vim_airlines1.jpg\",\"contentUrl\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2011\\\/04\\\/vim_airlines1.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#website\",\"url\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/\",\"name\":\"Tech N Comp\",\"description\":\"The one stop shop for everything Technology and Computer Related\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/ddfa8276a3c382cc0a217b9cba226f28\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g\",\"caption\":\"Admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Stop \"Thanks for Flying Vim\" Message - Tech N Comp","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/","og_locale":"en_US","og_type":"article","og_title":"How to Stop \"Thanks for Flying Vim\" Message - Tech N Comp","og_description":"If you are like me, you probably do a lot of your coding on a remote computer. I have known some people who will download all files from a remote computer onto their local system, make changes in a text editor, and then upload the files back to the remote server. This is a very [&hellip;]","og_url":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/","og_site_name":"Tech N Comp","article_published_time":"2011-04-17T12:43:00+00:00","article_modified_time":"2011-04-26T20:31:22+00:00","og_image":[{"url":"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg","type":"","width":"","height":""}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/#article","isPartOf":{"@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/"},"author":{"name":"Admin","@id":"http:\/\/mattdturner.com\/wordpress\/#\/schema\/person\/ddfa8276a3c382cc0a217b9cba226f28"},"headline":"How to Stop &#8220;Thanks for Flying Vim&#8221; Message","datePublished":"2011-04-17T12:43:00+00:00","dateModified":"2011-04-26T20:31:22+00:00","mainEntityOfPage":{"@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/"},"wordCount":199,"commentCount":34,"image":{"@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/#primaryimage"},"thumbnailUrl":"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg","keywords":["Editors","Python","Read-eval-print loop","Text editor","TextMate","Vi","vim","Vimscript"],"articleSection":["Command Line","Linux","Mac","Vim"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/","url":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/","name":"How to Stop \"Thanks for Flying Vim\" Message - Tech N Comp","isPartOf":{"@id":"http:\/\/mattdturner.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/#primaryimage"},"image":{"@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/#primaryimage"},"thumbnailUrl":"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg","datePublished":"2011-04-17T12:43:00+00:00","dateModified":"2011-04-26T20:31:22+00:00","author":{"@id":"http:\/\/mattdturner.com\/wordpress\/#\/schema\/person\/ddfa8276a3c382cc0a217b9cba226f28"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mattdturner.com\/wordpress\/2011\/04\/how-to-stop-thanks-for-flying-vim-message\/#primaryimage","url":"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg","contentUrl":"http:\/\/mattdturner.com\/wordpress\/wp-content\/uploads\/2011\/04\/vim_airlines1.jpg"},{"@type":"WebSite","@id":"http:\/\/mattdturner.com\/wordpress\/#website","url":"http:\/\/mattdturner.com\/wordpress\/","name":"Tech N Comp","description":"The one stop shop for everything Technology and Computer Related","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/mattdturner.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/mattdturner.com\/wordpress\/#\/schema\/person\/ddfa8276a3c382cc0a217b9cba226f28","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g","caption":"Admin"}}]}},"_links":{"self":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":2,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":76,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/28\/revisions\/76"}],"wp:attachment":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}