Fix plugins
This commit is contained in:
parent
2633099825
commit
210a588b83
2 changed files with 51 additions and 0 deletions
|
@ -12,6 +12,7 @@ Plug 'deoplete-plugins/deoplete-clang'
|
|||
" Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install tern'}
|
||||
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
|
||||
Plug 'mg979/vim-visual-multi'
|
||||
Plug 'terryma/vim-multiple-cursors'
|
||||
" Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||
" Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
|
||||
Plug 'luochen1990/rainbow'
|
||||
|
|
50
_zshrc
Executable file
50
_zshrc
Executable file
|
@ -0,0 +1,50 @@
|
|||
#!/bin/zsh
|
||||
|
||||
# The following lines were added by compinstall
|
||||
zstyle ':completion:*' completer _expand _complete _ignored
|
||||
zstyle ':completion:*' list-colors ''
|
||||
zstyle ':completion:*' menu select=0
|
||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
zstyle :compinstall filename '/home/osh/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
setopt appendhistory nomatch notify extendedglob
|
||||
bindkey -v
|
||||
# End of lines configured by zsh-newuser-install
|
||||
|
||||
# Change cursor shape for different vi modes.
|
||||
function zle-keymap-select {
|
||||
if [[ ${KEYMAP} == vicmd ]] ||
|
||||
[[ $1 = 'block' ]]; then
|
||||
echo -ne '\e[1 q'
|
||||
|
||||
elif [[ ${KEYMAP} == main ]] ||
|
||||
[[ ${KEYMAP} == viins ]] ||
|
||||
[[ ${KEYMAP} = '' ]] ||
|
||||
[[ $1 = 'beam' ]]; then
|
||||
echo -ne '\e[5 q'
|
||||
fi
|
||||
}
|
||||
zle -N zle-keymap-select
|
||||
|
||||
[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc"
|
||||
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
setopt interactivecomments
|
||||
setopt HIST_IGNORE_SPACE
|
||||
|
||||
eval $(thefuck --alias)
|
||||
|
||||
export PS1="
|
||||
%{$(tput bold)%}%{$(tput setaf 1)%}[%{$(tput setaf 3)%}%n%{$(tput setaf 2)%}@%{$(tput setaf 4)%}%M %{$(tput setaf 5)%}%~%{$(tput setaf 1)%}]%{$(tput setaf 7)%}
|
||||
$ %{$(tput sgr0)%}"
|
Loading…
Add table
Reference in a new issue