Wednesday, November 19, 2025

Re: sort in .tsv file

On 18.11.25 13:38, Marc Chantreux wrote:
> And that makes the codebase bigger, more maintainance to do, more
> possible vulnerabilities.
>
> will you also implement awk ? I hope not and it doesn't stops me to have
> a plugin that make vim looks like a spreadsheet
>
>
> based on few lines of viml + an awk script
>

Now, if vimscript were mostly awk, then we'd have the ultimate editor. :-) (My spreadsheeting has not yet gone beyond including a line of awk in a data table file, then executing that with a Vim-mapped keystroke, or e.g. for rainfall, doing the awk monthly totalling in the shell-aliased editing command, so it runs on exit.)

> not to mention :so now support ranges \o/
>
> Actually I think vim does too much things and The *only* feature I miss
> today is a global PreSystem autocommand so you can setup environement
> variables.
>
>  au SystemPre {
>     $cf = expand("<cfile>")
>     $cF = expand("<cFILE>")
>     $cf = expand("<cword>")
>     $cF = expand("<cWORD>")
>  }
>
> so I have to prefix ! and system() calls myself.
>
> Again (because it was the goal of this mail): vim, in its actual
> philosophy, is super important! Thanks a lot for maintaining it.

Enthusiastically seconded. There's nothing else as good. All the folding methods are brilliant, for example. A .vimrc tweaked over a number of decades makes life so much easier. (My only remaining wish would be Posix ERE regexes - the existing mish-mash of alternatives in Vim seems a lot of work and confusion, without quite getting there. Admittedly, \v comes close. And one just shells out to awk, when serious, anyway.)

Erik


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/459bf14d-697e-41dc-926b-d1f0535cb5c7%40localhost.

No comments: