fish-shell/src/kill.h

23 lines
514 B
C
Raw Normal View History

// Prototypes for the killring.
//
2019-10-22 00:21:40 +00:00
// Works like the killring in emacs and readline. The killring is cut and paste with a memory of
// previous cuts.
#ifndef FISH_KILL_H
#define FISH_KILL_H
2015-07-25 15:14:25 +00:00
#include "common.h"
/// Replace the specified string in the killring.
void kill_replace(const wcstring &old, const wcstring &newv);
/// Add a string to the top of the killring.
2019-03-17 00:26:42 +00:00
void kill_add(wcstring str);
2012-03-04 05:46:06 +00:00
/// Rotate the killring.
2019-03-17 00:26:42 +00:00
wcstring kill_yank_rotate();
2012-03-04 05:46:06 +00:00
/// Paste from the killring.
2019-03-17 00:26:42 +00:00
wcstring kill_yank();
2012-03-04 05:46:06 +00:00
#endif