-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fern buffer is broken when I invoke <Plug>(fern-aciton-open:vsplit)
#413
Labels
bug
Something isn't working
Comments
Reproduced with the procedure and minimal vimrc if exists('+compatible') && &compatible
set nocompatible
endif
" Disable Vim's native pack feature
set packpath=
" Clone https://github.com/lambdalisue/fern.vim in somewhere
" and specify that directory to the below
set runtimepath^=~/ghq/github.com/lambdalisue/fern.vim
filetype plugin indent on
syntax on
"----------------------------------------------------------------
nnoremap ; :
nnoremap : ;
let g:fern#disable_default_mappings = 1
let g:fern#disable_drawer_smart_quit = 1
function! s:my_fern() abort
nmap <buffer> <CR> <Plug>(fern-action-open:edit)
nmap <buffer> s <Plug>(fern-action-open:vsplit)
endfunction
augroup my_fern
autocmd!
autocmd FileType fern call s:my_fern()
augroup END
"----------------------------------------------------------------
echomsg "Custom minimal vimrc has loaded" |
lambdalisue
added a commit
that referenced
this issue
Apr 6, 2022
@lambdalisue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Fern buffer is broken when I invoke
<Plug>(fern-aciton-open:vsplit)
under specific confitions.Environment
Fern setting
Procedure
:Fern . -drawer -stay
:q
<CR>
key (<Plug>(fern-action-open:edit)
):Fern . -drawer
s
key (<Plug>(fern-action-open:vsplit)
)The text was updated successfully, but these errors were encountered: