use $EDITOR instead of hardcoded editor name
shell function for counting entries in directory and total size
just active terminal, not select first session