nvim colors and p10k stuff
This commit is contained in:
parent
719bee5809
commit
108f160820
|
|
@ -11,9 +11,7 @@
|
|||
" Enable true colors support. Do not use this option if your terminal does not
|
||||
" support true colors! For a comprehensive list of terminals supporting true
|
||||
" colors, see https://github.com/termstandard/colors and https://bit.ly/2InF97t.
|
||||
if $TERM == "xterm-256color" || exists('g:started_by_firenvim')
|
||||
set termguicolors
|
||||
endif
|
||||
set termguicolors
|
||||
|
||||
" Use dark background
|
||||
set background=dark
|
||||
|
|
|
|||
|
|
@ -246,6 +246,7 @@ let s:header= [
|
|||
|
||||
let g:startify_change_to_dir = 1
|
||||
let g:startify_custom_header = s:center(s:header)
|
||||
let g:startify_session_dir = '~/.local/share/nvim/session'
|
||||
" Optionally create and use footer
|
||||
"let s:header= []
|
||||
"let g:startify_custom_footer = s:center(s:footer)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
|||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||
endif
|
||||
call plug#begin('~/.vim/plugged')
|
||||
call plug#begin('~/.local/share/nvim/plugins')
|
||||
|
||||
" Intellisense engine for neovim
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
|
|
|||
13
.p10k.zsh
13
.p10k.zsh
|
|
@ -83,12 +83,12 @@
|
|||
vim_shell # vim shell indicator (:sh)
|
||||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
||||
vi_mode # vi mode (you don't need this if you've enabled prompt_char)
|
||||
# vpn_ip # virtual private network indicator
|
||||
vpn_ip # virtual private network indicator
|
||||
# ram # free RAM
|
||||
# load # CPU load
|
||||
todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
# time # current time
|
||||
# public_ip # public IP address
|
||||
public_ip # public IP address
|
||||
# proxy # system-wide http/https/ftp proxy
|
||||
battery # internal battery
|
||||
# example # example user-defined segment (see prompt_example function below)
|
||||
|
|
@ -1024,15 +1024,16 @@
|
|||
|
||||
###############################[ public_ip: public IP address ]###############################
|
||||
# Public IP color.
|
||||
typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=94
|
||||
typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=004
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
########################[ vpn_ip: virtual private network indicator ]#########################
|
||||
# VPN IP color.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81
|
||||
typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=004
|
||||
typeset -g POWERLEVEL9K_VPN_IP_BACKGROUND=''
|
||||
# When on VPN, show just an icon without the IP address.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=
|
||||
# typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=''
|
||||
# Regular expression for the VPN network interface. Run ifconfig while on VPN to see the
|
||||
# name of the interface.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(wg|(.*tun))[0-9]*'
|
||||
|
|
@ -1048,7 +1049,7 @@
|
|||
################################[ battery: internal battery ]#################################
|
||||
# Show battery in red when it's below this level and not connected to power supply.
|
||||
typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20
|
||||
typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=001
|
||||
typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=160
|
||||
# Show battery in green when it's charging or fully charged.
|
||||
typeset -g POWERLEVEL9K_BATTERY_{CHARGING,CHARGED}_FOREGROUND=002
|
||||
# Show battery in yellow when it's discharging.
|
||||
|
|
|
|||
Loading…
Reference in New Issue