Commit graph

81 commits

Author SHA1 Message Date
siduck76
6206a9e27b rm popup.nvim 2021-08-20 23:20:12 +05:30
Akianonymus
7753e03b9e 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
2021-08-19 14:19:12 +05:30
siduck76
aa8df57cae Revert "NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)"
This reverts commit 36cb57ecce.
2021-08-19 12:36:01 +05:30
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
2021-08-19 12:33:11 +05:30
Galen Rowell
f82b390aba
make cheatsheet enabled by default (#281) 2021-08-18 19:31:02 +05:30
Galen Rowell
575dc10ddc
Greatly improve terminal features! Persistent terminals (#275)
* remove toggleTerm plugin

* Adding term binds, term hider & Telescope terms to bring them back

* Adding many term features!
2021-08-18 15:43:35 +05:30
siduck76
cf4e0a2c53 fix plenary.nvim not loading (#256) 2021-08-17 12:12:33 +05:30
siduck76
c62e94923a add mapping cheatsheet (#244) 2021-08-16 22:18:08 +05:30
Galen Rowell
86903ab982
chore: stylua formatting update (#261)
* addded stylua config file

* chore: formatted with stylua
2021-08-16 13:19:09 +05:30
siduck76
c251f88567 update nvim-base16 repo link 2021-08-16 08:14:16 +05:30
ashincoder
7b796294a4
refact: move false to true in plugins and change disable to 'not' so that the user does'nt be confused (#257) 2021-08-16 06:16:14 +05:30
siduck76
f805cb1cbd user_config : add option to disable telescope media plugin 2021-08-14 13:00:01 +05:30
Galen Rowell
91c8736146
WIP - Added toggleterm, based upon curtanips work (#237)
* Added toggleterm, based upon curtanips work
Also other various term fixes & changed term mappings

* new NvChad config to hide statusline by filetype
2021-08-13 21:29:17 +05:30
siduck76
0df87e4e72 fix telescope commands not working! (#230) 2021-08-12 22:23:43 +05:30
siduck76
a21ef38dc5 fix comment toggle mapping (#233) 2021-08-12 18:37:02 +05:30
siduck76
0efa21c9c9 add user_config 2021-08-12 17:28:03 +05:30
siduck76
b16e2bf29c
load signature.nvim after lspconfig only
https://github.com/siduck76/NvChad/pull/218#issuecomment-894633359
2021-08-07 15:33:10 +05:30
ashincoder
2795ed4fb3
Added .gitignore and lazy load lsp_signature more (#218) 2021-08-07 15:24:31 +05:30
siduck76
d4193727bd add lsp-signature.nvim (#142) 2021-08-07 11:25:23 +05:30
siduck76
f172cc8362 rm vim-startuptime 2021-08-02 06:48:11 +05:30
siduck76
12085f495c replace bufread event with bufenter ( lspinstall/lspkind ) 2021-08-01 10:09:51 +05:30
G-Rowell
3b05354337 Use jdhao/better-escape.vim to handle jk as escape mappings
only for insert mode ( so also works on terminal too )

remove visual mode key binding, till we find a proper solution, because it is super annoying right now

Original pr here: https://github.com/siduck76/NvChad/pull/160
2021-07-26 15:14:49 +05:30
Tavo Annus
021b5c07f5 Merge branch 'main' of github.com:siduck76/NvChad into vim-fugitive 2021-07-23 20:57:32 +03:00
Tavo Annus
472278f2e3 Add vim-fugitive plugin 2021-07-23 20:22:09 +03:00
Akianonymus
936f368036 Replace tweekmonster/startuptime.vim with dstein64/vim-startuptime
because it's broken now
2021-07-23 20:23:02 +05:30
Akianonymus
fcfb814594 init: Move bufferline config to pluginList.lua
plugins.bufferline should be as config of nvim-bufferline

and pluginList for packer
2021-07-23 18:14:52 +05:30
Akianonymus
0023233eef Fix formatting | Handle a edgecase in telescope config | Misc
* fix formatting in pluginList, luasnip

* don't use pcall on highlights

* sync and compile fzf and media files only when the error occurs, add a
  help text telling tbe user to restart neovim
2021-07-19 07:19:53 +05:30
Akianonymus
05d57bba29 packerInit: Clone packer at opt path as we are lazy loading
move packadd to packerInit
2021-07-19 06:19:36 +05:30
siduck76
4ff7208c66 lazy loading 100%!! 2021-07-18 22:11:52 +05:30
siduck76
3be058da26 more lazy loaddd 2021-07-18 16:32:03 +05:30
siduck76
6d98a11dfe lazy load more plugins! 2021-07-18 16:06:33 +05:30
Akianonymus
9c1a3ad2a2 Use a different saner syntax for pcall
takes less lines, looks much better

remove neoscroll.lua, missed in 2952f4d5c7
2021-07-17 22:10:25 +05:30
siduck76
2952f4d5c7 clean stuff 2021-07-16 23:22:36 +05:30
Akianonymus
3e83ec5314 [2/4] Refactor: plugins: Handle packer seperatly | Changes for configs
eg: require "plugins.neoscroll" instead of require "plugins.neoscroll".config()

second commit of refactor

handle require errors

handle cloning of packer
2021-07-16 20:08:46 +05:30
siduck76
5ff50c63e9 fix LspInstall lazy loading (#149) 2021-07-11 17:28:10 +05:30
siduck76
df4ff8dc6f lazy load some plugins 2021-07-11 12:20:15 +05:30
siduck76
4dbb1a71e2 lazy load lsp-install 2021-07-10 19:06:41 +05:30
siduck76
0a55de407e add git clone_timeout for packer 2021-07-09 10:25:26 +05:30
siduck76
c6084220de improve config structure 2021-07-09 09:14:04 +05:30
siduck76
b16c5a2f70 autopairs parenthesis autoinsert after function completion 2021-07-06 13:39:23 +05:30
siduck76
8b4118605b add parenthesis for function completion 2021-07-05 23:27:41 +05:30
ashincoder
c721db661f
updated 2021-07-03 13:09:00 +05:30
ashincoder
0d9ae5f497
updated indent-blankline branch to master
In the commit of 17a83ea765831cb0cc64f768b8c3f43479b90bbe the branch of lua was merged to master.
2021-07-03 13:06:24 +05:30
siduck76
50b00f4737 replace vim-auto-save with AutoSave.nvim 2021-07-02 15:17:36 +05:30
alternateved
f1662951d1 Update TrueZen.nvim after repository changed address 2021-07-01 13:44:56 +02:00
siduck76
50321ad4a0 change some mappings 2021-06-27 22:08:47 +05:30
siduck76
da50d99462 load colorizer on bufread event only 2021-06-27 21:58:35 +05:30
siduck76
ca29b38478 lazy load colorizer 2021-06-27 20:59:39 +05:30
siduck76
9da869feee replace vsnip with luasnip,clean some confs 2021-06-26 18:20:25 +05:30
siduck76
c5f5709f10 lazy loading telescope! 2021-06-26 08:11:39 +05:30