siduck76
7a06fbb0be
disable autocwd by default
2021-08-21 17:19:11 +05:30
siduck76
18705c4da4
fix plenary.nvim not installed ( #307 )
2021-08-21 15:45:24 +05:30
siduck76
c60df482e9
open dir with nvim ( #316 )
...
opening dir with nvim will work by default but since we have lazy loaded nvimtree , it doesnt update the cwd in nvimtree. This will fix that.
2021-08-21 13:57:15 +05:30
siduck76
83992378a4
treesitter : keep only lua parser installed by default
2021-08-21 11:28:25 +05:30
siduck76
cbb0ddc0a5
clean lspconfig
2021-08-21 11:23:20 +05:30
siduck76
b5668a037a
avoid setting root_dir for lspservers
2021-08-21 11:04:07 +05:30
siduck76
6206a9e27b
rm popup.nvim
2021-08-20 23:20:12 +05:30
ashincoder
b57cb6cdc0
fix: fixed error of statusline.
2021-08-20 16:49:32 +05:30
Akianonymus
b817c55542
mappings: Close buffer -> leader+x | Resolve #6
...
move theme toggle to leader+tt
2021-08-20 16:27:29 +05:30
Akianonymus
4c04160b87
dashboard: Fix alignment
2021-08-20 16:27:29 +05:30
Akianonymus
e15e79b519
options.lua: Merge the TermOpen autocommands
2021-08-20 16:27:29 +05:30
Akianonymus
1f6dbed26b
Improve hiding/showing statusline via config
2021-08-20 16:27:29 +05:30
Galen Rowell
dbf0b56059
quickfix for not properly closing unlisted buffers, should be revised again
2021-08-20 13:02:52 +05:30
Galen Rowell
fd5d50f194
fix Dashboard docs, fix default_config issue
2021-08-20 09:29:13 +05:30
Akianonymus
3ccd804da9
utils/update_nvchad: Use --rebase instead of --ff-only
2021-08-20 01:00:46 +05:30
Akianonymus
5fab35f2e1
utils/load_config: Implement force reload of config
2021-08-20 01:00:46 +05:30
Akianonymus
f7d2bacb51
Fix theme switcher statusline reload
2021-08-20 01:00:46 +05:30
siduck76
89c371397f
better colors
2021-08-20 00:28:42 +05:30
siduck76
47ab9c28a1
add no buffer icon to statusline
2021-08-19 18:13:58 +05:30
ashincoder
a49f62d3c6
feat: Added option for italic_comments
2021-08-19 18:05:54 +05:30
siduck76
112d3866a5
improve various theme colors
2021-08-19 17:44:48 +05:30
siduck76
5ae6fba20d
make statusline more pretty
2021-08-19 17:35:24 +05:30
Akianonymus
7244492b36
utils/merge_table: Handle another edgecase
2021-08-19 16:52:46 +05:30
Akianonymus
224873b937
Missed in 67c6ec6 and 575dc10
2021-08-19 16:52:46 +05:30
siduck76
114d699fc5
change nvimtree rootfolder fg
2021-08-19 16:09:24 +05:30
siduck76
e75fbed322
disable transparency by default
2021-08-19 14:39:27 +05:30
siduck76
f10fb47637
add transparency option to user config
2021-08-19 14:36:49 +05:30
Akianonymus
880d4dc312
NvChadUpdater: Make update repo and url configurable | Improve logging
2021-08-19 14:19:12 +05:30
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
2021-08-19 14:19: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
Akianonymus
02f0122ab4
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
2021-08-19 14:19:12 +05:30
Akianonymus
e3f0429a72
tree-wide: Format files
...
ugh why do people don't push formatted stuff
2021-08-19 14:19:12 +05:30
siduck76
6224ed6283
Revert "chore: update path_display ( #285 )"
...
This reverts commit 1d78add91e
.
2021-08-19 13:24:35 +05:30
siduck76
32a6fd8d29
add statusline_style to chadrc
2021-08-19 12:38:50 +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
siduck76
623a2a0d1a
default_config : add statusline separators style
2021-08-19 11:59:42 +05:30
Tuan Nguyen
1d78add91e
chore: update path_display ( #285 )
2021-08-19 09:36:32 +05:30
Galen Rowell
f82b390aba
make cheatsheet enabled by default ( #281 )
2021-08-18 19:31:02 +05:30
Galen Rowell
fa965c9797
added relativenumber option & statusline option ( #279 )
2021-08-18 17:43:56 +05:30
siduck76
e663122638
add bg to Floating window
2021-08-18 15:25:58 +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
51760c21f5
Add important notes for user , default config
2021-08-18 11:10:13 +05:30
siduck76
056fcb51f5
User config works
2021-08-18 00:33:37 +05:30
siduck76
b571fd9d40
test user config xD
2021-08-18 00:08:38 +05:30
Pocco81
0d35b9ddac
feat: added default conf and deep extension capabilities ( #269 )
2021-08-18 00:02:48 +05:30
Aki
98086892a7
tree-wide: Format files | Reformat chadrc | Misc ( #268 )
...
chadrc: looks cleaner this way
move close buffer to misc as it is not dependent on buffer plugin
2021-08-17 23:21:10 +05:30
siduck76
e25f30899d
rename mountaineer
2021-08-17 19:13:03 +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
siduck76
eaaefc236d
add one-light ( #243 )
2021-08-16 19:04:09 +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
Aki
4abf43aa99
Fixes ( #259 )
...
* Missed in 154ba7d
* utils/change-theme: Check theme name for magic chars
2021-08-16 09:18:31 +05:30
siduck76
9c134872fb
rename theme name
2021-08-16 08:57:25 +05:30
siduck76
aabc3e692f
update tomorrow night theme name
2021-08-16 08:43:39 +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
49120177ce
Update theme.lua
2021-08-15 01:10:05 +05:30
siduck76
154ba7d419
add theme toggler ( #245 )
2021-08-15 00:44:55 +05:30
Sage Baram
ea0a221230
(feat) add filename edit/lock icons provider ( #253 )
...
* (feat) add filename edit/lock icons provider
* Update statusline.lua
Co-authored-by: Sage Baram <sagebaram@gamil.com>
Co-authored-by: siduck76 <siduck13@gmail.com>
2021-08-14 23:56:34 +05:30
siduck76
ebdcd4cae1
fix luasnip creating statusline errors ( #250 )
2021-08-14 22:35:10 +05:30
siduck76
05e587cfc0
Clean up utils
2021-08-14 22:32:32 +05:30
siduck76
e0feea9407
cleanup !
2021-08-14 22:31:32 +05:30
Aki
c656d6a3bd
Fix theme switcher reload | Move reload_theme to utils ( #252 )
...
* rearrange functions in utils.lua alphabetically
2021-08-14 22:11:20 +05:30
Galen Rowell
e80a6935d6
Now have 3 separate terms, window, vert & hori, renamed some variables ( #251 )
2021-08-14 19:28:24 +05:30
siduck76
c80d79a7cc
set completeopt for compe
2021-08-14 18:12:28 +05:30
siduck76
fd2aa6095f
improve nav_in insertmode ( #240 )
2021-08-14 13:44:28 +05:30
curtain
2b331e7fa1
add some useful keymap in insert/command mode with switch to toggle ( #240 )
...
Co-authored-by: curtain <kaleidoscope@163.com>
2021-08-14 13:26:54 +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
3f44f0761a
fix statusline missing after termclose ( #236 )
2021-08-13 13:17:41 +05:30
siduck76
c7fdd68072
statusline : add vimode colors
2021-08-13 12:12:43 +05:30
curtain
f832195a81
fix luasnip complete and move it to reasonable place ( #235 )
...
Co-authored-by: curtain <kaleidoscope@163.com>
2021-08-13 10:05:31 +05:30
siduck76
f884caa606
everforest theme : better dark color
2021-08-12 23:14:28 +05:30
siduck76
2884254afe
add everforest theme ( #219 )
2021-08-12 23:10:00 +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
d5c64d335e
add chadracula theme
2021-08-10 20:09:55 +05:30
Iorvethe
ae30324ed4
Add theme: Dracula ( #225 )
...
* Add theme: Dracula
* Dracula theme: make black2 lighter
2021-08-10 16:49:33 +05:30
Aki
0423da189c
base16: Change syntax for new changes in base16 repo ( #226 )
2021-08-10 16:49:18 +05:30
siduck76
f22366eac9
truezen.nvim : update var
2021-08-09 21:30:17 +05:30
siduck76
98e2957234
add mountaineer theme
2021-08-07 20:30:17 +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
ea992308f1
disable tilde on end of buffer
2021-08-07 11:48:13 +05:30
siduck76
d390966b4d
disable indentline in packer float window
2021-08-07 11:42:56 +05:30
siduck76
d4193727bd
add lsp-signature.nvim ( #142 )
2021-08-07 11:25:23 +05:30
siduck76
232bb5fd7c
add tokyonight theme ( #215 )
2021-08-06 21:25:24 +05:30
Akianonymus
a25f4fca70
Just packer shenanigans
2021-08-03 09:38:50 +05:30
Akianonymus
e0f1cb3687
theme_switcher: Handle some edgecases | Clear cmdline after default theme prompt
2021-08-03 09:00:29 +05:30
siduck76
f172cc8362
rm vim-startuptime
2021-08-02 06:48:11 +05:30
siduck76
021cf9c6f4
Merge pull request #201 from G-Rowell/dev-chadThemeSwitcher
...
Chad theme switcher
2021-08-01 10:35:08 +05:30
Akianonymus
af783670e4
mappings: leader+th for Telescope themes
2021-08-01 15:04:04 +10:00
Akianonymus
a6ab121d12
Implement theme switcher
...
using telescope picker
ask if want to change default theme, change value in user_config.lua
load it as a telescope extension
live preview of themes
Co-authored-by: Galen Rowell <growell3@gmail.com>
2021-08-01 15:04:04 +10:00
Akianonymus
7affb8cbfb
Move from utils.lua to their respective places | Format all files
2021-08-01 15:04:04 +10:00
siduck76
12085f495c
replace bufread event with bufenter ( lspinstall/lspkind )
2021-08-01 10:09:51 +05:30
siduck76
5236893e5e
add permanent undo ( #197 )
2021-08-01 09:55:28 +05:30
siduck76
e9aa4b5234
Update user_config.lua
2021-07-31 21:04:47 +05:30
siduck76
bcbde0e1a2
add theme to user_config
2021-07-31 20:44:42 +05:30
siduck76
87f3415f6f
Update mappings.lua
2021-07-28 19:53:19 +05:30
siduck76
f27f7b1502
add hl to nvimtree_rootdir
2021-07-28 19:18:03 +05:30
Galen Rowell
462a20d66a
fix mapping error
2021-07-28 14:42:55 +10:00
Akianonymus
3f1e9cf37a
statusline: Show lsp icon only if client is active for current buffer
2021-07-26 16:57:00 +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
Akianonymus
268c37e52f
mappings: Allow moving the cursor through wrapped lines normally
...
This doesn't affect any other stuff like 10j or 10k
2021-07-26 14:32:29 +05:30
siduck76
11d75cf597
better colors for javacafe theme
2021-07-25 14:53:43 +05:30
siduck76
33422b0f3a
better colors for javacafe theme
2021-07-25 13:18:48 +05:30
gokul
edbd88fdb7
Added javacafe color scheme
...
The javacafe color scheme is my custom smash of nord and pastel colors.
2021-07-24 16:43:38 -07:00
siduck76
9157cafb61
Update telescope.lua
2021-07-25 01:31:50 +05:30
siduck76
a31d8fb228
fix telescope media files mapping #183
2021-07-24 10:11:21 +05:30
siduck76
c98334ae08
lspconfig : update diagnostics in insert mode
2021-07-24 09:59:39 +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
92eb5ca740
Do not load packer on startup
...
Actually saved some milliseconds, can be observed in benchmarks too
from packer readme
```
To optimize startup time, packer.nvim compiles code to perform the lazy-loading operations you specify. This means that you do not need to load packer.nvim unless you want to perform some plugin management operations.
```
Add packer commands manually to mappings.lua, but with basic functionalty
By this, we don't losr the packer commands and don't even load at startup
After some command is actually executed, it will load the PackerCommands as they were
2021-07-23 21:58:14 +05:30
Akianonymus
6b4435caef
Don't use new_async
...
It doesn't seem to be improving stuff as it is not supposed to
Due to the half baked stats of the startuptime plugin, people were fooled
no point in disabling filetype and whatenot
See some discussion here: https://github.com/siduck76/NvChad/issues/175
2021-07-23 21:57:14 +05:30
Akianonymus
936f368036
Replace tweekmonster/startuptime.vim with dstein64/vim-startuptime
...
because it's broken now
2021-07-23 20:23:02 +05:30
Akianonymus
bb04ba07cb
mappings.lua: Code style fixes | Cleanup options.lua
2021-07-23 18:15:13 +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
siduck76
f8727f1659
Update utils.lua
2021-07-23 18:03:04 +05:30
Galen Rowell
0d69a528a8
Fix statusline issue
2021-07-22 18:04:21 +10:00
Galen Rowell
652f703767
Fix term crash bug, no auto-close finished term anymore
2021-07-22 17:45:47 +10:00
siduck76
020daec5fc
disable matchit
...
matchit was already disabled by default but a recent PR enabled it again , sorry for that! Since vim matchup already does what matchit does , I'll remove it.
2021-07-21 23:06:28 +05:30
siduck76
845ac0e615
Merge pull request #171 from Pocco81/dev-init
...
Securely call modules and disable all builtin plugin
2021-07-21 23:00:42 +05:30
siduck76
fec301504f
clean stuff
2021-07-21 22:37:48 +05:30
siduck76
c1544dd020
Merge pull request #170 from Pocco81/dev-lsp
...
Lang servers error suppression and better "publish diagnostics" glyph
2021-07-21 22:48:44 +05:30
siduck76
08dfe17678
clean stuff | map new tab
2021-07-21 11:26:25 +05:30
Pocco81
5531edf8e4
fix: formatted code with luafmt
2021-07-20 23:20:00 -05:00
Pocco81
355178a7bb
feat: secure calls + disabled all builtin plugins
2021-07-20 13:19:31 -05:00
Pocco81
1e2d299bf9
feat: suppressed error messages from lang servers and added better glyph for publish diagnostics
2021-07-20 12:38:51 -05:00
Galen Rowell
f35aa3c604
automatically close a terminal buffer if it has exited/returned
2021-07-20 20:18:10 +10:00
Galen Rowell
a6ea40d7ba
open default shell terminal with proper neovim commands, fix buffer tabline issue
2021-07-20 19:38:43 +10:00
Galen Rowell
ff14ba61f9
open new buffers, instead of tabs
2021-07-20 19:36:06 +10:00
Akianonymus
2567ebaee4
telescope: Fix a bug introduced in 0023233
...
PackerCompile at the same time conflicts with packer sync because packer always runs in bg
2021-07-19 20:35:10 +05:30
Akianonymus
6b507c3368
init: Asynchronously load filetype and syntax
...
lots of improvement for startup time
Co-authored-by: Vhyrro <vhyrro@gmail.com>
2021-07-19 07:20:22 +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
79f8c39dd2
Merge branch 'main' of github.com:siduck76/NvChad
2021-07-18 16:06:48 +05:30
siduck76
18f3b8b93e
map jk escape from terminal buffer
2021-07-18 16:10:23 +05:30
siduck76
6d98a11dfe
lazy load more plugins!
2021-07-18 16:06:33 +05:30
Galen Rowell
1bedbbe5c4
Fix terminal buffer format bug, & enable escape from terminal & visual mdoes
2021-07-18 15:42:54 +10:00
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
Akianonymus
1d7602e3e4
mappings: Don't yank the text after pasting in visual mode
2021-07-17 19:09:12 +05:30
Akianonymus
dbc4979ebd
Go to next/previous line with h,l,left and right
2021-07-17 19:09:12 +05:30
Akianonymus
72b9fa5018
mappings: Use ESC to clear search highlighting and to get out of terminal insert mode
2021-07-17 19:09:07 +05:30
siduck76
2c74abe936
map escape to normal mode
2021-07-17 16:13:42 +05:30
siduck76
82f07879f3
better nord colors
2021-07-17 14:20:36 +05:30
siduck76
5f7f2df2b7
minor changes
2021-07-17 14:15:14 +05:30