Skip to content

sr-editable-pane and C-n, C-p #14

Closed
jumper047 opened this Issue Jan 6, 2013 · 6 comments

2 participants

@jumper047

When i activate wdired-mode in sunrise, i cant move up and down with C-n and C-p because of sunrise-tabs bindings. Is it possible to temporary "rebind" this keys in editable pane mode to up/down movement?

P.S. By the way, happy new year:)!

@escherdragon escherdragon added a commit that referenced this issue Jan 6, 2013
@escherdragon +Do not clobber C-n and C-p when in Editable Dired mode (issue #14)
When entering WDired, temporarily remap `sr-tabs-next' and `sr-tabs-prev' to
C-t n and C-t p, respectively.
9dbb85f
@escherdragon
Owner

Of course you could always use the arrow keys instead ;-)

Nevertheless, this is an exception that IMO makes sense. Hence, I have added some code to remap sr-tabs-next and sr-tabs-prev to C-t n and C-t p, respectively, while leaving C-n and C-p for regular navigation inside the buffer.

Done in commit 9dbb85f. Released as version 1r445. Thanks for you suggestion.

@jumper047

Thank you for quick response! But, is it posible to remap keys this way only in wdired mode? C-n and C-p for tab switching are good, i think. If not, C-t prefix is also good:).

@escherdragon
Owner
@jumper047
@jumper047

All working fine, thank you!

@escherdragon
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.