warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.28k stars 370 forks source link

nvim / neovim - Split plane w/ nvim wont resize #342

Open bl42 opened 2 years ago

bl42 commented 2 years ago

Describe the bug

Plane does not resize using the mouse while running neovim.

Note: Does work with `vi`

To Reproduce

Screen Shot 2021-11-01 at 8 10 11 PM

My current config


 " Load plugins
 " VIM enhancements
 Plug 'ciaranm/securemodelines'
 Plug 'editorconfig/editorconfig-vim'
 Plug 'justinmk/vim-sneak'
 Plug 'tpope/vim-surround'
 Plug 'tpope/vim-repeat'

 " GUI enhancements
 Plug 'itchyny/lightline.vim'
 Plug 'machakann/vim-highlightedyank'
 Plug 'andymass/vim-matchup'
 Plug 'chriskempson/base16-vim'

 " Fuzzy finder
 Plug 'airblade/vim-rooter'
 Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --      all' }
 Plug 'junegunn/fzf.vim'

 " Semantic language support
 Plug 'neoclide/coc.nvim', {'branch': 'release'}
 Plug 'neovim/nvim-lspconfig'
 Plug 'nvim-lua/lsp_extensions.nvim'
 Plug 'nvim-lua/completion-nvim'

 " Syntactic language support
 Plug 'cespare/vim-toml'
 Plug 'stephpy/vim-yaml'
 Plug 'rust-lang/rust.vim'
 Plug 'rhysd/vim-clang-format'
 " Plug 'fatih/vim-go'
 Plug 'godlygeek/tabular'
 Plug 'plasticboy/vim-markdown'

 call plug#end()

Expected behaviour

Expected behaviour is the window will resize using a mouse.

Screenshots

No response

Operating System

MacOS

OS Version

11.6

Additional context

No response

kevinyang372 commented 2 years ago

Sorry for the experience! Does resize using the keyboard shortcut (cmd + ctrl + arrow) work for you?

bl42 commented 2 years ago

Does resize using the keyboard shortcut (cmd + ctrl + arrow) work for you?

It does.

And as soon as I quit neovim, it also works.

kevinyang372 commented 2 years ago

That's very weird. Do you mind sharing a screen recording of how the behavior looks like when you try to drag the pane border?

bl42 commented 2 years ago

https://user-images.githubusercontent.com/720139/140234238-ac4927fc-7e4a-4a44-942d-bbd265130636.mov

Zeta611 commented 2 years ago

I use neovim as well, but this issue does not happen to me. I'm on macOS 12.0.1 with NVIM v0.6.0-dev+516-g4a618b00b

elviskahoro commented 2 years ago

@bl42 Is this bug still happening for you?

bl42 commented 2 years ago

@elviskahoro Still an issue

Video Attached (behavior is little different with text.)

https://user-images.githubusercontent.com/720139/145937479-ad69cbcc-62ea-49f0-a278-02a85f8a3b46.mov

elviskahoro commented 2 years ago

@bl42 thanks for the update. we made some vim improvements and wanted check whether they affected this

subdigital commented 2 years ago

I also have this issue. ⌘ ⌃ arrows work, but this conflicts with another shortcut I have on my system.