Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Move by paragraph #1288

Closed
thedaniel opened this issue Dec 11, 2013 · 8 comments
Closed

Move by paragraph #1288

thedaniel opened this issue Dec 11, 2013 · 8 comments

Comments

@thedaniel
Copy link
Contributor

In emacs, forward-paragraph and backward-paragraph are super handy, and in native OS X text areas, something very similar is mapped to opt-down and opt-up. This moves the cursor to the end of the current paragraph - in code (in emacs) these are delineated by newlines that are empty or only whitespace, and wrapped prose in native textareas, by newlines. Is there something like this available in Atom? If not, it might be worth adding to the platform keybindings for os x.

@mcolyer
Copy link
Contributor

mcolyer commented Dec 11, 2013

FWIW vim also has a motion for paragraph movement. So it'd be nice to have
that in core too.

https://github.com/atom/vim-mode/blob/master/lib/motions.coffee#L156

@benogle
Copy link
Contributor

benogle commented Dec 11, 2013

I do have atom/line-jumper mapped to opt-up and opt-down, but it just moves 10 lines all the time. Maybe we can move @mcolyer's paragraph movement command into core?

I cant get the default osx text boxes to trigger this. What app?

@nathansobo
Copy link
Contributor

I think general movement commands like this belong in core. Would also be cool if we found a way to pass numeric arguments to commands like line jumper a la emacs.

@izuzak
Copy link
Contributor

izuzak commented May 21, 2014

Just noticed that @karlin created a neat little package for this: https://atom.io/packages/move-by-paragraph

If we'd still like to have this in core, perhaps @karlin would be interested in making a pull request? :bowtie:

@thedaniel
Copy link
Contributor Author

I've been using this package: https://atom.io/packages/block-travel

@karlin
Copy link
Contributor

karlin commented May 23, 2014

@nathansobo @izuzak #2371

@probablycorey
Copy link

Closed by #2371

@lock
Copy link

lock bot commented Jan 26, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants