Comments (10)
Using the keys section makes it work, thanks!
from hardtime.nvim.
You can add "oil" and "TelescopePrompt" to disabled_filetypes
to disable hardtime.nvim when using these plugins.
from hardtime.nvim.
Tried that, the problem is enabling hardtime seems to unbind/rebind some of my binds, like <C-P>
for searching the repo or -
for oil. Even after disabling it the binds still don't work. It doesn't hurt anything if I set enabled=false
in the opts but as soon as I enable it, I need to disable it and restart nvim to reload the binds it overrides.
from hardtime.nvim.
Could you provide your keymap setting of <C-P>
and -
?
from hardtime.nvim.
I have the same issue with the keybindings in oil. This is how I have the keybinding defined in my config
vim.keymap.set("n", "-", require("oil").open, { desc = "Open parent directory" })
from hardtime.nvim.
Please try out the latest version of hardtime.nvim. It should work fine now.
from hardtime.nvim.
I pulled the latest version and I'm getting the following error now
E5108: Error executing lua: .../aw3i/.local/share/nvim/lazy/oil.nvim/lua/oil/init.lua:379: Vim:E565: Not allowed to change text or change window
stack traceback:
[C]: in function 'edit'
.../aw3i/.local/share/nvim/lazy/oil.nvim/lua/oil/init.lua:379: in function 'callback'
...ocal/share/nvim/lazy/hardtime.nvim/lua/hardtime/init.lua:15: in function <...ocal/share/nvim/lazy/hardtime.nvim/lua/hardtime/init.lua:11>
from hardtime.nvim.
@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>" },
},
}
from hardtime.nvim.
@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>" }, }, }
What's the difference between setting it in the plugins map vs. setting the keymap separately?
from hardtime.nvim.
Putting it inside keys
makes sure that the keymap is set after the plugin is loaded.
from hardtime.nvim.
Related Issues (20)
- Question: disabling notifications in terminal HOT 1
- can't use C-A C-X to increment/decrement
- feat: daily / weekly / monthly hardtime report
- docs: add vim help file HOT 1
- refactor: plugin state variables
- Key bindings with Space as <leader> stop working HOT 3
- Provide lualine configuration example HOT 3
- Question: Location of `hardtime.nvim.log`
- Mouse is not re-enabled when entering buffer with buftype terminal
- Not picking up j/k repeating when using LazyVim distro HOT 4
- Suggest alternative when blocking repeated keys HOT 1
- Wrong hint message for `xi` HOT 6
- hardtime ignores keys mapped to hjkl HOT 2
- Hint timeout HOT 4
- When Installed, I get errors when using telescope HOT 5
- `xi` detected as `li` HOT 1
- Neoscroll compatability HOT 4
- Use D instead of d$ and Y instead of y$ HOT 2
- Feat: Customize popup window HOT 5
- filetype matching doesn't work for types with "-" HOT 4
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 hardtime.nvim.