Skip to content

Vim mode  #47

Description

@obrien-chris

Each of these keys don't work as intended at certain points in the document:

Normal Mode

  • o -- On the last line of the document
  • A -- On the last line of the document
  • $ -- On the last line of the document
  • O -- On the first line of the document
  • I -- (Capital 'i') On the first line of the document
  • 0 -- (Zero) On the first line of the document
    -- From my investigation: In Vim.hs, these keys use the functions startOfLine and endOfLine. Both these functions search for a newline character which I assume is missing at the start and end of the document.

Insert Mode

  • Backspace -- At the start of any line will Backspace will delete any text to the right of the cursor, then once the line is empty will cause the cursor to disappear on that line and delete the line beneath it.

  • x -- Will delete empty lines.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions