small fixes

This commit is contained in:
Grigory Shipunov 2024-10-04 11:12:22 +00:00
parent 8bd1c8066f
commit 31b6233360
3 changed files with 16 additions and 2 deletions

View file

@ -27,14 +27,19 @@ Plug 'jeffkreeftmeijer/vim-dim'
" complete
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
call plug#end()
" filetype magic
autocmd BufRead,BufNewFile *.nasm set filetype=nasm
set notermguicolors
colorscheme dim
set background=dark
" bug in neovim 0.8.0
hi NormalFloat ctermfg=LightGrey
"hi NormalFloat ctermfg=LightGrey
" langmap russian
set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz

View file

@ -6,6 +6,11 @@ export PATH=$HOME/.local/bin:$PATH
export EDITOR="vi"
export VISUAL="nvim"
alias vvi=vi
alias vvim=vim
alias vi=nvim
alias vim=nvim
# platform-specific config
unamestr=$(uname 2> /dev/null)
case "$unamestr" in

View file

@ -75,4 +75,8 @@ if type "direnv" > /dev/null; then
eval "$(direnv hook zsh)"
fi
export PS1="%n@%m:%F{green}%~%F{reset}%# "
if [[ -v SSH_CLIENT ]] || [[ -v SSH_TTY ]]; then;
export PS1="%B>>> %F{cyan}%n%F{magenta}@%m%F{reset}:%F{green}%~%F{reset}%#%b "
else
export PS1="%B>>> %F{cyan}%n@%m%F{reset}:%F{green}%~%F{reset}%#%b "
fi