From 82d41c710fccda1f60cab3caccc1a5ccf59e87d9 Mon Sep 17 00:00:00 2001 From: My-CodeDefense Date: Sat, 26 Oct 2024 12:31:09 +0530 Subject: [PATCH 1/6] Create README.md --- README.md | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1025d71 --- /dev/null +++ b/README.md @@ -0,0 +1,105 @@ +# Code Editor +This code-editor is a self suffient Code Editor which provide you an unbelievable experience in coding. +This Code Editor supports almost all the Major and minor languages which provide you the facility to code in all languages in a simple way. +## Features + +

Multi-Language Support

+ +You can use this code editor for Working on any language like : python, Java, HTML, etc. + +## Installing on Linux (Debian Based only) +### Install Package +Write the following Command in Terminal +```bash +apt install git neovim nodejs +``` +### Files Clonning & Configuration + +``` bash +git clone ---depth=1 https://github.com/OurCodeBase/code-editor ~/.config/nvim +``` + +### Installing Language Server + +```bash +LspInstall jedi_language_server +``` + +> [!CAUTION] +> If You use this code editor for Python, You need to run a command in Termux Terminal to install Python Server after Installing the Package +> +`apt install python` + +## How to Open a File in code-editor +In Termux window write the following query :- + +` ` + +Example :- +```python +python example.py +``` +## Modes in Code Editor +There are 3 Modes in Code Editor :- +1. Normal Mode +2. Insert Mode +3. Visual Mode + +## Normal Mode + +When You open the Code Editor, It always starts in Normal mode. In Normal Mode you can run commands & Shortcuts. For Command press colon : first. + + +Example for command +``` +: exit +``` + +#### Some Basic Comamnds in Normal Mode +| Command | Description | +| ----------- | ----------- | +| `F` | Fold the Selected Block | +|`ctrl + F`| fold All | +|`ctrl + J` | Unfold All | +|`ctrl + Q` | Close the File without Saving | +|`Alt + E` | Open File Manager | +|`Alt + R` | Run Code | +|`Alt + Q` | Close All Files | + + For Split the terminal in 2 horizontal parts, run the following Command and use one part as Code Editor and other as Code Terminal. + ```bash + :horizontal terminal + ``` + +For Split the terminal in 2 Vertical parts, run the following Commandand use one part as Code Editor and other as Code Terminal. + ```bash + :Vertical terminal + ``` +Use the following syntax to Run Program on Terminal part. + +` ` + +Example :- +```python +python example.py +``` + +#### Normal Mode to Insert Mode +You can Switch to Insert Mode from Normal Mode by Pressing I. + +## Insert Mode + +In Insert Mode you can Edit, Modify and make changes to your Code. + +### Some Basic Comamnds in Insert Mode +| Command | Description | +| ----------- | ----------- | +|`ctrl + D`| Duplicate Line | +|`ctrl + S` | Save | +|`ctrl + Q` | Save and Close File | +|`Ctrl + U`| Undo | +|`Ctrl + R` | Redo | +|`Ctrl + ↑` | Shift Code line Up| +|`Ctrl + ↓` | Shift Code Line Down | +|`Ctrl + C`| Copy | +|`Ctrl + V` | Paste | From 1d2faa5d32164b0dfdeb7030edf254e9c1eacfee Mon Sep 17 00:00:00 2001 From: My-CodeDefense Date: Sun, 27 Oct 2024 07:02:12 +0530 Subject: [PATCH 2/6] Updated README.md --- README.md | 58 ++++++++++++++++--------------------------------------- 1 file changed, 17 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 1025d71..9ef192e 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,20 @@ # Code Editor This code-editor is a self suffient Code Editor which provide you an unbelievable experience in coding. This Code Editor supports almost all the Major and minor languages which provide you the facility to code in all languages in a simple way. -## Features - -

Multi-Language Support

- -You can use this code editor for Working on any language like : python, Java, HTML, etc. - -## Installing on Linux (Debian Based only) -### Install Package -Write the following Command in Terminal -```bash -apt install git neovim nodejs -``` -### Files Clonning & Configuration - -``` bash -git clone ---depth=1 https://github.com/OurCodeBase/code-editor ~/.config/nvim -``` -### Installing Language Server - -```bash -LspInstall jedi_language_server -``` +## Features -> [!CAUTION] -> If You use this code editor for Python, You need to run a command in Termux Terminal to install Python Server after Installing the Package -> -`apt install python` +

Multi-Language Support

+
+Supports over 80+ modern languages and almost all popular frameworks. +
+
-## How to Open a File in code-editor -In Termux window write the following query :- +

For Intalling, Updating and Reseting Code Editor

-` ` +You can use Guide for Detailed steps and links of Code Editor +[ Guide of Code Editor](languages) -Example :- -```python -python example.py -``` ## Modes in Code Editor There are 3 Modes in Code Editor :- 1. Normal Mode @@ -49,16 +25,17 @@ There are 3 Modes in Code Editor :- When You open the Code Editor, It always starts in Normal mode. In Normal Mode you can run commands & Shortcuts. For Command press colon : first. - Example for command ``` : exit ``` - +
#### Some Basic Comamnds in Normal Mode + | Command | Description | | ----------- | ----------- | | `F` | Fold the Selected Block | +|`ctrl + t`| Open Terminal | |`ctrl + F`| fold All | |`ctrl + J` | Unfold All | |`ctrl + Q` | Close the File without Saving | @@ -66,15 +43,13 @@ Example for command |`Alt + R` | Run Code | |`Alt + Q` | Close All Files | - For Split the terminal in 2 horizontal parts, run the following Command and use one part as Code Editor and other as Code Terminal. - ```bash - :horizontal terminal - ``` - + For Split the terminal in 2 Vertical parts, run the following Commandand use one part as Code Editor and other as Code Terminal. + ```bash :Vertical terminal ``` + Use the following syntax to Run Program on Terminal part. ` ` @@ -85,13 +60,14 @@ python example.py ``` #### Normal Mode to Insert Mode -You can Switch to Insert Mode from Normal Mode by Pressing I. +You can Switch to Insert Mode from Normal Mode by Pressing 'I' ## Insert Mode In Insert Mode you can Edit, Modify and make changes to your Code. ### Some Basic Comamnds in Insert Mode + | Command | Description | | ----------- | ----------- | |`ctrl + D`| Duplicate Line | From c46fd4bbc61292f12201057df2ed41a8543dd021 Mon Sep 17 00:00:00 2001 From: My-CodeDefense Date: Sun, 27 Oct 2024 07:04:00 +0530 Subject: [PATCH 3/6] Create languages.md It has all Commands for Language server and other. --- languages.md | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 languages.md diff --git a/languages.md b/languages.md new file mode 100644 index 0000000..01864b7 --- /dev/null +++ b/languages.md @@ -0,0 +1,87 @@ +# Installing on Linux (Debian Based only) + +This Documentation is only for Debian Based Linux. +
+Follow these Steps :- +
    +
  1. Install Package
  2. +
  3. Files Clonning & Configuration
  4. +
  5. Installing Language Server
  6. +
+ +### Install Package + +Write the following Command in Terminal +```bash +apt install git neovim nodejs +``` + +### Files Clonning & Configuration + +``` bash +git clone ---depth=1 https://github.com/OurCodeBase/code-editor ~/.config/nvim +``` +### Installing Language Server + +```bash +LspInstall jedi_language_server +``` + +> [!CAUTION] +> If You use this code editor for Python, You need to run a command in Termux Terminal to install Python Server after Installing the Package +> + +```bash +apt install python +``` + +
+
+ +# Update Code Editor + +If u want to update the Editor, then Run the following Command in Terminal to get its lateat version. + +```bash +cd ~/.config/nvim +git pull +``` + +> [!CAUTION] +> If Error Occurs run the following Command +> + +```bash +git pull --force +``` + +
+
+ +# For Reset the Code Editor + +If u have not updated your Code editor for a long...please Reset it with new updates.by us8ng following codes in terminal. + +```bash +cd +rm -rf .config/nvim +rm -rf .local +git clone https://github.com/OurCodeBase/code-editor.git .config/ +``` + +## How to Open a File in code-editor + +In Termux window write the following query :- + +` ` +
+ +Example :- +```python +python example.py +``` + +# Code Editor Modes + +Click here to know more about modes +[Code Editor Modes](get-started) From 75b25e1aa5f1abd8beb136ebd2c76ad74fc63409 Mon Sep 17 00:00:00 2001 From: My-CodeDefense Date: Sun, 27 Oct 2024 07:19:44 +0530 Subject: [PATCH 4/6] update languages.md --- languages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.md b/languages.md index 01864b7..79f7999 100644 --- a/languages.md +++ b/languages.md @@ -84,4 +84,4 @@ python example.py # Code Editor Modes Click here to know more about modes -[Code Editor Modes](get-started) +[Code Editor Modes](README.md) From 66909c2c237c24884dd42c9c37a08a7057ae1a71 Mon Sep 17 00:00:00 2001 From: My-CodeDefense Date: Sun, 27 Oct 2024 07:19:49 +0530 Subject: [PATCH 5/6] update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ef192e..072194c 100644 --- a/README.md +++ b/README.md @@ -78,4 +78,4 @@ In Insert Mode you can Edit, Modify and make changes to your Code. |`Ctrl + ↑` | Shift Code line Up| |`Ctrl + ↓` | Shift Code Line Down | |`Ctrl + C`| Copy | -|`Ctrl + V` | Paste | +|`Ctrl + V` | Paste | \ No newline at end of file From ddfca994593265d4b5aa5f552360eb9a17116b3e Mon Sep 17 00:00:00 2001 From: My-CodeDefense Date: Sun, 27 Oct 2024 07:21:25 +0530 Subject: [PATCH 6/6] update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 072194c..43b4811 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Supports over 80+ modern languages and almost all popular frameworks.

For Intalling, Updating and Reseting Code Editor

You can use Guide for Detailed steps and links of Code Editor -[ Guide of Code Editor](languages) +[ Guide of Code Editor](languages.md) ## Modes in Code Editor There are 3 Modes in Code Editor :-