Timeline for Print the output of vim-scripts function in current line
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2020 at 13:07 | vote | accept | mahbubweb | ||
Oct 5, 2020 at 22:40 | comment | added | D. Ben Knoble♦ | @MahbubAlam they can be used to start comments; it's odd that in this case single-quotes are required, as in most other places you could use double-quotes with no issue | |
Oct 5, 2020 at 18:28 | history | edited | Jake Grossman | CC BY-SA 4.0 |
Make each mode explanation symmetrical
|
Oct 5, 2020 at 18:23 | history | edited | Jake Grossman | CC BY-SA 4.0 |
Make each mode explanation symmetrical
|
Oct 5, 2020 at 4:58 | history | edited | Jake Grossman | CC BY-SA 4.0 |
Incorporate @Christian Brabandt and @D. Ben Knoble's comments.
|
Oct 5, 2020 at 4:52 | comment | added | mahbubweb | @JakeGrossman Does " in command line have a special meaning? Why doesn't it work? I was looking for printing in the current line. | |
Oct 5, 2020 at 4:46 | comment | added | Jake Grossman | @MahbubAlam all the ways suggested are equally valid depending on the context. I just mirrored what you said your current process was. | |
Oct 5, 2020 at 4:44 | history | edited | Jake Grossman | CC BY-SA 4.0 |
edited body
|
Oct 5, 2020 at 4:43 | comment | added | mahbubweb | @Jake for some reason it requires \ before the two ". I like Christian's solution better cause it inputs the date in the current line after cursor. | |
Oct 5, 2020 at 0:53 | comment | added | D. Ben Knoble♦ |
Or normal mode "=strftime('%d')<cr>p
|
|
Oct 4, 2020 at 18:28 | comment | added | Christian Brabandt |
or in insert mode: <c-r>=strftime('%d')
|
|
Oct 4, 2020 at 18:14 | history | answered | Jake Grossman | CC BY-SA 4.0 |