vastwise.blogg.se

Xonsh vs vim
Xonsh vs vim










xonsh vs vim
  1. Xonsh vs vim full#
  2. Xonsh vs vim plus#

That and the related history and such, is exceedingly useful for interactive use. For interactive, like Korn and most similar successors, it has lovely command line editing capabilities - mostly notably vi (or emacs) style command line editing - on the command line, or likewise in editor - results of which are executed by shell.

xonsh vs vim

Xonsh vs vim plus#

Interactive CLI use, plus sometimes some programming bits: bash:.General coding: most of the time dash - or most any (preferably minimal yet compliant) POSIX shell - because mostly it "just works", and there aren't unpleasant surprises (and, oh, massive security bugs when someone does something stupid in a way over featured shell)).There's probably 20 other nice things I use and like about Xonsh that I take for granted. If I really need POSIX, I can easily make a Zsh/Bash script in a file. Events are supported and easy to tie into so you can do things on new $PWD for example DOCSTRINGS! Seriously - if I want to know what a function does, I just callfoo._ doc and thefoo` shell function tells me what it does. So I can iterate through files with ease (and even operate on them as objects).Įcho Shell functions are simply Python syntax.

xonsh vs vim

"pg-strings" are the bomb! P:=Path and G:=Glob. There's just xpip and it works exactly like you'd expect pip to. There's not 1000 different abandonware plugin managers (looking at you Zsh). Instead of having to use utilities like math and string in Fish, or sed and awk in Zsh, I can just work with data structures and strings and math and PCRE regular expressions on the command line with familiar and readable syntax (well, regex readability being what it is) Having a queryable SQLite command history with extensive metadata is really handy Built-in syntax highlighting, autocomplete, and other niceties that Fish has, but require plugins for other shells It feels like what MS was trying to accomplish with Powershell, but executed way better. Having true objects to act on and first class data structures on the command line is crazy helpful.

Xonsh vs vim full#

Having used Bash, Zsh, and Fish extensively - using Xonsh with the full power of Python behind it is a totally different and wonderful experience, and I don't want to ever go back. I'll go ahead and put my head on the chopping block as probably the lone person here that loves Xonsh (pronounced Konsh).












Xonsh vs vim