{"id":1037,"date":"2016-02-21T17:07:32","date_gmt":"2016-02-21T16:07:32","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=1037"},"modified":"2016-02-21T17:07:32","modified_gmt":"2016-02-21T16:07:32","slug":"vim-master-cheat-sheet","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2016\/02\/21\/vim-master-cheat-sheet\/","title":{"rendered":"Vim master cheat sheet"},"content":{"rendered":"<p>Sorgente: <em><a href=\"https:\/\/vim.zeef.com\/patrick.schanen\">Vim by Patrick Schanen | ZEEF<\/a><\/em><\/p>\n<p>Vim, an open-source, powerful and configurable text editor.<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Sorgente: Vim by Patrick Schanen | ZEEF Vim, an open-source, powerful and configurable text editor.<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2016\/02\/21\/vim-master-cheat-sheet\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72,79],"tags":[],"class_list":["post-1037","post","type-post","status-publish","format-standard","hentry","category-documentations","category-vim"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-gJ","jetpack-related-posts":[{"id":8003,"url":"https:\/\/monodes.com\/predaelli\/2021\/01\/04\/5-lines-i-put-in-a-blank-vimrc-sword-and-signals\/","url_meta":{"origin":1037,"position":0},"title":"5 lines I put in a blank .vimrc | Sword and Signals","author":"Paolo Redaelli","date":"2021-01-04","format":false,"excerpt":"TL;DR To make a default Vim installation more useful, type the following 5 lines into its .vimrc file: set hlsearch \" highlight all search results set ignorecase \" do case insensitive search set incsearch \" show incremental search results as you type set number \" display line number set noswapfile\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10754,"url":"https:\/\/monodes.com\/predaelli\/2023\/08\/31\/adding-parenthesis-around-highlighted-text-in-vim\/","url_meta":{"origin":1037,"position":1},"title":"Adding parenthesis around highlighted text in Vim","author":"Paolo Redaelli","date":"2023-08-31","format":false,"excerpt":"Lovely, lovely vim The command c()<Esc>P Explanation If you want to put the word under the cursor in to brackets this is viwc()<Esc>P. viw will visually select all charactrs in a word. c() will cchange the selection and drops you into insert mode, where you type the literal characters (\u2026","rel":"","context":"In &quot;vim&quot;","block_context":{"text":"vim","link":"https:\/\/monodes.com\/predaelli\/category\/vim\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10992,"url":"https:\/\/monodes.com\/predaelli\/2023\/12\/05\/search-and-replace-in-multiple-files-using-vim\/","url_meta":{"origin":1037,"position":2},"title":"Search and replace in multiple files using vim","author":"Paolo Redaelli","date":"2023-12-05","format":false,"excerpt":"Search and replace in multiple files using vim - (source Stack Overflow) It is as simple as Use: :set aw :argdo %s\/happy999\/happy111\/g The first line sets auto-write mode, so when you switch between files, vim will write the file if it has changed. The second line does your global search\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2529,"url":"https:\/\/monodes.com\/predaelli\/2017\/05\/27\/stack-overflow-helping-one-million-developers-exit-vim-stack-overflow-blog\/","url_meta":{"origin":1037,"position":3},"title":"Stack Overflow: Helping One Million Developers Exit Vim &#8211; Stack Overflow Blog","author":"Paolo Redaelli","date":"2017-05-27","format":false,"excerpt":"This morning, a popular Stack Overflow question hit a major milestone: Sorgente: Stack Overflow: Helping One Million Developers Exit Vim - Stack Overflow Blog","rel":"","context":"In &quot;Fun&quot;","block_context":{"text":"Fun","link":"https:\/\/monodes.com\/predaelli\/category\/fun\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/05\/exitvim-1024x455.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/05\/exitvim-1024x455.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/05\/exitvim-1024x455.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/05\/exitvim-1024x455.png?resize=700%2C400 2x"},"classes":[]},{"id":757,"url":"https:\/\/monodes.com\/predaelli\/2015\/10\/30\/vim-lessons\/","url_meta":{"origin":1037,"position":4},"title":"Vim lessons","author":"Paolo Redaelli","date":"2015-10-30","format":false,"excerpt":"Oldies but goldies. I found those in the Download directory at work. I downloaded them in 2006, 9 years ago. Of course they are still ripe and useful, as vi\/vim is a wonderful, time-resistant tool \u00a0 \u00a0","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11335,"url":"https:\/\/monodes.com\/predaelli\/2024\/02\/17\/from-jetbrains-to-vim\/","url_meta":{"origin":1037,"position":5},"title":"From JetBrains to Vim","author":"Paolo Redaelli","date":"2024-02-17","format":false,"excerpt":"A walkthrough detailing a Vimsetup aimed at emulating the most-used features from JetBrains IDEs. Source: From JetBrains to Vim","rel":"","context":"In &quot;vim&quot;","block_context":{"text":"vim","link":"https:\/\/monodes.com\/predaelli\/category\/vim\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1037\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=1037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=1037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}