googlearchive / chromedeveditor

Chrome Dev Editor is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps, in JavaScript or Dart. (NO LONGER IN ACTIVE DEVELOPMENT)
BSD 3-Clause "New" or "Revised" License
2.92k stars 412 forks source link

vim keybindings #3843

Open hitzhangjie opened 9 years ago

hitzhangjie commented 9 years ago

vim keybindings: dd: can't delete x: can't delete ... vim keybindings can't simulate vim well, haven't been implemented? or something else? my configuration has error?

thanks!

srsaroop commented 9 years ago

@umop can you verify what's happening?

hitzhangjie commented 9 years ago

i will try ... feel happy to receive your response. :)

umop commented 9 years ago

I verified and I am looking into it

badhorky commented 9 years ago

Vim key bindings are not working for me at all.

I'm using an Acer Chromebook 13 (ARM) on Dev branch.

I'm not able to edit/delete anything.

badhorky commented 9 years ago

'O/o' creates a new line, but I cannot enter text on it. 'u' Works. '/' works, I can search for text strings.

It seems I can enter normal text if I create a new line before the first line of an existing file.

umop commented 9 years ago

These issues appear to be related to multi-select (which we turned off in favor of hyperlinking). I think that I have a way of handling both (hyperlinking and multi-select), by changing the key-binding of multi-select, but this will have to be set as an option in ace, and will join CDE at the next ace / ace.dart build, so it won't be immediate.

As a workaround, for now, add:

  "enable-multiselect": true

to user.json. This will, however, disable hyperlinking to references, etc.

badhorky commented 9 years ago

Seems to work for me, thanks...

joebalancio commented 9 years ago

I can navigate through a file just fine (well except for paging ctrl-f ctrl-b)

No yanking or pasting using keys y p

I can't get into insert mode, visual mode, or visual block mode. I can't tell what mode I am in. The only status I see is when I press q

umop commented 9 years ago

Is this true when turning enable-multiselect to false as well? our VIM support is from an extension on ace.js, so we're looking into it, but we don't have a quick fix.