Skip to content

Commit

Permalink
Make 'u' go down, not up, like in emacs (dired)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuuzetsu committed Oct 13, 2014
1 parent 04b5e97 commit 54e8ca1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions yi/src/library/Yi/Dired.hs
Original file line number Diff line number Diff line change
Expand Up @@ -737,12 +737,13 @@ diredRefreshMark = do

diredUnmark :: BufferM ()
diredUnmark = bypassReadOnly $ do
maybefile <- fileFromPoint
case maybefile of
Just (fn, _de) -> do diredUnmarkPath fn
filenameColOf lineUp
diredRefreshMark
Nothing -> filenameColOf lineUp
maybefile <- fileFromPoint
case maybefile of
Just (fn, _de) -> do
diredUnmarkPath fn
filenameColOf lineDown
diredRefreshMark
Nothing -> filenameColOf lineDown


diredUnmarkPath :: FilePath -> BufferM()
Expand Down

0 comments on commit 54e8ca1

Please sign in to comment.