Code Monkey home page Code Monkey logo

ranger.nvim's People

Contributors

kelly-lin avatar kelly-lin-nine avatar tomatofgy avatar vtavernier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ranger.nvim's Issues

[feature request] Use only window that "open" was invoked on

Hi,
This is a great plugin, I enjoy using it much more than vinegar/dirvish.
One thing I'd want though is the possibility for ranger taking only the space of the window it was invoked on.
So if I have a split with 2 files open and I invoke "open" on the left pane, only left pane is taken by ranger.
Ideally I would be able to use C-w C-l and C-w C-h to switch between the panes like I would normally do.

Binding <C-s> freezes terminal

Hi,

thanks for the plugin.

I tried binding <C-s> to OPEN_MODE.split, but it crashes my terminal. Any idea why?

Regards

Files are not opening in nvim

Hi,
I am not able to open the files in the editor by <CR> or l or any other opening commands.

I am using neo-tree also as filemanger. I am attaching the video to get more clarity. If you could help debug the issue . it would be much appreciated.

screenrecord-ranger.mp4

My Neovim version is the lates stable and i have updated ranger and the neovim plugins

[Feature Request] Allow for opening `ranger` in a floating window instead of default fullscreen

Hello there. Hope you're doing well. Thank you for creating ranger-nvim; it's the best ranger plugin for me.

As titled, I'd like the feature to open ranger in a floating window instead of default fullscreen, like below:

2023-07-28-15-22-56

The above is achieved by using another plugin that supports ranger called fm-nvim. The following config is inspired by fm-nvim and maybe it can serve as a starting point?

require("ranger-nvim").setup({
  ui = {
    -- Default UI ("full" or "float")
    default = "float",

    float = {
      -- Floating window border (see ':h nvim_open_win')
      border = "none",

      -- Highlight group for floating window/border (see ':h winhl')
      float_hl = "Normal",
      border_hl = "FloatBorder",

      -- Floating Window Transparency (see ':h winblend')
      blend = 0,

      -- Num from 0 - 1 for measurements
      height = 0.8,
      width = 0.8,

      -- X and Y Axis of Window
      x = 0.5,
      y = 0.5,
    },
  },
})

Any input is much appreciated. Thank you!

Is there a way to cd into the folder that ranger exits from?

i usually don't want to edit individual files unless i am configuring small applications. this plugin is marvelous for quick navigation, but it would be amazing if i could switch projects by using this to open a folder in nvim, this might already exist, but i did not see it documented.

Close buffer when deleting file

Hey, thanks for making this. Just a quick question, when deleting a file, is there some way to make sure the buffer for the deleted file is also closed?

[Feature Request]: allow hiding the window temporarily

Hi, I'm comming over from rnvimr and since I like simplicity and don't need most of the features of it, I like this plugin a lot, but one feature I find missing.

There is no way to hide the ranger window, only to close it. This is often unwanted when, for example, I want to hop between files and have open multiple tabs in ranger, where I operate with the files. rnvimr has this as default behaviour, where to close it you have to explicitly execute :q in ranger.

Seeing the command in the statusline.

Usually, when I open a terminal and press, e.g., ":mkdir test" or ":touch test.py", I see this in the window below. But when I use this plugin, I don't see anything that I type. This may also relate to the fact, that my color scheme does not seem to be loaded?
Left image: "normal" ranger.
Right image: ranger startet from nvim.

I am using Lazy as a package manager. I use Neovim v0.9.1.

support for path with space

Hello! I hope this message finds you well. I am writing to inform you that I have fixed an issue in the project where paths with spaces were not supported. I have submitted a merge request and would be grateful if you could kindly review it and consider merging it when you have a moment. Thank you very much for your time and consideration.

Suggestion to include a neovim command

Hi! First of all I want a thank you for the plugin, it's working perfectly and it fits my needs of a simple integration of ranger in neovim, perfectly. Without dependencies and so on. Very cool!!

I wanted to suggest to add a neovim command. I wasn't needing it, because the keymap that you provided works perfectly, but it was a little hacky to integrate it with Alpha.nvim. So I made this line to make ":Ranger" a command to add it:

vim.cmd('command! Ranger lua require("ranger-nvim").open(true)')

Thank you for your time!

Feature request

Hi, its a nice integration of ranger into neovim.
Right now, when you enter ranger from neovim, the keymaps defined in neovim still persists in ranger, and it results in a lot of delays and misstypings.
For example:

  • i have mapped spacebar to a lot of letters and spacebar is toggling aswell in ranger, but it toggles with a delay.
  • and so on with others keymaps.

Could you make it possible to disable all the keymaps from neovim while being in ranger mode ?
It could be a property in setup() function like disable_neovim_keymaps = true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.