tag:blogger.com,1999:blog-6637736252081011583.comments2023-10-23T11:13:47.199-07:00Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOsTravis Whittonhttp://www.blogger.com/profile/14592647486468034166noreply@blogger.comBlogger802125tag:blogger.com,1999:blog-6637736252081011583.post-81694449885726662672014-01-14T08:44:33.654-08:002014-01-14T08:44:33.654-08:00If I'm not mistaken, :v will function the same...If I'm not mistaken, :v will function the same as :g! so<br />:v/www\.example\.com/d<br />should give the same result.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-53153773735658565102014-01-08T20:34:30.924-08:002014-01-08T20:34:30.924-08:00It also helps to know that you can get the unicode...It also helps to know that you can get the unicode for the character under your cursor using "ga" or ":as".Sat Garciahttps://www.blogger.com/profile/17121009152536898229noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-5312129167402136332013-12-24T12:54:25.435-08:002013-12-24T12:54:25.435-08:00I use this opposite approach so that the pattern i...I use this opposite approach so that the pattern is a bit simpler to type: <br><br /><b> :v/./d </b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-58604631110752519652013-11-22T10:57:36.301-08:002013-11-22T10:57:36.301-08:00Coooooooool~~~~~~~
One more reason to stick to Vim...Coooooooool~~~~~~~<br />One more reason to stick to Vim than others. Thanks for the posting!Chrisnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-9069259202241523912013-11-13T13:03:03.104-08:002013-11-13T13:03:03.104-08:00Ultisnip is more powerful, IMHO.Ultisnip is more powerful, IMHO.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-52723177867046282672013-11-12T12:52:28.003-08:002013-11-12T12:52:28.003-08:00If you have homebrew (or fink or similar) on your ...If you have homebrew (or fink or similar) on your OS X, you can install the coreutils package to get an up to date GNU CoreUtils. Just be aware that it will probably be called 'gsort' to avoid conflict with the system version.Anonymoushttps://www.blogger.com/profile/07021437724461094867noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-64464583578931222152013-11-12T11:43:25.898-08:002013-11-12T11:43:25.898-08:00For me https://github.com/SirVer/ultisnips is much...For me https://github.com/SirVer/ultisnips is much better. Have a look at it - not sure why so many people still use snipmateNikola Valentinov Petrovhttps://www.blogger.com/profile/14017819580026769822noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-58995088311539761502013-11-11T15:33:48.264-08:002013-11-11T15:33:48.264-08:00Having tried Snipmate, I much prefer Ultisnips! Fi...Having tried Snipmate, I much prefer Ultisnips! First: there's an option to override snippets, so you can use the defaults for most things and then alter them to taste. Second: live updates! Nothing makes snippet expansion so useful as being able to tweak the snippet and try it on live code.Judsonhttps://www.blogger.com/profile/17341038668224372624noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-5440898843860750142013-11-07T04:31:31.750-08:002013-11-07T04:31:31.750-08:00I always thought you will come back one day. And, ...I always thought you will come back one day. And, yes, I kept the rss feed as many of us did. And all of a sudden - today - I saw this blog come alive again. Welcome back Travis ! I am really glad to hear you have more to give. Keep up the good spirit !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-27234193729287701492013-11-07T00:36:45.536-08:002013-11-07T00:36:45.536-08:00Gitgutter is awesome, thanks :)
I found though tha...Gitgutter is awesome, thanks :)<br />I found though that it can terribly slow down vim, e.g. when viewing logfiles (that are of course not checked in in git).<br />Did you find a way to automatically enable/disable it e.g. on file ending?<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-68314314917336582842013-11-06T13:03:53.572-08:002013-11-06T13:03:53.572-08:00The diff hunk navigation feature is also really he...The diff hunk navigation feature is also really helpful to me, to quickly navigate between the parts of a file I'm modifying for a particular commit. I believe the bindings are on by default and are <b>]h</b> to go to next hunk and <b>[h</b> to go to previous hunk.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-31222667637023261582013-11-02T11:25:25.737-07:002013-11-02T11:25:25.737-07:00'f' is good, but practically I find myself...'f' is good, but practically I find myself using the related 't' much more. 't' stands for "till", and it takes you till the character you type after it - i.e., to the place just before it. In conjunction with another command, you'd use it like: <b>ct:</b> to "change till the next : character", leaving the colon intact.Sundarhttps://www.blogger.com/profile/00415039983973239001noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-65876430404168840092013-10-31T13:57:00.271-07:002013-10-31T13:57:00.271-07:00Glad you're back! My RSS feed filters on posts...Glad you're back! My RSS feed filters on posts tagged 'vim' so I had no idea you were posting again!Jeffnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-30294042063739789762013-10-30T15:50:50.715-07:002013-10-30T15:50:50.715-07:00Perfect! Thank you!Perfect! Thank you!Anonymoushttps://www.blogger.com/profile/04095712302106142269noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-37534735635707757002013-10-29T22:05:21.662-07:002013-10-29T22:05:21.662-07:00Welcome BackWelcome BackRussell Snowhttps://www.blogger.com/profile/10953469302939954293noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-71329476218093291522013-10-29T17:01:04.300-07:002013-10-29T17:01:04.300-07:00@Amijith
It's GNU specific. I've updated ...@Amijith<br /><br />It's GNU specific. I've updated the post with a generic solution.Travis Whittonhttps://www.blogger.com/profile/14592647486468034166noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-3409687610414577472013-10-29T16:46:47.696-07:002013-10-29T16:46:47.696-07:00Oooh. Nice. Even has bash-completion so it's n...Oooh. Nice. Even has bash-completion so it's not unwieldy.<br /><br />GreatAmberhttps://www.blogger.com/profile/02588145544781882509noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-59083247322379707042013-10-29T16:46:02.968-07:002013-10-29T16:46:02.968-07:00Oooh. Nice. Even has bash-completion so it's n...Oooh. Nice. Even has bash-completion so it's not unwieldy.<br /><br />GreatAmberhttps://www.blogger.com/profile/02588145544781882509noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-61753546832449821402013-10-29T16:01:44.761-07:002013-10-29T16:01:44.761-07:00Is there an equivalent of the --human-numeric for ...Is there an equivalent of the --human-numeric for OS X? Anonymoushttps://www.blogger.com/profile/04095712302106142269noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-71656346048798313522013-10-29T14:14:16.814-07:002013-10-29T14:14:16.814-07:00As you can see, nobody ever clean up his RSS feeds...As you can see, nobody ever clean up his RSS feeds! <br /><br />Welcome back :)Amberhttps://www.blogger.com/profile/02588145544781882509noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-42659774814606028152013-10-28T11:25:00.001-07:002013-10-28T11:25:00.001-07:00Keep up the great work! VIM's the bomb.Keep up the great work! VIM's the bomb.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-34106894178996852972013-10-25T09:19:56.150-07:002013-10-25T09:19:56.150-07:00Glad you're back! Looking forward to the upcom...Glad you're back! Looking forward to the upcoming posts.Minoruhttps://www.blogger.com/profile/15979236009981641914noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-69237110971987876022013-10-25T05:42:06.831-07:002013-10-25T05:42:06.831-07:00Nice to hear from you again. Keep the vim spirit a...Nice to hear from you again. Keep the vim spirit alive...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-25759923308898976252013-10-25T03:01:12.402-07:002013-10-25T03:01:12.402-07:00ExelentExelentFungusBoyhttps://www.blogger.com/profile/14484439430767620004noreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-39777567848867981372013-10-25T03:00:42.085-07:002013-10-25T03:00:42.085-07:00Exelent :-)Exelent :-)FungusBoyhttps://www.blogger.com/profile/14484439430767620004noreply@blogger.com