Comments (4)
Ok, I'll see what I come up with and get back to you! :)
from papis.nvim.
Thanks for your issue report! I'm pretty sure it's because <c-p>[some_letter]
is used as a shortcut in insert mode for various things by papis.nvim. This means that when you press just <c-p>
, nvim is waiting to see with what additional character you will complete the shortcut and only after some time will execute the command mapped to <c-p>
. This isn't great given that <c-p>
is used by default in nvim to select the next item in various lists if I'm not mistaken. I've remapped this to <tab>
on my machine and therefore didn't notice the clash.
I'll think about how to best deal with this. <c-p>
does seem like the natural insert mode equivalent of the standard <leader-p>
. Maybe I can figure out some way to only use the mapping in standard insert mode (and not in telescope windows or when using some autocomplete feature). Or, do you maybe have any ideas on how to best deal with this?
from papis.nvim.
Thanks for your issue report! I'm pretty sure it's because
<c-p>[some_letter]
is used as a shortcut in insert mode for various things by papis.nvim. This means that when you press just<c-p>
, nvim is waiting to see with what additional character you will complete the shortcut and only after some time will execute the command mapped to<c-p>
. This isn't great given that<c-p>
is used by default in nvim to select the next item in various lists if I'm not mistaken. I've remapped this to<tab>
on my machine and therefore didn't notice the clash.I'll think about how to best deal with this.
<c-p>
does seem like the natural insert mode equivalent of the standard<leader-p>
. Maybe I can figure out some way to only use the mapping in standard insert mode (and not in telescope windows or when using some autocomplete feature). Or, do you maybe have any ideas on how to best deal with this?
Honestly I have no idea how do it properly. On my side I just disabled built-in keymaps (thank you for this option) and I use only custom keymaps in normal mode right now. Maybe possible to detect "telescope insert mode" and disable mapping for it.
from papis.nvim.
Ok, this took a while 😓. I've made keybinds local to buffers (so they don't mess with Telescope). I've also had to change some other keybinds because (new note) still clashed. You might want to re-enable the default keybinds, though I guess you've probably found a setup that works for you by now :). Thanks again for the report!
from papis.nvim.
Related Issues (20)
- Enable multiple-selection in telescope picker HOT 1
- `read_yaml` should fail gracefully if yaml is malformatted HOT 1
- Attempt to concatenate upvalue 'tag_delimiter' (a nil value) in completion/source.lua HOT 1
- Lazy.nvim support, as it does not support rocks. HOT 6
- Move from lyaml luarock to yq
- ps: illegal option -- q HOT 10
- Invalid `jq` options `-oj` lead to Invalid YAML error HOT 3
- Opening files should respect papis config HOT 1
- vim.loop.os_uname().sysname returns "Windows_NT" HOT 3
- Having issues with read_yaml function in papis-storage.lua HOT 5
- Setup impossible HOT 2
- Entries are faulty HOT 3
- Include nix output HOT 1
- opening references picker causes telescope error HOT 6
- Search depth in the library HOT 2
- Setup not working correctly; database file apparently inaccessible HOT 3
- NixVim documentation HOT 1
- Setup not working correctly HOT 9
- Error in startup after #48 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 papis.nvim.