atom-archive / xray

An experimental next-generation Electron-based text editor
MIT License
8.48k stars 235 forks source link

Introduce word- and line-based cursor movements #98

Closed as-cii closed 6 years ago

as-cii commented 6 years ago

As the title says, this pull request introduces several word- and line-based cursor movements that are necessary for a basic editing experience. More specifically, this is the list of commands that will be available after this pull request:

xray_ui/lib/app.js exposes which keymaps these commands are bound to. I have borrowed the mappings from from Atom's macOS keymap file, but creating more bindings to other key combinations (e.g., for other platforms) should be trivial.

/cc: @nathansobo