Posts

Showing posts from August, 2024

TAM, guide of features & smart tricks.

Image
 Current version is 9.1.3. So, Dear User, let's dive into.. Install TAM. cargo install sark0y_tam_rst Run TAM. fish> nano ~/.fishrc alias tam.rst='sark0y_tam_rst -find-files -path /path/to/dir -cols 3 -rows 9 -in-name \'pass==-iE \w\' -view-w "flatpak run info.smplayer.SMPlayer" -view-w "smplayer" -view-w "gwenview" -dont-exit $argv' bash> nano ~/.bashrc alias tam.rst='sark0y_tam_rst -find-files -path /path/to/dir -cols 3 -rows 9 -in-name "pass==-iE \w" -view-w "flatpak run info.smplayer.SMPlayer" -view-w "smplayer" -view-w "gwenview" -dont-exit $@' So, now it's possible just.. > tam.rst Some terminology.. Actually, TAM provides commands & subcommands: for shorter notation, c{...} is a command; s{...} is a subcommand + we have hotkeys {UpArrow}, {DownArrow}, {Insert} etc. If a context is known for sure - just use {...}. For instance, c{sieve ...} == {sieve ...}. The very P

How to print a func with Grep.

 grep -oPz  '(?s)fn\s+mk_uid.*?fn' -R ~/Rust/TAM/src/ lst.rs:fn mk_uid(){     let front_list = take_list_adr_env("found_files").unreel_link_to_depth(1);     let front_list = read_tail(&front_list, "/");     crate::cache::set_uid_cache(&front_list);     crate::update18::upd_screen_or_not( (-1, "".strn() ) ); } pub fn