You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output of :echo &pythonthreedll(only vim, not neovim):
Output of :py print(sys.version):
Output of :py3 print(sys.version):
3.6.9 (default, Dec 8 2021, 21:08:43)
[GCC 8.4.0]
Output of :echo g:Lf_Debug_Cmd:
Output of :echo g:Lf_FilesFromCache:
Operating system:
Linux
Mac OS X
Windows
Etc.
Configurations related to LeaderF in vimrc:
letg:Lf_CommandMap= {
\ '<C-R>': [],
\ '<F5>': ['<C-R>'],
\ '<C-V>': []
\ }
letg:Lf_HideHelp=1letg:Lf_CursorBlink=1letg:Lf_UseVersionControlTool=0letg:Lf_RgConfig= [
\ "--hidden --follow",
\ "-g '!*.git' -g '!*build*'",
\ "-g '!*.o' -g '!*.so'",
\ "-g '!*.deb' -g '!*.gz' -g '!*.zip'",
\ ]
letg:Lf_ShowHidden=1letg:Lf_RecurseSubmodules=1letg:Lf_ShowDevIcons=0letg:Lf_PreviewResult= { 'File': 1, 'Rg': 1 }
letg:Lf_FollowLinks=1letg:Lf_RememberLastSearch=0letg:Lf_DisableStl=0letg:Lf_WindowPosition='popup'letg:Lf_PreviewInPopup=1letg:Lf_PopupShowStatusline=0letg:Lf_PopupShowBorder=1letg:Lf_PopupBorders= ["─","│","─","│","╭","╮","╯","╰"]
" " let Lf_PopupColorscheme = 'gruvbox_material'" " Lf_hl_popup_inputText is the wincolor of input windowhi Lf_hl_popup_inputText ctermfg=15 ctermbg=4" " Lf_hl_popup_window is the wincolor of content windowhi Lf_hl_popup_window ctermfg=255 ctermbg=NONEhi Lf_hl_popupBorder term=none ctermfg=15 ctermbg=NONE" search in current filenoremapss:<C-U><C-R>=printf("Leaderf line %s", "")<CR><CR>" search fileletg:Lf_ShortcutF="sf"" search docnoremapsd:Leaderf rg -i" " noremap s: <Nop>noremap<leader>b <Nop>noremapsb:<C-U><C-R>=printf("Leaderf buffer %s", "")<CR><CR>noremapsc:<C-U><C-R>=printf("Leaderf cmdHistory %s", "")<CR><CR>noremapsm:<C-U><C-R>=printf("Leaderf mru %s", "")<CR><CR>" depends on ctag, which should be install with universal tagnoremapst:<C-U><C-R>=printf("Leaderf bufTag %s", "")<CR><CR>noremapsn:<C-U><C-R>=printf("Leaderf function %s", "")<CR><CR>" " search visually selected text literallyxnoremapsv:<C-U><C-R>=printf("Leaderf! rg -F -e %s ", leaderf#Rg#visual())<CR><CR>" noremap sw :<C-U><C-R>=printf("Leaderf! rg --current-buffer -e %s ", expand("<cword>"))<CR><CR>noremapsw:<C-U><C-R>=printf("Leaderf! rg -e %s ", expand("<cword>"))<CR><CR>noremapsW:<C-U><C-R>=printf("Leaderf! rg -e %s ", expand("<cWORD>"))<CR><CR>" " search last historynoremapsl:<C-U>Leaderf --recall<CR>" noremap sj :<C-U>Leaderf --next<CR>" noremap sk :<C-U>Leaderf --previous<CR>letg:Lf_NormalMap= {
\ "_": [
\ ["<C-j>", "j"],
\ ["<C-k>", "k"]
\ ]
\}
Describe your question, feature request, or bug.
My work scenario is in the mac, open the iTerm2 terminal and connect the remote Linux machine via ssh. When opening the vim with plugin LeaderF, everything works fine except the paste function. Here are two questions that bother me:
The default key bind for pasting from the official doc is <C-V> or <S-Insert>, but there are unuseful in my terminal. <C-V> does nothing, but I found it will move my cursor to the top of the search result view if I moved down. <S-Insert> includes the Insert key that does not exist on my computer, so I ignore it.
My last experience about copying into a terminal is by <cmd+v>, it's no use and exactly freezes my vim every time! I cannot input anything except <C-C> to quit. And that multi-continual <C-C> leads to an error in vim console, logs are here:
Error detected while processing functionleaderf#Any#start[4]..leaderf#LfPy:
line 1:
Traceback (most recent call last):
File "<string>", line 1, in<module>
File "/home/serving/.vim/bundle/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 815, in start
the_args.start(arguments, *args, **kwargs)
File "/home/serving/.vim/bundle/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 747, in _default_action
manager.startExplorer(win_pos[2:], *args, **kwargs)
File "/home/serving/.vim/bundle/LeaderF/autoload/leaderf/python/leaderf/fileExpl.py", line 852, in startExplorer
super(FileExplManager, self).startExplorer(win_pos, *args, **kwargs)
File "/home/serving/.vim/bundle/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2420, in startExplorer
self.input()
File "/home/serving/.vim/bundle/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 63, in deco
self._getInstance().buffer.options['modifiable'] = False
vim.error: Vim:vim.error: Vim(let):E684: list index out of range: -1
Steps to reproduce
vim
:Leaderf file
cmd + v
Actual behaviour
And the vim will freeze, only the key <Ctrl+C> will terminate LeaderF with the error introduced above.
Expected behaviour
paste into the command line of LeaderF
The text was updated successfully, but these errors were encountered:
vim --version
ornvim --version
::echo has("python")
: 0:echo has("python3")
: 1:echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
::py3 print(sys.version)
::echo g:Lf_Debug_Cmd
::echo g:Lf_FilesFromCache
:Describe your question, feature request, or bug.
My work scenario is in the mac, open the
iTerm2
terminal and connect the remote Linux machine via ssh. When opening the vim with pluginLeaderF
, everything works fine except the paste function. Here are two questions that bother me:<C-V>
or<S-Insert>
, but there are unuseful in my terminal.<C-V>
does nothing, but I found it will move my cursor to the top of the search result view if I moved down.<S-Insert>
includes theInsert
key that does not exist on my computer, so I ignore it.<cmd+v>
, it's no use and exactly freezes my vim every time! I cannot input anything except<C-C>
to quit. And that multi-continual<C-C>
leads to an error in vim console, logs are here:Steps to reproduce
Actual behaviour
And the vim will freeze, only the key <Ctrl+C> will terminate
LeaderF
with the error introduced above.Expected behaviour
paste into the command line of
LeaderF
The text was updated successfully, but these errors were encountered: