this post was submitted on 24 Oct 2023
6 points (100.0% liked)

Joplin

653 readers
5 users here now

Official community of Joplin - the secure open-source note-taking app.

Capture your thoughts and securely access them from any device.



Features:

founded 1 year ago
MODERATORS
 

Does anyone have a way of launching vim in iterm2 under osx as an external editor? I saw a empty discussion on deadit and tried a few things out so I'd love a recipe if someone else has it figured out. Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (3 children)

As in via an icon? You can probably start a specific profile, and in that profile automatically start vim.

I'm not at my desk or I'd figure it out exactly for you.

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Yikes, left off a crucial detail. I meant setting up iterm2/vim as an external editor. Updated my post.

Or was this what you were talking about? Under linux, I just have it launching gnome-terminal with "-- vim" as the command line flags.

[โ€“] [email protected] 1 points 1 year ago (1 children)

Ah, I understand what you mean now. Unfortunately I don't know exactly how to do that, but search for "open file with specific application macOS". Then set up like my first comment and use that to open files.

[โ€“] [email protected] 2 points 1 year ago

I'm having trouble figuring it out still. A lot of results are using appplescript and seem to interact with iterm2 different than I would with joplin. As an aside, I did learn a neat trick for configuring iterm2 to open a file in vim after clicking a filename in a terminal while holding down ctl. (https://tosbourn.com/iterm2-open-files-paths-in-vim/)

load more comments (1 replies)