9
submitted 1 year ago* (last edited 1 year ago) by paul@techy.news to c/joplinapp@sopuli.xyz

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
[-] bloopernova@programming.dev 1 points 1 year ago

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.

[-] paul@techy.news 1 points 1 year ago* (last edited 1 year ago)

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.

[-] bloopernova@programming.dev 1 points 1 year ago

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.

[-] paul@techy.news 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)
this post was submitted on 24 Oct 2023
9 points (100.0% liked)

Joplin

644 readers
1 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