In the MacOS and many linux system, the following hotkey is defined:
Ctrl+k is “kill-to-end-of-line”, but what is killed goes into a buffer that you can later yank back out with Ctrl+y.
In the search panel, the Ctrl+k and Ctrl+y mechanism works. However, the same mechanism breaks in main editor window.
In the main editor, the Ctrl+k is defined, i.e. kill-to-end-of-line. However, when the Ctrl+y is pressed, the content(a line of text) that has been killed and buffered in the search panel is pasted. And the content in the main editor is killed without being buffered, i.e. the content is deleted.
This misalignment is annoying. Especially for the people, like me, who is used to the ctrl-k and ctrl-y mechanism and use this mechanism system wide.
The “kill” and “yank” mechanism also exists in the title area in the edit window. However, it is not available in the edit area.