Subj : Re: this split is limited to -b 2000m To : Maurice Kinal From : Nicholas Boel Date : Fri Nov 15 2024 18:19:16 Hello Maurice, On Fri, Nov 15 2024 10:32:37 -0600, you wrote: > NB> Vim will wrap where you want it to, as well as include the quote > NB> character at the beginning of each wrapped line. > 'fold -s -w 67' will wrap with the space at the end of the line, except the > last line as shown above. I tacked in the qoute prefix at the start of the > lines using sed. I've been doing it the way since forever and old habits die > hard. The only issue I had was when I first started using utf-8 characters > but that was resolved long before utf-8 became the default for me and mine. Yes, I know about fold and sed. I started messing with both of those while still using nano, but after the second quote level I'd had enough. I don't know sed well enough to be able to figure it out easily. One command took me hours to figure out and get to work right. At that point, in desparation, I tried out vim. Once I noticed that 'gq' will not only wrap a long line, but will also automatically insert the quote character at the beginning of every line that was wrapped, I figured this may be an easier approach for me. :) > For the record; > :read !vim --version > VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Nov 11 2024 06:21:11) > Included patches: 1-813 Now you have me wondering what that command does! :read !vim --version VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Oct 15 2024 14:18:26) Included patches: 1-785 Compiled by Arch Linux Huge version without GUI. Features included (+) or not (-): +acl +file_in_path +mouse_urxvt -tag_any_white +arabic +find_in_path +mouse_xterm +tcl/dyn +autocmd +float +multi_byte +termguicolors +autochdir +folding +multi_lang +terminal -autoservername -footer -mzscheme +terminfo -balloon_eval +fork() +netbeans_intg +termresponse +balloon_eval_term +gettext +num64 +textobjects -browse -hangul_input +packages +textprop ++builtin_terms +iconv +path_extra +timers +byte_offset +insert_expand +perl/dyn +title +channel +ipv6 +persistent_undo -toolbar +cindent +job +popupwin +user_commands -clientserver +jumplist +postscript +vartabs -clipboard +keymap +printer +vertsplit +cmdline_compl +lambda +profile +vim9script +cmdline_hist +langmap -python +viminfo +cmdline_info +libcall +python3/dyn +virtualedit +comments +linebreak +quickfix +visual +conceal +lispindent +reltime +visualextra +cryptv +listcmds +rightleft +vreplace +cscope +localmap +ruby/dyn +wildignore +cursorbind +lua/dyn +scrollbind +wildmenu +cursorshape +menu +signs +windows +dialog_con +mksession +smartindent +writebackup +diff +modify_fname -sodium -X11 +digraphs +mouse -sound +xattr -dnd -mouseshape +spell -xfontset -ebcdic +mouse_dec +startuptime -xim +emacs_tags +mouse_gpm +statusline -xpm +eval -mouse_jsbterm -sun_workshop -xsmp +ex_extra +mouse_netterm +syntax -xterm_clipboard +extra_search +mouse_sgr +tag_binary -xterm_save -farsi -mouse_sysmouse -tag_old_static system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" 3rd user vimrc file: "~/.config/vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/vim/src=/usr/src/debug/vim -flto=auto -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.40/core_perl/CORE -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -L/usr/local/lib -o vim -lm -ltinfo -lacl -lattr -lgpm -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm Ooh, neat-o! Regards, Nick .... He who laughs last, thinks slowest. --- SBBSecho 3.22-Linux * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (1:154/700) .