https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • b

    britt

    11/12/2020, 2:58 AM
    Expel any ZenHub gripes 😂
  • t

    tfer

    11/12/2020, 3:01 AM
    > I haven't put in an issue on it, but since the
    stub
    metadata in the frontmatter is no longer needed, could you knock them out of all the notes? Lead me to figure it at and writ a couple of no longer needed changes to the doc
  • k

    kevins8

    11/12/2020, 3:02 AM
    > Expel any ZenHub gripes 😂 @britt i’ll have a bunch of those!
  • k

    kevins8

    11/12/2020, 3:03 AM
    @tfer yeah, we can build it into the doctor command to clean up frontmatter
  • t

    tfer

    11/12/2020, 3:06 AM
    I'm sure vim could handle it, I seem to have gotten the impression you use vim, do you use an vscode vim extemsion?
  • k

    kevins8

    11/12/2020, 3:17 AM
    yep
  • b

    britt

    11/12/2020, 3:18 AM
    @User As do I 😊
  • t

    tfer

    11/12/2020, 4:03 AM
    Can I ask which one? And given the conflicts with some of the keybindings, have you mapped some of the dendron commands to the local leader?
  • k

    kevins8

    11/12/2020, 4:38 AM
    @User i use https://marketplace.visualstudio.com/items?itemName=vscodevim.vim
  • i

    imalightbulb

    11/12/2020, 4:41 AM
    @User Make sure you disable the Crtl + L keybinding from vim extension if you want to use it, if not lookup through Ctrl + L would not work
  • t

    tsnieman

    11/12/2020, 10:23 PM
    👆 yup. (one of a billion issues with the vim extension, though, careful when you're typing unsaved notes... very easy for the extension to ruin a ton of work very easily)
  • l

    lukecarrier

    11/12/2020, 10:25 PM
    I've been trying the Awesome Emacs Keymap[1] lately because I figured Emacs keybindings were the default in terminals. I'm not sure that assumption was right, but they're pretty good [1]: https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx
  • l

    lukecarrier

    11/12/2020, 10:25 PM
    (I have never used Emacs before, other than to gawk at how badly it handled DPI scaling under Linux/Wayland)
  • b

    britt

    11/12/2020, 11:41 PM
    @User, fwiw I mapped undo-redo keybindings to VSCode's native undo-redo stack rather than either the vim plugin or neovim.
  • b

    britt

    11/12/2020, 11:42 PM
    There's a very very old issue filed about maintaining one undo stack (well, tree), but it was dependent on APIs being written in core and I think it's slowly happening ... perhaps next year?
  • b

    britt

    11/12/2020, 11:43 PM
    Can anyone confirm that toggling a journal note and then hitting
    enter
    is broken before I dive into code?
  • t

    tfer

    11/13/2020, 1:32 AM
    > @User yeah, we can build it into the doctor command to clean up frontmatter @User Reading about
    doctor
    on Dendron.so, I see it goes through all the notes, not just the note you are looking for, so that should work. I guess all the files in docs/notes will get updated the next time you publish.
  • t

    tfer

    11/13/2020, 1:38 AM
    > I've been trying the Awesome Emacs Keymap[1] lately because I figured Emacs keybindings were the default in terminals. I'm not sure that assumption was right, but they're pretty good > > [1]: https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx @User Thanks for this, I pushed for the Leo Editor to have the option of Vim bindings, which were added on, even though the project's originator is an Emacs guy. Since someone is working on a port to VSCode, this is a plus.
  • l

    lukecarrier

    11/13/2020, 1:43 AM
    I've only seen screenshots of Leo, LeoVue looks pretty cool. I love that current editors are flexible enough to allow reasonable emulation of older ones
  • l

    lukecarrier

    11/13/2020, 1:45 AM
    That's a new one... 😅
  • t

    tfer

    11/13/2020, 1:52 AM
    It's not so much an emulation as using vscode as a front end client for all the python code providing a backend, using leoIntegationBridge via websockets.
  • t

    tfer

    11/13/2020, 2:03 AM
    > Webview can't handle .svg images either. Converted to .png 's but still no joy, white version with an alpha channel is invisible, gray version the same for some reason. Might want to have MPE default to a .png version of any .svg for rendering @User turns out this is inaccurate, Webview can handle svg rendering, I was using a white Markdown "icon" witth an alpha channel, so I couldn't see it! Providing "mouse-hoover-text" mades this clear
  • k

    kevins8

    11/13/2020, 2:12 AM
    @User interesting. you wouldn't happen to have repro steps, would you? 😅
  • l

    lukecarrier

    11/13/2020, 3:01 AM
    You'll be the first to know if I figure those out 🙈
  • t

    tfer

    11/13/2020, 3:07 AM
    I have some notes on this destined for the docs, been working on setting up fork of dendron to generate a PR request with them losing y monitor has left me with various repo on different machine, (and differing states of the notes evolution), since your interested, I'll use what I ran into explicitly in the note.
  • t

    tsnieman

    11/13/2020, 4:20 AM
    > https://github.com/dendronhq/dendron/blob/master/packages/engine-server/src/config.ts#L14:L14 @User is there a clever way I'm supposed to import
    DConfig
    from
    engine-server
    into
    dendron-next-server
    ? It's using private class properties, so just doing an import of the file means I'd have to modify the next server's babel config, I think. Figured I'd check before mucking around too much, as I see there's things like
    @dendronhq/common-all
    and such.
  • k

    kevins8

    11/13/2020, 5:02 AM
    opps, did I not document how to add dependencies? 😅
  • k

    kevins8

    11/13/2020, 5:02 AM
    lerna add @dendronhq/engine-server --scope @dendronhq/dendron-next-server
  • k

    kevins8

    11/13/2020, 5:03 AM
    run that anywhere inside the dendron repo
  • k

    kevins8

    11/13/2020, 5:03 AM
    this will symlink engine-server to the next-server so any updates in one will automatically show up in the other
1...242526...108Latest