Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
fe80b84
Fix: Update keyboard shortcut tooltips for macOS compatibility (Fixes…
AdityaGupta716 Feb 7, 2026
034b2ec
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 7, 2026
e6f651a
Add docstring to custom_exceptions.py
AdityaGupta716 Feb 7, 2026
d77ab4f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 7, 2026
ca36583
Replacing ctrl c with ctrl w
AdityaGupta716 Feb 16, 2026
b875f03
Fix tooltip text for copy filepath shortcut
AdityaGupta716 Feb 16, 2026
7724340
docs: Replace CTRL+Q with CTRL+W in choose-a-terminal.md
AdityaGupta716 Feb 16, 2026
8910823
docs: Replace CTRL+Q with CTRL+W in create-folders.md
AdityaGupta716 Feb 16, 2026
527859b
fix: Replace CTRL+Q with CTRL+W in app.py help text
AdityaGupta716 Feb 16, 2026
2b64517
Update copy help notification in action_show_copy_help
AdityaGupta716 Feb 16, 2026
e86f60c
fix: Update copy shortcut to CTRL+C (with SHIFT) in tooltips
AdityaGupta716 Feb 16, 2026
a8ae6b9
fix: Update copy shortcut from CTRL+W to CTRL+C (with SHIFT) in choos…
AdityaGupta716 Feb 16, 2026
fcff138
fix: Update copy shortcut from CTRL+W to CTRL+C (with SHIFT) in creat…
AdityaGupta716 Feb 16, 2026
5a0d3df
Update app.py
AdityaGupta716 Feb 16, 2026
61d08db
Update tooltips.py
AdityaGupta716 Feb 16, 2026
ddbf5b9
Update choose-a-terminal.md
AdityaGupta716 Feb 16, 2026
45e1ed9
Update create-folders.md
AdityaGupta716 Feb 16, 2026
9b903df
Update create-folders.md
AdityaGupta716 Feb 16, 2026
33f2459
Update custom_widgets.py
AdityaGupta716 Feb 16, 2026
135a042
Update getting-started.md
AdityaGupta716 Feb 16, 2026
3479dbb
Update test_tui_directorytree.py
AdityaGupta716 Feb 16, 2026
92382f8
Update custom_exceptions.py
AdityaGupta716 Feb 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datashuttle/tui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions datashuttle/tui/custom_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions datashuttle/tui/tooltips.py
Original file line number Diff line number Diff line change
Expand Up @@ -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+Q : copy the full 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."
Expand Down Expand Up @@ -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+Q : copy the full 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."
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/get_started/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/user_guides/create-folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

\
Expand Down
4 changes: 2 additions & 2 deletions tests/tests_tui/test_tui_directorytree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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.
Expand Down