|
27933
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
Close tab
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
16.2
KB/s
11
KB/s
Files
Control Panel
Storage
App Center
Logs
Support
Task Manager
Music
Cloud Drives
Theater
Photos
Online Office
TextEdit
Virtual Machine
Downloads
DLNA
File Version Explorer
Security
Jellyfin-HT
SAN Manager
Vault
Snapshot
Comics
Sync & Backup
UGREEN AI
Recycle Bin
Task Center
Upload
Files (1)
Others
Pause all
Start all
Clear completed tasks
Delete all
Task
Progress
Status
Type
Walt Disney and other items
19% completed
1228/5472
28 MB/s
Copy
Control Panel
Search
Connection & Access
User Management
File Service
Device Connection
Domain/LDAP
Terminal
General
Hardware & Power
Time & Language
Network
Security
Indexing Service
Service
About
Update & Restore
Telnet
Enable
Enable
Port
23
Advanced settings
SSH
Enable
Enable
Port
22
Shut down automatically
1h later
2026-05-12 21:04 will automatically shut down
Advanced settings
Function description
Use a terminal to log in and manage your system. When enabling this function, it is recommended to set a strong password for the login account and enable
auto block
auto block
to enhance system security.
Apply...
|
Firefox
|
DXP4800PLUS-B5F8 — Personal
|
nas.lakylak.xyz/desktop/#/
|
27933
|
|
27953
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
Close tab
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
6.6
KB/s
5.6
KB/s
Files
Control Panel
Storage
App Center
Logs
Support
Task Manager
Music
Cloud Drives
Theater
Photos
Online Office
TextEdit
Virtual Machine
Downloads
DLNA
File Version Explorer
Security
Jellyfin-HT
SAN Manager
Vault
Snapshot
Comics
Sync & Backup
UGREEN AI
Recycle Bin
Task Center
Upload
Files (1)...
|
Firefox
|
DXP4800PLUS-B5F8 — Personal
|
nas.lakylak.xyz/desktop/#/
|
27953
|
|
27954
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
Close tab
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
6.6
KB/s
5.6
KB/s
Files
Control Panel
Storage
App Center
Logs
Support
Task Manager
Music
Cloud Drives
Theater
Photos
Online Office
TextEdit
Virtual Machine
Downloads
DLNA
File Version Explorer
Security
Jellyfin-HT
SAN Manager
Vault
Snapshot
Comics
Sync & Backup
UGREEN AI
Recycle Bin
Task Center
Upload
Files (1)
Others
Pause all
Start all
Clear completed tasks
Delete all
Task
Progress
Status
Type
Walt Disney and other items
20% completed
1262/5472
36 MB/s
Copy
...
|
Firefox
|
DXP4800PLUS-B5F8 — Personal
|
nas.lakylak.xyz/desktop/#/
|
27954
|
|
27955
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
Close tab
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
6.6
KB/s
5.6
KB/s
Files
Control Panel
Storage
App Center
Logs
Support
Task Manager
Music
Cloud Drives
Theater
Photos
Online Office
TextEdit
Virtual Machine
Downloads
DLNA
File Version Explorer
Security
Jellyfin-HT
SAN Manager
Vault
Snapshot
Comics
Sync & Backup
UGREEN AI
Recycle Bin
Task Center
Upload
Files (1)
Others
Pause all
Start all
Clear completed tasks
Delete all
Task
Progress
Status
Type
Walt Disney and other items
20% completed
1262/5472
36 MB/s
Copy
Control Panel
Search
Connection & Access
User Management
File Service
Device Connection
Domain/LDAP
Terminal
General
Hardware & Power
Time & Language
Network
Security
Indexing Service
Service
About
Update & Restore
Telnet
Enable
Enable
Port
23
Advanced settings
SSH
Enable
Enable
Port
22
Shut down automatically
1h later
2026-05-12 21:04 will automatically shut down
Advanced settings
Function description
Use a terminal to log in and manage your system. When enabling this function, it is recommended to set a strong password for the login account and enable
auto block
auto block
to enhance system security.
Apply...
|
Firefox
|
DXP4800PLUS-B5F8 — Personal
|
nas.lakylak.xyz/desktop/#/
|
27955
|
|
27966
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+...
|
Firefox
|
DXP4800PLUS-B5F8 — Personal
|
NULL
|
27966
|
|
27967
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line...
|
Firefox
|
DXP4800PLUS-B5F8 — Personal
|
NULL
|
27967
|
|
27968
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
Close tab
New Tab
New Tab
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
22°
C
New York City
Open menu
Mozilla Firefox
Search with Google or enter address
Search with Google or enter address
Inbox - [EMAIL] - Gmail
Inbox - [EMAIL] - Gmail
Open context menu for Inbox - [EMAIL] - Gmail
(172) YouTube
(172) YouTube
Open context menu for (172) YouTube
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
Open context menu for DXP4800PLUS-B5F8
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Open context menu for SQLite Web: db.sqlite
Table: transaction_imports - db - Adminer
Table: transaction_imports - db - Adminer
Open context menu for Table: transaction_imports - db - Adminer
All docs · AFFiNE
All docs · AFFiNE
Open context menu for All docs · AFFiNE
GitHub - screenpipe/screenpipe: Run agents that work based on what you do. 24/7 local screen & mic recording for the superintelligence era · GitHub
GitHub - screenpipe/screenpipe: Run agents that work based on what you do. 24/7 local screen & mic recording for the superintelligence era · GitHub
Open context menu for GitHub - screenpipe/screenpipe: Run agents that work based on what you do. 24/7 local screen & mic recording for the superintelligence era · GitHub
authentik
authentik
Open context menu for authentik
Customize
Customize...
|
Firefox
|
Personal — Mozilla Firefox
|
NULL
|
27968
|
|
27969
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
Close tab
New Tab
New Tab
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
22°
C
New York City
Open menu
Mozilla Firefox
Search with Google or enter address
Search with Google or enter address
Inbox - [EMAIL] - Gmail
Inbox - [EMAIL] - Gmail
Open context menu for Inbox - [EMAIL] - Gmail
(172) YouTube
(172) YouTube
Open context menu for (172) YouTube
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
Open context menu for DXP4800PLUS-B5F8
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Open context menu for SQLite Web: db.sqlite
Table: transaction_imports - db - Adminer
Table: transaction_imports - db - Adminer
Open context menu for Table: transaction_imports - db - Adminer
All docs · AFFiNE
All docs · AFFiNE
Open context menu for All docs · AFFiNE
GitHub - screenpipe/screenpipe: Run agents that work based on what you do. 24/7 local screen & mic recording for the superintelligence era · GitHub
GitHub - screenpipe/screenpipe: Run agents that work based on what you do. 24/7 local screen & mic recording for the superintelligence era · GitHub
Open context menu for GitHub - screenpipe/screenpipe: Run agents that work based on what you do. 24/7 local screen & mic recording for the superintelligence era · GitHub
authentik
authentik
Open context menu for authentik
Customize
Customize...
|
Firefox
|
Personal — Mozilla Firefox
|
NULL
|
27969
|
|
27970
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano mac keyboard - Google Search
nano mac keyboard - Google Search
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to main content
Skip to main content
Accessibility help
Accessibility help
Accessibility feedback
Accessibility feedback
Go to Google Home
nano mac keyboard
nano mac keyboard
Clear
Search by voice
Search by image
Search
Google apps
Google Account: Lukáš Koválik ([EMAIL])
AI Mode
AI Mode
All
All
Images
Images
Videos
Videos
Short videos
Short videos
News
News
Forums
Forums
More filters
More
Tools
Tools
Search Results
Search Results
Web results
Web results
nano keyboard shortcuts Gist https://gist.github.com › franz-josef-kaiser
nano keyboard shortcuts
nano keyboard shortcuts
Gist
https://gist.github.com
› franz-josef-kaiser
About this result
^
= Ctrl key M = Alt key ^G (F1
) Display this help text ^X (F2) Close the current file buffer / Exit from nano ^O (F3) Write the current file to disk
How to copy and paste selected text in nano on a Mac? Super User https://superuser.com › questions › how-to-copy-and-p...
How to copy and paste selected text in nano on a Mac?
How to copy and paste selected text in nano on a Mac?
Super User
https://superuser.com
› questions › how-to-copy-and-p...
About this result
May 24, 2015
—
I’m using nano in iTerm2, I can mark the text using ctrl+^ but I'm not able to copy and paste the text. I know that ctrl+k can be used cut the entire ...
5 answers
5 answers
·
Top answer:
Set the mark to start highlighting the text : Ctrl+6 or Ctrl+Shift+6 Copy the highlighted ...
How to toggle line number display in nano on a Mac?
How to toggle line number display in
nano
on a
Mac
?
2 answers
Apr 10, 2022
How do I select all text from a file with nano ...
How do I select all text from a file with
nano
...
14 answers
Oct 6, 2010
More results from superuser.com
More results from superuser.com
Nano commands for mac and other DEV Community https://dev.to › akash32755 › nano-commands-for-mac...
Nano commands for mac and other
Nano commands for mac and other
DEV Community
https://dev.to
› akash32755 › nano-commands-for-mac...
About this result
Mar 1, 2024
—
Ctrl + G : Display Nano's help menu
. · Ctrl + C : Display current line and column number. · Ctrl + R : Read another file into the current one.
nano editor on OS X - How to type M-U for undo? Stack Overflow 3 answers · 10 years ago
nano editor on OS X - How to type M-U for undo?
nano editor on OS X - How to type M-U for undo?
Stack Overflow
3 answers · 10 years ago
About this result
I am using nano 2.5.3 on OS X Yosemite, and I see commands at the bottom such as: CopyM-U Undo M-E Redo So far, I have not been able to figure out which ...
3 answers
3 answers
·
Top answer:
Meta (M) symbol is the Esc key in OSX. To undo a change in nano, press ESC and then U (i.e. ...
nano - Unix: what modifier key does "M-" refer to (e ...
nano
- Unix: what modifier key does "M-" refer to (e ...
3 answers
Oct 9, 2014
Keyboard shortcut to "Comment" a line in NANO?
Keyboard
shortcut to "Comment" a line in
NANO
?
3 answers
Aug 24, 2011
More results from stackoverflow.com
More results from stackoverflow.com
How to jump between words in nano using the option key? Reddit · r/MacOS 10+ comments · 2 years ago
How to jump between words in nano using the option key?
How to jump between words in nano using the option key?
Reddit · r/MacOS
10+ comments · 2 years ago
About this result
Hi, My MacBook has a german keyboard. How can I jump between words in the nano text editor using option + arrow left/right? It works everywhere else ...
15 answers
15 answers
·
Top answer:
I’m not using nano myself, but you can bind whatever key combination you like to ...
Does anybody else have this keyboard imprint on ...
Does anybody else have this
keyboard
imprint on ...
52 answers
Feb 19, 2026
How to use keyboard commands in Nano (^X, ^K, etc ...
How to use
keyboard
commands in
Nano
(^X, ^K, etc ...
5 answers
Sep 6, 2019
More results from www.reddit.com
More results from www.reddit.com
Overview of nano's shortcuts Text editor Nano https://www.nano-editor.org › dist › latest › cheatsheet
Overview of nano's shortcuts
Overview of nano's shortcuts
Text editor Nano
https://www.nano-editor.org
› dist › latest › cheatsheet
About this result
The editor's keystrokes and their functions ;
Ctrl+S · Save current file
; Ctrl+O · Offer to write file ("Save as") ; Ctrl+R · Insert a file into current one ; Ctrl+X ...
nano - UPPMAX Documentation UPPMAX Documentation https://docs.uppmax.uu.se › software › nano
nano - UPPMAX Documentation
nano - UPPMAX Documentation
UPPMAX Documentation
https://docs.uppmax.uu.se
› software › nano
About this result
The
keyboard
shortcuts are shown on-screen, where ^ denotes Ctrl and M the meta key. OS specifics: On Windows, Alt is the meta key; On
Mac
: in the Terminal.
Use command-line text editors in Terminal on Mac Apple Support https://support.apple.com › en-sa › guide › mac
Use command-line text editors in Terminal on Mac
Use command-line text editors in Terminal on Mac
Apple Support
https://support.apple.com
› en-sa › guide › mac
About this result
Nano nano is a simple command-line editor
. It's a good introduction to using a command-line editor because it includes easy-to-follow on-screen help. See ...
Nano Terminal mac | Learn Basic Nano text editor keyboard ... YouTube · CoinNerd 2.4K+ views · 5 years ago
Nano Terminal mac | Learn Basic Nano text editor keyboard ...
Nano Terminal mac | Learn Basic Nano text editor keyboard ...
YouTube · CoinNerd
2.4K+ views · 5 years ago
About this result
Nano Terminal mac | Learn Basic Nano text editor keyboard ... by CoinNerd on YouTube. Play on Google. 7:43
Learn everything or not everything but the most common uh short keyboard shortcuts you need to know to use the nano text editor.
3 key moments in this video
3 key moments in this video
nano Keyboard Shortcuts KeyCombiner https://keycombiner.com › collections › nano
nano Keyboard Shortcuts
nano Keyboard Shortcuts
KeyCombiner
https://keycombiner.com
› collections › nano
About this result
nano logo nano Key Combinations
; Start a replacing session, alt + r ; Deletion ; Delete character before cursor, ctrl + h ; Delete character under cursor, ctrl + d.
People also search for
People also search for
What is M-6 in nano Mac
What is M-6 in
nano Mac
Nano shortcuts Mac
Nano
shortcuts
Mac
Nano mac keyboard command line
Nano mac keyboard
command line
Nano mac keyboard commands
Nano mac keyboard
commands
Nano mac keyboard not working
Nano mac keyboard
not working
How to copy text in nano Mac
How to copy text in
nano Mac
How to undo in nano mac
How to undo in
nano mac
How to copy in nano
How to copy in
nano
Page navigation
Page navigation
1
Page 2
2
Page 3
3
Page 4
4
Page 5
5
Page 6
6
Page 7
7
Page 8
8
Page 9
9
Page 10
10
Next
Next
Next
Footer links
Footer links
Results are personalised
-
Try without personalisation
Try without personalisation
Bulgaria
Manastirski Livadi, Sofia - Based on your places (Home)
Manastirski Livadi, Sofia
-
Based on your places (Home)
-
Update location
Help
Help
Send feedback
Send feedback
Privacy
Privacy
Terms
Terms...
|
Firefox
|
nano mac keyboard - Google Search — Personal
|
NULL
|
27970
|
|
27971
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano mac keyboard - Google Search
nano mac keyboard - Google Search
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to main content
Skip to main content
Accessibility help
Accessibility help
Accessibility feedback
Accessibility feedback
Go to Google Home
nano mac keyboard
nano mac keyboard
Clear
Search by voice
Search by image
Search
Google apps
Google Account: Lukáš Koválik ([EMAIL])
AI Mode
AI Mode
All
All
Images
Images
Videos
Videos
Short videos
Short videos
News
News
Forums
Forums
More filters
More
Tools
Tools
Search Results
Search Results
Web results
Web results
nano keyboard shortcuts Gist https://gist.github.com › franz-josef-kaiser
nano keyboard shortcuts
nano keyboard shortcuts
Gist
https://gist.github.com
› franz-josef-kaiser
About this result
^
= Ctrl key M = Alt key ^G (F1
) Display this help text ^X (F2) Close the current file buffer / Exit from nano ^O (F3) Write the current file to disk
How to copy and paste selected text in nano on a Mac? Super User https://superuser.com › questions › how-to-copy-and-p...
How to copy and paste selected text in nano on a Mac?
How to copy and paste selected text in nano on a Mac?
Super User
https://superuser.com
› questions › how-to-copy-and-p...
About this result
May 24, 2015
—
I’m using nano in iTerm2, I can mark the text using ctrl+^ but I'm not able to copy and paste the text. I know that ctrl+k can be used cut the entire ...
5 answers
5 answers
·
Top answer:
Set the mark to start highlighting the text : Ctrl+6 or Ctrl+Shift+6 Copy the highlighted ...
How to toggle line number display in nano on a Mac?
How to toggle line number display in
nano
on a
Mac
?
2 answers
Apr 10, 2022
How do I select all text from a file with nano ...
How do I select all text from a file with
nano
...
14 answers
Oct 6, 2010
More results from superuser.com
More results from superuser.com
Nano commands for mac and other DEV Community https://dev.to › akash32755 › nano-commands-for-mac...
Nano commands for mac and other
Nano commands for mac and other
DEV Community
https://dev.to
› akash32755 › nano-commands-for-mac...
About this result
Mar 1, 2024
—
Ctrl + G : Display Nano's help menu
. · Ctrl + C : Display current line and column number. · Ctrl + R : Read another file into the current one.
nano editor on OS X - How to type M-U for undo? Stack Overflow 3 answers · 10 years ago
nano editor on OS X - How to type M-U for undo?
nano editor on OS X - How to type M-U for undo?
Stack Overflow
3 answers · 10 years ago
About this result
I am using nano 2.5.3 on OS X Yosemite, and I see commands at the bottom such as: CopyM-U Undo M-E Redo So far, I have not been able to figure out which ...
3 answers
3 answers
·
Top answer:
Meta (M) symbol is the Esc key in OSX. To undo a change in nano, press ESC and then U (i.e. ...
nano - Unix: what modifier key does "M-" refer to (e ...
nano
- Unix: what modifier key does "M-" refer to (e ...
3 answers
Oct 9, 2014
Keyboard shortcut to "Comment" a line in NANO?
Keyboard
shortcut to "Comment" a line in
NANO
?
3 answers
Aug 24, 2011
More results from stackoverflow.com
More results from stackoverflow.com
How to jump between words in nano using the option key? Reddit · r/MacOS 10+ comments · 2 years ago
How to jump between words in nano using the option key?
How to jump between words in nano using the option key?
Reddit · r/MacOS
10+ comments · 2 years ago
About this result
Hi, My MacBook has a german keyboard. How can I jump between words in the nano text editor using option + arrow left/right? It works everywhere else ...
15 answers
15 answers
·
Top answer:
I’m not using nano myself, but you can bind whatever key combination you like to ...
Does anybody else have this keyboard imprint on ...
Does anybody else have this
keyboard
imprint on ...
52 answers
Feb 19, 2026
How to use keyboard commands in Nano (^X, ^K, etc ...
How to use
keyboard
commands in
Nano
(^X, ^K, etc ...
5 answers
Sep 6, 2019
More results from www.reddit.com
More results from www.reddit.com...
|
Firefox
|
nano mac keyboard - Google Search — Personal
|
NULL
|
27971
|
|
27972
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano mac keyboard - Google Search
nano mac keyboard - Google Search
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to main content
Skip to main content
Accessibility help
Accessibility help
Accessibility feedback
Accessibility feedback
Go to Google Home
nano mac keyboard
nano mac keyboard
Clear
Search by voice
Search by image
Search
Google apps
Google Account: Lukáš Koválik ([EMAIL])
AI Mode
AI Mode
All
All
Images
Images
Videos
Videos
Short videos
Short videos
News
News
Forums
Forums
More filters
More
Tools
Tools
Search Results
Search Results
Web results
Web results
nano keyboard shortcuts Gist https://gist.github.com › franz-josef-kaiser
nano keyboard shortcuts
nano keyboard shortcuts
Gist
https://gist.github.com
› franz-josef-kaiser
About this result
^
= Ctrl key M = Alt key ^G (F1
) Display this help text ^X (F2) Close the current file buffer / Exit from nano ^O (F3) Write the current file to disk
How to copy and paste selected text in nano on a Mac? Super User https://superuser.com › questions › how-to-copy-and-p...
How to copy and paste selected text in nano on a Mac?
How to copy and paste selected text in nano on a Mac?
Super User
https://superuser.com
› questions › how-to-copy-and-p...
About this result
May 24, 2015
—
I’m using nano in iTerm2, I can mark the text using ctrl+^ but I'm not able to copy and paste the text. I know that ctrl+k can be used cut the entire ...
5 answers
5 answers
·
Top answer:
Set the mark to start highlighting the text : Ctrl+6 or Ctrl+Shift+6 Copy the highlighted ...
How to toggle line number display in nano on a Mac?
How to toggle line number display in
nano
on a
Mac
?
2 answers
Apr 10, 2022
How do I select all text from a file with nano ...
How do I select all text from a file with
nano
...
14 answers
Oct 6, 2010
More results from superuser.com
More results from superuser.com
Nano commands for mac and other DEV Community https://dev.to › akash32755 › nano-commands-for-mac...
Nano commands for mac and other
Nano commands for mac and other
DEV Community
https://dev.to
› akash32755 › nano-commands-for-mac...
About this result
Mar 1, 2024
—
Ctrl + G : Display Nano's help menu
. · Ctrl + C : Display current line and column number. · Ctrl + R : Read another file into the current one.
nano editor on OS X - How to type M-U for undo? Stack Overflow 3 answers · 10 years ago
nano editor on OS X - How to type M-U for undo?
nano editor on OS X - How to type M-U for undo?
Stack Overflow
3 answers · 10 years ago
About this result
I am using nano 2.5.3 on OS X Yosemite, and I see commands at the bottom such as: CopyM-U Undo M-E Redo So far, I have not been able to figure out which ...
3 answers
3 answers
·
Top answer:
Meta (M) symbol is the Esc key in OSX. To undo a change in nano, press ESC and then U (i.e. ...
nano - Unix: what modifier key does "M-" refer to (e ...
nano
- Unix: what modifier key does "M-" refer to (e ...
3 answers
Oct 9, 2014
Keyboard shortcut to "Comment" a line in NANO?
Keyboard
shortcut to "Comment" a line in
NANO
?
3 answers
Aug 24, 2011
More results from stackoverflow.com
More results from stackoverflow.com
How to jump between words in nano using the option key? Reddit · r/MacOS 10+ comments · 2 years ago
How to jump between words in nano using the option key?
How to jump between words in nano using the option key?
Reddit · r/MacOS
10+ comments · 2 years ago
About this result
Hi, My MacBook has a german keyboard. How can I jump between words in the nano text editor using option + arrow left/right? It works everywhere else ...
15 answers
15 answers
·
Top answer:
I’m not using nano myself, but you can bind whatever key combination you like to ...
Does anybody else have this keyboard imprint on ...
Does anybody else have this
keyboard
imprint on ...
52 answers
Feb 19, 2026
How to use keyboard commands in Nano (^X, ^K, etc ...
How to use
keyboard
commands in
Nano
(^X, ^K, etc ...
5 answers
Sep 6, 2019
More results from www.reddit.com
More results from www.reddit.com
Overview of nano's shortcuts Text editor Nano https://www.nano-editor.org › dist › latest › cheatsheet
Overview of nano's shortcuts
Overview of nano's shortcuts
Text editor Nano
https://www.nano-editor.org
› dist › latest › cheatsheet
About this result
The editor's keystrokes and their functions ;
Ctrl+S · Save current file
; Ctrl+O · Offer to write file ("Save as") ; Ctrl+R · Insert a file into current one ; Ctrl+X ...
nano - UPPMAX Documentation UPPMAX Documentation https://docs.uppmax.uu.se › software › nano
nano - UPPMAX Documentation
nano - UPPMAX Documentation
UPPMAX Documentation
https://docs.uppmax.uu.se
› software › nano
About this result
The
keyboard
shortcuts are shown on-screen, where ^ denotes Ctrl and M the meta key. OS specifics: On Windows, Alt is the meta key; On
Mac
: in the Terminal.
Use command-line text editors in Terminal on Mac Apple Support https://support.apple.com › en-sa › guide › mac
Use command-line text editors in Terminal on Mac...
|
Firefox
|
nano mac keyboard - Google Search — Personal
|
NULL
|
27972
|
|
27973
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27973
|
|
27978
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27978
|
|
27979
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27979
|
|
27980
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27980
|
|
27981
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Image preview
Remove file CleanShot 2026-05-12 at [EMAIL]
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27981
|
|
27982
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Image preview
Remove file CleanShot 2026-05-12 at [EMAIL]
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27982
|
|
27983
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Image preview
Remove file CleanShot 2026-05-12 at [EMAIL]
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27983
|
|
27984
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
Edit
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Redo
Share and export
Copy
Show more options
Image preview
Remove file CleanShot 2026-05-12 at [EMAIL]
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27984
|
|
27985
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27985
|
|
27986
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27986
|
|
27998
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27998
|
|
27999
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
27999
|
|
28000
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28000
|
|
28001
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28001
|
|
28002
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28002
|
|
28003
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28003
|
|
28004
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28004
|
|
28005
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28005
|
|
28006
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28006
|
|
28010
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28010
|
|
28011
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28011
|
|
28012
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28012
|
|
28013
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28013
|
|
28014
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Open Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28014
|
|
28015
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Open Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28015
|
|
28016
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
Temporary chat
PLUS
PLUS
Conversation with Gemini
Conversation with Gemini
Gemini for Mac is here
Gemini for Mac is here
Bring up Gemini from anywhere, share what you're working on and get instant help.
Not now
Not now
Get app
Get app
Hi Lukáš
Where should we start?
Where should we start?
🖼️ Create image, button, tap to use tool
🖼️ Create image
🎸 Create music, button, tap to use tool
🎸 Create music
Boost my day, button, tap to use tool
Boost my day
Help me learn, button, tap to use tool
Help me learn
Write anything, button, tap to use tool
Write anything
Create a video, button, tap to use tool
Create a video
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28016
|
|
28017
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
Temporary chat
PLUS
PLUS
Conversation with Gemini
Conversation with Gemini
Gemini for Mac is here
Gemini for Mac is here
Bring up Gemini from anywhere, share what you're working on and get instant help.
Not now
Not now
Get app
Get app
Hi Lukáš
Where should we start?
Where should we start?
🖼️ Create image, button, tap to use tool
🖼️ Create image
🎸 Create music, button, tap to use tool
🎸 Create music
Boost my day, button, tap to use tool
Boost my day
Help me learn, button, tap to use tool
Help me learn
Write anything, button, tap to use tool
Write anything
Create a video, button, tap to use tool
Create a video
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28017
|
|
28018
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
Temporary chat
PLUS
PLUS
Close menu
Search for chats
Search for chats
New chat
New chat
My stuff
My stuff
Gems
Gems
Career guide
Career guide
More options for 'Career guide' Gem
Chats
Chats
Nano: Delete All and Jump To Line
Nano: Delete All and Jump To Line
More options for Nano: Delete All and Jump To Line
Ugreen NAS Btrfs Storage Setup
Ugreen NAS Btrfs Storage Setup
More options for Ugreen NAS Btrfs Storage Setup
Donating Leftover Diapers in Sofia
Donating Leftover Diapers in Sofia
More options for Donating Leftover Diapers in Sofia
I have ugreen nasynx 4800 plus. I have raid one with 2 6tb drives. I added two more now I have 4 6tb drives. How to change raid. How long will that take. Is it even possible? There are data I don't want to loose
I have ugreen nasynx 4800 plus. I have raid one with 2 6tb drives. I added two more now I have 4 6tb drives. How to change raid. How long will that take. Is it even possible? There are data I don't want to loose
More options for I have ugreen nasynx 4800 plus. I have raid one with 2 6tb drives. I added two more now I have 4 6tb drives. How to change raid. How long will that take. Is it even possible? There are data I don't want to loose
Clear Nano File Contents
Clear Nano File Contents
Activity
Activity
Settings and help
Settings and help
Sofia, Bulgaria
Based on your places (home)
Update location
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28018
|
|
28019
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
Temporary chat
PLUS
PLUS
Close menu
Search for chats
Search for chats
New chat
New chat
My stuff
My stuff
Gems
Gems
Career guide
Career guide
More options for 'Career guide' Gem
Chats
Chats
Nano: Delete All and Jump To Line
Nano: Delete All and Jump To Line
More options for Nano: Delete All and Jump To Line
Ugreen NAS Btrfs Storage Setup
Ugreen NAS Btrfs Storage Setup
More options for Ugreen NAS Btrfs Storage Setup
Activity
Activity
Settings and help
Settings and help
Sofia, Bulgaria
Based on your places (home)
Update location
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28019
|
|
28024
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28024
|
|
28025
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28025
|
|
28026
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="[URL_WITH_CREDENTIALS]
Show options
pamir-s commented on Apr 2, 2019
pamir-s
pamir-s
commented
on Apr 2, 2019
on Apr 2, 2019
very useful, gives extra power.
Though most prefer Vi, but without a backup text editor like nano, things are always guaranteed to work out.
@stonecorleone
Show options
stonecorleone commented on Jul 5, 2020
stonecorleone
stonecorleone
commented
on Jul 5, 2020
on Jul 5, 2020
What is M-W in mac?
@franz-josef-kaiser
Show options
Author
franz-josef-kaiser commented on Jul 6, 2020
franz-josef-kaiser
franz-josef-kaiser
commented
on Jul 6, 2020
on Jul 6, 2020
@stonecorleone
@stonecorleone
Option + W.
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
What is M-W in mac?
Did you ever find out? I'm trying to figure this out
@aslugo
Show options
aslugo commented on Nov 23, 2022
aslugo
aslugo
commented
on Nov 23, 2022
on Nov 23, 2022
@stonecorleone
@stonecorleone
Option + W.
Option + W results in ^W "Where is"
I think
@stonecorleone
@stonecorleone
is asking for "Next" which is M-W, not ^W
@adrianmihalko
Show options
adrianmihalko commented on Dec 29, 2022
adrianmihalko
adrianmihalko
commented
on Dec 29, 2022
on Dec 29, 2022
M-W is Vim/Emacs notation, where M means Meta (a key present on MIT and Sun keyboards).
On IBM-compatible keyboards – depending on, e.g., your window manager and terminal emulator – you can invoke the shortcut with Alt + W (hold, tap), Win + W (hold, tap) or
Esc, W (tap, tap)
.
@samal-rasmussen
Show options
samal-rasmussen commented on Jan 26, 2024
samal-rasmussen
samal-rasmussen
commented
on Jan 26, 2024
on Jan 26, 2024
M is the escape key 🤷
@AlienQbw
Show options
AlienQbw commented on Jul 30, 2024
AlienQbw
AlienQbw
commented
on Jul 30, 2024
on Jul 30, 2024
If M (option) doesn't work for you on mac, just go to terminal preferences and try to find something like "Use Option as Meta key" like
@adrianmihalko
@adrianmihalko
mentions.
Sign up for free
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Sign in to comment
Footer
Footer
GitHub Homepage
© 2026 GitHub, Inc.
Footer navigation
Footer navigation
Terms
Terms
Privacy
Privacy
Security
Security
Status
Status
Community
Community
Docs
Docs
Contact
Contact
Manage cookies
Do not share my personal information...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28026
|
|
28027
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Copied to clipboard
Summarize page
Summarize page
Skip to content
Skip to content...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28027
|
|
28028
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28028
|
|
28038
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28038
|
|
28039
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28039
|
|
28040
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28040
|
|
28041
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28041
|
|
28042
|
Screenpipe — Archive
Screenpipe — Archive
All docs Screenpipe — Archive
Screenpipe — Archive
All docs · AFFiNE
All docs · AFFiNE
DXP4800PLUS-B5F8
DXP4800PLUS-B5F8
New Tab
New Tab
Screenpipe — Archive
Screenpipe — Archive
SQLite Web: archive.db
SQLite Web: archive.db
SQLite Web: db.sqlite
SQLite Web: db.sqlite
Claude
Claude
Manage extra usage for paid Claude plans | Claude Help Center
Manage extra usage for paid Claude plans | Claude Help Center
New Tab
New Tab
2 TB in 25 MB/s - Google Search
2 TB in 25 MB/s - Google Search
New Tab
New Tab
nano keyboard shortcuts · GitHub
nano keyboard shortcuts · GitHub
Close tab
New Tab
Customize sidebar
Close Google Gemini (⌃X)
Open history (⇧⌘H)
Open bookmarks (⌘B)
Bitwarden
AI Chat settings
Close
Google Account: Lukáš Koválik ([EMAIL])
Main menu
New chat
Gemini
New chat
Share conversation
Open menu for conversation actions.
Conversation with Gemini
Conversation with Gemini
Copy prompt
You said nano how to delete all. How to jump to line
You said
nano how to delete all. How to jump to line
Listen
Show thinking
Gemini said
Gemini said
Here is how to perform both of those actions in the
nano
text editor.
How to Delete All Text
How to Delete All Text
Nano does not have a single "clear all" button, so you have to highlight and cut the text instead.
Follow these exact steps:
Go to the top of the file:
Press
+
(backslash).
Mac users: Use
instead of
.
Start highlighting:
Press
+
(or
+
). You will see a "Mark Set" message at the bottom.
Go to the bottom of the file:
Press
+
(forward slash). This highlights everything.
Cut (delete) the text:
Press
+
.
How to Jump to a Specific Line
How to Jump to a Specific Line
To quickly navigate to a line number:
Open the "Go To Line" prompt:
Press
+
(Control and Underscore).
Enter the number:
Type the line number you want to jump to.
Confirm:
Press
.
(Alternative shortcut: Depending on your version of nano, pressing
Alt
+
G
will also bring up the line number prompt).
Good response
Bad response
Share and export
Copy
Show more options
Show the uploaded image in a Lightbox
Listen
Show thinking
Gemini said
Gemini said
Ah, it looks like the version of
nano
you are using doesn't have that shortcut mapped, or your terminal is having trouble passing the exact keystroke combination for the underscore. Shortcuts involving symbols can sometimes get tangled depending on your terminal emulator or keyboard layout.
Here are the two most reliable fallback methods to jump to a line:
Method 1: The Universal "Where Is" Trick (Recommended)
Method 1: The Universal "Where Is" Trick (Recommended)
Because this relies only on standard letter keys, it works on almost every system and keyboard without modifier-key conflicts:
Press
+
(This opens the "Where Is" search prompt at the bottom).
Press
+
(This immediately switches the prompt to "Go To Line").
Type your line number and press
.
Method 2: The Alt Shortcut
Method 2: The Alt Shortcut
Depending on your configuration, this is often the default secondary shortcut:
Press
+
.
Type your line number and press
.
Good response
Bad response
Share and export
Copy
Show more options
Copy prompt
Edit
You said should I update nane
You said
should I update nane
Listen
Show thinking
Gemini said
Gemini said
You certainly can, but
updating
nano
likely won't fix that specific shortcut issue.
The
Ctrl
+
_
shortcut to jump to a line has been standard in
nano
for over a decade. When you see "Unknown Command" for a core shortcut like that, it almost always means your terminal emulator or keyboard layout is sending the wrong character code.
This happens frequently on compact 75% mechanical keyboards, where combining
Ctrl
,
Shift
, and the dash key to generate the underscore can sometimes fail to register correctly, especially if you are working over SSH on a home lab server or NAS.
However, there are still good reasons to update
nano
if you are running an older version.
Why You Might Want to Update Anyway
Why You Might Want to Update Anyway
If your version is older than 4.0 (which is common on some older Debian/Ubuntu LTS servers or minimal Docker containers), updating will give you some excellent quality-of-life improvements for backend web development and server management:
Visible Line Numbers:
Modern versions allow you to turn on a persistent line number column on the left (using
+
or adding
to your
).
Better Syntax Highlighting:
Newer versions have much better out-of-the-box color coding for Python, PHP, shell scripts, and configuration files.
Smooth Scrolling:
Instead of jumping a whole page at a time, newer versions scroll line-by-line, which makes reading code much easier.
How to Check Your Version
How to Check Your Version
Run this command in your terminal:
Bash
Download code
Copy code
nano --version
If you are on version 4.0 or newer:
You are in great shape. The shortcut issue is definitely a terminal/keyboard quirk, and you should stick to the
+
then
+
workaround.
If you are below version 4.0:
It is worth running an
(or your system's equivalent) to get the newer features!
Good response
Bad response
Redo
Share and export
Copy
Show more options
Ask Gemini
Ask Gemini
Open upload file menu
Tools
Open mode picker
Pro
Microphone
Send message
Gemini is AI and can make mistakes, including about people.
Your privacy and Gemini Opens in a new window
Your privacy and Gemini
Opens in a new window
Summarize page
Summarize page
Skip to content
Skip to content
Gist Homepage
Search Gists
Search Gists
Search Gists
All gists
All gists
Back to GitHub
Back to GitHub
Sign in
Sign in
Sign up
Sign up
Instantly share code, notes, and snippets.
@franz-josef-kaiser
franz-josef-kaiser / nano-shorts.md
franz-josef-kaiser
franz-josef-kaiser
/
nano-shorts.md
nano-shorts.md
Last active
10 months ago
You must be signed in to star a gist
Star
(
49
)
You must be signed in to fork a gist
Fork
(
20
)
Code
Code
Revisions 3
Revisions
3
Stars 49
Stars
49
Forks 20
Forks
20
Embed
Embed
Clone this repository at <script src="https://gist.github.com/franz-josef-kaiser/43c045190356b0d5778c.js"></script>
<script src="https://gist.github.com/franz-josef-kaiser/43c045190356b0d5778c.js"></script>
Copy
Save franz-josef-kaiser/43c045190356b0d5778c to your computer and use it in GitHub Desktop.
Download ZIP
Download ZIP
nano keyboard shortcuts
Raw
Raw
nano-shorts.md
nano-shorts.md
^
=
Ctrl
key...
|
Firefox
|
nano keyboard shortcuts · GitHub — Personal
|
gist.github.com/franz-josef-kaiser/43c045190356b0d gist.github.com/franz-josef-kaiser/43c045190356b0d5778c...
|
28042
|