So I really like ipython's feature where it deletes the current line when you press Ctrl+C without creating a new prompt below. Is it in any way possible to do this in Zsh? I have tried the obvious (bindkey -M [desired_mode] '^C' kill-whole-line) but it didn't seem to work, and elsewhere I found advice to not remap Ctrl+C, so I was wondering if anyone knows a solution to this problem. :-)
Zsh: Ctrl+C to delete current line without creating new prompt
290 Views Asked by Dominik Teiml At
0
There are 0 best solutions below
Related Questions in ZSH
- How to merge two arrays in a zipper like fashion in Bash?
- zsh prompt wrapping to a newline after adding buildstatus
- Provide description for zsh completion option?
- how to filter a phrase (ends in newline) from terminal output
- Make vim follow symlinks when opening files from command line
- PATH not working on Mac OS X 10.10.3
- What does autoload do in zsh?
- oh-my-zsh error after upgrade: ~/.oh-my-zsh/lib/misc.zsh:3: parse error near `then'
- Urxvt - powerline wrong color
- How to change shell from /bin/bash to /bin/zsh?
- Terminal zsh commands stopped working suddenly
- Should my $PATH be returning anything RVM related?
- Creating tmux layout with ZSH scripts
- Tmux breaks zsh aliases
- Cryptic error messages with npm and node
Related Questions in ZSH-ZLE
- ZSH on 10.9: widgets can only be called when ZLE is active
- zsh new line prompt after each command
- How can I maintain my last command’s exit-status while resetting my prompt in ZSH?
- How to Make Zsh Widget To Retrieve Cursor Row? I Can Only Make This Work Manually Entering A Oneliner
- How can I keybind Ctrl-C to vi-kill-line only when in viins mode?
- List of zsh bindkey commands
- zsh: update prompt with current time when a command is started
- zsh: refresh prompt after running zle widget
- zsh-bindings: noremap on vi mode
- after reset-prompt,the command line jump to next line automatically
- Zsh: Ctrl+C to delete current line without creating new prompt
- zle reset-prompt not cleaning the prompt
- Is ZSH completion system capable of completing multiple arguments at the same time?
- zle backward-char not working as expected
- Constantly updated clock in zsh prompt?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?