Tag commandline

Vim: Use Drop Not Edit, SBuffer Not Buffer

I’m going to assume you are a Vim user. Say you have a several windows open in Vim and you want to edit another file. Using :edit works if you want to open the file in the current window unconditionally. But that’s often not what you want. If you have the same file open in another window, then the most efficient and least disruptive thing to do is to switch to that window.

#vim #commandline

Easier CLI for ad-hoc Ansible tasks and playbooks

Encode the host and group names into the name of a wrapper script for quick ad-hoc invocation of Ansible tasks and playbooks.

#commandline #process