Stefan Otte

Results 107 comments of Stefan Otte

I think you're looking for something like NarrowRegion?! https://github.com/chrisbra/NrrwRgn Beste Grüße, Stefan On Thu, Aug 4, 2016 at 2:45 AM, Weston [email protected] wrote: > Heads up I'm not a frequent...

My ~~dumb~~ pragmatic implementation of this. Just a mapping via lazyvim really. ```lua return { { "epwalsh/obsidian.nvim", ... keys = { { "", function() local util = require("obsidian.util") if util.cursor_on_markdown_link(nil,...

I'm also playing with adding "show notes with tag if cursor is on tag". Not robust yet, but quite nice.

I wanted to add `ObsidianLink` to `SmartAction`, i.e. trigger `ObsidianLink` when I'm in visual mode. This is the code that IMO should do the trick: ```lua ObsidianSmartAction = function(opts) --...

Well, registering the mapping with `:SmartAction` instead of `SmartAction` does the trick. But it seems more of a workaround than a proper solution. Some relevant resources: - https://github.com/neovim/neovim/discussions/26092 - https://www.reddit.com/r/neovim/comments/y2h8ps/i_have_a_mapping_for_normal_how_to_make_an/

Just a quick update on what I use in normal mode now: ```lua ObsidianSmartAction = function() local obs_util = require("obsidian.util") -- follow link if possible if obs_util.cursor_on_markdown_link(nil, nil, true) then...

We could merge this, or a version of this, into `obsidian.nvim` or create an entry in the cookbook https://github.com/epwalsh/obsidian.nvim/discussions/categories/cookbook.

If you already have some ideas how you want to do it let me know. I'm eager to help...

I guess you mean this http://orgmode.org/guide/Deadlines-and-scheduling.html#Deadlines-and-scheduling Right?

With the new date stuff in place and the basic agenda working it shouldn't take that long. Maybe we can release it this weekend?! I'll keep you posted...