add some japanese words
This commit is contained in:
parent
11b440f993
commit
bed977c231
4 changed files with 53 additions and 34 deletions
|
@ -38,10 +38,15 @@
|
|||
};
|
||||
nix_shell = {
|
||||
heuristic = true;
|
||||
impure_msg = "不純 \\(ふじゅん\\)";
|
||||
pure_msg = " 純粋 \\(じゅんすい\\)";
|
||||
};
|
||||
git_branch = {
|
||||
format = "オン [$symbol$branch(:$remote_branch)]($style) ";
|
||||
};
|
||||
cmd_duration = {
|
||||
format = "掛かった [$duration]($style) ";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -9,6 +9,18 @@
|
|||
defaultKeymap = "emacs";
|
||||
|
||||
initExtra = ''
|
||||
# Set editor to neovim, TODO only do this if mod.neovim is enabled
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
|
||||
# Enable editing command in external editor
|
||||
autoload -Uz edit-command-line
|
||||
zle -N edit-command-line
|
||||
# Try multiple bindings for edit-command-line
|
||||
bindkey '^X^E' edit-command-line # Traditional Ctrl+X,Ctrl+E binding
|
||||
bindkey '^[^M' edit-command-line # Alt+Enter
|
||||
# Note: Ctrl+Enter might not be distinctly capturable in all terminals
|
||||
|
||||
# Make home/end and ctrl + left/right nav how I expect them to like in bash
|
||||
bindkey "\e[1~" beginning-of-line
|
||||
bindkey "\e[4~" end-of-line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue