Last active
August 15, 2020 23:10
-
-
Save Ziggoto/512b7f50cb71e5e678847c3bce0e5996 to your computer and use it in GitHub Desktop.
Fib in VIM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:let a = 1 | let b = 1 | let c = 1 | let fib = 10 | for i in range(1, fib) | let c = a + b | put =printf('%d + %d = %d', a, b, c) | let a = b | let b = c | endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment