annotate .shell.d/50.misc_setup.zsh @ 351:bef29d49d19f

safe-paste: adds support for bracketed paste mode to zsh Since I don't use oh-my-zsh, just import their code directly with a reference. Based on the site where I learned about this [0], it's originally from [1], and I downloaded it from [2]. 0: https://cirw.in/blog/bracketed-paste 1: http://www.zsh.org/mla/users/2011/msg00367.html 2: https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/plugins/safe-paste/safe-paste.plugin.zsh
author Augie Fackler <raf@durin42.com>
date Mon, 10 Nov 2014 09:26:04 -0500
parents 0f226b0af88a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
255
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 # edit current command line in $EDITOR support
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 autoload edit-command-line
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 zle -N edit-command-line
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 bindkey '^X^e' edit-command-line