Joined April 2013
·
David Elins
Greater Boston Area
·
Posted to
Vim Tip: Command History Buffer
over 1 year
ago
Thanks so much for the tip. I had typed it so many times by accident that when I wanted to edit the command buffer on person I could not remember my accidental keystrokes.
By the way, trying to read Bram Moolenar's mind, I thought if q: edits the command buffer, will q/ edit the search buffer
and it does|
as you might suspect q? also edits the search buffer.
Jared - Thanks so much for posting this. I know the two standard Fibo algorithms but I'm looking forward to thinking about this. I appreciate antonov's point about .5 and floor().
I've been interested in Fib.. since 7th grade, more years ago than I like to count.
I'll don't know Ruby but will research it. (Mostly I need to find out what lambda means in the Ruby context). In the meantime does anyone have a C/C++ solution. If not I'll post one when I decipher the Ruby code.
Meanwhile, as a card-carrying member of the grammar police I feel compelled to point out it is Fibonacci 1 n, 2 c's
http://en.wikipedia.org/wiki/Fibonacci
and that PHI is the so-called Golden Ratio - the limit approached by the ratio of any two consecutive Fibo numbers - and supposedly the ratio of height to width of the Parthenon.