Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 4
Newest
 Student
Impact
~6k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Mar
15
awarded  Student
Dec
3
comment How do I define a vim function on a single line?
Good answer. That makes sense, and seems to work. I've added my motivation as a comment above, but it basically has turned into just a theoretical/learning question. I have learned several new tricks as a result, thanks!
Dec
3
comment How do I define a vim function on a single line?
Great idea, thanks! Didn't know about :@ for sourcing the contents of registers. That (vim registers) would work well — better than copying and pasting all the way out to the system clipboard and then back into vim.
Dec
2
comment How do I define a vim function on a single line?
The original problem that prompted this Q was that I found a function in a plugin that I wanted to use in my own .vim scripts/config, but it was only callable as <SNR>104_mixedcase(). I wrote my own wrapper function to try to "export" it and make it easier to use from anywhere. But it didn't work to define my new wrapper function in a script file, apparently because the <SNR> is then relative to that (wrong) file. It did seem to work, however, if I simply pasted the function in the vim command line. So I thought it would be nice if I could paste that as a single line/command...
Dec
2
awarded  Scholar
Dec
2
accepted How do I define a vim function on a single line?
Dec
1
comment How do I define a vim function on a single line?
I guess I can just copy and paste the multi-line version of the function definition... But I'm still curious if there is a way to define it with one copy-and-pastable line...
Dec
1
asked How do I define a vim function on a single line?
Nov
17
comment How to set the default font in LibreOffice Calc?
@tohuwawohu: Thanks for the workarounds and the bugzilla link!
Nov
6
comment How can I view the HTML of a Thunderbird e-mail?
It also doesn't help if the entire message is Content-Transfer-Encoding: base64 encoded, for example. Then all I see when I press Ctrl + U is SGkgTWF0dXGhldyAtDQpDbZ3VsZCB5b3UgbWFrZSB0a2...
Sep
29
comment How to set the default font in LibreOffice Calc?
You're instructions* worked for me when I create a new spreadsheet using File -> New. However, when I open a CSV file and it creates a new document using the Text Import feature, it appears to NOT use the default template and still uses the PREVIOUS default font. How do I get it to use the NEW default font, even when opening CSV files? (*with only a few differences in LibreOffice 4.2.6.3)
Apr
9
awarded  Necromancer
Jan
24
awarded  Supporter
Oct
4
awarded  Teacher
Oct
4
answered Unix: sleep until the specified time