35 Commits (c84f3cd6cfc1da4f94027a738e310cb9ebc8146a)

Author SHA1 Message Date
siduck76 61b6eda6af add light theme in theme toggler 3 years ago
siduck76 4c025cd1bf debloat config | remove lspinstall 3 years ago
siduck76 287b4bae9a fix typo in blankline config 3 years ago
siduck76 873b846d50 disable dashboard by default 3 years ago
siduck76 df9a780846 change mapping keys for nvimtreefocus 3 years ago
Akianonymus cdf9250636 Hide statusline in help too 3 years ago
siduck76 80d36cca00 move to feline.nvim 3 years ago
Akianonymus 1b2ec94b75 feat: Add copy_del and copy_cut options to config 3 years ago
Akianonymus 49216a9c93 feat: Support for custom user mappings | Improve map function
move map function to utils

rearrange utils, was missed
3 years ago
siduck76 4828cfd282 add mapping for finding hidden files with telescope (#360) 3 years ago
siduck76 3dc1db884c disable some plugins by default 3 years ago
siduck76 ac83f1d580 add mapping to focus nvimtree (349) 3 years ago
Akianonymus 3ee3b0368a config: Seperate plugin and non-plugin configs 3 years ago
Akianonymus e08a460543 config: Expose tabstop option 3 years ago
Akianonymus 3719521d9a Disable statusline in dashboard
need here because out custom statusline hide function doesn't care about dashboard settings
3 years ago
Akianonymus 9ffddb6b52 Restructure config | Move some to a packer plugin | Lot of cleanup
* move teleacope files, updater and related utils to
  https://github.com/NvChad/core

* restructure config file and directory structure

* expose mappings for better escape

* allow multiple mappings for some

* improve merge table function for the same

* move autocommands to a seperate file

* rearrange everything alphabetically where sanely possible

* rearrange packer plugin list on the basis of trigerred state

config structure now

 .
├──  init.lua
├──  LICENSE
├──  lua
│  ├──  chadrc.lua
│  ├──  colors
│  │  ├──  highlights.lua
│  │  ├──  init.lua
│  │  └──  themes
│  │     ├──  chadracula.lua
│  │     ├──  everforest.lua
│  │     ├──  gruvchad.lua
│  │     ├──  javacafe.lua
│  │     ├──  mountain.lua
│  │     ├──  norchad.lua
│  │     ├──  one-light.lua
│  │     ├──  onedark.lua
│  │     ├──  tokyonight.lua
│  │     └──  tomorrow-night.lua
│  ├──  core
│  │  ├──  autocmds.lua
│  │  ├──  init.lua
│  │  ├──  mappings.lua
│  │  ├──  options.lua
│  │  └──  utils.lua
│  ├──  default_config.lua
│  └──  plugins
│     ├──  configs
│     │  ├──  autopairs.lua
│     │  ├──  autosave.lua
│     │  ├──  bufferline.lua
│     │  ├──  chadsheet.lua
│     │  ├──  compe.lua
│     │  ├──  dashboard.lua
│     │  ├──  gitsigns.lua
│     │  ├──  icons.lua
│     │  ├──  lspconfig.lua
│     │  ├──  luasnip.lua
│     │  ├──  nvimtree.lua
│     │  ├──  others.lua
│     │  ├──  statusline.lua
│     │  ├──  telescope.lua
│     │  ├──  treesitter.lua
│     │  └──  zenmode.lua
│     ├──  init.lua
│     └──  packerInit.lua
└──  README.md
3 years ago
Akianonymus b817c55542 mappings: Close buffer -> leader+x | Resolve #6
move theme toggle to leader+tt
3 years ago
Akianonymus 1f6dbed26b Improve hiding/showing statusline via config 3 years ago
Galen Rowell fd5d50f194 fix Dashboard docs, fix default_config issue 3 years ago
ashincoder a49f62d3c6 feat: Added option for italic_comments 3 years ago
siduck76 5ae6fba20d make statusline more pretty 3 years ago
Akianonymus 224873b937 Missed in 67c6ec6 and 575dc10 3 years ago
siduck76 e75fbed322 disable transparency by default 3 years ago
siduck76 f10fb47637 add transparency option to user config 3 years ago
Akianonymus 880d4dc312 NvChadUpdater: Make update repo and url configurable | Improve logging 3 years ago
Akianonymus 4801ec86f1 Add NvChadUpdate command and shortcut for it
map leader+uu to it

summary of what it does:

first ask the user for confirmation and tell that the updater is gonna run git reset --hard in config repo and chadrc will be restored

take backup of chadrc in a lua string and locally in a file with chadrc.bak.(random numbers)

git reset on config dir and git pull

whether success or error, restore the chadrc file

if restore fails, then print backup file path

for more deep understanding, read the comments in utils.lua
3 years ago
siduck76 aa8df57cae Revert "NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)"
This reverts commit 36cb57ecce.
3 years ago
Aki 36cb57ecce
NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)
* tree-wide: Format files

ugh why do people don't push formatted stuff

* mappings|init: Move init mappings to a function, only call when required | Show err message for init

because mappings.lua is called from multiple places, so there should't be any code that executes without calling a specific function

show error message when something fails in init.lua
makes no sense to not

rearrange plugin functions alphabetically, but keep misc at top

* feat: Do not depend on user config | Fix merging of configs

because it is a user config, so our config shoudn't break even we if dont have it

use our own table merge function

move loading config to a function

use a global variable to store the config, so no need to call the table function everytime

* Add NvChadUpdate command and shortcut for it

map leader+uu to it

summary of what it does:

first ask the user for confirmation and tell that the updater is gonna run git reset --hard in config repo and chadrc will be restored

take backup of chadrc in a lua string and locally in a file with chadrc.bak.(random numbers)

git reset on config dir and git pull

whether success or error, restore the chadrc file

if restore fails, then print backup file path

for more deep understanding, read the comments in utils.lua

* NvChadUpdater: Make update repo and url configurable | Improvr logging
3 years ago
siduck76 623a2a0d1a default_config : add statusline separators style 3 years ago
Galen Rowell f82b390aba
make cheatsheet enabled by default (#281) 3 years ago
Galen Rowell fa965c9797
added relativenumber option & statusline option (#279) 3 years ago
siduck76 51760c21f5 Add important notes for user , default config 3 years ago
siduck76 056fcb51f5
User config works 3 years ago
siduck76 b571fd9d40
test user config xD 3 years ago
Pocco81 0d35b9ddac
feat: added default conf and deep extension capabilities (#269) 3 years ago