Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature request) VIM support #2259

Closed
1 task done
CallumBaston opened this issue Oct 23, 2021 · 9 comments
Closed
1 task done

(Feature request) VIM support #2259

CallumBaston opened this issue Oct 23, 2021 · 9 comments

Comments

@CallumBaston
Copy link

Preflight Checklist

  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe feature

Embedded Nvim support.

Currently whenever I want to make large changes to notes I have to open the note externally ( which opens it in Firefox ) then navigate with nvim to the tmp file then edit that file. This can be quite tedious especially if I have a lot of notes to edit.

Additional Information

No response

@abitofevrything
Copy link
Contributor

Adding NeoVim support would mean adding support for nano, emacs and any other text editor. Trilium is designed for taking notes with CKEditor, so that is probably the only editing component that will be embedded.

@CallumBaston
Copy link
Author

Adding NeoVim support would mean adding support for nano, emacs and any other text editor. Trilium is designed for taking notes with CKEditor, so that is probably the only editing component that will be embedded.

Neovim is designed to be relatively quick to implement. If this is not possible is there a quicker way to have the files open with it rather than firefox?

@zadam
Copy link
Owner

zadam commented Oct 23, 2021

If this is not possible is there a quicker way to have the files open with it rather than firefox?

Trilium opens the default application associated with the file type. So the easiest way is to change the default application for *.html files to (neo)vim.

@zadam zadam changed the title (Feature request) (Feature request) VIM support Oct 23, 2021
@CallumBaston
Copy link
Author

That can also cause some issues. Such as documentation and archives of sites being in HTML format.

@XingSc29
Copy link

XingSc29 commented Mar 5, 2023

It would be great if there is VIM support for text notes.

I usually use Obsidian to create notes because it supports VIM, then import the notes from there to Trilium, which creates troubles because the images won't be imported.

@Nriver
Copy link
Contributor

Nriver commented Mar 7, 2023

It would be great if there is VIM support for text notes.

I usually use Obsidian to create notes because it supports VIM, then import the notes from there to Trilium, which creates troubles because the images won't be imported.

You can use obsidian-export and trilium-py together to import note from Obsidian into Trilium.

If you're interested, read more here https://github.com/Nriver/trilium-py#import-from-obsidian

@halvabner
Copy link

i can't believe so few people want this. unfortunately, it's a deal breaker for me.

if there is a way to add vim bindings to this electron app somehow, please do tell and i'll look into it. i'll even write code if it's not too much work.

@ryanwwest
Copy link

@halvabner I don't think it's necessarily that so few people want this. I use Obsidian and VS Code majorly for their vim keybindings support and know of many people who also do so for the same (e.g. I just found this article earlier today: https://levelup.gitconnected.com/the-one-reason-i-moved-from-notion-to-obsidian-as-an-engineer-68c4d78f412c). I think it's more that not that many users don't care to post about them publicly on places like Github Issues (or don't realize they can). I think most people that don't end up using a piece of software won't take the time to provide feedback. I briefly tried Trillium in the past and this was also the biggest dealbreaker to me.

@meichthys
Copy link
Collaborator

Trilium has entered maintenance mode. Future enhancements will be addressed in TrilumNext: TriliumNext/Notes#79

@meichthys meichthys closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants