{"id":6978,"date":"2018-02-24T14:11:00","date_gmt":"2018-02-24T19:11:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=6978"},"modified":"2018-02-24T14:11:31","modified_gmt":"2018-02-24T19:11:31","slug":"video-on-searching-with-swiper","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=6978","title":{"rendered":"Video on Searching with Swiper"},"content":{"rendered":"<p> Those of you who hang around Irreal know that I&rsquo;m a huge fan of the Ivy\/Counsel\/Swiper suite. It is, by far, the most important package I have installed<sup><a id=\"fnr.1\" class=\"footref\" href=\"#fn.1\">1<\/a><\/sup> and has improved my workflow in a major way. <\/p>\n<p> <a href=\"https:\/\/www.youtube.com\/channel\/UCDEtZ7AKmwS0_GNJog01D2g\">Uncle Dave<\/a> has a short video on <a href=\"https:\/\/www.youtube.com\/watch?v=cEB2KdEFH_Y\">searching with Swiper<\/a> that shows some Swiper basics. My only problem with the video is that it doesn&rsquo;t cover some of the best features of Swiper. One example of those features is the way that Swiper does a sort of &ldquo;automatic regex&rdquo; searching. A space in the search string is treated as <code>.*<\/code> so <code>one two<\/code> will search for any string that starts with &ldquo;one&rdquo; and ends with &ldquo;two&rdquo;. That sounds a bit odd but turns out to be extraordinarily useful. Once you get used to it, you&rsquo;ll wonder how you ever lived without it. <\/p>\n<p> Another feature that I use all the time is being able to pop up an occur buffer containing each of the candidate search targets. There&rsquo;s lots more. Swiper is one of a series of utilities that use the Ivy library to handle its completion features. When you install Swiper, you get all the rest of the functionality too. Check out the <a href=\"http:\/\/oremacs.com\/swiper\/\">Ivy manual<\/a> to see what else Swiper can do and to investigate the other great functionality that Ivy brings you. Try it out; you won&rsquo;t, I promise, be sorry. <\/p>\n<p> The video is just a few seconds over 4 minutes so you shouldn&rsquo;t have a problem finding time for it. <\/p>\n<div id=\"footnotes\">\n<h2 class=\"footnotes\">Footnotes: <\/h2>\n<div id=\"text-footnotes\">\n<div class=\"footdef\"><sup><a id=\"fn.1\" class=\"footnum\" href=\"#fnr.1\">1<\/a><\/sup> <\/p>\n<div class=\"footpara\">\n<p class=\"footpara\"> Arguably Org Mode might hold that position but Org is now part of Emacs core even though I keep mine updated through the package system. <\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Those of you who hang around Irreal know that I&rsquo;m a huge fan of the Ivy\/Counsel\/Swiper suite. It is, by far, the most important package I have installed1 and has improved my workflow in a major way. Uncle Dave has &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=6978\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-6978","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6978"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6978\/revisions"}],"predecessor-version":[{"id":6979,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6978\/revisions\/6979"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}