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

how to open multiple files without split the window? #590

Open
kingluo opened this issue Jan 7, 2022 · 1 comment
Open

how to open multiple files without split the window? #590

kingluo opened this issue Jan 7, 2022 · 1 comment

Comments

@kingluo
Copy link

kingluo commented Jan 7, 2022

I need to open multiple files in the same window as buffers.
After ctrl-z selects multiple files, and press ctrl-o, it opens files as multiple windows, which is not expected.

@tacahiroy
Copy link
Member

It opens files in split windows by default, you can change this behaviour using a variable, g:ctrlp_open_multiple_files.
https://github.com/ctrlpvim/ctrlp.vim/blob/fc153aabd54f9189e576c9bfb07bac09f36f2ccd/doc/ctrlp.txt

I don't understand what you want to do exactly though, you can open files in hidden buffers by setting i for the variable.
Other possible values are to open files in tabs or split windows.

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

No branches or pull requests

2 participants