Code Monkey home page Code Monkey logo

Comments (10)

nikitavoloboev avatar nikitavoloboev commented on August 24, 2024

My sVim settings:

let scrollstep = 120

" Unmap defaults
unmap "z i"
unmap "z o"
unmap "z 0"
unmap "g i"
unmap "g r"

" Neat shortcuts
map "v" goToInput
map "c" lastClosedTab
" map "q" zoomPageIn
" map "m" zoomPageOut
" map "o" zoomPageIn
map "e" quit
map "d" createHint
map "f" createTabbedHint
map "o" moveTabLeft
map "p" moveTabRight


" Shift mappings
map "shift+i" quit
map "shift+f" lastActiveTab
map "shift+a" firstTab
map "shift+s" lastTab
map "shift+n" scrollFullPageDown
map "shift+m" scrollFullPageUp
"map "shift+m" scrollPageUp
map "shift+r" closeTabsToRight
map "shift+z" lastClosedTabBackground
map "shift+w" closeTabLeft
map "shift+e" closeTabRight
map "shift+z" lastClosedTab
map "shift+d" parentDirectory
map "shift+g" topDirectory
map "shift+z" lastClosedTabBackground
map "shift+h" topDirectory
map "shift+j" goBack
map "shift+k" goForward

" G multi binds
map "g g" showsVimrc

" Amazing navigation 
" map "w" moveTabRight
" map "q" moveTabLeft
map "s" nextTab
map "a" previousTab
map "b" scrollToBottom
map "n" scrollToTop

map ":" toggleReader
map "w" toggleReader

" Settings
let blacklists = ["*://codepen.io/*", "*://draw.io/*", "*://*slack.com/*", "*://codesandbox.io/*", "*://codewars.com/*", "*://discordapp.com/*", "://gitter.im/*"]

from svim.

abrookins avatar abrookins commented on August 24, 2024

Ugh. Yes. This started today after I updated to Safari 12.1 (14607.1.40.1.4), Mojave 10.14.4 (18E226).

Seems to be related to the smooth scrolling animation.

from svim.

abrookins avatar abrookins commented on August 24, 2024

Looks like a bug with sending window.scrollBy(0, 0). 🙄

from svim.

abrookins avatar abrookins commented on August 24, 2024

PR up for this. However, I'm having trouble with my certificate, so I can't get a build going tonight.

from svim.

abrookins avatar abrookins commented on August 24, 2024

PR updated with a cert-build safariextz file. Though I'm not sure that matters much with the new rules around plugins...

from svim.

nikitavoloboev avatar nikitavoloboev commented on August 24, 2024

So how can I can get this extension with update installed on my browser now?

from svim.

abrookins avatar abrookins commented on August 24, 2024

Thanks to Apple, you'll need to check out that branch and install it manually via Safari's Extension Builder. Then you'd need to do that every time you restart Safari.

from svim.

abrookins avatar abrookins commented on August 24, 2024

In addition to that, Apple has closed the old submission process, so to get this fix for their regression we'd need to convert the plugin to an app store-compatible plugin and submit through that process. Not sure that will ever happen. 🤔

from svim.

nikitavoloboev avatar nikitavoloboev commented on August 24, 2024

FML 😞

Anyone started a rewrite of this plugin to the Swift (new version)? I hate Apple for doing this but this plugin is what makes Safari usable aside from its speed.

from svim.

abrookins avatar abrookins commented on August 24, 2024

Same. I only use Safari because of the battery life -- curious how it's so much better than other browsers ...

We've looked into the App store plugin rewrite. @luchenyuxx started it. The problem is that their new API surface is limited. If we do rewrite the plugin, it will have less features. 🤷‍♂️

Apple has also turned open-source plugins into a difficult proposition. I'm not a Mac or iOS dev, so I have no other reason to pay $100/year just to release this plugin. 1-2 years from now, you probably won't find any free Safari plugins anymore, as I suspect they'll all convert to paid plugins, or else add-ons to existing paid apps/services.

from svim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.