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

Why am I not able to resize the REPL window/split? #354

Open
chaudry-786 opened this issue Nov 25, 2023 · 2 comments
Open

Why am I not able to resize the REPL window/split? #354

chaudry-786 opened this issue Nov 25, 2023 · 2 comments
Labels
fix-docs Documentation needs to be/is being updated/fixed to avoid similar issues

Comments

@chaudry-786
Copy link

What is this REPL window?
I use this plugin "mrjones2014/smart-splits.nvim" to easily resize windows using alt-hjkl but it has no effect on the REPL.
Also I use "alexghergh/nvim-tmux-navigation" to move easily between splits but again I can't move to the REPL split.

Is the REPL in a a terminal split? I have mapped the key:
vim.keymap.set({ "n", "t" }, "", nvim_tmux_nav.NvimTmuxNavigateLeft)
which let's me move out of REPL but doesn't move in.

@gwerbin
Copy link

gwerbin commented Dec 20, 2023

By default, the REPL window is a normal window, and the REPL buffer is just a standard Terminal buffer (set buftype=terminal). The REPL window is created with set winfixwidth winfixheight.

Maybe those options are interacting badly with your plugins? Instead of these special plugin commands, do the standard Vim commands work? For example <c-w>l or 10<c-w>>.

You might need to provide a complete config that can help someone reproduce the problem you are encountering, because I don't have these problems with the standard Vim commands in my own setup.

@raffaem
Copy link

raffaem commented Feb 14, 2024

See here for how to set the winfixwidth and winfixheight options to false.

@hkupty hkupty added the fix-docs Documentation needs to be/is being updated/fixed to avoid similar issues label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix-docs Documentation needs to be/is being updated/fixed to avoid similar issues
Projects
None yet
Development

No branches or pull requests

4 participants