Comments (11)
So, for now, a false alarm for your great plugin!
from nnn.nvim.
just in case anybody else runs into this, if you have NNN_FIFO set already, you will hit this issue. use -a
instead of setting a global NNN_FIFO variable if you need fifo, i spent way more time then i care to admit scratching my head on this one
from nnn.nvim.
When I change tabs = true
to false
, explorer mode doesn't work.
from nnn.nvim.
I saw an error when tabs == false
which I fixed in the latest commit, did you not see this?
Please confirm your issue is fixed.
from nnn.nvim.
Updated right now:
nnn.nvim 6.69ms start
c3e00b3 fix: nil index when cfg.explorer.tabs is false
the tabs = false problem is gone. The Return Problem is still there. ;D
from nnn.nvim.
I'm not sure why Enter / Return wouldn't work. Perhaps you are not in terminal mode, could you send a screenshot? Or just try pressing "i" first, if that solves it you should check what in your config makes you leave terminal mode.
from nnn.nvim.
Since the picker works, I am not sure how I can be not in terminal mode.
I tested zsh without vim mode, but that doesn't change anything. The tabs = false problem is gone, Explorer Mode works now in kitty and macOS terminal.
I will restart my Mac without any zshenv and zshrc – ...
from nnn.nvim.
Yeah no doesn't look like terminal mode is the issue (:h Terminal-mode
). You could try adding debug print()
statements to read_fifo()
or handle_files()
if that even gets called, maybe:
diff --git a/lua/nnn.lua b/lua/nnn.lua
index bf1ef30..fad789d 100644
--- a/lua/nnn.lua
+++ b/lua/nnn.lua
@@ -146,6 +146,7 @@ local function read_fifo()
end
fpipe:open(fd)
fpipe:read_start(function(rerr, chunk)
+ vim.print(rerr, chunk)
if not rerr and chunk then
S(function()
handle_files(chunk:gmatch("[^\n]+"), "explorer", tab)
Then try opening a file in :NnnExplorer
.
from nnn.nvim.
It looks like a restart without my zshenv and zshrc fixed the problem. I will locate the malicious setting and keep you updated. Maybe something is hijacking return in Explorer Mode.
Interesting.
from nnn.nvim.
Just to keep you informed:
- Merged my env and rc
- Removed all alias.
- Test: return works!
- Enabled alias files one by one and tested every time until all aliases are enabled again: return still works!
- Insert surprised_pikachu.jpg
So… maybe a zsh hiccup… cache… I don't know.
from nnn.nvim.
i spent way more time then i care to admit scratching my head on this one
That's the cost of living in the Command Line Interface.
from nnn.nvim.
Related Issues (20)
- Multiple nnn instances in various split windows (like netrw) HOT 2
- disable quitcd within neovim only HOT 5
- some quick thoughts on some implementations HOT 4
- Cannot turn off auto fullscreen of nnn window when tab is empty
- Keybind custom nnn startup command HOT 7
- preselect file when using %:p:h HOT 3
- How to make the nnn startup directory be the directory of the current file? HOT 2
- Vsplit has different size HOT 3
- Can give a highlight group for picker float window? HOT 1
- builtin.open_in_split opens first file in list and not selected. HOT 17
- Set nnn to open if running nvim . on a directory HOT 1
- Plugins not usable within tmux session cmd override HOT 2
- barbar buffer line lists nnn buffer momentarily HOT 13
- NnnPicker doesn't show the last time of nnn HOT 5
- Opening nvim inside hidden folder makes nnn show hidden files by default HOT 2
- Honor the NNN_SEL env var HOT 4
- NNN preview with tmux working, but preview is still open after pressing 'enter'. HOT 1
- No possible ways to remap quit from Picker/Explorer keybind HOT 5
- NNN with tmux does not show hidden files in the preview window HOT 2
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.nvim.