Commit 7fc4c64d authored by Bram Schoenmakers's avatar Bram Schoenmakers

Change 'C' shortcut to 'N' for New.

parent 298b1e5f
......@@ -140,15 +140,15 @@ class UIApplication(CLIApplicationBase):
if self.columns.focus_position > 0:
self.columns.focus_position -= 1
def _new_view(self):
def _new_column(self):
self.viewwidget.reset()
self._viewwidget_visible = True
def _edit_view(self):
def _edit_column(self):
self.viewwidget.data = self.columns.focus.view.data
self._viewwidget_visible = True
def _delete_view(self):
def _delete_column(self):
try:
focus = self.columns.focus_position
del self.columns.contents[focus]
......@@ -170,9 +170,9 @@ class UIApplication(CLIApplicationBase):
'h': self._focus_previous_column,
'right': self._focus_next_column,
'l': self._focus_next_column,
'C': self._new_view,
'E': self._edit_view,
'D': self._delete_view,
'N': self._new_column,
'E': self._edit_column,
'D': self._delete_column,
}
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment