Vim Recipes: A Cookbook For The Vim Text Editor by Marsh Dan
Author:Marsh, Dan
Language: eng
Format: epub
Publisher: UNKNOWN
Published: 2017-12-10T00:00:00+00:00
NAVIGATION
NAVIGATING TEXT FFILES
PROBLEM
You're editing a text file such an essay or e-mail, and want to exploit its structure to navigate it efficiently.
SOLUTION
In Normalmode you can use the following shortcuts:
Key Move To
{{ Beginning of current paragraph }} End of current paragraph (( Beginning of current sentence )) End of current sentence
ww Beginning of next word
bb Beginning of the previous word ee End of the word
DISCUSSION
The shortcuts above all rely on the fact that plain text is often very structured. A document consists of paragraphs separated by newlines. Paragraphs contain one or more sentences which begin with capital letters and end with periods. Sentences are collections of words which are separated by spaces.
After using one of these shortcuts you may want to return to where you were previously. This is particularly useful if you're writing one thing and are then reminded that you now have to change another: you use a shortcut to jump to the location of the change, then want to resume where you left of. You can use the g, (mnemonic: go back to where I paused (commas can be used to represent pauses…)) command. Each time you execute it you'll be taken back another step. To move in the other direction (towards more recent changes), use g;.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7402)
Grails in Action by Glen Smith Peter Ledbrook(7296)
Kotlin in Action by Dmitry Jemerov(4638)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4131)
The Age of Surveillance Capitalism by Shoshana Zuboff(3422)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3242)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3027)
Mastering Python for Networking and Security by José Manuel Ortega(2951)
Blockchain Basics by Daniel Drescher(2891)
TCP IP by Todd Lammle(2639)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(2609)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2483)
Hands-On Azure for Developers by Kamil Mrzyglod(2412)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(2366)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2340)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2313)
The Social Psychology of Inequality by Unknown(2311)
The Art Of Deception by Kevin Mitnick(2298)
Azure Containers Explained by Wesley Haakman & Richard Hooper(2256)