وبلاگ بلیان

Gourmet Vim: A Cookbook A collection of 200+ Vim recipes

معرفی کتاب «Gourmet Vim: A Cookbook A collection of 200+ Vim recipes» نوشتهٔ Igor Irianto، منتشرشده توسط نشر Leanpub در سال 2022. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Table of Contents First things What is this book? Some naming conventions Where are the Vimscripts? Why did you organize this book this way? How to read this book? Navigation Basic Navigations Toggle Between Files Navigating Parentheses, Brackets, and Braces Go to a Different Line Same-Line Navigation Screen Adjust Scroll Go to the Last... Go to the Filename Under the Cursor Go to the Place Where a Text Was Inserted and Enter the Insert Mode Search Basic Search Starting Regex Stop Searching After the Last Match Show the Search Count Moving the Cursor Below or Above the Match Moving the Cursor to the End of the Match Search for a Character Enclosed in a Collection Search for a Keyword at the Start or at the End of the Line Search for a Line Containing a Starting, Middle, and Ending Keyword Greedy vs Non-Greedy Search Patterns Searching for a Keyword Separated by End-of-Line Search for Either Or Avoid Typing Forward-Slashes Marking the Start and End of a Match Search for the Nth Occurrence in a Line Search for Any Text Surrounded by a Particular Pattern Repeat the Last Search Force a Case-Sensitive Search Optional Search Search a Phrase in Multiple Files With Vimgrep Adding Matches to an Existing Quickfix List Alias for Digits and Words More Predefined Characters Quickly Search for the Word Under the Cursor Finding a File Search and Replace in Multiple Files Command-Line Mode Command Suggestion Get the Word Under the Cursor Faster Delete Are There More Commands? File Buffers, Windows, Tabs Two Different Write Commands With Similar Syntax Save a File That Requires a Root Permission Time Travel Converting the Current File to an HTML Open an URL Content Save a Partial File Show the Buffers List Vim Tabs Save the Current File in a Different Directory Open the Man Page From Vim Quitting Vim Viewing Recent Files Changing Directory Executing a Command When Opening a File Get the Current File Info Count Words Delete a File More Concise Way to Save and Exit Suspend Vim Compiling Persist Local Configuration Saving a Session History Jumping Around Files Quickly Trace Edited Texts Search History Command-Line History Vim Histories Insert Mode Entering Insert Mode Different Ways to Exit Insert Mode Paste a Recently Yanked Text Performing a Quick Calculation Autocompletion Executing a Normal Mode Command While in the Insert Mode Larger Deletes Scrolling While in the Insert Mode Insert Special Characters Layout Indent and Un-indent Lines Fix the Indentation of the Entire File Redraw the Screen Folding Lines Cursor Visual Helper Macros And Registers Macro Basics Register Basics Closer Look At Vim Registers Clear Up a Register Output Content From Any Register Edit an Existing Macro Use the Blackhole Register to Prevent Register Pollution See the Content From All Registers Execute a Macro Programmatically Quickly Append to an Existing Macro Quickly Paste From the Numbered Register Macro Factory Recursive Macro Multi-File Operations Different Ways to Execute a Command In Multiple Files Substitute In Multiple Files Execute a Macro in Multiple Files Limiting the Files to Operate On Creating an Argument List Adding to an Argument List Numbers Quickly Increment or Decrement a Number on a Line Incrementing Number By More Than One Sequentially Increment Multiple Numbers Substitute and Increment Number Quickly Generate Incrementing Numbers Anywhere Get ASCII Value Repeat Repeat the Last Command-Line Command Repeat the Last Change Repeat the Last Substitute Repeat the Last Executed Macro Repeat the Last External Command Sort Sorting Lines External Sort Reverse Sort Substitute Basic Substitution Case Insensitive Match Asking For Confirmation Before Substituting Group Match In Substitution Use Very Magic to Avoid Escaping Special Characters Representing the Entire Match Using the Group Match to Remove Words Reusing the Previous Search Pattern Deleting In Substitution Quicker Using an Expression in a Substitution Removing Trailing Whitespaces Add a New Line In Substitution Repeat the Last Substitute Command Capitalize the First Letter Of Each Word Perform a Chain of Substitutes Repeat the Last Substitute String Repeat the Last Substitution With the Last Search Pattern and the Last Substitute String Changing the Delimiter Global Command Global Command Basics Inverse Match Prepend or Append On Multiple Lines Global Command Within a Range Delete Blank and Empty Lines Running Global Command Between Matching Patterns Condense Multiple Empty Lines Reuse the Global Command Search Pattern in the Substitute Command The Default Command Use Execute to Run Complex Expressions Reverse All Lines Surround All Digits With Double Quotes Changing the Delimiter Programmatic Global Command Tags What Are Tags? Setting Up the Tag File Tags Navigation Selective Jump Autocompletion Automatic Tag Generation Text Generation Get a File Content Get the Current Date Generate Numbers Generate IP Addresses Generate Random Dice Throw Generate Numbers Horizontally Transform a Text Into a Numbered List Based On Line Numbers Text Manipulation How to Speak Vim Changing Cases Swap Two Characters Replace Mode Using a Command-Line Command As a Motion to an Operator Force Motion Persistent Undo Undoing In Chunks Join Lines Using Terminal Commands Terminal Vi Mode Opening Files Diffing With Vim Running Vim Without Plugins or Vimrc Open Files in Vim as a Result of Another Command Open Files in Read-Only Mode Open Vim With Vertical and Horizontal Splits Generate New Files Programmatically Passing Text as STDIN to a Command Using the Terminal From Vim Check Available Vim Features Visual Mode Visual Mode Basics Insert Text on Multiple Lines Quickly Reselect the Previous Visual Highlight Expanding Visual Highlight Bidirectionally Switching to a Different Visual Mode While in a Visual Mode Visually Highlight the Last Search Term Replace Multiple Characters With Visual Selection Vimrc Quick Access to Vimrc Line Numbers More Helpful Search Smarter Search Case Programmatic Options Create a Custom Command Conditionally Run Vimrc Settings Based On Directory Organize Vimrc With the Fold Syntax Run a Specific Configuration Depending On File Type Toggle a Boolean Option Split Vimrc Into Multiple Files Mapping a New Key Installing Plugins With Packages Installing Plugins With Plugin Managers Trigger Action On Certain Event Window Splitting Windows Horizontally and Vertically Resizing Windows Close or Zoom the Current Window Moving the Cursor to Another Windows Open a New Window Use Two Windows to Diff Files
دانلود کتاب Gourmet Vim: A Cookbook A collection of 200+ Vim recipes