Practical Vim (for Kathryn Amaral) by Drew Neil
Author:Drew Neil
Language: eng
Format: mobi, epub
Tags: Pragmatic Bookshelf
ISBN: 9781934356982
Publisher: The Pragmatic Bookshelf, LLC (383138)
Published: 0101-01-01T00:00:00+00:00
Keystrokes Buffer Contents
{start}
2) line two
1) line one
3) line three
dd
1) line one
3) line three
p
1) line one
2) line two
3) line three
The p command knows that this time we’re dealing with a line-wise chunk of text, so it does the thing we would expect: it pastes the contents of the unnamed register after the current line. Remember, when we pressed xp in the previous example, the p command pasted after the current character.
The ddp sequence could be considered to stand for “Transpose the order of this line and its successor.”
Duplicating Lines
If we want to create a new line of text that’s broadly similar to another line but with one or two small differences, we can give ourselves a head start by duplicating a line and using it as a template. In Vim, a line-wise yank followed by a put operation does the trick:
Download
Practical Vim (for Kathryn Amaral) by Drew Neil.epub
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.
Deep Learning with Python by François Chollet(11872)
Hello! Python by Anthony Briggs(9365)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9336)
The Mikado Method by Ola Ellnestam Daniel Brolund(9300)
Dependency Injection in .NET by Mark Seemann(8853)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7845)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7304)
Grails in Action by Glen Smith Peter Ledbrook(7291)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7111)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5950)
Kotlin in Action by Dmitry Jemerov(4633)
Practical Vim (for Kathryn Amaral) by Drew Neil(3723)
Cracking the GRE Premium Edition with 6 Practice Tests, 2015 (Graduate School Test Preparation) by Princeton Review(3590)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3385)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3236)
Learning Java by Patrick Niemeyer & Daniel Leuck(2866)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2830)
Mastering Java 9 by Dr. Edward Lavieri(2569)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(2564)