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

Caret is hidden when opening note in vim from CLI tool #147

Closed
createchange opened this Issue Jan 9, 2018 · 13 comments

Comments

Projects
None yet
2 participants
@createchange

createchange commented Jan 9, 2018

Operating system

  • Windows
  • macOS
  • Linux (Arch), node v9.3.0
  • Android
  • iOS

Application

  • Desktop
  • Mobile
  • Terminal

If there is an error, please copy and paste the full error message
Arch Linux CLI - Error Message: Unexpected token o in JSON at position 1

I am also having issues with syncing on my iOS device, so I am assuming the issue is somewhere on my end. I did authorize OneDrive (new account) on both CLI and iOS devices (both fresh installs).

I am happy to provide other information that you might need, but may need some in providing some of that information - working on my Linux-fu by the day, but am likely going to be out of my element here.

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 9, 2018

Hello, there was a bug in the CLI app, which I've now re-published. Please could you try again? Also please wait for the next iOS version 0.10.9 (should be available today or tomorrow) and try with this one.

@createchange

This comment has been minimized.

createchange commented Jan 10, 2018

Thanks for the response. I was able to install the new version, but Microsoft decided to suspend my newly created account for suspicious activity. Not sure if this is tied to Joplin (it is a new account, so possibly? or maybe it was because I tried syncing a million times while it was broken?) but the sooner you get Joplin working with Nextcloud, the better! When my account is unblocked, if ever, I will give this another shot. Honestly though, I'd prefer not to have any accounts with MS, but this app fills a need for me.

Thanks for your hard work. I'll update this when possible.

Take care.

@createchange

This comment has been minimized.

createchange commented Jan 12, 2018

Laurent,

Problem was solved on both iOS and Linux and I am greatly enjoying your product!

Do you have any way to contact you for questions regarding Joplin that are not bugs? I'll just mention my specific question here: when editing a note, vim opens up but my caret/cursor block is not visible, so I just kind of trial and error where I am going to be entering text at times. Any ideas on this?

Thanks for your work!

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 12, 2018

A fix for this has actually been suggested but I haven't had time to add it yet: cronvel/terminal-kit#50 (comment)

I'm re-opening the issue for now to keep track of it.

@laurent22 laurent22 reopened this Jan 12, 2018

@laurent22 laurent22 added the bug label Jan 12, 2018

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 15, 2018

@createchange, actually I cannot replicate this bug, does it happen every time or is it randomly? By the way which Linux distribution is it?

@laurent22 laurent22 changed the title from Unexpected token o in JSON at position 1 to Caret is hidden when opening note in vim from CLI tool Jan 15, 2018

@createchange

This comment has been minimized.

createchange commented Jan 15, 2018

@laurent22, thanks for following up. It happens every time for me. I am using Arch. Please let me know if there is any other information I can provide you and I’d be glad to.

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 15, 2018

I'm not familiar with Arch Linux, is there any easy to use installer like for Ubuntu? I've tried the ISO they provide in VirtualBox but got to a prompt where I guess I'd have to install everything manually? Is there any quick way to do this?

@createchange

This comment has been minimized.

createchange commented Jan 15, 2018

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 15, 2018

I've tried with Antergos and it's working for me (Caret is visible in vim). Which terminal emulator, and which version of Bash are you using?

@createchange

This comment has been minimized.

createchange commented Jan 16, 2018

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 17, 2018

Unfortunately I still cannot replicate this in neither zsh under WSL nor zsh under Antergos. Does it work for you with a default vim installation (i.e. with no plugin, no vimrc, etc.)? Does it work with a default zsh installation? I guess there's some plugin or setting that's causing this but not sure what.

@createchange

This comment has been minimized.

createchange commented Jan 18, 2018

You nailed it. I had "set term=ansi" in my .vimrc, and removing that fixed the problem. Not only that, but it made my vim look better. so double win! Now to open a new issue... You're doing great work.

@laurent22

This comment has been minimized.

Owner

laurent22 commented Jan 18, 2018

Ok good to know the reason for this bug. I'll add this to a faq.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment