Giter VIP home page Giter VIP logo

Comments (7)

jrwrigh avatar jrwrigh commented on May 22, 2024 3

Shouldn't something like saving a file be left as the standard neovim default? :w?

'Open project' could probably be left as a ex command and then binded by the user if they'd like.

from oni2.

bryphe avatar bryphe commented on May 22, 2024 2

@jrwrigh I was under the impression that onivim was going to be an option for non-vim users as well,

We definitely would like to get there!

It's a tough balance to provide an out-of-box experience that caters to both Vim and non-Vim users - but my plan at the moment is to provide the 'vim-style' keybindings out of the box, but support VSCode-style keybindings as a plugin (ie, the inverse of VSCodeVim- like OniVsCode). We could potentially expose this as an option on the Welcome screen so it's easier to toggle / switch.

A few pieces that we know are challenging:

  • <C-n> - overloaded in insert mode (starts completion, moves to next item) in Vim, but would be 'new file' in VSCode.
  • <C-o> - overloaded in normal mode, but would be 'open file' in VSCode.

Also, a key differentiator would be whether you start in normal mode vs insert mode. There's also some other subtler things that we'll have to think through in the UX (visual selection vs 'selection' mode - if you select text with a mouse, which mode should it be?)

from oni2.

danny-does-stuff avatar danny-does-stuff commented on May 22, 2024 1

@Akin909 Yes makes sense! I spoke briefly with @bryphe about how I could help out on the project. He said there aren’t many issues being tracked, but that I could help by opening up the project, finding issues, and reporting them as Issues. I know that this one and the other one that I logged are pretty obvious, but they are the first ones I found! If you have any tips on better ways to jump in and help, I want to know! I would love to help out

from oni2.

akinsho avatar akinsho commented on May 22, 2024

@dannyharding10 we're pre-alpha at the moment, so there's still a lot to do but when we get closer to alpha we should hopefully have fleshed things out more

from oni2.

danny-does-stuff avatar danny-does-stuff commented on May 22, 2024

@jrwrigh I was under the impression that onivim was going to be an option for non-vim users as well, which would require it to include some standard functional like this. @bryphe will this project target more than vim users?

from oni2.

danny-does-stuff avatar danny-does-stuff commented on May 22, 2024

Regardless, I am very excited for this project! I’m looking forward to start alpha and beta testing it

from oni2.

Spirarel avatar Spirarel commented on May 22, 2024

@jrwrigh I was under the impression that onivim was going to be an option for non-vim users as well,

We definitely would like to get there!

It's a tough balance to provide an out-of-box experience that caters to both Vim and non-Vim users - but my plan at the moment is to provide the 'vim-style' keybindings out of the box, but support VSCode-style keybindings as a plugin (ie, the inverse of VSCodeVim- like OniVsCode). We could potentially expose this as an option on the Welcome screen so it's easier to toggle / switch.

A few pieces that we know are challenging:

  • <C-n> - overloaded in insert mode (starts completion, moves to next item) in Vim, but would be 'new file' in VSCode.
  • <C-o> - overloaded in normal mode, but would be 'open file' in VSCode.

Also, a key differentiator would be whether you start in normal mode vs insert mode. There's also some other subtler things that we'll have to think through in the UX (visual selection vs 'selection' mode - if you select text with a mouse, which mode should it be?)

I think those are actually done with cmd+n and cmd+o on VSC. It could be my keymap, but I though this was the case. Since the terminal captures the cmd modifier, it's actually nice to use these chords for not-vim, VSC-like features since the mapping is a superset of what vimmers expect.

from oni2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.