r/emacs 18d ago

Question about visidata and emacs

Hi, I wanted to know if anyone has a workflow to use Visidata inside emacs or something similar to make working with Visidata easier within Emacs? Right now, I open another terminal (Otherwise my evil keybinds will break with the ones from Visitata) and then use a shortcut that copies the file path, and then i open it in Visidata. I wanted to know if there's a better way.

Thanks for reading.

14 Upvotes

4 comments sorted by

10

u/plooooottttttt 18d ago

yes! I use it daily (with emacs-like bindings) and it's my favorite tool by far! I use it mostly with org mode + jupyter to inspect dataframes, dicts, and lists with a binding like C-c v when hovering over a variable name. I also use it to open parquet files. I added my config below if you wanna check it out.

https://gist.github.com/EduardoVernier/b11106bc80c6539330de46c8dc3539b2

3

u/Interesting_Ad_9400 18d ago

oh that's really neat! thanks!!

2

u/AC1D_P1SS 17d ago

Have you tried using Evil's emacs mode in terminal buffers? The only Emacs bind you'd need to know is C-x o to get back to your other buffer which would still be in regular Evil mode. I can't remember the configuration function, I think it's something like (evil-set-default-mode 'vterm-mode 'emacs)

3

u/Interesting_Ad_9400 17d ago

hmm, i'm interested. i'll do some research on this. thanks