vim: set fdl=4:
$vimfiles/README.md
All of my vim
files, except my .gvimrc
& .vimrc
- which vary by machine:
- scripting (going faster)
- quick navigation around my vast personal notes, which include web addresses
Some of my vim
configuraton files are long, but they don't appear so to me as I use my own vim_build
filetype ($vfv/ftplugin/build.vim), which folds my headings nicely.
- a
Vim
flavour, of course - The relevant files of this repository correctly symlinked, as in:
When I somehow managed, from PowerShell
to convert hundreds of files in my configuration to CRLF line endings all the Vim variants on my Arch Linux
machines were broken.
rm -r $vimfiles
git clone https://github.com/harriott/vimfiles $vimfiles
& $vimfiles/vim/packs/get/win64/get.ps1
& $vimfiles/vim/packs/get/unix/get.sh # - not ready yet, see $vimfiles/vim/packs/get/win64/get.ps1 which downloads all the plugins that I use
- prepare:
cd $vimfiles; rm grep_CRLF.ufco
- list the culprits:
fd -tf -x file | grep CRLF >> $vimfiles/grep_CRLF.ufco
(using my $vimfiles/syntax/ufco.vim) - do the conversions:
while read CRLFfile; do sed -i 's/\r//' ${CRLFfile/:*}; done <grep_CRLF.ufco
- tidy off:
rm $vimfiles/grep_CRLF.ufco