Hacker News new | ask | show | jobs
by nikivi 2395 days ago
I am interested and am also rebuilding vim from https://github.com/flippidippi/sVim for new Safari.

Yours looks great assuming it has all features of sVim and smooth scrolling with jk

Also the link hinting, can you please make it same as sVim with yellow background so it's easier to read.

Like this: https://i.imgur.com/I5orbAQ.png

Thank you. Looking forward to the release.

1 comments

> I am interested and am also rebuilding vim from https://github.com/flippidippi/sVim for new Safari.

Good luck with the rebuild! I figured someone must be working on it but there weren't any GitHub issues last time I looked. Has it been hard to convert it to use the new App Extension API? There are quite a few things where I have to ask Swift to do things for me - since JS apis don't exist (creating new safari windows, etc.).

I didn't mention above but I started from scratch rather than using sVim/Vimium as a base (which would be okay since they are MIT licensed). I think there are some pros/cons to this. The main pro is that since I only have to worry about Safari 13+ I can use the latest features on the JS side. I am curious how my approach to various things compares to sVim/Vimium. I haven't looked at the source for them yet - but plan to once I'm done to check out the design differences.

> Yours looks great assuming it has all features of sVim and smooth scrolling with jk

It should be close - I still need to write the smooth scrolling polyfill - that's one of the trickier things left. I found some libraries but want to try doing it myself. I'm going to try and match the Safari pageUp/pageDn behavior as close as possible.

> Also the link hinting, can you please make it same as sVim with yellow background so it's easier to read.

Thanks for bringing that up. I intended to allow increasing the font size. I was hoping people liked my color choices, but you're right, it should be configurable. I'll add it to my todo list.

> Thank you. Looking forward to the release.

Thank you! Your feedback is really helpful!