Comments (4)
This seems to be out of scope of the plugin since the nnn program handles the keybind and the context of the navigation. This behavior surprises me as well so I disable it by passing NNN environment variable to the command let g:nnn#command = 'DISABLE_FILE_OPEN_ON_NAV=1 nnn'
or let $DISABLE_FILE_OPEN_ON_NAV=1
in vimrc.
from nnn.vim.
You may take a look at the nnn documentation and see if you can configure nnn to your likings. https://github.com/jarun/nnn#configuration
from nnn.vim.
@mcchrish did this stop working in recent releases? I have that config in my vimrc but nnn.vim seems to open the file regardless.
from nnn.vim.
The environment variable was changed to something else in nnn v2.3 it seems:
https://github.com/mcchrish/nnn.vim#environment-variables
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
- Paste selected file into buffer HOT 1
- Use a function with nnn#pick HOT 2
- Remap <enter> with nnn#action HOT 4
- Floating window broken when number of elements exceeds height HOT 6
- 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.