diff options
author | axel <axel@liljencrantz.se> | 2005-09-20 23:26:39 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-20 23:26:39 +1000 |
commit | 149594f974350bb364a76c73b91b1d5ffddaa1fa (patch) | |
tree | 95650e9982d5fabe4bd805d94c5d700cbbc1ca7f /kill.h |
Initial revision
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz
Diffstat (limited to 'kill.h')
-rw-r--r-- | kill.h | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ +/** \file kill.h + Prototypes for the killring. + + Works like the killring in emacs and readline. The killring is cut and paste whith a memory of previous cuts. +*/ + +/** + Add a string to the top of the killring +*/ +void kill_add( wchar_t *str ); +/** + Rotate the killring +*/ +wchar_t *kill_yank_rotate(); +/** + Paste from the killring +*/ +wchar_t *kill_yank(); +/** + Sanity check +*/ +void kill_sanity_check(); +/** + Initialize the killring +*/ +void kill_init(); +/** + Destroy the killring +*/ +void kill_destroy(); + |