Zsh não entra no modo vim

0

Eu tenho a seguinte configuração no Ubuntu 14.04. Aqui está o meu .profile , que muda para zsh porque não tenho permissão para executar chsh :

export·PATH=$PATH:$HOME/bin
export·SHELL=$HOME/bin/zsh
exec·$HOME/bin/zsh·-l

Aqui está o .zshrc :

autoload -Uz promptinit
promptinit

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify
zstyle :compinstall filename '/home/pkhorsand/.zshrc'
autoload -Uz compinit
compinit -i -u -C

bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward

bindkey -v

autoload -U edit-command-line
zle -N edit-command-line
bindkey '^V' edit-command-line                   # Opens Vim to edit current command line
bindkey '^R' history-incremental-search-backward # Perform backward search in command line history
bindkey '^S' history-incremental-search-forward  # Perform forward search in command line history
bindkey '^P' history-search-backward             # Go back/search in history (autocomplete)
bindkey '^N' history-search-forward              # Go forward/search in history (autocomplete)

setopt +o nomatch

# load antigen
source $HOME/.zsh/antigen.zsh

# Load the oh-my-zsh's library.
antigen use oh-my-zsh

# Bundles from the default repo (robbyrussell's oh-my-zsh).
#antigen bundle git
#antigen bundle heroku
#antigen bundle pip
#antigen bundle lein
#antigen bundle command-not-found
antigen bundle zsh-users/zsh-syntax-highlighting

# Load the theme.
antigen theme robbyrussell
antigen theme https://github.com/caiogondim/bullet-train-oh-my-zsh-theme bullet-train

# Tell Antigen that you're done.
antigen apply

BULLETTRAIN_VIRTUALENV_BG="green"
BULLETTRAIN_VIRTUALENV_PREFIX=""
BULLETTRAIN_PROMPT_ORDER=(
    context
    dir
    virtualenv
    time
)

Eu tenho exatamente o mesmo arquivo de configuração em um Mac e ele funciona muito bem, então não tenho ideia de por que a diferença de comportamento. Onde mais eu deveria procurar?

    
por DarthPaghius 25.07.2018 / 22:18

0 respostas

Tags