Various changes

- [mail] Update the aerc config
- [vim] Add plugins, enable airline tabline, highlight cursor row
- [xmobar] Fix gap
This commit is contained in:
Adam Cooper 2023-08-04 18:47:21 -04:00
parent d8e199e505
commit 8f92d4511b
4 changed files with 15 additions and 9 deletions

View file

@ -55,7 +55,8 @@ pinned-tab-marker='`'
# Describes the format string to use for the directory list # Describes the format string to use for the directory list
# #
# Default: %n %>r # Default: %n %>r
dirlist-format=%n %>r dirlist-left = {{.Folder}}
dirlist-right = {{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}}
# List of space-separated criteria to sort the messages by, see *sort* # List of space-separated criteria to sort the messages by, see *sort*
# command in *aerc*(1) for reference. Prefixing a criterion with "-r " # command in *aerc*(1) for reference. Prefixing a criterion with "-r "
@ -182,7 +183,8 @@ image/*=catimg -w $(tput cols) -
# #
# Executed when a new email arrives in the selected folder # Executed when a new email arrives in the selected folder
new-email=exec notify-send "New email from %n" "%s" # Deprecated as of 2023-07-28
# new-email=exec notify-send "New email from %n" "%s"
[templates] [templates]
# Templates are used to populate email bodies automatically. # Templates are used to populate email bodies automatically.
@ -203,3 +205,6 @@ quoted-reply=quoted_reply
# #
# default: forward_as_body # default: forward_as_body
forwards=forward_as_body forwards=forward_as_body
[hooks]
mail-received=exec notify-send "New email from $AERC_FROM_NAME" "$AERC_SUBJECT"

View file

@ -8,3 +8,4 @@ Ukraine election
Ukraine Ukraine
leak leak
leak leak
wolff

View file

@ -21,6 +21,9 @@ set number
" Default: split right " Default: split right
set splitright set splitright
" Highlight cursor line
set cursorline
" Allow hidden buffers, don't limit to one file per window/split " Allow hidden buffers, don't limit to one file per window/split
set hidden set hidden
@ -75,10 +78,9 @@ endif
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
" Plug 'edkolev/tmuxline.vim'
" Plug 'christoomey/vim-tmux-navigator'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-fugitive'
Plug 'dense-analysis/ale' Plug 'dense-analysis/ale'
Plug 'Valloric/YouCompleteMe' Plug 'Valloric/YouCompleteMe'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
@ -90,10 +92,10 @@ Plug 'Quramy/tsuquyomi'
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'neovimhaskell/haskell-vim' Plug 'neovimhaskell/haskell-vim'
Plug 'vim-scripts/indentpython.vim' Plug 'vim-scripts/indentpython.vim'
" Plug 'severij/vadelma'
Plug 'dracula/vim', { 'as': 'dracula' } Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'mattn/emmet-vim' Plug 'mattn/emmet-vim'
Plug 'kovisoft/slimv'
call plug#end() call plug#end()
" Tsuquyomi " Tsuquyomi
@ -101,8 +103,8 @@ autocmd filetype typescript nmap <buffer> <Leader>t : <C-u>echo tsuquyomi#hint()
" Airline " Airline
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
" let g:airline_theme = 'light'
let g:airline#extensions#tmuxline#enabled = 0 let g:airline#extensions#tmuxline#enabled = 0
let g:airline#extensions#tabline#enabled = 1
" ALE " ALE
let g:ale_linters = { let g:ale_linters = {
@ -128,8 +130,6 @@ filetype plugin indent on
syntax enable syntax enable
" Set color scheme " Set color scheme
" set background=light
" colorscheme vadelma
set background=dark set background=dark
colorscheme dracula colorscheme dracula

View file

@ -3,7 +3,7 @@ Config { overrideRedirect = False
, additionalFonts = ["JoyPixels 24"] , additionalFonts = ["JoyPixels 24"]
, bgColor = "#ffff99" , bgColor = "#ffff99"
, fgColor = "#191970" , fgColor = "#191970"
, position = TopSize L 89 28 , position = TopSize L 88 28
, commands = [ Run WeatherX "KLGA" , commands = [ Run WeatherX "KLGA"
[ ("clear", "clear") [ ("clear", "clear")
, ("sunny", "sunny") , ("sunny", "sunny")