Comments (5)
I created a new plugin based on this one, which has many new features. I also fixed this issue. You can check it out here. The plugin is currently in beta. At first I wanted to post a PR to this plugin, but because I had to completely rewrite most parts (to make the new features possible), I decided to turn it into a new plugin, as discussed in #44.
from cm-typewriter-scroll-obsidian.
Was going to add a feature request but looks like it's already here.
Basically, what I'd suggest is 2 new options.
- enable/disable scrolling to center at the top
- enable/disable scrolling to center at the bottom
Essentially, if enabled, it would continue to work as you have it.
if disabled, once the cursor got to within (height/2) lines from the top, scrolling would stop and the cursor would simply move up to the topline without all the extra space.
Same thing at the bottom.
And of course, if the note wasn't even a full screen of lines, then no scrolling at all.
from cm-typewriter-scroll-obsidian.
from cm-typewriter-scroll-obsidian.
@davisriedel Awesome. Sorry to hear you had to rewrite it all man 😬. Nonetheless, it is a learning experience and you gained new workarounds now. Thanks for updating us. This is a beautiful plugin. Appreciate you.
Btw, curious if anyone still has the extra gap still at the top with the beta plugin?
I still have it unfortunately. Not a big deal though, I ended up disabling it for now.
from cm-typewriter-scroll-obsidian.
@yarub123 It works for me. I just had to change the setting inside the plugin to enable "Only Maintain Typewriter Offset When Reaches."
I also restarted Obsidian because it didn't immediately take effect for me (though that may be because I hadn't restarted since removing the previous typewriter scroll plugin)
Really appreciate this new plugin by davisriedel, it was my biggest gripe with the typewriter scroll plugin!
from cm-typewriter-scroll-obsidian.
Related Issues (20)
- feature request : no backspace mode
- Feature request, plugin on/off indicator in the status bar. HOT 1
- should scroll when moving a line
- Bug in 1.0.0: Clicking on a footnote causes the tab bar to disappear
- [bug report] causing the workspace shake up and down when have both stack view and tab view split in neighbor HOT 6
- Typewriter scrolling
- Toggle Zen Mode + Typewriter together
- Huge space between the title and the content HOT 3
- Live preview out of sync
- Zen mode only in active tab HOT 1
- RFE: Highlight current line HOT 11
- VS Code style typewriter scroll HOT 1
- Zen Mode doesn't apply to centered LaTeX
- "Shaky" text when typing each character (short documents) HOT 5
- Bug: when used in combination with Fastkeys deletes words.
- BUG: Hides bottom half of file explorer pane
- Conflict with Obsidian's new Table View HOT 6
- Article & Video on your Plugin
- Live Preview Table not respecting typewriter offset HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cm-typewriter-scroll-obsidian.