Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vi-mode notification. #12

Closed
ghost opened this issue Apr 13, 2016 · 4 comments
Closed

vi-mode notification. #12

ghost opened this issue Apr 13, 2016 · 4 comments
Labels
new-feature A PR that implement feature (section, specific behavior, etc).

Comments

@ghost
Copy link

ghost commented Apr 13, 2016

Please consider adding vi-mode (bindkey -v) notification.

Thanks.

@denysdovhan
Copy link
Member

@kwinczek I don't know how to do this, but it seems like an important thing. Can you suggest how can I check this?

@denysdovhan denysdovhan added the new-feature A PR that implement feature (section, specific behavior, etc). label Apr 13, 2016
This was referenced Apr 13, 2016
@denysdovhan
Copy link
Member

Closed since vi-mode is not supported in Spaceship.

@MarcelRobitaille
Copy link

Has this changed? I see the options in the readme but I can't get it to work.

zshrc:

export ZSH=/home/marcel/.oh-my-zsh

ZSH_THEME="spaceship"
SPACESHIP_DIR_TRUNC=0
SPACESHIP_VI_MODE_SHOW=true
SPACESHIP_VI_MODE_PREFIX=""
SPACESHIP_VI_MODE_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"
SPACESHIP_VI_MODE_INSERT="[I]"
SPACESHIP_VI_MODE_NORMAL="[N]"
SPACESHIP_VI_MODE_COLOR="white"

plugins=(git)

bindkey -v

source "$ZSH/oh-my-zsh.sh"

for file in /home/marcel/.dotfiles/zsh/{exports,aliases,functions,secret}.sh; do
  [ -r "$file" ] && [ -f "$file" ] && source "$file";
done;

(hash wal 2>/dev/null && wal -r -t &)

DEFAULT_USER="marcel"

eval $(thefuck --alias)

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

@MarcelRobitaille
Copy link

Nevermind. bindkey -v was getting overwritten. I had to put that near the bottom.

narma pushed a commit to narma/spaceship-prompt-async that referenced this issue Feb 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A PR that implement feature (section, specific behavior, etc).
Development

No branches or pull requests

2 participants