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
- name for the dos files list:
df="$CrPl/encoding/Vim/grep_CRLF.fetl"
(using my $vimfiles/syntax/fetl.vim) cd $vimfiles
- list the culprits:
fd -Itf -x grep -rIl -m 1 $'\r' > $df
- do the conversions:
while read CRLFfile; do sed -i 's/\r//' "${CRLFfile/:*}"; done <$df
- tidy off:
rm $df