Skip to content
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

Cheaty files #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added cheatsheet/cheaty/PVim/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions cheatsheet/cheaty/PVim/sheet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"name": "PVim",
"description": "Custom pluggins for Vim ",
"author": "",
"email": "",
"repository": "",
"version": "1.0",
"sections": {
"File": {
"Toggle file tree": {
"description": "",
"code": "CTRL+n"
},
"Look for file": {
"description":"",
"code":"CTRL+p"
}
},
"Code navigation":{
"Toggle definitions": {
"description":"",
"code": "F8"
},
"Go to definition": {
"description":"",
"code":"CTRL+]"
},
"Show doctrstring": {
"description":"",
"code":"K"
}
},
"Code edition":{
"Extract method": {
"description":"",
"code":"CTRL+ c r m"
},
"Autocomplete": {
"description":"",
"code":"CTRL+SPACE"
},
"Expand snippet": {
"description":"",
"code":"tab"
}
},
"Git":{
"Status": {
"description":"",
"code":":Gstatus"
},
"Diff": {
"description":"",
"code":":Gdiff"
}
}
}
}
5 changes: 5 additions & 0 deletions cheatsheet/cheaty/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This folder contains the required file structure in `PVim` for the applet ["cheaty"](https://cinnamon-spices.linuxmint.com/applets/view/285) of the desktop environment "Cinnamon".

Just copy the entire folder `PVim` to the the folder `~/.local/share/cinnamon/applets/cheaty@centurix/refdocs` and reload the applet by executing `~/.local/share/cinnamon/applets/cheaty@centurix/reload.sh` or restarting cinnamon (<kbd>alt</kbd>+<kbd>F2</kbd> then <kbd>r</kbd>)

<img src="../../img/cheaty.png?raw=true"/>
Binary file added img/cheaty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

vim -u ${CURDIR}/plugins +PlugInstall! +qall!

cat ${CURDIR}/plugins ${CURDIR}/configs > ${HOME}/.vimrc
# No touchy my vimrc
# cat ${CURDIR}/plugins ${CURDIR}/configs > ${HOME}/.vimrc