bugGNU nano - Bugs: bug #66341, [Wish] a shortcut to cut current...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #66341: [Wish] a shortcut to cut current word

Submitter:  Dan <par7133>
Submitted:  Thu 17 Oct 2024 12:57:57 AM UTC
   
 
Severity:  1 - Wish Status:  Invalid
Assigned to:  None Open/Closed:  Open

Discussion locked!

Sat 19 Oct 2024 08:15:44 AM UTC, comment #3: 

Pfff!

Benno Schulenberg <bens>
Group administrator
Fri 18 Oct 2024 12:26:00 PM UTC, comment #2: 

Thanks for the answer, however I was waiting for a fix as I'm not usual manipulate any config nano or similar tools and for something like an agly scafolding. The fix requested should be one shortcut to let us delete the current word from any position.

Dan <par7133>
Thu 17 Oct 2024 08:51:43 AM UTC, comment #1: 

You can make this yourself.  If the cursor is always at the start of the word:

bind ^J chopwordright main

If the cursor can be anywhere in the word:

bind ^J "{nextword}{mark}{prevword}{zap}" main

You need nano-7.0 or newer for this, and `afterends` should be off.  If the cut word should go into the cutbuffer, then use `{cut}` instead of `{zap}`.

(For deleting the preceding word when the cursor is on the start of a word, there is an existing shortcut: M-Bsp.)

If you have any further questions: help-nano @ gnu.org.

Benno Schulenberg <bens>
Group administrator
Thu 17 Oct 2024 12:57:57 AM UTC, original submission:  

Suddenly in the need of a shortcut (one) to cut in buffer the
current word (based on cursor position). Thanks!

-Dan

Dan <par7133>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by par7133 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-19 bens StatusWontfix Invalid
        Discussion LockNone Locked
    2024-10-17 bens Severity3 - Normal 1 - Wish
        StatusNone Wontfix
        Summary [WISH] shortcut to cut current word [Wish] a shortcut to cut current word

    Back to the top

    Powered by Savane 3.14-49f2.
    Corresponding source code