You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-```Project based config loading``` ( you can define configs in ```.__nvim__.lua``` file in the root of your working project so that you don't have to change config everytime you work on new/seperate project )
45
+
-```Your own custom configs and Mappings``` (if you don't like roshnivim's default config/mapping, you can change/override it on [override_defalut.lua](https://github.com/shaeinst/roshnivim/blob/main/lua/customs/override_defalut.lua) OR ```~/.__nvim__.lua``` file )
46
+
-```Separate config file for each plugins``` each plugin has their own config file which is defined in lua/plugins directory
47
+
-```Easily Disable plugin``` roshnivim's using [packer](https://github.com/wbthomason/packer.nvim) as plugin manager. conmmenting out ```config``` option from plugin options in [packer config file](https://github.com/shaeinst/roshnivim/blob/main/lua/plugins/packer_nvim.lua) will disable that plugin
48
+
-```Easy Installation``` install roshnivim with single command
44
49
45
-
## Getting Started
46
50
51
+
## Getting Started
47
52
roshnivim can be installed by just runing a script.
it could take some time depending on you connection (it's going to install plugins and some LSs).<br>
74
-
So, be patient and follow the output throw by setup.sh script<br><br>
75
-
NOTE2:<br>
76
-
only some LSs are going to be installed. for more, install with [LspInstall](https://github.com/williamboman/nvim-lsp-installer)
77
-
<br>
78
-
for example: to install C/C++'s LS ```:LspInstall clangd```
78
+
So, be patient and follow the output throw by setup.py script<br><br>
79
+
NOTE2:
80
+
only some LSs are going to be installed. for more, install with [LspInstall](https://github.com/williamboman/nvim-lsp-installer) <br>
81
+
for example: to install C/C++'s LS ``` :LspInstall clangd ```
79
82
<br><br>
80
83
81
84
85
+
82
86
## Usage
83
-
every one has their own favourite config and keybinding. roshnivim try its best to provide likable configs and mapping.
87
+
every one has their own favourite configs and keybindings. roshnivim try its best to provide likable configs and mapping.
84
88
<br>
85
89
so in case you don't like to use mapping or configs by roshnivim, you can change it in [override_defalut.lua](https://github.com/shaeinst/roshnivim/blob/main/lua/customs/override_defalut.lua) file. <br>
86
90
87
91
### Project Stracture
88
92
```
89
93
├── extra/
90
-
│ └── snippets/ / custom defined snippets
91
-
├── init.lua / use to install plugins, load configs and leader key is defined here
94
+
│ └── snippets/ / custom defined snippets
95
+
│ ...
96
+
├── init.lua / load/source configs | heart of roshnivim
92
97
├── lua/
93
-
│ ├── configs.lua / configs that's don't depends on plugins
94
-
│ ├── mappings.lua / mappings that don't depends on plugins
95
-
│ ├── customs/
96
-
│ │ ├── override_defalut.lua / configs to override defined config
97
-
│ │ └── roshniline.lua / i am working on it. btw it's a status line
98
-
│ └── plugins/ / dir containing configs for plugins. each plugin has it's own config and can be locaed through init.lua file
98
+
│ ├── configs.lua / configs that's don't depends on plugins
99
+
│ ├── mappings.lua / mappings that don't depends on plugins
100
+
│ ├── customs/
101
+
│ │ ├── project_env.lua / load configs from .__nvim__.lua file defined in any project you're working on
102
+
│ │ ├── override_defalut.lua / configs to override defined config
103
+
│ │ └── roshniline.lua / i am working on it. btw it's a status line
104
+
│ └── plugins/ / dir containing configs for plugins. each plugin has it's own config and can be locaed through init.lua file
105
+
│ └── packer_nvim.lua / manage plugins
106
+
│ ...
99
107
├── plugin/ / auto-created by plugin manager
100
108
└── setup.py / python-script to install/update roshnivim
101
109
```
@@ -109,35 +117,30 @@ Distributed under the MIT License.
0 commit comments