feature: copy character from line above/below#721
Conversation
|
Very cool. I agree, the ctrl-e conflict is worrisome. I really like that normal mode feels like Vim and insert mode feels like Atom. Would it make sense to give vim-mode a configuration option: "Vim-Flavored Insert Mode" and "Atom-Flavored Insert Mode"? When there's a conflict, this setting would tell whose keybindings to prefer. I'd set mine to Atom-flavored. |
|
Oh heck, users can always bind ctrl-e back to editor:move-to-end-of-line if they care. At least this way there's a choice. Merged it to vim-mode-next. This PR looks great. |
|
Getting strange errors when running this patch in vim-mode-next: https://travis-ci.org/bronson/vim-mode-next/builds/69569825 Looks related to the activateResources/getEditorElement mocking... Maybe a timing issue? To reproduce locally: Very curious what's going on. Since your patch works fine in vim-mode, feel free to ignore. :) |
|
just guessing, but it seems like it needed a change of |
|
DOH!! Like this? bronson/vim-mode-next@654a9c3 You're right, how did I miss that? Sorry. :) |
|
Yep, that was it. vim-mode-next 0.54.11 has ctrl-e/ctrl-y support again. |
0bafbfc to
4c929af
Compare
|
I think I'd like to not override the |
|
No worries, done. I tend to use |
There was a problem hiding this comment.
well we're not throwing away perfectly good specs, are we? 8-)
feature: copy character from line above/below
This PR implements VIM insert-mode commands
ctrl-yandctrl-efor copying from the line above/below the cursor.A few questions in relation to this PR:
lib/insert-mode.coffeean OK new file for this?ctrl-efor going to the end of the line? (default in Atom)Oh, and congratulations on Atom 1.0.0! 🎆 🎈