housekeeping

This commit is contained in:
Oliver Ladner 2024-02-28 10:58:20 +01:00
commit a54036e2a6
3 changed files with 0 additions and 142 deletions

View file

@ -45,7 +45,6 @@ bindings = [
# Required to make Ctrl+/ work on macOS (used in Telescope)
{ chars = "\u001F", key = "Slash", mods = "Control" },
{ key = "Key0", mods = "Command", action = "ResetFontSize" },
#{ key = "Equals", mods = "Command", action = "IncreaseFontSize" },
{ key = "Plus", mods = "Command", action = "IncreaseFontSize" },
{ key = "Minus", mods = "Command", action = "DecreaseFontSize" },
{ key = "PageUp", mods = "Shift", action = "ScrollPageUp" },

58
.muttrc
View file

@ -1,58 +0,0 @@
## REQUIRED SETTINGS
## -----------------
# remote mailbox
set folder="imap://oli@mail.lugh.ch"
set spoolfile="imap://oli@mail.lugh.ch/"
# Enable TLS
set ssl_starttls=yes
# Personal stuff
set realname="Oliver Ladner"
set from="oli@lugh.ch"
set use_from=yes
# Show "From:" header while composing
set edit_headers=yes
# Envelope == From
set use_envelope_from=yes
# Encryption settings
set ssl_starttls=yes
set ssl_force_tls=yes
# Default folders
set record="=Sent"
set postponed="=Drafts"
set trash="=Trash"
# unset imap_passive
set config_charset=utf-8
## OPTIONAL SETTINGS
## -----------------
# Sort mail by date (newest first)
set sort=reverse-date
# Show "From:" header while composing
set edit_headers=yes
# Envelope == From
set use_envelope_from=yes
# Locally cache IMAP headers
set header_cache="$HOME/.mutt_header_cache"
# Mailing lists
subscribe debian-user-german@lists.debian.org dovecot@dovecot.org
# New mail polling
set imap_check_subscribed
set mail_check=60
# Show download progress
set net_inc=10
# Only show these headers
ignore *
unignore from date subject to cc
unignore x-mailer: x-spam-score: content-type:

View file

@ -1,83 +0,0 @@
" Pathogen must be loaded first
execute pathogen#infect()
syntax on
filetype on
filetype indent plugin on
set modeline
set tabstop=2 shiftwidth=2 expandtab
" use flake8 to ensure PEP-8 compliance for python
source ~/.vim/bundle/flake8/ftplugin/python_flake8.vim
let g:flake8_builtins="_,apply"
autocmd FileType python map <buffer> <F3> :call Flake8()<CR>
set background=light
set showcmd
" highlight searches
set hlsearch
" case insensitive searches
set incsearch
" Relative line numbers except the current line
" Both relativenumber with number works on vim 7.4+
"set relativenumber
"set number
let g:solarized_termcolors=256
colorscheme solarized
" Highlight 80 column
set colorcolumn=80
highlight ColorColumn ctermbg=223
" Jump to last position in file when reopening
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
" Switch between light/dark backgrounds
" F12 toggles between light and dark backgrounds
map <silent> <F12> :if &background == "light"<CR>
\set background=dark<CR>
\else<CR>
\set background=light<CR>
\endif<CR>
set t_Co=256
" always show vim-airline
set laststatus=2
let g:airline#extensions#branch#format = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = '▶'
let g:airline_right_sep = '«'
let g:airline_right_sep = '◀'
let g:airline_symbols.crypt = '🔒'
let g:airline_symbols.linenr = '␊'
let g:airline_symbols.linenr = '␤'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.maxlinenr = '☰'
let g:airline_symbols.maxlinenr = ''
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.spell = 'Ꞩ'
let g:airline_symbols.notexists = '∄'
let g:airline_symbols.whitespace = 'Ξ'
" Fix intendation
map <F5> mzgg=G`z<CR>
" editorconfig should not tamper with fugitive
let g:EditorConfig_exclude_patterns = ['fugitive://.*']