summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helm-files.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/helm-files.el b/helm-files.el
index 44e421b2..cb49999d 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -745,7 +745,9 @@ This reproduce the behavior of \"cp --backup=numbered from to\"."
(helm-find-files-do-action 'hardlink))
(defun helm-find-files-other-window (_candidate)
- "Keep current-buffer and open files in separate windows."
+ "Keep current-buffer and open files in separate windows.
+When a prefix arg is detected files are opened in a vertical windows
+layout."
(let* ((files (helm-marked-candidates))
(buffers (mapcar 'find-file-noselect files))
(initial-ow-fn (if (cdr (window-list))
@@ -1460,7 +1462,8 @@ Behave differently depending of `helm-selection':
(put 'helm-ff-run-switch-to-eshell 'helm-only t)
(defun helm-ff-run-switch-other-window ()
- "Run switch to other window action from `helm-source-find-files'."
+ "Run switch to other window action from `helm-source-find-files'.
+When a prefix arg is provided, split is done vertically."
(interactive)
(with-helm-alive-p
(helm-exit-and-execute-action 'helm-find-files-other-window)))