基本命令剪切(Cut)、复制(Copy,)和粘贴在任何(Paste)操作系统(operating system)中都是必不可少的。在Mac上,这些命令与(Mac)Windows中的命令没有太大区别,尤其是在涉及文本时。本指南说明了您可以在Mac上(Mac and everything)剪切(Cut)、复制(Copy,)和粘贴(Paste)文本的所有不同方式,以及有关 macOS 上这些命令的所有信息:
注意:(NOTE:)本指南涵盖 macOS Catalina或更新版本。我们指南中共享的功能可能不适用于旧版本的 macOS。要检查您的版本,请阅读我有什么版本的 macOS?
首先要做的事:在(First)Mac上选择文本
如果您尝试复制(Copy)或剪切(Cut)文本,您需要做的第一件事就是选择它。选择文本最直接的方法是在选择的开头单击并按住,拖动光标直到选择所需的整个文本,然后松开鼠标按钮(mouse button)。
在选择文本时,macOS 提供了很多选项,其中许多选项可以让您的生活更轻松,我们在Mac上选择文本的完整指南中涵盖了所有这些选项。
1. 如何使用键盘快捷键剪切、复制(Copy)和粘贴(Paste)文本
一些用户认为键盘快捷键是剪切(Cut)、复制(Copy)和粘贴(Paste)文本的最快方式。如果您有Windows 背景(Windows background),请知道,在 macOS上,您键盘上的Command (⌘)键会替换(Command (⌘))Windows的Ctrl键以实现大多数键盘快捷键。
您将获得以下快捷方式:
-
命令 (⌘) - X(Command (⌘) - X)剪切选定的文本并将其保存在剪贴板中。
-
命令 (⌘) - C(Command (⌘) - C)复制选定的文本并将其保存在剪贴板中。
-
命令 (⌘) - V(Command (⌘) - V)将剪贴板中的文本粘贴到当前文档中光标所在的位置。
提示:(TIP:)虽然本节中的复制(Copy)和粘贴快捷方式也可用于文件和文件夹,但当您尝试(Paste)剪切(Cut)时,情况就大不相同了。要了解更多信息,请阅读在Mac上(Mac)剪切(Cut)、复制(Copy)和粘贴(Paste)文件和文件夹的5 种方法。
2.如何使用右键菜单剪切、复制(Copy)和粘贴文本(Paste text)
如果您倾向于使用鼠标进行文本选择,则可以轻松访问右键菜单。右键单击您的选择会打开一个上下文菜单,您可以在其中找到Cut、Copy和Paste分组在各自的部分中。
3. 如何使用应用程序的编辑菜单剪切、(Edit menu)复制(Copy)和粘贴文本(Paste text)
虽然Notes和Pages是macOS 上用于处理文本的默认应用程序,但大多数文本编辑器都带有一个(default apps)编辑(Edit)菜单。单击编辑(Edit)打开编辑器,您可以轻松使用剪切(Cut)、复制(Copy)和粘贴(Paste)命令。
4. 如何使用鼠标剪切、复制(Copy)和粘贴文本(Paste text)
在 macOS 上,您可以使用鼠标在同一个文档中剪切、复制和粘贴文本。(paste text)
要剪切(Cut),请通过单击并按住鼠标按钮(mouse button)来抓取选定的文本,然后将其拖放到您想要粘贴的位置。
要复制(Copy)选定的文本,请以相同的方式抓取选定内容,但在将其拖放到您想要粘贴的位置之前按键盘上的Option键。(Option)鼠标指针(mouse pointer)旁边会出现一个加号 (+) 图标,表示您正在添加内容而不是移动它。松开鼠标按钮(mouse button),您可以看到文本被复制到您选择的位置。
提示:(TIP:)您还可以使用鼠标将文本从一个文档复制(Copy)和粘贴(Paste)到另一个文档,甚至可以跨不同的应用程序。首先(First),确保两个文档都在您的屏幕上打开,抓住您的选择,然后将其拖放到目标位置。加号会短暂出现,表示正在添加新内容。
5. 如何使用Kill 和 Yank 键盘快捷键(Kill and Yank keyboard shortcuts)剪切和粘贴文本(Cut and Paste text)
在原生macOS 应用程序(macOS apps)中,您还可以使用Kill和Yank进行剪切和粘贴。这些命令的功能几乎与Cut(Cut)和Paste完全相同,但带有自己的剪贴板。这意味着您可以使用它们来存储第二个文本选择(text selection),而不会覆盖您已经使用我们上面已经说明的方法剪切或复制的信息。
使用键盘快捷键Control - K删除文本。如果您已经选择了一些文本,则此快捷方式就像Cut一样,并且您的文本被删除。但是,如果您在不选择任何文本的情况下使用此快捷方式,则会删除光标和段落末尾之间的文本。
使用键盘快捷键Control - Y将您删除的文本粘贴到另一个位置。
Kill和Yank并不是那么有名,这很遗憾,因为它们的辅助剪贴板可以为您节省大量处理文本的时间。
奖励:找出剪贴板中当前的文本
如果您使用文本,通常需要剪切、复制和粘贴大量内容,这一切都会变得混乱。如果您不记得上次剪切或复制的文本,或者您想检查您的选择是否正确,您可以随时打开剪贴板查看其中的内容。在Finder的编辑(Edit)菜单中,单击显示剪贴板(Show Clipboard)。
剪贴板打开,显示您上次剪切或复制的文本——在我们的例子中,是我们在本教程中使用的诗歌的标题。
如何剪切、复制和粘贴?
当我们需要移动文本时,我们主要使用Cut、Copy和Paste键盘快捷键。(Paste)然而,Kill和Yank也非常有用,因为我们喜欢拥有第二个剪贴板。你呢?你用什么来剪切(Cut)、复制(Copy)和粘贴(Paste)文本?您是否(Did)从本教程中学到了任何可能从现在开始使用的新内容?在下面发表评论(Comment),让我们讨论。
5 ways to Cut, Copy, and Paste text on a Mac
The basic commands Cut, Copy, and Paste are essential in any operating system. On a Mac, these commands are not that different from the ones in Windows, especially when it comes to text. This guide illustrates all the different ways in which you can Cut, Copy, and Paste text on a Mac and everything there is to know about these commands on macOS:
NOTE: This guide covers macOS Catalina or newer. The features shared in our guide may not work on older versions of macOS. To check your version, read What version of macOS do I have?
First things first: Selecting text on a Mac
The first thing you need to do if you are trying to either Copy or Cut text is to select it. The most straightforward way to select text is to click and hold at the beginning of your selection, drag the cursor until the entire text you need is selected, and then release the mouse button.
macOS offers a lot of options when it comes to selecting text, many of which can make your life easier, and we cover all of them in The complete guide to selecting text on your Mac.
1. How to Cut, Copy, and Paste text using keyboard shortcuts
Some users consider keyboard shortcuts to be the fastest way to Cut, Copy, and Paste text. If you have a Windows background, know that, on macOS, the Command (⌘) key on your keyboard replaces Windows' Ctrl key for most keyboard shortcuts.
You get the following shortcuts:
-
Command (⌘) - X to cut selected text and save it in your clipboard.
-
Command (⌘) - C to copy selected text and save it in your clipboard.
-
Command (⌘) - V to paste the text from your clipboard into the current document, at your cursor's position.
TIP: While the Copy and Paste shortcuts in this section can also be used for files and folders, things are quite different when you try to Cut. To learn more, read 5 ways to Cut, Copy, and Paste files and folders on a Mac.
2. How to Cut, Copy, and Paste text using the right-click menu
If you tend to use your mouse for text selections, the right-click menu is easily accessible. Right-clicking on your selection opens a contextual menu, where you can find Cut, Copy, and Paste grouped in their own section.
3. How to Cut, Copy, and Paste text using an app's Edit menu
While Notes and Pages are the default apps used for handling texts on macOS, most text editors come with an Edit menu. Click on Edit to open the editor, and you can easily use the Cut, Copy, and Paste commands.
4. How to Cut, Copy, and Paste text using the mouse
On macOS, you can use your mouse to cut, copy, and paste text within the same document.
To Cut, grab the selected text by clicking and holding down the mouse button, and then drag and drop it to where you want it pasted.
To Copy the selected text, grab the selection the same way, but press the Option key on your keyboard before dropping it to where you want it pasted. A plus sign (+) icon appears next to your mouse pointer, indicating you are adding content instead of moving it. Release the mouse button, and you can see the text is copied to the location of your choice.
TIP: You can also use your mouse to Copy and Paste text from one document to another, even across different apps. First, make sure both documents are open on your screen, grab your selection, and then drag and drop it to its destination. The plus sign appears briefly to indicate new content is being added.
5. How to Cut and Paste text using the Kill and Yank keyboard shortcuts
In native macOS apps, you can also cut and paste using Kill and Yank. These commands function almost exactly as Cut and Paste, but come with their own clipboard. This means you can use them to store a second text selection, without overwriting the info you already cut or copied using the methods we already illustrated above.
Use the keyboard shortcut Control - K to kill text. If you already selected some text, this shortcut acts just like Cut, and your text is removed. However, if you use this shortcut without selecting any text, it removes the text between your cursor and the end of the paragraph.
Use the keyboard shortcut Control - Y to paste your killed text to another location.
Kill and Yank are not that well-known, which is a shame, because their secondary clipboard can save you lots of time working with text.
Bonus: Find out what text is currently in your clipboard
If you work with text, you usually need to cut, copy, and paste a lot of content, and it can all become confusing. If you cannot remember what text you last cut or copied, or if you want to check that you got the correct selection, you can open your clipboard at any time to see what's in it. In the Finder's Edit menu, click on Show Clipboard.
The clipboard opens, showing the text you last cut or copied - in our case, the titles of the poems we used in this tutorial.
How do you Cut, Copy, and Paste?
We mainly use the Cut, Copy, and Paste keyboard shortcuts when we need to move text around. However, Kill and Yank have also been quite useful, as we love having a second clipboard. What about you? What do you use to Cut, Copy, and Paste text? Did you learn anything new from this tutorial that you might be using from now on? Comment below and let's discuss.