New answers tagged

2

Correct. In a shell like Bash, the pipe character | forwards the output of the command on the left into the input of the command on the right. Whatever the first command prints to file descriptor 1 (which is called the “standard output”) is available for the second command to read from file descriptor 0 (the “standard input”). There are at least two ways to ...


1

See shell-command-on-region (suggestively bound to M-|). You can select a region and call shell-command-on-region, specifying the readability command. The region becomes the standard input for the command. To pass a string, you can create a temp buffer and insert the string, then set the region to the whole buffer before doing the above. This is done often ...


1

There are three things to do, so we write a function for each: get the headline text run the command with the headline text as argument add the result as a tag to the headline (defun ndk/headline-text () (let* ((el (org-element-at-point)) (typ (org-element-type el))) (when (eq typ 'headline) (plist-get (cadr el) :raw-value)))) (defun ...


0

In your doom init.el file you need to enable format +onsave in the :editor section. See the snippet below or look at the example init.el (with format +onsave disabled) on the doom emacs git repo :editor (evil +everywhere); come to the dark side, we have cookies file-templates ; auto-snippets for empty files fold ; (nigh) ...


Top 50 recent answers are included