@@ -216,14 +216,14 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
216216
217217 BINDINGS : ClassVar [list [BindingType ]] = [
218218 Binding ("enter" , "select_cursor" , "Select" , show = False ),
219- Binding ("up,k " , "cursor_up" , "Cursor Up" , show = False ),
220- Binding ("down,j " , "cursor_down" , "Cursor Down" , show = False ),
221- Binding ("right,l " , "cursor_right" , "Cursor Right" , show = False ),
222- Binding ("left,h " , "cursor_left" , "Cursor Left" , show = False ),
219+ Binding ("up" , "cursor_up" , "Cursor Up" , show = False ),
220+ Binding ("down" , "cursor_down" , "Cursor Down" , show = False ),
221+ Binding ("right" , "cursor_right" , "Cursor Right" , show = False ),
222+ Binding ("left" , "cursor_left" , "Cursor Left" , show = False ),
223223 Binding ("pageup" , "page_up" , "Page Up" , show = False ),
224224 Binding ("pagedown" , "page_down" , "Page Down" , show = False ),
225- Binding ("g " , "scroll_top" , "Top" , show = False ),
226- Binding ("G " , "scroll_bottom" , "Bottom" , show = False ),
225+ Binding ("ctrl+home " , "scroll_top" , "Top" , show = False ),
226+ Binding ("ctrl+end " , "scroll_bottom" , "Bottom" , show = False ),
227227 Binding ("home" , "scroll_home" , "Home" , show = False ),
228228 Binding ("end" , "scroll_end" , "End" , show = False ),
229229 ]
@@ -237,8 +237,8 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
237237 | left,h | Move the cursor left. |
238238 | pageup | Move one page up. |
239239 | pagedown | Move one page down. |
240- | g | Move to the top. |
241- | G | Move to the bottom. |
240+ | ctrl+home | Move to the top. |
241+ | ctrl+end | Move to the bottom. |
242242 | home | Move to the home position (leftmost column). |
243243 | end | Move to the end position (rightmost column). |
244244 """
0 commit comments