Comments (15)
Work around for now is to change the &shell to something like zsh
I am on zsh and still see the same issue. Tried let g:nnn#shell = '/usr/bin/zsh'
too.
from nnn.vim.
I am also experiencing this bug:
OS: macOS 10.15.5
Terminal: iTerm2
Shell: zsh 5.7.1
Vim version: 8.2.1100
Plugin manager: vim-plug
Plugin version: master
Nnn version: 3.2
from nnn.vim.
I was unable to reproduce this issue with the given nnn.vim configuration.
OS: Ubuntu 20.04
Terminal: gnome-terminal
Shell: tried with both bash and zsh
Vim version: Neovim 0.4.3
Plugin manager: vim-plug
Plugin version: master
Nnn version: 3.0
from nnn.vim.
I am also experiencing this bug
OS: Arch
Terminal: Termite
Shell: bash 5.0.18
Vim version: 8.2.1704
Plugin manager: vim-plug
Plugin version: master
Nnn version: 3.4
from nnn.vim.
@mcchrish can you take a look? Otherwise, someone has to pitch in.
from nnn.vim.
I'm not able to reproduce the bug. Using vim or neovim, nnn version 3.4.
I opened an nnn popup window to view a directory with lots of subdirs and files, still able to scroll through them.
Does it only happen with popup/floating windows?
from nnn.vim.
@mcchrish For me, yes it only happens with popup/floating windows. Scrolling through a directory with more files/folders than there are lines in the popup window cause a bunch of weird things to happen.
Here is a recording of what it looks like to me: https://asciinema.org/a/360436
This is just me repeatedly hitting j
to move down through the files on the root of my system. As you can see, when it starts scrolling, things get weird.
My vimrc: https://github.com/pricheal/dotfiles/blob/master/.vimrc
and my vim config for nnn.vim: https://github.com/pricheal/dotfiles/blob/master/.vim/plugin/nnn.vim
Edit: here is scrolling working normally without floating window: https://asciinema.org/a/360438
from nnn.vim.
I'm now able reproduce the bug on vim + bash.
Bash:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.
Vim:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 16 2020 23:47:44)
macOS version
Included patches: 1-1700
Minimal vimrc:
set nocompatible
set hidden
let g:nnn#command = 'nnn -C'
let g:nnn#layout = { 'window': { 'width': 0.9, 'height': 0.6, 'highlight': 'Debug' } }
set shell=/bin/bash
call plug#begin('~/.local/share/nvim/vendor')
Plug '~/vimming/nnn.vim'
call plug#end()
I'm not sure if there is anything else this plugin can do to fix the bug. It could be a problem coming from either Vim terminal, bash or nnn itself. (Also able to reproduce bug in floatterm nnn wrapper).
Work around for now is to change the &shell
to something like zsh or move to neovim.
I made an option to configure the shell which this plugin will use with the setting g:nnn#shell
. e.g let g:nnn#shell = '/bin/zsh'
. See :h g:nnn#shell
. 02c625f
from nnn.vim.
I honestly havent experienced this issue since moved to a new laptop and reinstalled linux. So i cant help troubleshoot further.
from nnn.vim.
For me it works if airline is not loaded.
from nnn.vim.
@mcchrish I am still experiencing this issue and haven't been able to figure out any fix. What specifically would I need to put in my vim config for the work around you listed above (with the &shell option)?
from nnn.vim.
Maybe the issue is related to 256-colors when setting NNN_COLORS in 256 color format see
export NNN_COLORS='#0a0a0a0a'
it also works for me (even with airline)
from nnn.vim.
Setting my shell to zsh
doesn't fix the issue for me, neither does changing any color settings with the -C
option or the NNN_COLORS
environment variable.
from nnn.vim.
Similar issue: voldikss/vim-floaterm#171
from nnn.vim.
The original issue submitter mentioned he is not seeing this anymore. I am also not seeing any glitches after moving to nvim.
For others who see this on vim - it's probably broken in vim. If you are on vim, consider moving to neovim.
We will not waste our time on vim-only issues going forward. Being a legacy software, it has a huge community for namesake, but not a single member buzzes when it comes to actual contribution.
from nnn.vim.
Related Issues (20)
- It takes forever to open, is it normal? HOT 10
- Action setting not working on vim 8.1 HOT 4
- Not saving context state after opening a file HOT 4
- Typo in README HOT 1
- nnn changes the vim PWD to the directory which it quitted HOT 8
- Problem open file with l HOT 1
- `:NnnExplorer` bugs and additional features HOT 33
- Error when using fzopen after changing directory HOT 14
- Explorer window does not close properly when multi tabs have their own opened explorer window HOT 1
- Picker picks the wrong file if a directory with similar name exists HOT 1
- clipboard does not work HOT 3
- ftplugin sets a global option (`noshowmode`)
- When NnnExplorer is invoked via <Leader> key combination the first 10 entries are already tagged ???? HOT 2
- Unexpected behavior when "NnnExplorer" is invoked via a <leader>key combination. HOT 3
- Error when mapping action to <backspace> HOT 3
- Error when exiting nnn picker without choosing a file. HOT 3
- Undefined variable: g:nnn#action in ftplugin/nnn.vim
- Unknown function: term_getstatus in ftplugin/nnn.vim HOT 1
- Colors in nnn.vim don't seem to work always HOT 1
- local sessions not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nnn.vim.