vercel / vercel/hyper

How to configure cursor to switch between block and vertical line to support VI's insert and normal modes?

Open
#3,744 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • [ x] I am on the latest Hyper.app version
  • [x ] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS Mojave 10.14.5
  • Hyper.app version: 3.0.2 (stable)
  • Link of a Gist with the contents of your .hyper.js: https://github.com/zhao-li/dots/blob/master/.hyper.js
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app:

Issue

Hi Hyper Team,

Thank you for making such a wonderful product. I'm sorry if this is not the correct place to ask questions. I wasn't able to find a support forum or chat tool to use.

I am trying to figure out the steps/configurations, if any, to get the cursor to change from block to vertical line when switching between VI's insert and normal mode.

This issue (https://github.com/zeit/hyper/issues/270) suggests that this is fixed, but maybe it only applies to neovim? I also wasn’t sure where to configure things? .bashrc/.zshrc, .hyper.js, or .vimrc. There was a reference to init.vim, but I think that’s a neovim thing.

I just need some guidance on what and where I need to configure things to get the cursor to switch appropriately.

Sorry again if I'm asking in the wrong place.

Thank you and have a great day :)

In case it helps:
VIM (Vi Improved) 8.1.1500
Hyper 3.0.2 (stable)
Renderers: WebGL
Plugins:
hyper-command-gifs (0.0.6),
hypercwd (1.4.0),
hyperfullscreen (1.0.1),
hyperline (1.2.0),
hyper-pane (2.1.4),
hyperpower (1.1.1),
hyper-search (0.2.2),
hyper-solarized-dark (0.1.5),
hyperterm-crosshair (1.0.3)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #270 and comparing the cursor behavior described there with the configuration files named in this issue: .hyper.js, .bashrc, .zshrc, .vimrc, and init.vim. Determine whether Hyper or Vim is expected to provide the mode-dependent cursor change, and document the supported configuration path or the missing product behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.