From 342f1dcf115f998cbb5d27c5593e215b01e5b7a4 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Wed, 29 Oct 2025 14:20:21 -0400 Subject: Finish adding files from new moyo, misc updates --- files/audio/asoundrc | 24 ++++++++++++------------ files/email/muttrc | 4 +--- files/vim/autoload/Juliana.vim | 2 ++ files/vim/vimrc | 10 ++++++---- 4 files changed, 21 insertions(+), 19 deletions(-) (limited to 'files') diff --git a/files/audio/asoundrc b/files/audio/asoundrc index 051a420..8f93680 100644 --- a/files/audio/asoundrc +++ b/files/audio/asoundrc @@ -1,12 +1,12 @@ -#pcm.!spdif { -# type hw -# card 1 -# device 1 -#} -# -#pcm.!default { -# type plug -# slave { -# pcm "spdif" -# } -#} +pcm.!spdif { + type hw + card 1 + device 1 +} + +pcm.!default { + type plug + slave { + pcm "spdif" + } +} diff --git a/files/email/muttrc b/files/email/muttrc index 2f2efea..02bbe61 100644 --- a/files/email/muttrc +++ b/files/email/muttrc @@ -83,10 +83,8 @@ bind editor complete-query bind browser l select-entry bind browser gg top-page bind browser G bottom-page -#bind index,pager H "view-raw-message" -# https://superuser.com/a/695154 -macro index,pager \cB ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; unset pipe_decode\n" "call w3m to extract URLs out of a message" +macro pager n "unset pipe_decodeextract_url" "extract URLs from a message" color normal white black color attachment brightyellow black diff --git a/files/vim/autoload/Juliana.vim b/files/vim/autoload/Juliana.vim index 4dd86db..9af02d7 100644 --- a/files/vim/autoload/Juliana.vim +++ b/files/vim/autoload/Juliana.vim @@ -6,6 +6,8 @@ function! Juliana#Init() autocmd ModeChanged [V\x16]*:i let g:Juliana#has_selection = 1 autocmd InsertLeave * let g:Juliana#has_selection = 0 augroup END + " This won't trigger autocomplete until 2 characters are typed. + autocmd ModeChanged *:i set noac | augroup JulianaSkipAutocomplete | autocmd TextChangedI * set ac | autocmd! JulianaSkipAutocomplete | augroup END endfunction function! Juliana#CompleteTab(type) diff --git a/files/vim/vimrc b/files/vim/vimrc index 41e30fb..c40eeec 100644 --- a/files/vim/vimrc +++ b/files/vim/vimrc @@ -1,5 +1,3 @@ -" @TODO: Map 'd' to delete no yank - " Basic settings. set nocompatible set number @@ -130,8 +128,9 @@ if isdirectory(expand("~/c")) endif set autocomplete -set complete=.^5,w^5,b^5,u^5 -set completeopt=popup +"set complete=.^6,w^6,b^6,u^6,i^6,d^6 +set complete=.^6,w^6,b^6,u^6 +set completeopt+=menu,popup " Plugins. let g:fugitive_no_maps = 1 @@ -182,6 +181,8 @@ nnoremap nmap " ctrl + c no-op. nnoremap +" shift + x delete no yank. +vnoremap X "_x " Disable F1 for help. nmap " Disable q: for histroy. @@ -266,6 +267,7 @@ nnoremap Juliana#CompleteNTab("FOLD") command Tabify set noexpandtab | %retab! | set expandtab command Untabify set expandtab | %retab! +" @TODO: noeol, nofixeol, binary command Hex :%!xxd command Unhex :%!xxd -r -- cgit v1.2.3-101-g0448