Import some configs
parent
8639d53137
commit
c15ff082d4
|
|
@ -0,0 +1,18 @@
|
||||||
|
background_opacity 0.92
|
||||||
|
|
||||||
|
enable_audio_bell no
|
||||||
|
|
||||||
|
mouse_hide_wait 0
|
||||||
|
|
||||||
|
scrollback_lines 10000
|
||||||
|
|
||||||
|
cursor_shape block
|
||||||
|
|
||||||
|
font_family "Source Code Pro"
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
font_size 10
|
||||||
|
|
||||||
|
disable_ligatures always
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"ext": {
|
||||||
|
"shell": {
|
||||||
|
"theme": "custom"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"segment_data": {
|
||||||
|
"hostname": {
|
||||||
|
"args": {
|
||||||
|
"only_if_ssh": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
"segments": {
|
||||||
|
"left": [
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.mode"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.net.hostname",
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.env.user",
|
||||||
|
"priority": 30
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.env.virtualenv",
|
||||||
|
"priority": 50
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.cwd",
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.vcs.branch",
|
||||||
|
"priority": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.jobnum",
|
||||||
|
"priority": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"right": [
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.last_pipe_status",
|
||||||
|
"priority": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
set preview_images true
|
||||||
|
set show_hidden true
|
||||||
|
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
set mouse=
|
||||||
|
|
||||||
|
syntax enable
|
||||||
|
|
||||||
|
set tabstop=4
|
||||||
|
set softtabstop=4
|
||||||
|
set expandtab
|
||||||
|
set shiftwidth=4
|
||||||
|
|
||||||
|
set number
|
||||||
|
|
||||||
|
" START kitty-related configs
|
||||||
|
|
||||||
|
" Styled and colored underline support
|
||||||
|
let &t_AU = "\e[58:5:%dm"
|
||||||
|
let &t_8u = "\e[58:2:%lu:%lu:%lum"
|
||||||
|
let &t_Us = "\e[4:2m"
|
||||||
|
let &t_Cs = "\e[4:3m"
|
||||||
|
let &t_ds = "\e[4:4m"
|
||||||
|
let &t_Ds = "\e[4:5m"
|
||||||
|
let &t_Ce = "\e[4:0m"
|
||||||
|
" Strikethrough
|
||||||
|
let &t_Ts = "\e[9m"
|
||||||
|
let &t_Te = "\e[29m"
|
||||||
|
" Truecolor support
|
||||||
|
let &t_8f = "\e[38:2:%lu:%lu:%lum"
|
||||||
|
let &t_8b = "\e[48:2:%lu:%lu:%lum"
|
||||||
|
let &t_RF = "\e]10;?\e\\"
|
||||||
|
let &t_RB = "\e]11;?\e\\"
|
||||||
|
" Bracketed paste
|
||||||
|
let &t_BE = "\e[?2004h"
|
||||||
|
let &t_BD = "\e[?2004l"
|
||||||
|
let &t_PS = "\e[200~"
|
||||||
|
let &t_PE = "\e[201~"
|
||||||
|
" Cursor control
|
||||||
|
let &t_RC = "\e[?12$p"
|
||||||
|
let &t_SH = "\e[%d q"
|
||||||
|
let &t_RS = "\eP$q q\e\\"
|
||||||
|
let &t_SI = "\e[5 q"
|
||||||
|
let &t_SR = "\e[3 q"
|
||||||
|
let &t_EI = "\e[1 q"
|
||||||
|
let &t_VS = "\e[?12l"
|
||||||
|
" Focus tracking
|
||||||
|
let &t_fe = "\e[?1004h"
|
||||||
|
let &t_fd = "\e[?1004l"
|
||||||
|
execute "set <FocusGained>=\<Esc>[I"
|
||||||
|
execute "set <FocusLost>=\<Esc>[O"
|
||||||
|
" Window title
|
||||||
|
let &t_ST = "\e[22;2t"
|
||||||
|
let &t_RT = "\e[23;2t"
|
||||||
|
|
||||||
|
" vim hardcodes background color erase even if the terminfo file does
|
||||||
|
" not contain bce. This causes incorrect background rendering when
|
||||||
|
" using a color theme with a background color in terminals such as
|
||||||
|
" kitty that do not support background color erase.
|
||||||
|
let &t_ut=''
|
||||||
|
|
||||||
|
" END kitty
|
||||||
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
export PATH="$PATH:/home/livie/.cargo/bin"
|
||||||
|
# Created by `pipx` on 2023-06-17 16:56:49
|
||||||
|
export PATH="$PATH:/home/livie/.local/bin"
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
# disable scroll lock
|
||||||
|
stty -ixon
|
||||||
|
|
||||||
|
alias fuck='sudo $(fc -l -n -1)'
|
||||||
|
alias ll='ls -lav --color=auto'
|
||||||
|
alias l='ls -lv --color=auto'
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
|
||||||
|
powerline-daemon -q
|
||||||
|
. /usr/share/powerline/bindings/zsh/powerline.zsh
|
||||||
|
|
||||||
|
# The following lines were added by compinstall
|
||||||
|
|
||||||
|
zstyle ':completion:*' completer _complete _ignored
|
||||||
|
zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
|
||||||
|
zstyle :compinstall filename '/home/livie/.zshrc'
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
# End of lines added by compinstall
|
||||||
|
# Lines configured by zsh-newuser-install
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
HISTSIZE=1000
|
||||||
|
SAVEHIST=10000
|
||||||
|
setopt nomatch notify
|
||||||
|
unsetopt autocd beep extendedglob
|
||||||
|
bindkey -v
|
||||||
|
# End of lines configured by zsh-newuser-install
|
||||||
|
|
||||||
|
|
||||||
|
# Created by `pipx` on 2023-06-17 16:56:49
|
||||||
|
export PATH="$PATH:/home/livie/.local/bin"
|
||||||
Loading…
Reference in New Issue