Timeline for Automatically insert first character of previous line
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 3, 2017 at 15:36 | comment | added | Christian Brabandt |
@KritixiLithos That's why it is only a comment and no real solution. However I think this one does really what the OP wants: nnoremap o o<c-u><c-y>
|
|
Feb 3, 2017 at 11:54 | vote | accept | Sathyam | ||
Feb 3, 2017 at 11:26 | comment | added | user41805 | @ChristianBrabandt That doesn't work for lines beginning with whitespace since it also prints the first non-whitespace character along with the whitespace | |
Feb 3, 2017 at 11:16 | answer | added | grodzik | timeline score: 2 | |
Feb 3, 2017 at 11:04 | comment | added | nobe4 |
Also, it might be worth saying that in this context, c is the character for commenting.
|
|
Feb 3, 2017 at 10:56 | comment | added | Christian Brabandt |
something like this perhaps: nnoremap o o<c-y>
|
|
Feb 3, 2017 at 10:54 | answer | added | user41805 | timeline score: 1 | |
Feb 3, 2017 at 10:13 | history | edited | grodzik | CC BY-SA 3.0 |
formatting
|
Feb 3, 2017 at 10:10 | history | asked | Sathyam | CC BY-SA 3.0 |