small pixel drawing of a pufferfish dotfiles

Initial, extremely important commit
j3s j3s@cyberia.club
Tue, 26 Nov 2019 09:13:09 -0600
commit

9d9217a09d769eeaf6d2a86a3200fa339e0033bc

3 files changed, 189 insertions(+), 0 deletions(-)

jump to
A .tmux.conf

@@ -0,0 +1,20 @@

+# Global opts +set-option -g default-shell /usr/local/bin/fish +setw -g mode-keys vi +set-option -sg escape-time 0 +set -s escape-time 0 + +bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." + +# use vim-like keys for splits and windows +bind-key \ split-window -h -c "#{pane_current_path}" +bind-key - split-window -v -c "#{pane_current_path}" +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +# colors hurt my eyes +set -g status-bg black +set -g status-fg white +set -g status-interval k
A .vim/colors/patine.vim

@@ -0,0 +1,118 @@

+" Name: patine +" URL: https://github.com/Canop/patine +" License: use or copy as you want +" Best viewed with a #0e0e0e background + +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "patine" + +" Baseline +hi Normal term=NONE cterm=NONE ctermfg=254 ctermbg=NONE + +" Faded +hi ColorColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=236 +hi Comment term=NONE cterm=NONE ctermfg=73 ctermbg=NONE +hi SpecialComment term=NONE cterm=NONE ctermfg=73 ctermbg=NONE +hi FoldColumn term=NONE cterm=NONE ctermfg=240 ctermbg=NONE +hi Folded term=NONE cterm=NONE ctermfg=240 ctermbg=NONE +hi LineNr term=NONE cterm=NONE ctermfg=8 ctermbg=235 +hi NonText term=NONE cterm=NONE ctermfg=240 ctermbg=NONE +hi SignColumn term=NONE cterm=NONE ctermfg=240 ctermbg=NONE +hi SpecialKey term=NONE cterm=NONE ctermfg=240 ctermbg=NONE +hi StatusLineNC term=NONE cterm=NONE ctermfg=white ctermbg=240 +hi VertSplit term=NONE cterm=NONE ctermfg=black ctermbg=240 + +" Highlighted +hi CursorColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=0 +hi CursorIM term=NONE cterm=NONE ctermfg=0 ctermbg=4 +hi CursorLineNr term=NONE cterm=NONE ctermfg=NONE ctermbg=0 +hi CursorLine term=NONE cterm=NONE ctermfg=NONE ctermbg=0 +hi Cursor term=NONE cterm=NONE ctermfg=0 ctermbg=4 +hi Directory term=NONE cterm=NONE ctermfg=69 ctermbg=NONE +hi ErrorMsg term=NONE cterm=NONE ctermfg=15 ctermbg=52 +hi Error term=NONE cterm=NONE ctermfg=15 ctermbg=52 +hi IncSearch term=NONE cterm=NONE ctermfg=black ctermbg=green +hi MatchParen term=NONE cterm=bold ctermfg=red ctermbg=NONE +hi ModeMsg term=NONE cterm=NONE ctermfg=69 ctermbg=NONE +hi MoreMsg term=NONE cterm=NONE ctermfg=69 ctermbg=NONE +hi PmenuSel term=NONE cterm=NONE ctermfg=0 ctermbg=13 +hi Question term=NONE cterm=NONE ctermfg=69 ctermbg=NONE +hi Search term=NONE cterm=NONE ctermfg=0 ctermbg=6 +hi StatusLine term=NONE cterm=NONE ctermfg=0 ctermbg=15 +hi Todo term=NONE cterm=NONE ctermfg=10 ctermbg=NONE +hi VisualNOS term=NONE cterm=NONE ctermfg=NONE ctermbg=69 +hi WarningMsg term=NONE cterm=NONE ctermfg=15 ctermbg=52 + +" Reversed +hi DiffText term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE +hi PmenuSbar term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE +hi Pmenu term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE +hi PmenuThumb term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE +hi TabLineSel term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE +hi Visual term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE +hi WildMenu term=reverse cterm=reverse ctermfg=NONE ctermbg=NONE + +" Diff +hi DiffAdd term=NONE cterm=NONE ctermfg=2 ctermbg=NONE +hi DiffChange term=NONE cterm=NONE ctermfg=3 ctermbg=NONE +hi DiffDelete term=NONE cterm=NONE ctermfg=1 ctermbg=NONE +hi DiffText term=NONE cterm=NONE ctermfg=4 ctermbg=NONE + +" Spell +hi SpellBad term=underline cterm=underline ctermfg=13 ctermbg=NONE +hi SpellCap term=underline cterm=underline ctermfg=13 ctermbg=NONE +hi SpellLocal term=underline cterm=underline ctermfg=13 ctermbg=NONE +hi SpellRare term=underline cterm=underline ctermfg=13 ctermbg=NONE + +" Vim Features +hi Menu term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Scrollbar term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi TabLineFill term=NONE cterm=NONE ctermfg=white ctermbg=240 +hi TabLine term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Tooltip term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE + +" Syntax Highlighting (or lack of) +hi Boolean term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Character term=NONE cterm=NONE ctermfg=NONE ctermbg=233 +hi Conceal term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Conditional term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Constant term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Debug term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Define term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Delimiter term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Directive term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Exception term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Float term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Format term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Function term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Identifier term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Ignore term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Include term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Keyword term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Label term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Macro term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Number term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Operator term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi PreCondit term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi PreProc term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Repeat term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi SpecialChar term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Special term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Statement term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi StorageClass term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi String term=NONE cterm=NONE ctermfg=222 ctermbg=NONE +hi Structure term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Tag term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Title term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Typedef term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Type term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE +hi Underlined term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE + +" Sneak +hi SneakPluginTarget term=NONE cterm=NONE ctermfg=black ctermbg=yellow +hi SneakStreakTarget term=NONE cterm=NONE ctermfg=black ctermbg=yellow +hi SneakStreakStatusLine term=NONE cterm=NONE ctermfg=black ctermbg=yellow
A .vimrc

@@ -0,0 +1,51 @@

+syntax on +colors patine + +" weird defaults +set tabstop=4 +set scrolloff=10 +set shiftwidth=4 +set hlsearch +set smartcase +set t_Co=256 " it's 2019 ffs +set backspace=indent,eol,start +set wildmode=longest,list,full +map <F1> <Esc> +imap <F1> <Esc> + +" Protect changes between writes. Default values of +" updatecount (200 keystrokes) and updatetime +" (4 seconds) are fine +set swapfile +set directory^=~/.vim/swap// + +" protect against crash-during-write +set writebackup +" but do not persist backup after successful write +set nobackup +" use rename-and-write-new method whenever safe +set backupcopy=auto +" patch required to honor double slash at end +if has("patch-8.1.0251") + " consolidate the writebackups -- not a big + " deal either way, since they usually get deleted + set backupdir^=~/.vim/backup// +end + +" persist the undo tree for each file +set undofile +set undodir^=~/.vim/undo// + +" quickfix shortcuts +nmap ]q :cnext<cr> +nmap ]Q :clast<cr> +nmap [q :cprev<cr> +nmap [Q :cfirst<cr> + +" shortcutz +nnoremap <CR> :nohlsearch<CR><CR> " enter clears hl +map <silent> <F4> :make<cr><cr><cr> " make all the things +set pastetoggle=<C-p> " control+p to toggle pasting + +" mail +autocmd FileType mail setlocal tw=72 spell spelllang=en