# Vim cursor disappears when following an internal link to a new tab

**URL:** <https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024>\
**Category:** Bug graveyard\
**Tags:** vim, hotkeys, macos, keyboard-shortcut, tracked, internal-links\
**Created:** [February 3, 2025, 6:51pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024 "2025-02-03T18:51:25Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 3, 2025, 6:51pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/1 "2025-02-03T18:51:25Z")

</div>

### Steps to reproduce

1. Enable Vim in editor settings.
2. Follow the link to another page (I used the “I have no prior experience” page on the “Start Here” page in Sandbox) using ⌘↩.
3. The Vim cursor is gone.
4. If I switch to the “Start Here” page with ⌘⇧← and back with ⌘⇧→ then the cursor appears.

### Did you follow the [troubleshooting guide](https://forum.obsidian.md/t/about-the-bug-reports-category/24/10)? [Y/N]

Yes.

### Expected result

I should get to the end result of step 4 without having to switch back and forth

### Actual result

No Vim cursor.

### Environment

```plaintext
SYSTEM INFO:
	Obsidian version: v1.8.4
	Installer version: v1.6.7
	Operating system: Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112 24.1.0
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

```

### Additional information

None.

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 4, 2025, 11:34pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/2 "2025-02-04T23:34:25Z")

</div>

I forgot to include this in the initial report, but please let me know if you are unable to reproduce this bug. I would be happy to provide a screen recording of it on my end if there are any issues.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 5, 2025, 7:28am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/3 "2025-02-05T07:28:19Z")

</div>

I can’t reproduce. In the troubleshooting guide you were asked to download and reinstall Obsidian, please do so.

After that, please post a screen recording of this happening in the sandbox vault.

Do you have any other software that may intercept the alt-enter?

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 5, 2025, 10:49pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/4 "2025-02-05T22:49:17Z")

</div>

Thank you so much for following up.

I forgot to reinstall Obsidian last time, so I did that this time. I am still able to reproduce the bug.

For the screen recording, I had [KeyCastr](https://github.com/keycastr/keycastr) turned on, but the bug can be duplicated without keystroke visualization turned on (and KeyCastr completely quit).

![output3](https://forum.obsidian.md/uploads/default/original/3X/1/3/13b64f9648ed430e7824dc90318abf254639c385.gif)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 5, 2025, 10:56pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/5 "2025-02-05T22:56:29Z")

</div>

thank you

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 6, 2025, 3:31am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/6 "2025-02-06T03:31:19Z")

</div>

Not sure how relevant this would be, but I use a Japanese keyboard for input. I’ll see if I can reproduce this bug with an external keyboard that has the standard US layout.

If I can think of any other non-standard parts of my setup I’ll come back with updates, but that’s all I have for now.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 6, 2025, 8:15am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/7 "2025-02-06T08:15:56Z")

</div>

Did this problem begin with 1.8.4 or you had this problem with previous releases as well?

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 6, 2025, 1:50pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/8 "2025-02-06T13:50:59Z")

</div>

I only recently switched to Vim so I can’t speak to exactly when this problem started for me. However, I don’t _think_ it started with 1.8.4. I remember using Vim before 1.8.4 and still having this issue. Please take this with a grain of salt because I can’t double check right now.

Is there a good way to downgrade and install previous versions like 1.8.3 or 1.7.x? I would be more than happy to try to determine if this is a regression, and identify the exact release if so.

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 7, 2025, 1:29am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/9 "2025-02-07T01:29:38Z")

</div>

I was able to confirm that I can reproduce the bug with a non-Japanese keyboard layout as well.

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 7, 2025, 6:28pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/10 "2025-02-07T18:28:01Z")

</div>

I rebooted my computer in [Safe Mode](https://support.apple.com/guide/mac-help/start-up-your-mac-in-safe-mode-mh21245/mac) and was able to reproduce the bug. The only other application I had open at the time was [Alfred](https://www.alfredapp.com).

@WhiteNoise have you been able to reproduce the bug?

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 7, 2025, 7:04pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/11 "2025-02-07T19:04:13Z")

</div>

I haven’t been able to reproduce. Does it happen if you bid the command with another hotkey?

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 9, 2025, 5:35pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/12 "2025-02-09T17:35:31Z")

</div>

Split this topic on February 9, 2025, 5:35pm UTC

2 posts were split to a new topic: [Cursor not active when opening link under cursor in new tab/window/right](https://forum.obsidian.md/t/cursor-not-active-when-opening-link-under-cursor-in-new-tab-window-right/96394)

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 8, 2025, 10:44pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/13 "2025-02-08T22:44:44Z")

</div>

Unfortunately, yes. I rebound “Open link under cursor in new tab” to ⌃O (instead of ⌘↩) and the bug is still the same.

![output2](https://forum.obsidian.md/uploads/default/original/3X/7/e/7e1813dcef03c32a339381057ee3ec7a791f2243.gif)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 9, 2025, 5:33pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/15 "2025-02-09T17:33:24Z")

</div>

I can reproduce the problem when opening to the right, new tab, window. Not same tab. Regardless of vim. I am going to fork the issue I can reproduce in a different thread.

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 9, 2025, 8:38pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/16 "2025-02-09T20:38:13Z")

</div>

To clarify, when you say “regardless of vim”, do you mean…

1. You can reproduce only when vim is not enabled
2. You can reproduce regardless of whether or not vim is enabled

If you mean #2, then we are able to reproduce the same behavior, and I think this topic can be marked `repro` as well. If you mean #1, then I’d love to see a screen recording of the vim cursor _not_ disappearing when opening in a new tab (or to the right / new window), just to see if I can figure out what differences are causing the issue on my end but not yours.

No rush on this by the way. I’m already very appreciative of the effort you’ve put into responding to my messages.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 9, 2025, 9:12pm UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/17 "2025-02-09T21:12:01Z")

</div>

No this topic can’t be marked because I can’t reproduce what you described.

It’s possible that the two issues are connected but I am not sure.

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 10, 2025, 5:58am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/18 "2025-02-10T05:58:23Z")

</div>

Thank you for confirming.

I’ll see what I can do to narrow down the issue further.

---

<div class="post-metadata">

**Author:** ![JShoes1415](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jshoes1415/32/71989_2.png) [@JShoes1415](https://forum.obsidian.md/u/JShoes1415)\
**Post date:** [February 19, 2025, 3:28am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/19 "2025-02-19T03:28:56Z")

</div>

This issue, along with [Cursor not active when opening link under cursor in new tab/window/right](https://forum.obsidian.md/t/cursor-not-active-when-opening-link-under-cursor-in-new-tab-window-right/96394), are fixed for me with the latest release.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [March 19, 2025, 3:29am UTC](https://forum.obsidian.md/t/vim-cursor-disappears-when-following-an-internal-link-to-a-new-tab/96024/20 "2025-03-19T03:29:49Z")

</div>

Closed on March 19, 2025, 3:29am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
