-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin overwrites keymaps of restricted_keys
#33
Comments
You can add "oil" and "TelescopePrompt" to |
Tried that, the problem is enabling hardtime seems to unbind/rebind some of my binds, like |
Could you provide your keymap setting of |
I have the same issue with the keybindings in oil. This is how I have the keybinding defined in my config |
restricted_keys
Please try out the latest version of hardtime.nvim. It should work fine now. |
I pulled the latest version and I'm getting the following error now
|
@AW3i are you using lazy.nvim to install plugins? If yes, please set the keymap in the keys section when installing oil.nvim: {
"stevearc/oil.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
keys = {
{ "-", ":lua require('oil').open()<CR>" },
},
} |
Using the keys section makes it work, thanks! |
What's the difference between setting it in the plugins map vs. setting the keymap separately? |
Putting it inside |
Describe the bug
installing the plugin disables shortcuts for e.g. CTRL+P which opens
builtin.git_files
in telescope or-
isis a bind for oil.nvim. This is how I mainly navigate between files. Hardtime also doesn't give me an error message
telling me that that's suboptimal, so I think it may be a bug.
Config options
Nothing, I really just added hardtime to lazy as per the readme.
Expected behavior
hardtime gives me a hard time but still lets me navigate between files.
Additional context
See my dotfiles repo for my neovim config.
The text was updated successfully, but these errors were encountered: