Enable slash completition in the magit-status helm window
This commit is contained in:
		
							
								
								
									
										4
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.el
									
									
									
									
									
								
							| @@ -1281,7 +1281,9 @@ INFO plist." | |||||||
| (defun gpolonkai/helm-ff-slash-dir-complete () | (defun gpolonkai/helm-ff-slash-dir-complete () | ||||||
|   "Make forward slash (/) do completion in helm." |   "Make forward slash (/) do completion in helm." | ||||||
|   (interactive) |   (interactive) | ||||||
|   (if (and (equal "Find Files" (assoc-default 'name (helm-get-current-source))) |   (if (and (or | ||||||
|  |             (equal "magit-status" (assoc-default 'name (helm-get-current-source))) | ||||||
|  |             (equal "Find Files" (assoc-default 'name (helm-get-current-source)))) | ||||||
|            (stringp (helm-get-selection)) |            (stringp (helm-get-selection)) | ||||||
|            (file-directory-p (helm-get-selection))) |            (file-directory-p (helm-get-selection))) | ||||||
|       (helm-execute-persistent-action) |       (helm-execute-persistent-action) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user