Commits

Alain Leufroy committed f168772

[zsh] keybindings to (un)comment line

Alt+# : ad a '#' at line start and start a new empty line
Alt+" or Alt+' : surround with " (all line or selection)
Alt+q : remove current and past it at next promt
Alt+h : see manpage of the first command

  • Participants
  • Parent commits 420bc4e

Comments (0)

Files changed (1)

 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
 # Example format: plugins=(rails git textmate ruby lighthouse)
 plugins=(pip)
+bindkey '^[#' pound-insert
 
 source $ZSH/oh-my-zsh.sh