{"id":180,"date":"2010-02-08T10:26:18","date_gmt":"2010-02-08T09:26:18","guid":{"rendered":"http:\/\/le-moulin-de-verre.com\/fieldnotes\/?p=180"},"modified":"2010-02-08T10:30:53","modified_gmt":"2010-02-08T09:30:53","slug":"an-easier-search-with-vim","status":"publish","type":"post","link":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/?p=180","title":{"rendered":"An easier search with vim"},"content":{"rendered":"<p>Use incremental (search as you type) and case insensitive search in vim.<\/p>\n<p>Edit ~.vimrc to add:<\/p>\n<pre lang=\"bash\">:set incsearch\r\n:set ignorecase\r\n:set smartcase\r\n:set nu\r\n<\/pre>\n<p><em>ignorecase <\/em>allow a case-insensitive search.\u00a0 When <em>smartcase <\/em>is also used, it makes the search case-sensitive if the searched term contains an uppercase.<\/p>\n<p>Thanks to Linux Magazine for the original article:<\/p>\n<p><a href=\"http:\/\/www.linux-magazine.com\/w3\/issue\/85\/Vim_Tricks.pdf\">http:\/\/www.linux-magazine.com\/w3\/issue\/85\/Vim_Tricks.pdf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use incremental (search as you type) and case insensitive search in vim. Edit ~.vimrc to add: :set incsearch :set ignorecase :set smartcase :set nu ignorecase allow a case-insensitive search.\u00a0 When smartcase is also used, it makes the search case-sensitive if the searched term contains an uppercase. Thanks to Linux Magazine for the original article: http:\/\/www.linux-magazine.com\/w3\/issue\/85\/Vim_Tricks.pdf<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5WcEf-2U","_links":{"self":[{"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=\/wp\/v2\/posts\/180"}],"collection":[{"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=180"}],"version-history":[{"count":4,"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=\/wp\/v2\/posts\/180\/revisions\/183"}],"wp:attachment":[{"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/le-moulin-de-verre.com\/fieldnotes\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}