@@ -216,14 +216,14 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
216
216
217
217
BINDINGS : ClassVar [list [BindingType ]] = [
218
218
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 ),
223
223
Binding ("pageup" , "page_up" , "Page Up" , show = False ),
224
224
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 ),
227
227
Binding ("home" , "scroll_home" , "Home" , show = False ),
228
228
Binding ("end" , "scroll_end" , "End" , show = False ),
229
229
]
@@ -237,8 +237,8 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
237
237
| left,h | Move the cursor left. |
238
238
| pageup | Move one page up. |
239
239
| 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. |
242
242
| home | Move to the home position (leftmost column). |
243
243
| end | Move to the end position (rightmost column). |
244
244
"""
0 commit comments