Why is the `Insert Cell` shortcut different between Source and Visual Mode

Open
#862 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
tooling

Research direction

Start by locating the Insert Cell shortcut handling for Source and Visual Mode and compare their current key bindings and cell-language behavior. Confirm the desired Cmd+Shift+I binding on macOS and verify that Visual Mode follows the previously used cell language.

Written by the indexing model from the issue text.

Description

visual-editor

One quirk with Quarto is that Insert Cell's shortcut is different between Source and Visual Mode.

On my Mac:

  • Source: Cmd + Shift + I (intuitive to me)
  • Visual: Cmd + Option + I and it inserts Python only?? (makes no sense to me)

I think we need to align these on Cmd + Shift + I and make Visual Mode use the same kind of logic as Source Mode where it auto inserts whatever cell language you used before this one.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

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.

More from quarto-dev/quarto

All issues in quarto-dev/quarto

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.