Keyboard navigation by paragraph


#1

i’d like to implement navigation by paragraph chunks, ie ctrl-up and down

on opening the keymap.cson, if i add a sample key

‘body’:
‘cmd-i’: ‘namespace:event’

and save the file, this error pops up instantly:

Uncaught RangeError: Maximum call stack size exceeded /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:126

Atom v0.92.0

additionally, is there a good doc for a list of the potential commands that are available for mapping? eg looking for the syntax eg for a block navigation

‘alt-shift-up’: ‘editor:move-to-first-character-of-line’
‘alt-shift-down’: ‘editor:move-to-end-of-screen-line’

I found these methods but no paragraph move method
https://atom.io/docs/api/v0.92.0/api/classes/Editor.html#moveCursorToBottom-instance

edit - i found the block-travel package, however i’d like to know about the above still in order to create my own packages.

tx!

/dc


#2

Given that you found the block-travel package (linked for other people who might have the same question), can you rewrite your post to be more clear about what it is you’re now asking? Or create a new post for the question itself?