3 ms·
Nicely illustrated tutorial, well done. One thing to note though: Y and yy are not shortcuts to 0y$ -- the latter does not yank the line ending. I use it to in
by pestaa 15y ago
Nicely illustrated tutorial, well done.
One thing to note though: Y and yy are not shortcuts to 0y$ -- the latter does not yank the line ending. I use it to insert one line into another, but find splitting and joining lines to be cumbersome.
- yogsototh 15y agoThanks, I corrected this.
- mathias_10gen 15y agoThe defualt mapping of Y is arguably broken since it doesn't follow the normal vi conventions. I have these lines in my .vimrc to "fix" it: "make shift Y behave like shift-[cd] (copy to end of line) nnoremap Y y$
- graywh 15y agoY being a synonym for yy is from vi. What you mean to say is that it doesn't fit the pattern D/dd and C/cc present.