Comments (1)
Hi !
Thanks for opening an issue. Please do open a PR. Printing it after selecting is a very good addition. For invoking commands on Enter
, I see you're currently executing only the command without the arguments -- this would be inconsistent among different cheats since some commands an argument placeholder, like :bufdo ‹Cmd›
and some others cheats have arguments that are required for the functionality mentioned in the description, like :tab ball
.
A better approach here would be to pre-populate the command line with the full cheatcode and then letting the user modify it as required(or not at all) and press Enter
again to execute it (this can be done using feedkeys()
, or from lua, vim.api.nvim_feedkeys()
).
from cheatsheet.nvim.
Related Issues (20)
- nil value error HOT 1
- Add another key-binding to execute commands directly. HOT 1
- Bundled plugins' cheatsheets aren't loading
- Error on detected while processing: telescope.actions not found HOT 2
- Disabling nerd-fonts cheatsheet does not work HOT 3
- Reverse cheatsheet.txt for easier to edit.
- corrected and completed gitsigns cheatsheet
- default chentoast/marks.nvim cheatsheet
- Feature Request: allow user-defined cheats to replace default cheats
- Error detected while processing function <SNR>31_Cheatsheet: HOT 3
- <C-Y> doesn't always copy the selected nerdfont symbol HOT 2
- Alt-Enter doesn't work for commands with placeholders and hotkeys
- Error while invoking command on LunarVim
- Integration with folke/whichkey.nvim? HOT 6
- Add cheat.sh integration HOT 1
- Third column missing HOT 7
- How to make Cheatsheet.txt dynamic? HOT 16
- Dont show mappings for disabled plugins! HOT 4
- E5108: Error executing lua ...attempt to compare number with nil HOT 5
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 cheatsheet.nvim.