alacritty: add config; bashrc: enable shellcheck; tmux, vimplugrc: get rid of powerline symbols
This commit is contained in:
parent
9d9fafbc9b
commit
01e168e0f6
4 changed files with 53 additions and 7 deletions
48
alacritty.yml
Normal file
48
alacritty.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
scrolling:
|
||||||
|
history: 15000
|
||||||
|
|
||||||
|
font:
|
||||||
|
builtin_box_drawing: true
|
||||||
|
normal:
|
||||||
|
family: Cascadia Code PL
|
||||||
|
size: 14
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: '0x282828'
|
||||||
|
foreground: '0xebdbb2'
|
||||||
|
cursor:
|
||||||
|
cursor: '0xfb4934'
|
||||||
|
selection:
|
||||||
|
text: CellForeground
|
||||||
|
background: '0x565656'
|
||||||
|
normal:
|
||||||
|
black: '0x282828'
|
||||||
|
red: '0xcc241d'
|
||||||
|
green: '0x98971a'
|
||||||
|
yellow: '0xd79921'
|
||||||
|
blue: '0x458588'
|
||||||
|
magenta: '0xb16286'
|
||||||
|
cyan: '0x689d6a'
|
||||||
|
white: '0xa89984'
|
||||||
|
bright:
|
||||||
|
black: '0x928374'
|
||||||
|
red: '0xfb4934'
|
||||||
|
green: '0xb8bb26'
|
||||||
|
yellow: '0xfabd2f'
|
||||||
|
blue: '0x83a598'
|
||||||
|
magenta: '0xd3869b'
|
||||||
|
cyan: '0x8ec07c'
|
||||||
|
white: '0xebdbb2'
|
||||||
|
|
||||||
|
cursor:
|
||||||
|
thickness: 0.3
|
||||||
|
style:
|
||||||
|
shape: Underline
|
||||||
|
|
||||||
|
mouse_bindings:
|
||||||
|
- { mouse: Middle, action: PasteSelection }
|
||||||
|
|
||||||
|
key_bindings:
|
||||||
|
- { key: V, mods: Alt, action: Paste }
|
||||||
|
- { key: C, mods: Alt, action: Copy }
|
1
bashrc
1
bashrc
|
@ -1,3 +1,4 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ set -g message-style "bg=blue,fg=white"
|
||||||
set -g message-command-style "bg=red,fg=white"
|
set -g message-command-style "bg=red,fg=white"
|
||||||
set -g status on
|
set -g status on
|
||||||
set -g status-style "fg=black,bg=white"
|
set -g status-style "fg=black,bg=white"
|
||||||
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0b0 #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0b2#[reverse] %a %e %k:%M "
|
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]#{W: #I:#W ,#[reverse] #I:#W #[noreverse]}#[align=right]#[reverse] %a %e %k:%M "
|
||||||
set -g status-interval 2
|
set -g status-interval 2
|
||||||
set -g status-position "bottom"
|
set -g status-position "bottom"
|
||||||
set -g status-justify "left"
|
set -g status-justify "left"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
" support my own way of using plugins in vim / bash
|
" support my own way of using plugins in vim / bash
|
||||||
autocmd BufRead *vimplugrc set ft=vim
|
autocmd BufRead *vimplugrc set ft=vim
|
||||||
|
|
||||||
let theme = 'PaperColor'
|
let theme = 'gruvbox8'
|
||||||
let themebg = 'light'
|
let themebg = 'dark'
|
||||||
let lightline_theme = printf(theme)
|
let lightline_theme = printf(theme)
|
||||||
|
|
||||||
function EnableTGC()
|
function EnableTGC()
|
||||||
|
@ -75,10 +75,7 @@ nmap <Leader>ft :Filetypes<CR>
|
||||||
let g:vimwiki_list = [{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
|
let g:vimwiki_list = [{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
|
||||||
|
|
||||||
" lightline
|
" lightline
|
||||||
let g:lightline = {
|
let g:lightline = {}
|
||||||
\ 'separator': {'left': "\ue0b0", 'right': "\ue0b2"},
|
|
||||||
\ 'subseparator': {'left': "\ue0b1", 'right': "\ue0b3"}
|
|
||||||
\ }
|
|
||||||
let g:lightline['colorscheme'] = printf(lightline_theme)
|
let g:lightline['colorscheme'] = printf(lightline_theme)
|
||||||
|
|
||||||
if $TERM !~ '^linux'
|
if $TERM !~ '^linux'
|
||||||
|
|
Loading…
Reference in a new issue