diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..b9180b1 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Raphael Philipe Mendes da Silva + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index b0aa151..dabb826 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,13 @@ provided an automatic installation procedure for this set. ## Installation -### Requirements for Ubuntu distros +### Requirements for Ubuntu distros (Tested on Windows Subsystem for Linux) ```bash sudo apt install libncurses5-dev libgnome2-dev libgnomeui-dev \ libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \ libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \ -python3-dev git +python3-dev git ctags ``` ### Requirements for Fedora distros diff --git a/cheatsheet/cheaty/PVim/icon.svg b/cheatsheet/cheaty/PVim/icon.svg new file mode 100644 index 0000000..f379191 Binary files /dev/null and b/cheatsheet/cheaty/PVim/icon.svg differ diff --git a/cheatsheet/cheaty/PVim/sheet.json b/cheatsheet/cheaty/PVim/sheet.json new file mode 100755 index 0000000..db43a47 --- /dev/null +++ b/cheatsheet/cheaty/PVim/sheet.json @@ -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" + } + } + } +} diff --git a/cheatsheet/cheaty/README.md b/cheatsheet/cheaty/README.md new file mode 100644 index 0000000..8b98d05 --- /dev/null +++ b/cheatsheet/cheaty/README.md @@ -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 (alt+F2 then r) + + \ No newline at end of file diff --git a/img/cheaty.png b/img/cheaty.png new file mode 100644 index 0000000..ea4a9c6 Binary files /dev/null and b/img/cheaty.png differ diff --git a/install.sh b/install.sh index 47aedf4..acdcc18 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -VIM_VERSION="v8.1.0664" +VIM_VERSION="v8.2.0007" CURDIR=${PWD} CPUS=$(grep -c ^processor /proc/cpuinfo) @@ -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 diff --git a/plugins b/plugins index dccbc76..95ada91 100644 --- a/plugins +++ b/plugins @@ -4,7 +4,7 @@ call plug#begin('~/.vim/plugged') Plug 'python-rope/ropevim' Plug 'davidhalter/jedi-vim' -Plug 'SirVer/ultisnips' +Plug 'SirVer/ultisnips', { 'commit': 'a909dee82b6eaaa3ae001e27c3e95c58d487d242'} Plug 'honza/vim-snippets' Plug 'tpope/vim-fugitive' Plug 'w0rp/ale'