a few bindings and suffixes in the spirit of zsh
This commit is contained in:
parent
34bb6efee7
commit
051f241022
5
zsh/bindings
Normal file
5
zsh/bindings
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/zsh
|
||||
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
bindkey '^x^e' edit-command-line;
|
15
zsh/suffixes
Normal file
15
zsh/suffixes
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/zsh
|
||||
|
||||
PYTHON="py"
|
||||
CLISP="clisp lisp"
|
||||
SHELL="sh bash zsh"
|
||||
TEXT="txt md js";
|
||||
WEB="css scss less html php cshtml json"
|
||||
JS="ts tsx js"
|
||||
C="cpp h c cs"
|
||||
|
||||
FILES_TO_EDIT="$PYTHON $CLISP $SHELL $TEXT $WEB $JS $C";
|
||||
|
||||
for filetype in ${(s/ /)FILES_TO_EDIT}; do
|
||||
alias -s $filetype="$EDITOR";
|
||||
done;
|
Loading…
Reference in New Issue
Block a user