Skip to content

vi mode ctrl-c / cancel behavior #241

Answered by akinomyoga
micimize asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for trying ble.sh. Please use discard-line. I'll later add this to the Wiki page and the blerc template.

# blerc
function blerc/vim-load-hook {
  ble-bind -m vi_imap -f C-c discard-line
  ble-bind -m vi_nmap -f C-c discard-line
}
blehook/eval-after-load keymap_vi blerc/vim-load-hook

As an aside, thinking about it, this is my muscle memory for "nah forget about this and start over and give me some space to think," so I'm curious if others have a different workflow for that process.

For example, HdL can be used to clear the content of the current linen in the default configuration of ble.sh. There is no way to go to the next line leaving its content in the default configuration…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@micimize
Comment options

@micimize
Comment options

@akinomyoga
Comment options

@micimize
Comment options

Answer selected by micimize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants