Skip to content

Commit b51b25a

Browse files
authored
Merge pull request #149 from lambdalisue/action-open-or-expand
Use non obsolete mappings instead
2 parents 98e35ca + 4ef1f4b commit b51b25a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/fern/mapping/open.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ function! fern#mapping#open#init(disable_default_mappings) abort
4949
nmap <buffer><silent> <Plug>(fern-action-open) <Plug>(fern-action-open:edit)
5050
5151
if !a:disable_default_mappings
52-
nmap <buffer><nowait> <C-m> <Plug>(fern-open-or-enter)
53-
nmap <buffer><nowait> l <Plug>(fern-open-or-expand)
52+
nmap <buffer><nowait> <C-m> <Plug>(fern-action-open-or-enter)
53+
nmap <buffer><nowait> l <Plug>(fern-action-open-or-expand)
5454
nmap <buffer><nowait> s <Plug>(fern-action-open:select)
5555
nmap <buffer><nowait> e <Plug>(fern-action-open)
5656
nmap <buffer><nowait> E <Plug>(fern-action-open:side)

0 commit comments

Comments
 (0)