diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index e07fecb91..0ad901cc1 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -397,6 +397,7 @@ Fish uses an Emacs-style kill ring for copy and paste functionality. For example Copy and paste from outside are also supported, both via the :kbd:`Control`\ +\ :kbd:`X` / :kbd:`Control`\ +\ :kbd:`V` bindings (the ``fish_clipboard_copy`` and ``fish_clipboard_paste`` functions [#]_) and via the terminal's paste function, for which fish enables "Bracketed Paste Mode", so it can tell a paste from manually entered text. In addition, when pasting inside single quotes, pasted single quotes and backslashes are automatically escaped so that the result can be used as a single token simply by closing the quote after. +Kill ring entries are stored in ``killring`` variable. .. [#] These rely on external tools. Currently xsel, xclip, wl-copy/wl-paste and pbcopy/pbpaste are supported. diff --git a/src/kill.cpp b/src/kill.cpp index 9e1007762..d9d1abb7b 100644 --- a/src/kill.cpp +++ b/src/kill.cpp @@ -58,4 +58,4 @@ wcstring kill_yank() { wcstring_list_t kill_entries() { return {kill_list.begin(), kill_list.end()}; -} \ No newline at end of file +}