Commit Graph

34 Commits

Author SHA1 Message Date
siduck76 a820c3cafd fix : typo in default_config.lua 2021-09-24 19:12:44 +05:30
siduck76 595be18680 feat : option to disable git status on nvimtree (#487) 2021-09-24 19:07:24 +05:30
siduck76 cc48bfb5c8 remove cheatsheet.nvim 2021-09-24 18:57:36 +05:30
Galen Rowell ee586047e5 feat: improve mappings, move `custom/init.lua & chadrc.lua` -> `custom/example_init.lua & example_chadrc.lua` 2021-09-24 19:11:55 +05:30
Galen Rowell 9961cc0113 refactor: clean & re-organise default_config + chadrc
this completely overhauls the design of the two configuration files,
aiming to move options & various tables into a more sensible table structure

BREAKING CHANGE: this will break any user modificiations to the current
config
2021-09-24 19:11:55 +05:30
Galen Rowell a5a5a8220c refactor: clean & small reorgnaisation of default_config 2021-09-24 19:11:55 +05:30
Galen Rowell a5ae8899d5 fix: merge_tables bug caught 2021-09-24 19:11:55 +05:30
Morten Olsen eced5f2ec4 feat: Hook based overrides 2021-09-24 19:11:55 +05:30
Morten Olsen bfc10e6034 feat: Add custom scripts and hook based setup
This commit introduces a hook system that allows the user to add custom
modules which can use these hooks to invoke function af specific NvChad
events to allow for extending og functionality
2021-09-24 19:11:55 +05:30
Galen Rowell ca1ad15ad2 refactor: Cleaning chadrc, moved to custom & moved default_config to core 2021-09-24 19:11:55 +05:30
siduck76 22f89cfeef Revert "remove cheatsheet.nvim for now"
This reverts commit f3fe3d46c8.
2021-09-24 18:31:42 +05:30
siduck76 f3fe3d46c8 remove cheatsheet.nvim for now 2021-09-24 18:22:04 +05:30
siduck76 61b6eda6af add light theme in theme toggler 2021-09-16 14:20:13 +05:30
siduck76 cafd078e8f fix esc_insertmode settings not getting applied in chadrc (#422) 2021-09-10 16:21:54 +05:30
siduck76 4c025cd1bf debloat config | remove lspinstall 2021-09-10 15:40:54 +05:30
VULKAN 2ac6931c69 Auto close Nvimtree incase of quitting last buffer 2021-09-07 14:46:34 +05:30
mxzel a12455509b fix typo 2021-08-31 21:09:01 +05:30
JoakoV3 7ddd394172 Changed mappings to move between windows/terminals with Ctrl+h,j,k,l 2021-08-29 10:42:15 +05:30
Akianonymus 2c33e3dd38 mappings: Fix strange delete/yank/cut behaviour | Resolve #379
use mode() to detect if currently in operator pending mode, if then use normal j otherwise gj
2021-08-27 10:20:57 +05:30
siduck76 475a4c5f38 replace compe with cmp 2021-08-27 06:44:58 +05:30
siduck76 3c7de7a890
keep chadreload on hold for now 2021-08-26 22:59:05 +05:30
Akianonymus 4e645c3c9f mappings: Change reload_config function name
changed in nvchad/extensions repo
2021-08-26 19:41:27 +05:30
Akianonymus adf0168dcc plugins: More lazy load, yay
use vim.defer_fn to load the plugins after entering the ui

add the lazy load to setup

lazy load gitsigns, neoscroll, lspinstall and vim-matchup using this method

rearrange according to startup sequence
2021-08-26 19:41:27 +05:30
siduck76 9635b45404 clean mappings conf 2021-08-25 20:13:47 +05:30
ashincoder c02b1a063f feat: Added cmd for ChadReload 2021-08-25 20:10:23 +05:30
Akianonymus 9b4b288d01 utils: load_config: Use filereadable to check if file exists 2021-08-25 11:41:15 +05:30
Akianonymus 1b2ec94b75 feat: Add copy_del and copy_cut options to config 2021-08-25 11:41:15 +05:30
Akianonymus 49216a9c93 feat: Support for custom user mappings | Improve map function
move map function to utils

rearrange utils, was missed
2021-08-25 11:41:15 +05:30
siduck76 4828cfd282 add mapping for finding hidden files with telescope (#360) 2021-08-25 05:36:44 +05:30
siduck76 ac83f1d580 add mapping to focus nvimtree (349) 2021-08-23 16:44:52 +05:30
Akianonymus e08a460543 config: Expose tabstop option 2021-08-22 17:54:10 +05:30
Akianonymus aa95c05179 Remove some unneeded events when hiding statusline
dunno why cmdwinenter was there

term enter is not needed as it will handled with Buf events

use filetype events as a buffer may not trigger other events but change
the filetype
2021-08-22 17:54:10 +05:30
Akianonymus e1d0678f6e mappings: Add PackerClean command 2021-08-22 17:54:10 +05:30
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
2021-08-22 17:54:10 +05:30