{"id":6972,"date":"2013-02-20T15:37:19","date_gmt":"2013-02-20T21:37:19","guid":{"rendered":"http:\/\/bobbeaty.com\/wp\/?p=6972"},"modified":"2013-02-20T15:47:27","modified_gmt":"2013-02-20T21:47:27","slug":"updating-some-vim-tools","status":"publish","type":"post","link":"https:\/\/bobbeaty.com\/wp\/archives\/6972","title":{"rendered":"Updating Some Vim Tools"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/bobbeaty.com\/wp\/wp-content\/uploads\/2008\/04\/macvim.jpg\" alt=\"MacVim.jpg\" title=\"MacVim.jpg\" border=\"0\" width=\"128\" height=\"128\" style=\"float:right;\" \/><\/p>\n<p>Today I decided that I wanted to see what was out there to update MacVim to be something more like Sublime Text 2 - or at least how I use it. Since starting at The Shop, I've come to really like the project-management features in Sublime Text 2 - specifically the ability to find a file with partial filename completion, and the same thing for methods\/functions, as working in Ruby has shown me that the <em>standard<\/em> way of working on Ruby projects is to have a <strong><em>mess<\/em><\/strong> of files, all no bigger than a thimble.<\/p>\n<p>But I had a feeling that there <em>had<\/em> to be something like this for Vim - and therefore MacVim, which I really like - but just need this kind of help with. So I asked my most Vim-savvy friend and he mentioned <a href=\"http:\/\/kien.github.com\/ctrlp.vim\/\">CtrlP<\/a>.<\/p>\n<p>Install this guy and a simple <tt>Ctrl-P<\/tt> brings up a searchable list - <em>just like Sublime Text 2!<\/em> This is directory-specific and includes most-recently-used files and buffers as well. It's a real treat. It's fast, clean, and does <em>exactly<\/em> what I need it to do. I've never heard of it, but it's really quite amazing.<\/p>\n<p>The next real jewel today is <a href=\"https:\/\/github.com\/vim-scripts\/VimClojure\">VimClojure<\/a>. This gives me the clojure syntax-highlighting and indenting that I really need to write in clojure in Vim. I'm doing about 90% of my coding in clojure these days, and the lack of a good default <em>mode<\/em> and syntax highlight for clojure is really something that kept me from really even <em>starting<\/em> to write clojure in Vim. With this, I'm <strong><em>golden.<\/em><\/strong><\/p>\n<p>I'm super happy with these two, but I really wish MacVim had the save\/restore that other Mac apps have for windows and files. The ability to save and restore the state would be <strong><em>amazing<\/em><\/strong> and might make it so that I'm back to MacVim all the time. Sublime Text 2 is nice, and I've played <em>briefly<\/em> with Sublime Text 3 <em>beta<\/em>, but there's something about Vim and all the history I have with it that makes it <em>exceptionally powerful<\/em> for me.<\/p>\n<p>I'll keep looking, and these plugins make Vim much nicer, but I'm not yet giving up on Sublime Text 2 - yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I decided that I wanted to see what was out there to update MacVim to be something more like Sublime Text 2 &#8211; or at least how I use it. Since starting at The Shop, I&#8217;ve come to really like the project-management features in Sublime Text 2 &#8211; specifically the ability to find a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-6972","post","type-post","status-publish","format-standard","hentry","category-coding","category-open-source-software"],"_links":{"self":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/6972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/comments?post=6972"}],"version-history":[{"count":0,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/posts\/6972\/revisions"}],"wp:attachment":[{"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/media?parent=6972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/categories?post=6972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bobbeaty.com\/wp\/wp-json\/wp\/v2\/tags?post=6972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}