### Real Vim ninjas count every keystroke - do you?

###### Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

```Your VimGolf key: please sign in

\$ gem install vimgolf
\$ vimgolf setup
\$ vimgolf put 9v0064a68333000000000254
```

### Find fix point of cos

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

##### Start file
```from math import cos

def find_cos_fix_point(j):
a = 12.216
for i in range(j):
a = cos(a)

print(a)

find_cos_fix_point(1)
```
##### End file
```from math import cos

def find_cos_fix_point(j):
a = 12.216
for i in range(j):
a = cos(a)

print(a)

find_cos_fix_point(1)
find_cos_fix_point(10)
find_cos_fix_point(100)
find_cos_fix_point(1000)
find_cos_fix_point(10000)
find_cos_fix_point(100000)
find_cos_fix_point(1000000)
find_cos_fix_point(10000000)
find_cos_fix_point(100000000)
```

#### View Diff

```12a13,20
> find_cos_fix_point(10)
> find_cos_fix_point(100)
> find_cos_fix_point(1000)
> find_cos_fix_point(10000)
> find_cos_fix_point(100000)
> find_cos_fix_point(1000000)
> find_cos_fix_point(10000000)
> find_cos_fix_point(100000000)
```

### Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 347 remaining solutions by signing in and submitting your own entry
###### #348 Sparrow He / @SparrowHe - Score: 240 - 08/07/23 @ 01:14
```<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>V<Left><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>ya<Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><CR>p<BS><Esc>p<BS><BS><Down><BS><Down>a<BS><Down><Left>0<Right>p<BS><Esc><Right><Right>ppppppa<Right><Up><Up><Up><Up><Up><Up><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>00<Down><Left>000<Down><Left>0000<Down><Left>00000<Up><Down><Down><Left>000000<Down><Left>0000000<Right><Esc><Right>ppa<Up><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Left>00000000<Down><Left><Left><Right>000000000<Right><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Esc>:wq<CR>
```

## 348 active golfers, 1155 entries

##### Leaderboard (lowest score wins):
14
###### #61 - Charlie / @charliezchen

03/28/2024 at 02:31AM

14
###### #62 - mortonbevers / @mortonbevers

03/29/2024 at 01:13PM

14
###### #63 - Jonas Hahn / @Ascyii

04/01/2024 at 09:15AM

14
###### #64 - Tomek / @Madghostek

04/19/2024 at 06:12PM

14
###### #65 - Elisedlund / @Elisedlund

05/05/2024 at 10:40AM

15
###### #66 - erik.forex / @ErikForex

07/06/2023 at 11:09AM

15
###### #67 - John Braxler / @braxler

07/06/2023 at 02:39PM

15
###### #68 - Johan Isaksson / @JohanIsaks56389

07/06/2023 at 02:44PM

15
###### #69 - Peter Salvi / @salvipeter

07/06/2023 at 04:56PM

15
###### #70 - Gino Fazari / @GinoF

07/06/2023 at 09:22PM

15
###### #71 - Golf Vim / @GolfVim11388

07/06/2023 at 11:48PM

15
###### #72 - someperson150 / @someperson150

07/07/2023 at 04:47AM

15
###### #73 - mevmev / @mevmev8

07/07/2023 at 08:51AM

15
###### #74 - samuel erlands / @ErlandsSam52210

07/07/2023 at 08:57AM

15
###### #75 - djheidihoe / @djheidihoe1

07/07/2023 at 12:29PM

15
###### #76 - Arne Morten Kästel / @kastel_arn

07/08/2023 at 04:08PM

15
###### #77 - Ringel Natter / @SenorTenor

07/08/2023 at 09:36PM

15
###### #78 - Khoa A. Nguyen / @dakennguyen

07/09/2023 at 12:04AM

15
###### #79 - Christian / @vimEagle

07/09/2023 at 08:37AM

15
###### #80 - Gs Abl / @gs_abl

07/09/2023 at 01:46PM

15
###### #81 - Nobody / @Nobody58608634

07/10/2023 at 05:50AM

15
###### #82 - Aaffo / @aaffo2

07/10/2023 at 11:54AM

15
###### #83 - Μάρκος Στεφανίδης / @MrkosSteph58877

07/10/2023 at 08:12PM

15
###### #84 - Andreas Faschang-Gschwendt / @AGschwendt81317

07/11/2023 at 01:37PM

15
###### #85 - Abdelrahman Madkour / @A3Madkour

07/11/2023 at 07:06PM

15
###### #86 - わーお / @lwgZVRoOQ8Nf6VG

07/12/2023 at 04:33PM

15
###### #87 - Tyler Carson / @tylerccarson

07/12/2023 at 11:56PM

15
###### #88 - Игорь Квачёнок / @IKvacenok

07/14/2023 at 11:27AM

15
###### #89 - Smylers / @Smylers2

07/15/2023 at 06:19AM

15
###### #90 - kn95 / @phyque_zz

07/15/2023 at 08:29AM