jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] Delete to end of line


On  5.05.11, Doug Kramer wrote:

> I want this function I use in emacs:
>    If the cursor is not at the end of the line, delete to end of line
> (keeping newline),
>    but if the cursor is at the end of the line, delete the newline
> character.

> That way, continuing to hit Ctrl-K will alternately delete to eol and then
> delete newline, so I can use it to delete multiple lines.

Integer_Type `KILL_LINE_FEATURE' == 1

 SYNOPSIS
  Configure the kill_line function

 USAGE
  Int_Type KILL_LINE_FEATURE

 DESCRIPTION
  If non-zero, kill_line will kill through end of line character if the
  cursor is at the beginning of a line.  Otherwise, it will kill only to
  the end of the line.

 SEE ALSO
  bolp


Günter
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2011 date index] [2011 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]