1
0
Fork 0
This commit is contained in:
Vladimír Dudr 2022-05-27 10:25:46 +02:00
parent 50872ffae2
commit f36d2eb6d3
5 changed files with 183 additions and 36 deletions

35
dot_config/afew/config Normal file
View file

@ -0,0 +1,35 @@
# global configuration
[global]
[MailMover]
folders = INBOX
rename = True
##rules
INBOX = 'tag:archive':Archive 'tag:csob':INBOX/CSOB
[Filter.1]
query = 'folder:Archive'
tag = +archive;-inbox;-unread;-new
message = archiv
[Filter.2]
query = folder:INBOX/CSOB
tag = -inbox;+csob;-new
message = vypisy z banky
[Filter.3]
query = 'path:Lists/**'
tag = -inbox;-unread;-new
message = lists
# This is the default filter chain
#[SpamFilter]
#[ClassifyingFilter]
#[KillThreadsFilter]
[ListMailsFilter]
tags = -new
#[ArchiveSentMailsFilter]
#sent_tag = sent
#[FolderNameFilter]
[InboxFilter]

3
dot_config/alot/config Normal file
View file

@ -0,0 +1,3 @@
[bindings]
[[search]]
A = tag archive; untag inbox

View file

@ -44,8 +44,8 @@ require('packer').startup(function(use)
run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'
}
-- use {"ellisonleao/gruvbox.nvim", requires = {"rktjmp/lush.nvim"}}
use 'morhetz/gruvbox'
-- use {"ellisonleao/gruvbox.nvim"}
use {'morhetz/gruvbox'}
-- use 'lifepillar/vim-solarized8'
use { 'chrisbra/Colorizer', cmd = 'ColorToggle', keys = { 'n', '<space>c <Cmd>ColorToggle<CR>' } }
@ -82,17 +82,24 @@ require('packer').startup(function(use)
use { 'dyng/ctrlsf.vim', cmd = 'CtrlSF' }
use { 'fpob/nette.vim', ft = nette }
use { 'ziglang/zig.vim', ft = 'zig' }
use { 'folke/lua-dev.nvim' }
use {'AndrewRadev/tagalong.vim'}
use {'andymass/vim-matchup'}
use { 'fpob/nette.vim', ft='nette' }
use {
'folke/trouble.nvim',
requires = "kyazdani42/nvim-web-devicons",
cmd = 'TroubleToggle',
config = function () require('trouble').setup() end
}
if packer_bootstrap then
require('packer').sync()
end
use { 'ziglang/zig.vim', ft='zig' }
end)
@ -133,9 +140,9 @@ vim.o.path = '**'
-- Buffer
vim.cmd([[
augroup forceRecheck
au FocusGained,BufEnter * :silent! !
augroup END
augroup forceRecheck
au FocusGained,BufEnter * :silent! !
augroup END
]])
-- vim.env.EDITOR = 'nvr'
@ -285,13 +292,13 @@ require 'lualine'.setup {
vim.g.nvim_tree_add_trailing = 1
vim.g.nvim_tree_special_files = ''
vim.cmd([[
let g:nvim_tree_show_icons = {
\ 'git': 0,
\ 'folders': 0,
\ 'files': 0,
\ 'folder_arrows': 0,
\ }
vim.cmd ( [[
let g:nvim_tree_show_icons = {
\ 'git': 0,
\ 'folders': 0,
\ 'files': 0,
\ 'folder_arrows': 0,
\ }
]])
-- vim.api.nvim_set_keymap('n', '<F3>', '<Cmd>NvimTreeToggle<CR>', { noremap = true, silent = true })
@ -412,18 +419,18 @@ kommentary_config.configure_language("php", { prefer_single_line_comments = true
-- NEORAY {{{
vim.cmd [[
if exists('g:neoray')
set guifont=Go_Mono:h11
NeoraySet CursorAnimTime 0
NeoraySet Transparency 0.95
NeoraySet TargetTPS 120
NeoraySet ContextMenuOn FALSE
NeoraySet BoxDrawingOn TRUE
NeoraySet WindowSize 100x40
NeoraySet WindowState none
NeoraySet KeyZoomIn <>
NeoraySet KeyZoomOut <>
endif ]]
if exists('g:neoray')
set guifont=Go_Mono:h11
NeoraySet CursorAnimTime 0
NeoraySet Transparency 0.95
NeoraySet TargetTPS 120
NeoraySet ContextMenuOn FALSE
NeoraySet BoxDrawingOn TRUE
NeoraySet WindowSize 100x40
NeoraySet WindowState none
NeoraySet KeyZoomIn <>
NeoraySet KeyZoomOut <>
endif ]]
-- }}}
@ -460,9 +467,13 @@ nls.setup({
-- }}}
-- Trouble {{{
vim.api.nvim_set_keymap('n', '<space>t', '<Cmd>TroubleToggle<CR>', {})
-- }}} TROUBLE
-- color handling {{{
term = vim.env.TERM
if (term ~= 'linux' or vim.g.neoray)
local term = vim.env.TERM
if(term ~= 'linux' or vim.g.neoray)
then
vim.cmd('set termguicolors')
vim.g.gruvbox_contrast_dark = 'hard'
@ -480,7 +491,7 @@ vim.cmd 'highlight link TSVariableBuiltin Identifier'
-- {{{ LAYA
vim.cmd [[
augroup layaAbbrevs
augroup layaAbbrevs
autocmd BufRead,BufNewFile ~/jopixel/**/*.php iabbrev <buffer> T $this->obtainer()->translator()->t();<Left><Left>
autocmd BufRead,BufNewFile ~/jopixel/**/*.php iabbrev <buffer> TI $this->obtainer()->translator()->t()<Left>
autocmd BufRead,BufNewFile ~/jopixel/**/*.php iabbrev <buffer> LOG $this->obtainer()->logger()->log();<Left><Left>
@ -491,7 +502,7 @@ augroup layaAbbrevs
autocmd BufRead,BufNewFile ~/jopixel/**/*.php iabbrev <buffer> FILE $this->producer()->file()<Left>
autocmd BufRead,BufNewFile ~/jopixel/**/*.php iabbrev <buffer> LINK $this->producer()->link($this, '')<Left><Left>
autocmd BufRead,BufNewFile ~/jopixel/**/*.php iabbrev <buffer> NOTIF $this->obtainer()->notifications()
augroup END
augroup END
]]
-- }}} LAYA

97
dot_notmuch-config Normal file
View file

@ -0,0 +1,97 @@
# .notmuch-config - Configuration file for the notmuch mail system
#
# For more information about notmuch, see http://notmuchmail.org
# Database configuration
#
# The only value supported here is 'path' which should be the top-level
# directory where your mail currently exists and to where mail will be
# delivered in the future. Files should be individual email messages.
# Notmuch will store its database within a sub-directory of the path
# configured here named ".notmuch".
#
[database]
path=/home/sogun/Mail/vladimir@tango-dj.cz/
# User configuration
#
# Here is where you can let notmuch know how you would like to be
# addressed. Valid settings are
#
# name Your full name.
# primary_email Your primary email address.
# other_email A list (separated by ';') of other email addresses
# at which you receive email.
#
# Notmuch will use the various email addresses configured here when
# formatting replies. It will avoid including your own addresses in the
# recipient list of replies, and will set the From address based on the
# address to which the original email was addressed.
#
[user]
name=Vladimír Dudr
primary_email=vladimir@tango-dj.cz
# Configuration for "notmuch new"
#
# The following options are supported here:
#
# tags A list (separated by ';') of the tags that will be
# added to all messages incorporated by "notmuch new".
#
# ignore A list (separated by ';') of file and directory names
# that will not be searched for messages by "notmuch new".
#
# NOTE: *Every* file/directory that goes by one of those
# names will be ignored, independent of its depth/location
# in the mail store.
#
[new]
tags=new
ignore=.uidvalidity;.mbsyncstate;.isyncuidmap.db
# Search configuration
#
# The following option is supported here:
#
# exclude_tags
# A ;-separated list of tags that will be excluded from
# search results by default. Using an excluded tag in a
# query will override that exclusion.
#
[search]
exclude_tags=deleted;spam;
# Maildir compatibility configuration
#
# The following option is supported here:
#
# synchronize_flags Valid values are true and false.
#
# If true, then the following maildir flags (in message filenames)
# will be synchronized with the corresponding notmuch tags:
#
# Flag Tag
# ---- -------
# D draft
# F flagged
# P passed
# R replied
# S unread (added when 'S' flag is not present)
#
# The "notmuch new" command will notice flag changes in filenames
# and update tags, while the "notmuch tag" and "notmuch restore"
# commands will notice tag changes and update flags in filenames
#
[maildir]
synchronize_flags=true
# Cryptography related configuration
#
# The following option is supported here:
#
# gpg_path
# binary name or full path to invoke gpg.
#
[crypto]
gpg_path=gpg

View file

@ -7,6 +7,7 @@ sudo pacman -Syu --needed \
btop \
buildah \
cmus \
dunst \
fd \
firefox \
fzf \
@ -22,23 +23,23 @@ sudo pacman -Syu --needed \
kid3-qt \
kitty \
kitty-terminfo \
lazygit \
libreoffice-fresh \
mc \
mixxx \
mpv \
msmtp \
msmtp-mta \
mtr \
mupdf \
mupdf \
neovim \
noto-fonts \
lazygit \
noto-fonts-cjk \
dunst \
openssh \
pass \
pdfjs \
pipewire \
mupdf \
mpv \
pipewire-alsa \
pipewire-jack \
pipewire-pulse \
@ -48,7 +49,6 @@ sudo pacman -Syu --needed \
pulsemixer \
pv \
qutebrowser \
pdfjs \
ranger \
ripgrep \
rofi \
@ -57,6 +57,7 @@ sudo pacman -Syu --needed \
skopeo \
slock \
the_silver_searcher \
typescript-language-server \
visidata \
xsv \
zsh \