macvim-dev / macvim-dev/macvim

Cursor position on insert

オープン
#1,241 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

Steps to reproduce
  1. pull and build latest MacVim
  2. load a file in MacVim (with or without plugins has same effect): mvim -u NONE file
  3. move to the middle of a word, press i to insert text, start typing
Expected behaviour
  • cursor should change shape from block to vertical line between character with block over it and the preceding character
  • what happens is cursor changes shape to vertical line after the character, but inserts text before that character

https://user-images.githubusercontent.com/4978837/165880253-67a8bd3d-6737-4d78-b6e7-99fc22e5f5c1.mp4

Version of Vim and architecture

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 29 2022 12:54:26) macOS version - arm64 Included patches: 1-4822

Environment

OS Big Sur 11.6.5, arm64

How MacVim was installed

built from git

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration
  • by running MacVim.app from GUI macOS interface
  • by running vim/gvim/etc installed by MacVim
  • by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
  • by running mvim --clean (or gvim, supplied by MacVim distribution)
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
  • The both Homebrew packages "vim" and "macvim" are installed

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

報告された arm64 macOS セットアップを使用して、MacVim.app および mvim --clean でのカーソルと挿入の動作を再現します。MacVim の GUI を vim/gvim および他の Vim バージョンと比較し、単語の途中での挿入ケースも含めます。挿入モードで入力しているときに、カーソルの形状と挿入位置が一致すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。