Scripts to be "quick and efficient" - Servers Administration, Networking, & Virtualization
Users browsing this thread: 3 Guest(s)
|
|||
tldr; emacs
I have been adopting a slightly different approach than mentioned above -- pulling more and more into the emacs interface, and using the plugin tooling there. This gives me a relatively consistent interface to many tools without having to learn different ncurses silo-type programs or install things on remote machines. buffers, modes, keybinds, input, display are all handled in the 'emacs' way, so I can try out different plugins with not so much effort, and extend what I don't like. some highlights (in the flavor of the above tools): - I no longer run terminal emulators by default -- instead I run emacs shells. This means that I can treat STDOUT as text, manipulating past output for reuse elsewhere. - magit[1] is a good git interface that can do all I like (diffing,staging regions/lines, branching, stashing..) - restclient.el[2] is a nice http request wrapper that lets me execute requests interactively and store them as text, giving me a postman-like experience. it even allows elisp code in the mix so I can use stuff like pass[3] for auth. - tramp mode [4] gives me a remote shell within emacs so I can use my tools without having to install anything on the remote machine. I just add aliases to shx[5]. When I look for tools like the above, my focus is on shortening the feedback loop in whatever I am doing. The faster I can iterate on an idea/interact with something the faster I can change and adapt. Having a consistent interface for many things lets me do that. There is much more, I don't want to wax too long if there is no interest here. my config: https://github.com/neeasade/emacs.d 1: https://magit.vc/ 2: https://github.com/pashky/restclient.el 3: https://www.passwordstore.org/ 4: https://www.emacswiki.org/emacs/TrampMode 5: https://github.com/riscy/shx-for-emacs |
|||