Selecting text, files or folders on a laptop without a mouse is a skill that saves time and simplifies your work. This is especially true for users who often work with documents, program or manage large amounts of data. But what if key Ctrl+A doesn't work, or do you need to select only part of the content? In this article we will look at all possible ways of highlighting Windows, macOS And Linux, including little-known combinations and nuances for different applications.
Many people mistakenly think that Ctrl+A - the only way to highlight everything. In fact, there are more than 10 alternative methods depending on the context: whether you're highlighting text in the browser, files in Explorer, or cells in Excel. We will also reveal secrets extended selection - for example, how to select only visible cells in a table or all occurrences of a word in a document. If you've ever encountered standard keyboard shortcuts not working, this article will help you figure out why and what to do.
Basic combinations for highlighting all content
Let's start with universal hotkeys that work in 90% of cases. They are suitable for highlighting text in documents, messages in instant messengers, files in Explorer, and even elements on web pages. The main rule: the combination must be performed in active window - if you pressed Ctrl+A in Explorer, and the cursor blinks in the browser text field, nothing will happen.
Here are the main combinations for different operating systems:
- 🪟 Windows:
Ctrl + A— selects everything in the current window (text, files, list items). Works in Word, Excel, Conductor, browsers. - 🍎 macOS:
Command (⌘) + A- analogCtrl+Afor devices Apple. Used in Pages, Finder, Safari. - 🐧 Linux (GNOME/KDE):
Ctrl + AorShift + Ctrl + A(on some distributions). In the terminal it may conflict with other commands. - 🌐 Browsers (Chrome, Firefox, Edge):
Ctrl+Awill highlight all text on the page, including hidden elements. To copy only visible text, use extensions like Copyfish.
It is important to consider the context: in Excel Ctrl+A will select the entire table, but if the cursor is inside a cell, only its contents. B Word the same combination will select the entire document, including headers and footers. If the keys do not work, check:
- 🔍 Is the window active? (click on it before the combination).
- 🔧 Are hot keys disabled in the program settings (for example, in AutoCAD or Photoshop).
- 🖥️ Does the combination conflict with the function keys (
Fn) on a laptop.
- Windows
- macOS
- Linux
- Other
Selecting Text Without a Mouse: Advanced Techniques
Sometimes you don't need to highlight all the content, but only part of it - for example, a paragraph, a sentence, or all occurrences of a particular word. For this there are advanced combinations, which work in most text editors.
Basic methods:
- 📝 Highlight by words:
Ctrl + Shift + →/←(Windows/Linux) orOption + Shift + →/←(macOS). Hold down the arrows to highlight multiple words. - 📄 Select to end/beginning of line:
Shift + End/Home(Windows/Linux) orShift + ⌘ + →/←(macOS). - 🔍 Find and highlight all occurrences: in VS Code or Sublime Text click
Ctrl + D(Windows/Linux) or⌘ + D(macOS) to highlight the current word, then repeat for the next occurrence. - 📑 Selecting a rectangular block: in Word or Excel pinch
Altand drag the cursor with the mouse (or useShift + arrowsafter turning on the mode).
In some editors (for example, Notepad++ or Atom) supported multiple selection - when you can edit several lines at the same time. To do this:
- Highlight the first word or line.
- Clamp
Ctrl(Windows/Linux) or⌘(macOS) and highlight the following passages. - Start typing - text will be inserted into all selected areas.
B Google Docs you can select all table cells by clicking on its upper left corner (when the arrow appears), and then use Ctrl+A to select all text in the document.
Selecting files and folders in Explorer
Working with files without a mouse requires knowledge of specific combinations. B Windows And macOS The allocation logic is different, and in Linux (for example, in Nautilus or Dolphin) there may be some nuances. Let's look at the main scenarios:
| Action | Windows | macOS (Finder) | Linux (GNOME/KDE) |
|---|---|---|---|
| Select all files | Ctrl + A |
⌘ + A |
Ctrl + A |
| Select multiple files in a row | Shift + ↓/↑ after selecting the first one |
Shift + ↓/↑ |
Shift + ↓/↑ |
| Select files selectively | Ctrl + click (mouse) or Ctrl + Space after navigation |
⌘ + click (mouse) or ⌘ + Space |
Ctrl + Space |
| Invert selection | Ctrl + Shift + * (numeric keypad) |
No standard combination | Ctrl + I (in some file managers) |
B Windows To navigate files without a mouse use:
- 📂
Tab— switching between panels and address bar. - 🔍
Alt + D— quick transition to the address bar. - ➕
Alt + P— show the preview panel.
On macOS in Finder useful to remember:
- 🖱️
⌘ + 1/2/3/4— switching between display modes (icons, list, columns, gallery). - 🔍
⌘ + F— search for files with the ability to highlight results. - 📁
⌘ + ↓/↑— open/return from a folder.
How to select files by mask in Windows?
B Conductor click Alt + D, enter part of the file name (for example, *.pdf) and press Enter. Then use Ctrl + Ato select all filtered files. This also works in Total Commander.
Problems and solutions: why Ctrl+A does not work
If the standard combination Ctrl+A does not work, the reasons can be different - from banal to technical. Here are the most common cases and how to resolve them:
- 🔌 Keyboard in mode
Fn Lock: On some laptops (eg Lenovo or HP) keysF1-F12by default they work as multimedia. ClickFn + Escor find the switch in the BIOS. - 🖱️ Focus on the wrong element: If you are in the browser, but the cursor is blinking in the address bar,
Ctrl+Awill highlight only its contents. ClickTabor click on the page. - 🛠️ Program conflict: some applications (for example, AutoHotkey or games) intercept hotkeys. Close them through
Ctrl + Shift + Esc(Task Manager). - 🔧 Accessibility Settings: in
Windows Settings → Accessibility → Keyboardcheck if the mode is enabledSticky keys.
On macOS similar problems can be solved like this:
- 🍏 Check it out
System Preferences → Keyboard → Keyboard Shortcuts- perhaps⌘+Areassigned. - 🔄 Reboot Finder:
Option + ⌘ + Esc→ select Finder →Restart.
⚠️ Attention: On laptops ASUS And Acer Sometimes the “game mode” of the keyboard is triggered, disabling some of the function keys. To return to default behavior, click Fn + F3/F4 (depending on the model).
Selection in specific programs: Excel, Photoshop, terminal
Some applications have unique highlighting mechanisms. Let's look at the most popular:
Microsoft Excel And Google Sheets
In tables Ctrl+A works differently:
- 📊 If the cursor is in a cell, its contents will be highlighted.
- 📊 If the cursor is outside the cell, the entire table will be selected (including empty rows/columns).
- 📊
Ctrl + Shift + *— will select only the area with data (ignoring empty cells). - 📊
Shift + Space- selects the entire line,Ctrl + Space- the entire column.
Adobe Photoshop And Illustrator
Here Ctrl+A will select the entire canvas, but there are some nuances:
- 🎨
Ctrl + D— deselect. - 🎨
Ctrl + Shift + I— invert the selection (select everything except the current area). - 🎨
Alt + clickon the layer thumbnail - will highlight its contents.
Terminal (Linux/macOS) And PowerShell
On the command line, selection works differently:
- 🐧
Ctrl + Shift + C/V- copy/paste (instead ofCtrl+C/V, which interrupt processes). - 🐧
Shift + ←/→— selecting text for copying. - 🐧B Vim:
ggVG— select the entire contents of the file.
Make sure the window is active (click on it)
Check your keyboard language (some combinations do not work in Cyrillic)
Disable conflicting programs (for example, AutoHotkey)
Try alternative combinations (for example, Ctrl + Shift + A)
-->
Alternative Methods: When the Keyboard Doesn't Help
If the hotkeys don't work or you need to highlight something non-standard (for example, elements on a web page), alternative methods will come in handy:
- 🌐 In the browser: press
F12(Developer Tools) thenCtrl + Shift + Cand click on the element. You can select its HTML code in the console. - 📁 In Windows Explorer: use
Alt + Dto go to the address bar, then enter*.*and pressEnter— all files that can be selected throughCtrl+A. - 🖼️ For screenshots: in Windows 10/11 click
Win + Shift + S, select the area with the mouse, then paste (Ctrl+V) into the document. - 📱 On touch laptops: Use gestures (such as holding your finger on the touchpad to highlight text).
For users with disabilities Windows There is special modes:
- 👁️
Left Alt + Left Shift + Print Screen— enable/disableHigh contrast(helps with highlighting text). - 🎧
Win + Ctrl + C- enableNarrator(voice control selection).
⚠️ Attention: On laptops with Touch Bar (For example, MacBook Pro) standard keys may be missing. To returnEsc,F1-F12or arrows, hold downFnor change the settings inSystem Preferences → Keyboard.
Create your own hotkeys for highlighting
If the standard combinations are inconvenient for you, you can reassign them. B Windows And macOS this is done through system settings or third-party utilities.
Windows: AutoHotkey
Using a free program AutoHotkey you can create a script for any combination. For example, to select everything by CapsLock + A:
#IfWinActive ahk_exe explorer.exe ; Только в ПроводникеCapsLock & a::Send ^a ; CapsLock + A = Ctrl+A
#IfWinActive
Save the file with the extension .ahk and run it.
macOS: Karabiner Elements
Utility Karabiner Elements allows you to reassign keys globally. For example, to ⌘+A worked like Ctrl+A in Windows-applications:
- Open Karabiner Elements.
- Go to
Complex Modifications → Add Rule. - Select
Change command+A to control+A.
Linux: xbindkeys
In distributions based on X11 (For example, Ubuntu) use xbindkeys. Create a file ~/.xbindkeysrc with the line:
"xte 'key A' 'Control_L'"
m:0x4 + c:38
This command will bind Ctrl+A to the key A when pressed with a modifier.
Reassigning hotkeys may conflict with system shortcuts. Always test new combinations in safe mode (for example, in notepad) before applying them globally.
FAQ: Frequently asked questions about keyboard selection
❓ Why doesn’t Ctrl+A highlight everything in some programs?
It depends on the context. For example, in Excel Ctrl+A will highlight only the current data area if the cursor is inside the table. B Photoshop the combination will select the entire canvas, but not the layers. Browsers may ignore content <iframe> or dynamically loaded elements.
❓ How to select everything in the Windows command line (CMD)?
In standard CMD hotkeys are disabled by default. To enable them:
- Right-click on the window title →
Properties. - Uncheck
Use previous console version. - Check
Mouse selectionAndQuick insert.
Now Ctrl+A will work, but to copy use Ctrl+Shift+C/V.
❓ Is it possible to select everything on the screen (including menus and panels)?
No, this is not possible using standard OS tools - hotkeys only work in the active window. However, you can:
- Use
PrtScn(Print Screen) to copy the screen to the clipboard. - B Windows 10/11 press
Win + Shift + Sto select an area. - B macOS use
⌘ + Shift + 4(select area) or⌘ + Shift + 3(full screen).
❓ How to highlight all occurrences of a word in a document?
In most editors:
- B Word:
Ctrl + F→ enter a word → pressSelect all(book icon). - B VS Code:
Ctrl + Shift + L(after highlighting the word). - B Google Docs:
Ctrl + F→ click on the down arrow next to the found word →Select all matches.
❓ Why do you need to press Fn for Ctrl+A on a laptop?
On compact laptops (for example, Netbook or Chromebook) keys F1-F12 can be combined with function buttons (brightness, volume). In this case:
- Click
Fn + Ctrl + A. - Or turn it off
Fn Lockin the BIOS (usually in theAdvanced → Function Key Behavior). - On MacBook check your keyboard settings in
System settings.