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

C-RET move cursor to next line of active code #151

Open
jamaas opened this issue Jan 16, 2021 · 1 comment
Open

C-RET move cursor to next line of active code #151

jamaas opened this issue Jan 16, 2021 · 1 comment

Comments

@jamaas
Copy link

jamaas commented Jan 16, 2021

My current version of julia-mode moves the cursor to the next line, regardless of whether it is empty line, commented, or active code. Can this be changed like the R version where it moves to the next line of active code? Thx. J

@non-Jedi
Copy link
Contributor

In ess, C-return runs ess-eval-region-or-line-visibly-and-step, which has behavior significantly more complex than what you describe. I don't think this behavior is appropriate for a basic package like julia-mode which is merely trying to provide the bare minimum support for the julia language. ess is by-design much wider in scope.

You could always use ess-julia-mode which will have C-return mapped to the same function.

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

No branches or pull requests

2 participants