David Beniamine

Results 26 comments of David Beniamine

It's definitely a feature that be nice on editors plugin

In cheat.sh-vim, the user can already set the server url by adding the following to its vimrc : let g:CheatSheetBaseUrl='https://cht.sh'

Hi, I tryied to reproduce the behavior you describe, : `:Cheat! rmse` in a python file I indeed got the first answer of the same topic, but after hitting `KAN`...

> What I think, David @dbeniamine , what should be really useful, if we could fetch multiple answers/queries simultaneously, and then just browse them using a special minibufer, or maybe...

In the vim plugin, I think that the smoother approach would be to add both an optional parameter and an optional configuration variable: ```vim let g:CheatSheetNumAnswers=1 ``` So if you...

I am not sure that I am doing this the right way, but on the vim plugin, for frameworks, I replace the filetype, for instance if I want to know...

Yes but the answer of `django/view+form+file` is quite different (and I think more pertinent) from `python/django+view+form+file`: ``` $ curl cht.sh/django/view+form+file file = models.FileField(null=True, blank=True,upload_to='files') {% csrf_token %} ... ``` ```python...

and there is a small snippet ```python3 def cht(query): import requests ans=requests.get("https://cht.sh/"+query+"?T") print(ans.text) ``` Then you can just call something `cht("python/how+to+make+a+list")`

@nwsnate there is already a full vim integration : https://gitlab.com/dbeniamine/cheat.sh-vim/

Thanks for the tip it fixes my volume keys not working :+1: