New answers tagged

0

This may be hacky but it works! I save the dired buffer at the beginning and then switch back to it right at the end. (defun find-file-dired-ace-window () "Use ace window to select a window for opening a file from dired." (interactive) (let ((file (dired-get-file-for-visit)) (dired-buf (current-buffer))) (if (> (...


0

Don't use find-file (or find-file-other-window). Use find-file-noselect to obtain a buffer visiting the file. Then use display-buffer-pop-up-window to display it in another window. There are other buffer-display functions you can use, if you want to show it in some existing window. C-h f display-buffer tells you about them. Dunno what aw-switch-to-window ...


0

You could add dired-mode and ranger mode to variable "evil-emacs-state-modes": (add-to-list 'evil-emacs-state-modes 'dired-mode)


0

I can't reproduce your error, and want to suggest that you're possibly using xclip incorrectly. This answer should also benefit others because no-one needs to create a custom emacs function for this to work. From a dired buffer, I select a small-sized file, and enter & to get the async dialog. Then I enter xclip -i. That sends the contents of the ...


0

I am open to any other suggestion of workflow to reach a recent (or any) directory quickly. Dired+ lets you open a Dired buffer that shows recently used directories (commands diredp-dired-recent-dirs and diredp-dired-recent-dirs-other-window, bound globally to C-x D r and C-x 4 D r). This is similar to the commands showing recent files (C-x D R and C-x 4 D ...


Top 50 recent answers are included