Some additional keybindings
This commit is contained in:
@@ -84,7 +84,7 @@ Once you are logged in your username will appear in the top-right corner of the
|
|||||||
:``c``: Compose a new post or comment
|
:``c``: Compose a new post or comment
|
||||||
:``e``: Edit an existing post or comment
|
:``e``: Edit an existing post or comment
|
||||||
:``d``: Delete an existing post or comment
|
:``d``: Delete an existing post or comment
|
||||||
:``s``: Open subscribed subreddits list
|
:``s``: Open/close subscribed subreddits list
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
Subreddit Mode
|
Subreddit Mode
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ Authenticated Commands
|
|||||||
`c` : Compose a new post or comment
|
`c` : Compose a new post or comment
|
||||||
`e` : Edit an existing post or comment
|
`e` : Edit an existing post or comment
|
||||||
`d` : Delete an existing post or comment
|
`d` : Delete an existing post or comment
|
||||||
`s` : Open subscribed subreddits list
|
`s` : Open/close subscribed subreddits list
|
||||||
|
|
||||||
Subreddit Mode
|
Subreddit Mode
|
||||||
`l` or `RIGHT` : Enter the selected submission
|
`l` or `RIGHT` : Enter the selected submission
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class SubscriptionPage(BasePage):
|
|||||||
self.content = SubscriptionContent.get_list(self.reddit, self.loader)
|
self.content = SubscriptionContent.get_list(self.reddit, self.loader)
|
||||||
self.nav = Navigator(self.content.get)
|
self.nav = Navigator(self.content.get)
|
||||||
|
|
||||||
@SubscriptionController.register(curses.KEY_ENTER, 10)
|
@SubscriptionController.register(curses.KEY_ENTER, 10, curses.KEY_RIGHT)
|
||||||
def open_selected_subreddit(self):
|
def open_selected_subreddit(self):
|
||||||
"Open the selected subreddit"
|
"Open the selected subreddit"
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ class SubscriptionPage(BasePage):
|
|||||||
page = SubredditPage(self.stdscr, self.reddit, data['name'][2:]) # Strip the leading /r
|
page = SubredditPage(self.stdscr, self.reddit, data['name'][2:]) # Strip the leading /r
|
||||||
page.loop()
|
page.loop()
|
||||||
|
|
||||||
@SubscriptionController.register(curses.KEY_LEFT)
|
@SubscriptionController.register(curses.KEY_LEFT, 's')
|
||||||
def close_subscriptions(self):
|
def close_subscriptions(self):
|
||||||
"Close subscriptions and return to the subreddit page"
|
"Close subscriptions and return to the subreddit page"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user