zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
45.73k stars 2.52k forks source link

Add vim setting to define the default vim mode #13881

Open typesend opened 1 month ago

typesend commented 1 month ago

Check for existing issues

Describe the feature

I would like my files open in insert mode by default, rather than normal mode.

  "vim": {
    "default_mode": "insert"
  },

For my specific use case, I suppose this feature is equivalent to one where I can use a keybinding to toggle the boolean "vim_mode" setting. However, I imagine folks may want to set any valid vim mode as their default. The default should continue to be normal mode.

For comparison, VS Code has at least one vim extension that supports this option:

"vim.startInInsertMode": true

If applicable, add mockups / screenshots to help present your vision of the feature

No response

ConradIrwin commented 1 month ago

Thanks for the idea! If you want to pair with me on this: https://calendly.com/conradirwin/pairing.