New answers tagged

2

I’m not an Emacs user but for the last month I’ve being experimenting with Emacs mode in Readline as an alternative to Vi mode. Every time you kill (delete) text, it’s removed from the buffer and added to the kill ring. When you yank (paste) the text with C-Y, the most recently killed text is printed to the cursor position. If you immediately follow this ...


3

M-y undoes the last yank, rotates the lists of all kept kill strings, and yank the new top of the list. Try this example: type the 5 characters a b c (no newline) position the cursor (with C-b) in front of the c and type C-k to kill the c onto the top of the kill ring. Position the cursor 2 chars to the left and type C-k to kill the b, and again to the ...


0

With the help from the excellent answer from thrig I cooked the following tclsh multi-word completion filter for tclsh. The script below should be stored in tclsh_filter and executed with rlwrap -z tclsh_filter tclsh. Remember to chmod +x tclsh_filter. #!/usr/bin/env perl use strict; use warnings; use lib $ENV{RLWRAP_FILTERDIR}; use RlwrapFilter; my ...



Top 50 recent answers are included