question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add "modeline" in Status Bar and/or Add Options for Cursor-style-per-mode

See original GitHub issue

Currently, it’s kind-of hard to determine whether or not you’re in insert/normal/etc. mode. VSCodeVim solves this by putting --INSERT--, --NORMAL--, --VISUAL--, etc. in the status bar, but they also allow you to change the cursor style depending on which mode you’re in. Either option (or both) would be great, as right now it’s kind-of hard to figure out which mode you’re in without just arbitrarily typing something.

Examples of preferences offered by the VSCodeVim extension:

  "vim.cursorStylePerMode.insert": "line",
  "vim.cursorStylePerMode.normal": "block",
  "vim.cursorStylePerMode.replace": "block-outline",
  "vim.cursorStylePerMode.visual": "block-outline",
  "vim.cursorStylePerMode.visualblock": "block-outline",
  "vim.cursorStylePerMode.visualline": "block-outline",

If this is possible now, I can’t get it to work, so it’d probably be worth documenting how to do so.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
macintacoscommented, Dec 27, 2019

Managed to get around this a while ago my just conditional loading stuff specifically for VSCode using if exists('g:vscode') like suggested in the README instead of trying to figure out what in my SpaceVim config was messing up the modeline output. Closing this out.

0reactions
macintacoscommented, Dec 22, 2019

That’s the thing… I use SpaceVim for my neovim config, so figuring that out might be kind-of frustrating 😅 will let you know if I resolve anything though!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add "modeline" in Status Bar and/or Add Options for Cursor ...
Currently, it's kind-of hard to determine whether or not you're in insert/normal/etc. mode. VSCodeVim solves this by putting --INSERT--, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found