From fe80b84619b81c1621f7750cedb79d128caba548 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Sat, 7 Feb 2026 12:51:19 +0530 Subject: [PATCH 01/22] Fix: Update keyboard shortcut tooltips for macOS compatibility (Fixes #617) Updated keyboard shortcut tooltips in tooltips.py to emphasize CTRL+C (with SHIFT) instead of CTRL+Q for copying filepath to clipboard. CTRL+Q quits the application on macOS, so CTRL+C is the more appropriate shortcut for users on that platform. --- datashuttle/tui/tooltips.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/datashuttle/tui/tooltips.py b/datashuttle/tui/tooltips.py index 6d0e63a5a..0ff44957b 100644 --- a/datashuttle/tui/tooltips.py +++ b/datashuttle/tui/tooltips.py @@ -130,8 +130,7 @@ def get_tooltip(id: str) -> str: "when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+Q : copy the full filepath to clipboard.\n" - "-CTRL+R : refresh the folder tree.\n" +"-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." ) @@ -206,8 +205,7 @@ def get_tooltip(id: str) -> str: "Keyboard shortcuts, when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+Q : copy the full filepath to clipboard.\n" - "-CTRL+R : refresh the folder tree.\n" +"-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." ) From 034b2ecde7cf26973cff0dd48920e292a6eca1f8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 7 Feb 2026 07:23:21 +0000 Subject: [PATCH 02/22] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- datashuttle/tui/tooltips.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/datashuttle/tui/tooltips.py b/datashuttle/tui/tooltips.py index 0ff44957b..a15b295c0 100644 --- a/datashuttle/tui/tooltips.py +++ b/datashuttle/tui/tooltips.py @@ -130,7 +130,8 @@ def get_tooltip(id: str) -> str: "when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" -"-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" + "-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" + "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." ) @@ -205,7 +206,8 @@ def get_tooltip(id: str) -> str: "Keyboard shortcuts, when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" -"-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" + "-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" + "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." ) From e6f651a5672dc0d63bcc8fd2ac04706b6948f10f Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Sat, 7 Feb 2026 13:11:35 +0530 Subject: [PATCH 03/22] Add docstring to custom_exceptions.py Add module docstring for custom exceptions. --- datashuttle/utils/custom_exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/datashuttle/utils/custom_exceptions.py b/datashuttle/utils/custom_exceptions.py index 05be4b6d0..ed27e87af 100644 --- a/datashuttle/utils/custom_exceptions.py +++ b/datashuttle/utils/custom_exceptions.py @@ -1,3 +1,9 @@ +"""Custom exception classes for datashuttle. + +This module defines custom exceptions used throughout the datashuttle package +for specific error conditions. +""" + class ConfigError(Exception): """Raise an error relating to a configuration problem.""" From d77ab4fd1123d1366e93b434e03bcd459dcd69fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 7 Feb 2026 07:41:54 +0000 Subject: [PATCH 04/22] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- datashuttle/utils/custom_exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/datashuttle/utils/custom_exceptions.py b/datashuttle/utils/custom_exceptions.py index ed27e87af..e2daebd76 100644 --- a/datashuttle/utils/custom_exceptions.py +++ b/datashuttle/utils/custom_exceptions.py @@ -4,6 +4,7 @@ for specific error conditions. """ + class ConfigError(Exception): """Raise an error relating to a configuration problem.""" From ca36583f687d20ba229d6fe57653d95f4f31f627 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Mon, 16 Feb 2026 22:53:14 +0530 Subject: [PATCH 05/22] Replacing ctrl c with ctrl w --- datashuttle/tui/tooltips.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datashuttle/tui/tooltips.py b/datashuttle/tui/tooltips.py index a15b295c0..bbf6f3252 100644 --- a/datashuttle/tui/tooltips.py +++ b/datashuttle/tui/tooltips.py @@ -130,7 +130,7 @@ def get_tooltip(id: str) -> str: "when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" + "-CTRL+W (with SHIFT): copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." @@ -206,7 +206,7 @@ def get_tooltip(id: str) -> str: "Keyboard shortcuts, when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+C (with SHIFT): copy the highlighted filepath to clipboard.\n" + "-CTRL+W (with SHIFT): copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." From b875f03c8b130bafd1f3027a1c096e0b57753023 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Mon, 16 Feb 2026 22:54:29 +0530 Subject: [PATCH 06/22] Fix tooltip text for copy filepath shortcut --- datashuttle/tui/tooltips.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datashuttle/tui/tooltips.py b/datashuttle/tui/tooltips.py index bbf6f3252..b74893a83 100644 --- a/datashuttle/tui/tooltips.py +++ b/datashuttle/tui/tooltips.py @@ -130,7 +130,7 @@ def get_tooltip(id: str) -> str: "when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+W (with SHIFT): copy the highlighted filepath to clipboard.\n" + "-CTRL+W : copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." @@ -206,7 +206,7 @@ def get_tooltip(id: str) -> str: "Keyboard shortcuts, when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+W (with SHIFT): copy the highlighted filepath to clipboard.\n" + "-CTRL+W : copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." From 77243401a3e4b5abed4665abba886bc76519afae Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:07:20 +0530 Subject: [PATCH 07/22] docs: Replace CTRL+Q with CTRL+W in choose-a-terminal.md --- docs/source/pages/user_guides/choose-a-terminal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/choose-a-terminal.md b/docs/source/pages/user_guides/choose-a-terminal.md index 4a56e6c1a..517a6deba 100644 --- a/docs/source/pages/user_guides/choose-a-terminal.md +++ b/docs/source/pages/user_guides/choose-a-terminal.md @@ -82,4 +82,4 @@ with rendering errors. Once you've chosen a terminal, get started with ``datashuttle`` with our [Getting Started Tutorial](getting-started-walkthrough). -To quit ``datashuttle`` in the terminal, press `CTRL+Q`. +To quit ``datashuttle`` in the terminal, press `CTRL+W`. From 89108231977533aab427d56db749f9ccc9d50d33 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:08:35 +0530 Subject: [PATCH 08/22] docs: Replace CTRL+Q with CTRL+W in create-folders.md --- docs/source/pages/user_guides/create-folders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/create-folders.md b/docs/source/pages/user_guides/create-folders.md index 0de86c58f..22180c066 100644 --- a/docs/source/pages/user_guides/create-folders.md +++ b/docs/source/pages/user_guides/create-folders.md @@ -112,7 +112,7 @@ Open folder in system filebrowser : `CTRL+O` will open a folder in the system filebrowser. Copy the full filepath. -: `CTRL+Q` will copy the entire filepath of the file or +: `CTRL+W` will copy the entire filepath of the file or folder. \ From 527859bb2807bab76d38c63e18ad813d3af69d3e Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:10:30 +0530 Subject: [PATCH 09/22] fix: Replace CTRL+Q with CTRL+W in app.py help text Updated notification message for copy actions. --- datashuttle/tui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datashuttle/tui/app.py b/datashuttle/tui/app.py index ef443db7b..09f293390 100644 --- a/datashuttle/tui/app.py +++ b/datashuttle/tui/app.py @@ -120,7 +120,7 @@ def on_button_pressed(self, event: Button.Pressed) -> None: def action_show_copy_help(self) -> None: """Display a notification (for CTRL+C).""" self.notify( - "Use CTRL+Q to copy from Inputs and DirectoryTrees.\n" + "Use CTRL+W to copy from Inputs and DirectoryTrees.\n" "Use ESC or the 'Exit' button to quit the application.\n" "CTRL+C can be used to copy after highlighting text with the mouse while pressing 'shift'.", timeout=6, From 2b64517ff00179668e85a6ea230af9152845939e Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:20:12 +0530 Subject: [PATCH 10/22] Update copy help notification in action_show_copy_help --- datashuttle/tui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datashuttle/tui/app.py b/datashuttle/tui/app.py index 09f293390..05e6abcaa 100644 --- a/datashuttle/tui/app.py +++ b/datashuttle/tui/app.py @@ -120,7 +120,7 @@ def on_button_pressed(self, event: Button.Pressed) -> None: def action_show_copy_help(self) -> None: """Display a notification (for CTRL+C).""" self.notify( - "Use CTRL+W to copy from Inputs and DirectoryTrees.\n" + "Use CTRL+C (with SHIFT) to copy from Inputs and DirectoryTrees.\n" "Use ESC or the 'Exit' button to quit the application.\n" "CTRL+C can be used to copy after highlighting text with the mouse while pressing 'shift'.", timeout=6, From e86f60cc4d44291c3220f1e83eeaa2415a7c6f6e Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:22:34 +0530 Subject: [PATCH 11/22] fix: Update copy shortcut to CTRL+C (with SHIFT) in tooltips --- datashuttle/tui/tooltips.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datashuttle/tui/tooltips.py b/datashuttle/tui/tooltips.py index b74893a83..211fbb67f 100644 --- a/datashuttle/tui/tooltips.py +++ b/datashuttle/tui/tooltips.py @@ -130,7 +130,7 @@ def get_tooltip(id: str) -> str: "when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+W : copy the highlighted filepath to clipboard.\n" + "-CTRL+C (with SHIFT) : copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." @@ -206,7 +206,7 @@ def get_tooltip(id: str) -> str: "Keyboard shortcuts, when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+W : copy the highlighted filepath to clipboard.\n" + "-CTRL+C (with SHIFT) : copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." From a8ae6b947d1f63b510cb16546d539a1e228b5394 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:32:09 +0530 Subject: [PATCH 12/22] fix: Update copy shortcut from CTRL+W to CTRL+C (with SHIFT) in choose-a-terminal.md --- docs/source/pages/user_guides/choose-a-terminal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/choose-a-terminal.md b/docs/source/pages/user_guides/choose-a-terminal.md index 517a6deba..7ab510d08 100644 --- a/docs/source/pages/user_guides/choose-a-terminal.md +++ b/docs/source/pages/user_guides/choose-a-terminal.md @@ -82,4 +82,4 @@ with rendering errors. Once you've chosen a terminal, get started with ``datashuttle`` with our [Getting Started Tutorial](getting-started-walkthrough). -To quit ``datashuttle`` in the terminal, press `CTRL+W`. +To quit ``datashuttle`` in the terminal, press `CTRL+C (with SHIFT)`. From fcff138b87cb2f24a4e9741b5b934ff2ff60de00 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 00:38:27 +0530 Subject: [PATCH 13/22] fix: Update copy shortcut from CTRL+W to CTRL+C (with SHIFT) in create-folders.md --- docs/source/pages/user_guides/create-folders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/create-folders.md b/docs/source/pages/user_guides/create-folders.md index 22180c066..76624d403 100644 --- a/docs/source/pages/user_guides/create-folders.md +++ b/docs/source/pages/user_guides/create-folders.md @@ -112,7 +112,7 @@ Open folder in system filebrowser : `CTRL+O` will open a folder in the system filebrowser. Copy the full filepath. -: `CTRL+W` will copy the entire filepath of the file or +: `CTRL+C (with SHIFT)` will copy the entire filepath of the file or folder. \ From 5a0d3df1122e01476974716a34ce34917154b5ce Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:12:34 +0530 Subject: [PATCH 14/22] Update app.py --- datashuttle/tui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datashuttle/tui/app.py b/datashuttle/tui/app.py index 05e6abcaa..09f293390 100644 --- a/datashuttle/tui/app.py +++ b/datashuttle/tui/app.py @@ -120,7 +120,7 @@ def on_button_pressed(self, event: Button.Pressed) -> None: def action_show_copy_help(self) -> None: """Display a notification (for CTRL+C).""" self.notify( - "Use CTRL+C (with SHIFT) to copy from Inputs and DirectoryTrees.\n" + "Use CTRL+W to copy from Inputs and DirectoryTrees.\n" "Use ESC or the 'Exit' button to quit the application.\n" "CTRL+C can be used to copy after highlighting text with the mouse while pressing 'shift'.", timeout=6, From 61d08db86ba70253d8d9ee6c7e33c53fc0a8353d Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:13:26 +0530 Subject: [PATCH 15/22] Update tooltips.py --- datashuttle/tui/tooltips.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datashuttle/tui/tooltips.py b/datashuttle/tui/tooltips.py index 211fbb67f..b74893a83 100644 --- a/datashuttle/tui/tooltips.py +++ b/datashuttle/tui/tooltips.py @@ -130,7 +130,7 @@ def get_tooltip(id: str) -> str: "when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+C (with SHIFT) : copy the highlighted filepath to clipboard.\n" + "-CTRL+W : copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." @@ -206,7 +206,7 @@ def get_tooltip(id: str) -> str: "Keyboard shortcuts, when hovering the mouse over a folder:\n\n" "-CTRL+O : open the folder in the system filebrowser.\n" "-CTRL+N : rename a file or folder.\n" - "-CTRL+C (with SHIFT) : copy the highlighted filepath to clipboard.\n" + "-CTRL+W : copy the highlighted filepath to clipboard.\n" "-CTRL+R : refresh the folder tree.\n" "-CTRL+F : fill the 'sub-' or 'ses-' input with the foldername.\n" "-CTRL+A : similar to CTRL+F, but append." From ddbf5b944b8b1c27631ea97ef8e0d21e964be3c0 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:17:49 +0530 Subject: [PATCH 16/22] Update choose-a-terminal.md --- docs/source/pages/user_guides/choose-a-terminal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/choose-a-terminal.md b/docs/source/pages/user_guides/choose-a-terminal.md index 7ab510d08..4a56e6c1a 100644 --- a/docs/source/pages/user_guides/choose-a-terminal.md +++ b/docs/source/pages/user_guides/choose-a-terminal.md @@ -82,4 +82,4 @@ with rendering errors. Once you've chosen a terminal, get started with ``datashuttle`` with our [Getting Started Tutorial](getting-started-walkthrough). -To quit ``datashuttle`` in the terminal, press `CTRL+C (with SHIFT)`. +To quit ``datashuttle`` in the terminal, press `CTRL+Q`. From 45e1ed96ef289f897fc2aeb3af06bc169232a3ef Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:19:11 +0530 Subject: [PATCH 17/22] Update create-folders.md --- docs/source/pages/user_guides/create-folders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/create-folders.md b/docs/source/pages/user_guides/create-folders.md index 76624d403..a0403e7a6 100644 --- a/docs/source/pages/user_guides/create-folders.md +++ b/docs/source/pages/user_guides/create-folders.md @@ -112,7 +112,7 @@ Open folder in system filebrowser : `CTRL+O` will open a folder in the system filebrowser. Copy the full filepath. -: `CTRL+C (with SHIFT)` will copy the entire filepath of the file or +: `CTRL+W)` will copy the entire filepath of the file or folder. \ From 9b903df0ef30fe74ed1f1fb1c8e4952983cd5e72 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:19:43 +0530 Subject: [PATCH 18/22] Update create-folders.md --- docs/source/pages/user_guides/create-folders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/user_guides/create-folders.md b/docs/source/pages/user_guides/create-folders.md index a0403e7a6..22180c066 100644 --- a/docs/source/pages/user_guides/create-folders.md +++ b/docs/source/pages/user_guides/create-folders.md @@ -112,7 +112,7 @@ Open folder in system filebrowser : `CTRL+O` will open a folder in the system filebrowser. Copy the full filepath. -: `CTRL+W)` will copy the entire filepath of the file or +: `CTRL+W` will copy the entire filepath of the file or folder. \ From 33f2459d87eac0dba0aee196b4068d8a5c669737 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:31:54 +0530 Subject: [PATCH 19/22] Update custom_widgets.py --- datashuttle/tui/custom_widgets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datashuttle/tui/custom_widgets.py b/datashuttle/tui/custom_widgets.py index 55f02df7c..739b7153f 100644 --- a/datashuttle/tui/custom_widgets.py +++ b/datashuttle/tui/custom_widgets.py @@ -99,7 +99,7 @@ def as_names_list(self) -> List[str]: def on_key(self, event: events.Key) -> None: """Handle keyboard press on the Input.""" - if event.key == "ctrl+q": + if event.key == "ctrl+w": self.mainwindow.copy_to_clipboard(self.value) elif event.key == "ctrl+o": @@ -174,7 +174,7 @@ def on_key(self, event: events.Key) -> None: Textual event containing information on the key press. """ - if event.key == "ctrl+q": + if event.key == "ctrl+w": path_ = self.get_node_at_line(self.hover_line).data.path path_str = path_.as_posix() self.mainwindow.copy_to_clipboard(path_str) From 135a04206badb4fb81b053d3b63c2279b4f7704b Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:32:49 +0530 Subject: [PATCH 20/22] Update getting-started.md --- docs/source/pages/get_started/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/pages/get_started/getting-started.md b/docs/source/pages/get_started/getting-started.md index 5751c149a..87d89f228 100644 --- a/docs/source/pages/get_started/getting-started.md +++ b/docs/source/pages/get_started/getting-started.md @@ -163,7 +163,7 @@ if connecting via SSH. In this tutorial, we will set this next to the local path for convenience. -1) Copy the contents of the _local path_ input by clicking it, hovering over it and pressing `CTRL+Q` to copy. +1) Copy the contents of the _local path_ input by clicking it, hovering over it and pressing `CTRL+W` to copy. 2) Paste it into the _central path_ input with `CTRL+V` and change "local" to "central". ```{image} /_static/screenshots/tutorial-1-make-central-path-dark.png From 3479dbbcc7298a5f75f7ecc874d015b4f676a1a1 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 01:34:21 +0530 Subject: [PATCH 21/22] Update test_tui_directorytree.py --- tests/tests_tui/test_tui_directorytree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests_tui/test_tui_directorytree.py b/tests/tests_tui/test_tui_directorytree.py index 559a4485b..5b6f21b1b 100644 --- a/tests/tests_tui/test_tui_directorytree.py +++ b/tests/tests_tui/test_tui_directorytree.py @@ -134,7 +134,7 @@ async def test_create_folders_directorytree_clipboard( pilot, "#create_folders_directorytree", hover_line=2, - press_string="ctrl+q", + press_string="ctrl+w", ) pasted_path = pyperclip.paste() @@ -178,7 +178,7 @@ def mock_copy(_): pilot, "#create_folders_directorytree", hover_line=2, - press_string="ctrl+q", + press_string="ctrl+w", ) # Check that the error message is displayed. From 92382f818a492a125ed6cebfaf5b9e0b9c1cf298 Mon Sep 17 00:00:00 2001 From: AdityaGupta716 Date: Tue, 17 Feb 2026 02:06:30 +0530 Subject: [PATCH 22/22] Update custom_exceptions.py --- datashuttle/utils/custom_exceptions.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/datashuttle/utils/custom_exceptions.py b/datashuttle/utils/custom_exceptions.py index e2daebd76..05be4b6d0 100644 --- a/datashuttle/utils/custom_exceptions.py +++ b/datashuttle/utils/custom_exceptions.py @@ -1,10 +1,3 @@ -"""Custom exception classes for datashuttle. - -This module defines custom exceptions used throughout the datashuttle package -for specific error conditions. -""" - - class ConfigError(Exception): """Raise an error relating to a configuration problem."""