Skip to content
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

方向鍵選取 #228

Closed
4 of 6 tasks
misakisuna705 opened this issue Oct 9, 2018 · 3 comments
Closed
4 of 6 tasks

方向鍵選取 #228

misakisuna705 opened this issue Oct 9, 2018 · 3 comments
Labels

Comments

@misakisuna705
Copy link

  • vim or neovim?

    • vim
    • neovim
  • Output of vim --version or nvim --version: vim --8.1.450

  • Operating system:

    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Configurations related to LeaderF in vimrc:

Plug 'Yggdroot/LeaderF'",{'on': ['LeaderfFunction', 'LeaderfFile'],'do': './install.sh'}
let g:Lf_CacheDirectory = expand('~/.cache')
let g:Lf_WorkingDirectoryMode = 'Ac'
let g:Lf_RootMarkers = ['.git']
map :LeaderfFile
map :Leaderf bufTag
map :LeaderfTag
let g:Lf_ShowHidden = 1
let g:Lf_WindowHeight = 0.30
let g:Lf_HideHelp = 1

Describe your question, feature request, or bug.

你好,我今天使用leaderf搜尋檔案或標籤時,都無法使用方向鍵選取@@

@misakisuna705
Copy link
Author

上面勾錯
應該是 "vim" 和 "Mac OSX"

@Yggdroot
Copy link
Owner

Yggdroot commented Oct 9, 2018

这是 #213 这个feature引入的,以前选取是<c-j>,<down><c-k>,<up>, 现在只用<c-j><c-k>了。<up><down>用来翻看历史。
如果不习惯可以用下面方法来自定义:

LeaderF/doc/leaderf.txt

Lines 484 to 489 in a64ea18

g:Lf_CommandMap *g:Lf_CommandMap*
Use this option to customize the mappings inside LeaderF's
prompt(|leaderf-prompt|).
for example, if you want to change the default command <C-F> to <C-D> and
change the default command <ESC> to <C-A> and <C-B>: >
let g:Lf_CommandMap = {'<C-F>': ['<C-D>'], '<ESC>': ['<C-A>', '<C-B>']}

@Yggdroot Yggdroot added the FAQ label Oct 9, 2018
@misakisuna705
Copy link
Author

可以了,十分感謝!!

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

No branches or pull requests

2 participants