Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keyboard shortcuts for beginning of line and end of line #1212

Closed
spyder-bot opened this issue Feb 17, 2015 · 3 comments · Fixed by #2217
Closed

Add keyboard shortcuts for beginning of line and end of line #1212

spyder-bot opened this issue Feb 17, 2015 · 3 comments · Fixed by #2217

Comments

@spyder-bot
Copy link
Collaborator

From steven.s...@gmail.com on 2012-12-28T00:54:52Z

Added two extra shortcuts for the editor in spyderlib/widgets/sourcecode/codeeditor.py.

Ctrl+Shift+A takes you to the first character on the line.
Ctrl+Shift+E takes you to the last character on the line.

This emulates the emacs (and bash) keybindings for those features.

Tested with the dev branch on Ubuntu 12.04, 32 bit.

Please see my repository, https://code.google.com/r/stevensilvester-rich-text-to-thread/source/browse for review.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1212

@spyder-bot
Copy link
Collaborator Author

From steven.s...@gmail.com on 2012-12-27T21:58:09Z

I should add that Ctrl+Shift+E is already taken for Switch to Editor, so perhaps the default should be Ctrl+E? Ctrl+A is tied up for select all, so I had attempted to keep them symmetric. I am open to suggestions.

@spyder-bot
Copy link
Collaborator Author

From steven.s...@gmail.com on 2012-12-29T14:07:36Z

Note, the changes are in the autotab bookmark. I also added ipython-like autotab, and support for next/prev char/line shortcuts.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2015-01-02T18:38:37Z

Labels: Cat-Settings MS-v2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants