From 033a5aeb1ce801f98f9f11f33482ea7ee9b3f11d Mon Sep 17 00:00:00 2001 From: spike Date: Sun, 9 Oct 2022 05:04:29 +0200 Subject: [PATCH] clean --- .github/CONTRIBUTING.md | 161 ---------------------- .github/FUNDING.yml | 3 - .github/ISSUE_TEMPLATE/bug_report.md | 34 ----- .github/ISSUE_TEMPLATE/config.yml | 8 -- .github/ISSUE_TEMPLATE/feature_request.md | 23 ---- .github/PULL_REQUEST_TEMPLATE/feature.md | 14 -- .github/PULL_REQUEST_TEMPLATE/plugin.md | 16 --- .github/README.md | 146 -------------------- .github/workflows/stale.yml | 22 --- 9 files changed, 427 deletions(-) delete mode 100644 .github/CONTRIBUTING.md delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE/feature.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE/plugin.md delete mode 100644 .github/README.md delete mode 100644 .github/workflows/stale.yml diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index 12d436d..0000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,161 +0,0 @@ -# [CONTRIBUTING](https://nvchad.github.io/contribute) - -## NvChad install for contributors - -If you wish to contribute to NvChad, you should: -1. [create a fork on GitHub](https://docs.github.com/en/get-started/quickstart/fork-a-repo) -2. clone your fork to your machine - - For ssh: - ```shell - $ git clone git@github.com:/NvChad.git ~/.config/nvim - ``` - - For https: - ```shell - $ git clone https://github.com//NvChad.git ~/.config/nvim - ``` -3. [add a new remote repo to track](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams) - - this means you can push/pull as normal to your own repo, but also easily track & update from the NvChad repo - - for ssh: - ```shell - $ git remote add upstream git@github.com:NvChad/NvChad.git - ``` - - for https: - ```shell - $ git remote add upstream https://github.com/NvChad/NvChad.git - ``` -4. any time you create a branch to do some work, use - ```shell - $ git fetch upstream && git checkout -b dev-myFEAT upstream/main - ``` -5. only use the **--rebase** flag to update your dev branch - - this means that there are no `Merge NvChad/main into devBranch` commits, which are to be avoided - ```shell - $ git pull upstream --rebase - ``` - -## Things to know before contributing - -- When making a PR (pull request), please be very descriptive about what you've done! - -- PR titles should be formatted with 'fix', 'chore' or 'feat'. ex: `feat: add new plugin` - -- PRs should follow the pull request formats where applicable - -- We are open to all PRs, but may decline some for a myriad of reasons. Though don't be discouraged! We'll still be open to discussions. - -- PR's are always welcomed however NvChad aims to be less bloated. So PR's regarding existing plugin's enhancement and creating new features with existing plugins itself ( without adding a new plugin), bug fixes and corrections are more encouraged. - -- NvChad won't keep adding more and more features (like adding new plugins most likely) as requested if they feel unneeded and aren't usable by the majority!! If you think the plugin you want to be added is very useful and many NvChaders would find it useful, then such feature's PR is welcomed! - -- But adding specific features like adding config for [wakatime](https://github.com/wakatime/vim-wakatime) etc will be added in this [chad user configs](https://github.com/NvChad/NvChad/wiki/Chad-user-configs). This lets the user select the things only they want ( adding configs from extra configs ). - -## How to remove or edit commits from your PR -> You may have been directed here to remove a commit such as a merge commit: `Merge NvChad/main into devBranch` from your PR - -> As these commands edit your git history, you may need to **force push** with `git push origin --force` - -1. Run the following: - ``` - $ git rebase -i HEAD~ - ``` -
Example -

- - ```shell - $ git rebase -i HEAD~4 - ``` - - ```shell - pick 28b2dcb statusline add lsp status - pick dad9a39 feat: Added lsp radial progress - pick 68f72f1 add clickable btn for exiting nvim - pick b281b53 avoid using q! for quitting vim - - # Rebase 52b655b..b281b53 onto 52b655b (4 commands) - # - # Commands: - # p, pick = use commit - # r, reword = use commit, but edit the commit message - # e, edit = use commit, but stop for amending - # s, squash = use commit, but meld into previous commit - # f, fixup = like "squash", but discard this commit's log message - # x, exec = run command (the rest of the line) using shell - # b, break = stop here (continue rebase later with 'git rebase --continue') - # d, drop = remove commit - # l, label

-
- -2. Change the `pick` commands to whatever you wish, you may wish to `d` `drop` or `e` `edit` a commit. Then save & quit this git file to run it. - -
Example -

- - ```shell {3,4} - pick 28b2dcb statusline add lsp status - pick dad9a39 feat: Added lsp radial progress - edit 68f72f1 add clickable btn for exiting nvim - d b281b53 avoid using q! for quitting vim - - # Rebase 52b655b..b281b53 onto 52b655b (4 commands) - # - # Commands: - # p, pick = use commit - # r, reword = use commit, but edit the commit message - # e, edit = use commit, but stop for amending - # s, squash = use commit, but meld into previous commit - # f, fixup = like "squash", but discard this commit's log message - # x, exec = run command (the rest of the line) using shell - # b, break = stop here (continue rebase later with 'git rebase --continue') - # d, drop = remove commit - # l, label

-
- -3. If you picked `drop` you are done, if you picked `edit` then edit your files, then run: - ```shell - $ git add - ``` - -4. Once you have edited & added your files, run: - ```shell - $ git rebase --continue - ``` - -5. You will likely need to push using: - ```shell - $ git push origin --force - ``` - -## Help -For help with contributing and anything else nvChad related join the [discord](https://discord.gg/VyPxsGArXc) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 02611f2..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -patreon: siduck -ko_fi: siduck -custom: ["https://www.buymeacoffee.com/siduck", "https://www.paypal.com/paypalme/siduck76"] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 43b4ec0..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - Operating System - - Terminal - - Version of Neovim - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 3495e93..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Wiki - url: https://github.com/siduck76/NvChad/wiki - about: "Walks you through how to use and Configure NvChad." - - name: Visit our gitter chat - url: https://gitter.im/neovim-dotfiles/community - about: "A place where we dicuss NvChad related stuff." diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 24d2f24..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem was. - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. - -**Screenshot** -Maybe a screenshot of the feature diff --git a/.github/PULL_REQUEST_TEMPLATE/feature.md b/.github/PULL_REQUEST_TEMPLATE/feature.md deleted file mode 100644 index a622846..0000000 --- a/.github/PULL_REQUEST_TEMPLATE/feature.md +++ /dev/null @@ -1,14 +0,0 @@ - -Fixes Issue # (If it doesn't fix an issue then delete this line) - -Features Added: -- Plugin Name (Add links if possible too) - -Reasoning: -List why the feature is needed - -Speed (If applicable): -Show the impact on the speed of nvChad - -Other: -Anything else relevant goes here diff --git a/.github/PULL_REQUEST_TEMPLATE/plugin.md b/.github/PULL_REQUEST_TEMPLATE/plugin.md deleted file mode 100644 index 28ae8d3..0000000 --- a/.github/PULL_REQUEST_TEMPLATE/plugin.md +++ /dev/null @@ -1,16 +0,0 @@ -(Make sure your title is either: 'fix', 'chore', or 'feat' then your title. ex: `fix: add new plugin`) - -Fixes Issue # (If it doesn't fix an issue then delete this line) - -Plugins Added: -- [Plugin Name](Plugin Link) -- [Plugin Name](Plugin Link) - -Reasoning: -List why the plugin(s) should be added - -Speed: -Show the impact on the speed of nvChad - -Other: -Anything else relevant goes here diff --git a/.github/README.md b/.github/README.md deleted file mode 100644 index 90783f6..0000000 --- a/.github/README.md +++ /dev/null @@ -1,146 +0,0 @@ -

NvChad

- -
- Home - - Install - - Contribute - - Support - - Features -

-
- -
- -[![Super Linter](https://img.shields.io/github/workflow/status/NvChad/NvChad/Super-Linter/main?style=flat-square&logo=github&label=Build&color=8DBBE9)]() -License -[![Neovim Minimum Version](https://img.shields.io/badge/Neovim-0.7.0-blueviolet.svg?style=flat-square&logo=Neovim&color=90E59A&logoColor=white)](https://github.com/neovim/neovim) -[![GitHub Issues](https://img.shields.io/github/issues/NvChad/NvChad.svg?style=flat-square&label=Issues&color=d77982)](https://github.com/NvChad/NvChad/issues) -[![Discord](https://img.shields.io/discord/869557815780470834?color=738adb&label=Discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/gADmkJb9Fb) -[![Matrix](https://img.shields.io/badge/Matrix-40aa8b.svg?style=flat-square&logo=Matrix&logoColor=white)](https://matrix.to/#/#nvchad:matrix.org) -[![Telegram](https://img.shields.io/badge/Telegram-blue.svg?style=flat-square&logo=Telegram&logoColor=white)](https://t.me/DE_WM) - -
- -## Showcase - - - - -( Zoom in the screenshot ) - - - - -## What is it? - -- NvChad is a neovim config written in lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around 0.02 secs ~ 0.07 secs). We tweak UI plugins such as telescope, nvim-tree, bufferline etc well to provide an aesthetic UI experience. - -- Lazy loading is done 93% of the time meaning that plugins will not be loaded by default, they will be loaded only when required also at specific commands, events etc. This lowers the startuptime and it was like 0.07~ secs tested on an old pentium machine 1.4ghz + 4gb ram & HDD. - -- NvChad isnt a framework! Its supposed to be used as a "base" config, so users could tweak the defaults well, can also remove the things they dont like in the default config and build their config on top of it. Users can tweak the entire default config while staying in their custom config (lua/custom dir). This is the control center of the user's config and gitignored so the users can stay update to-date with NvChad's latest config (main branch) while still controlling it with their chadrc (file that controls entire custom dir) - -## Theme Showcase - -
Images (Click to expand!) - -![main themes](https://github.com/NvChad/nvchad.github.io/blob/src/static/img/screenshots/four_Themes.png) -![radium](https://github.com/NvChad/nvchad.github.io/blob/src/static/img/screenshots/radium1.png) -![radium](https://github.com/NvChad/nvchad.github.io/blob/src/static/img/screenshots/radium2.png) -![radium](https://github.com/NvChad/nvchad.github.io/blob/src/static/img/screenshots/radium3.png) - -(Note: these are just 4-5 themes, NvChad has around 27+ themes) -
- -## UI related plugins used - -
Images (Click to expand!) - -

Nvim-tree.lua

- -Fast file tree: - -
- -

Telescope-nvim

- -A fuzzy file finder, picker, sorter, previewer and much more: - -
- -

Indent-blankline.nvim

- -Adds indentline: - -
- -

Our own statusline written from scratch

- -[NvChad UI](https://github.com/NvChad/ui) - -
-
- -

Tabufline (our own pertab bufferline)

- -
-
-
- -

Nvim-web-devicons

- -Lua fork of Vim Devicons which offers more file icon customisability: - -
- -

Nvim-treesitter

- -## Plugins list - -- Many beautiful themes, theme toggler by [our base46 plugin](https://github.com/NvChad/base46) -- Inbuilt terminal toggling & management with [Nvterm](https://github.com/NvChad/nvterm) -- NvChad updater, hide & unhide terminal buffers with [NvChad extensions](https://github.com/NvChad/extensions) -- Lightweight & performant ui plugin with [NvChad UI](https://github.com/NvChad/ui) -- File navigation with [nvim-tree.lua](https://github.com/kyazdani42/nvim-tree.lua) -- Managing tabs, buffers with [bufferline.nvim](https://github.com/akinsho/bufferline.nvim) -- Beautiful and configurable icons with [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) -- Git diffs and more with [gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim) -- NeoVim Lsp configuration with [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) and [mason.nvim](https://github.com/williamboman/mason.nvim) -- Autocompletion with [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) -- File searching, previewing image and text files and more with [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim). -- Syntax highlighting with [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) -- Autoclosing braces and html tags with [nvim-autopairs](https://github.com/windwp/nvim-autopairs) -- Indentlines with [indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim) -- Useful snippets with [friendly snippets](https://github.com/rafamadriz/friendly-snippets) + [LuaSnip](https://github.com/L3MON4D3/LuaSnip). -- Popup mappings keysheet [whichkey.nvim](https://github.com/folke/which-key.nvim) - -## History - -- I (@siduck i.e creator of NvChad) in my initial days of learning to program wanted a lightweight IDE for writing code, I had a very low end system which was like 1.4ghz pentium + 4gb ram & HDD. I was into web dev stuff so many suggested me to use vscode but that thing was very heavy on my system, It took more ram than my browser! ( minimal ungoogled chromium ) so I never tried it again, sublime text was nice but the fear of using proprietary software XD for a linux user bugged me a lot. Then I tried doom-emacs which looked pretty but it was slow and I was lost within its docs, I tried lunarvim but too lazy to read the docs. Doom-emacs and lunarvim inspired me to make a config which is the prettiest + very fast and simple. - -- I'm decent at ricing i.e customizing system and making it look pretty so I posted my neovim rice on [neovim subreddit](https://www.reddit.com/r/neovim/comments/m3xl4f/neovim_rice/), my neovim-dotfiles github repo blew up and then I had to come up with a name, I was amazed by the chad meme lol so I put NvChad as the name, the chad word in here doesnt literally mean the chad guy but in the sense such as chad linux vs windows i.e meaning superior, best etc. NvChad was made for my personal use but it gained some popularity which inspired me to make a public config i.e config usable by many and less hassle to update as everyone's going to use the same base config (NvChad) with their custom modifications (which are gitignored so that wont mess up), without the custom config stuff users would have to keep a track of every commit and copy paste git diffs to manually update nvchad. - -## :gift_heart: Support - -I'm (@siduck) really very sorry to remove the previous charity links but I had to do it for various reasons. A lot has been going here regarding financial issues and I do need some support if it's possible from your end. I haven't graduated yet and it would be great to earn some stuff as that'd help me with daily minor expenses. If you like NvChad and would like to support & appreciate it via donation then I'll gladly accept it. Dont worry! NvChad will still stay alive & active without your donations! I will remove the sponsor button and re-add the charity links once I get a job, probably a year or two. - -[![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/siduck) -[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/siduck76) -[![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/siduck) -[![patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://www.patreon.com/siduck) - -## Credits - -- [Elianiva](https://github.com/elianiva) helped me with NeoVim Lua related issues many times, NvChad wouldn't exist without his help at all as he helped me in my initial neovim journey! -- @lorvethe for making the beautiful NvChad logo. diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 1f16ea2..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 'Close stale issues and PRs' -on: - schedule: - - cron: '30 1 * * *' - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' - stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.' - close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.' - exempt-all-issue-assignees: true # doesn't close an issue if someone was assigned to it. - close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' - exempt-all-pr-assignees: true # doesn't close a pr if someone was assigned to it. - days-before-issue-stale: 30 - days-before-pr-stale: 45 - days-before-issue-close: 5 - days-before-pr-close: 10