Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Split window vertically rather than horizontally. #10

Open
mikef656 opened this issue Mar 10, 2016 · 4 comments
Open

Split window vertically rather than horizontally. #10

mikef656 opened this issue Mar 10, 2016 · 4 comments

Comments

@mikef656
Copy link

  1. It would be nice to have a customize option which determines vertical or horizontal split.
    Currently peep-mode splits the window horizontally only?

  2. How about binding the letter 'q' into the peep-dired-mode-map so that it quits peep mode?

Thanks
Mike

@asok
Copy link
Owner

asok commented Mar 11, 2016

  1. It would be nice to have a customize option which determines vertical or horizontal split.
    Currently peep-mode splits the window horizontally only?

Not sure what's the best approach here. This is somewhat related to #6

  1. How about binding the letter 'q' into the peep-dired-mode-map so that it quits peep mode?

Sounds good.

asok added a commit that referenced this issue Mar 11, 2016
Connected with #10
@asok
Copy link
Owner

asok commented Apr 13, 2016

@Mike--F today I find out that there's ranger.el. It's more complex but I think it achieves what you're looking for.

@mikef656
Copy link
Author

Sunrise Commander has a nice viewer also.

@randomwangran
Copy link

I have the same issue some days ago and I was happy to find a solution.

However, I find it conflicts with peep-dired. It makes many windows (>8) if I execute peep-dired.

This is part of my config:

(use-package peep-dired
  ;;Although it works when frame size is relative small, I still find
;; it is not working properly when the frame size is big or full
;; screen.

;; I test it in 25.1 and 26.3 (emacs -q) in which both of them have the same
;; behaviour.
  :ensure t
  :bind (:map dired-mode-map
              ("P" . peep-dired))
  :config
  (setq peep-dired-cleanup-on-disable t)
  ;; (setq peep-dired-cleanup-eagerly t)

  (setq peep-dired-ignored-extensions '("elc" "mkv" "webm" "mp4" "mp3" "ogg" "iso" "mat" "exe")))

I also notice that peep-dired splits window as I expected when the frame is relatively small. However, if the frame is big or in the full screen mode, there are too many windows.

I see lots of people recommand ranger.el, but I just feel it is too complex (I am not vim user).

peep-dired is good enough for task to broswer files. I do hope I can figure it out someday later.

Thanks for your effort @asok !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants