Commit graph

396 commits

Author SHA1 Message Date
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
siduck76
c6857e2a72 modded nord theme added 2021-07-17 14:07:27 +05:30
siduck76
f0b491cd94 update truezen config 2021-07-17 01:04:13 +05:30
siduck76
5bb85b8176 trim default ts parsers list 2021-07-16 23:40:52 +05:30
siduck76
2952f4d5c7 clean stuff 2021-07-16 23:22:36 +05:30
Akianonymus
643d1bd7d8 [3/4] Refactor: init: Use async | Move theme stuff to theme.lua
third commit of refactor

perf improvements due to async

run packer sync if base16 not found

this is not perfect error handling for initial run, but something

handle require errors
2021-07-16 20:11:08 +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
Akianonymus
d16ffabcfd [1/4] Refactor: plugins: Add seperate config for each plugins
first commit of Refactor

handle require errors

move config from other places to proper files

don't create a pseudo config function for no reason

https://github.com/siduck76/NvChad/pull/156#issuecomment-881453546
2021-07-16 19:36:54 +05:30
Akianonymus
0d7345bc44 Move options from init.lua => options.lua
use a local g = vim.g
2021-07-15 23:10:53 +05:30
Akianonymus
42bf581337 Disable nvim intro and tilde chars on end of buffer
This avoids the situation when the initial screen looks out of place
because there is some pre rendered text

https://github.com/neovim/neovim/pull/8546
2021-07-15 23:10:53 +05:30
siduck76
4a934e9a82 use better char for gitsigns 2021-07-15 11:09:58 +05:30
siduck76
c4a8ecf47f add bufferline highlights 2021-07-15 10:18:10 +05:30
Akianonymus
e6ae79127f Increase timeoutlen to 400
sometimes 200 ms is way too for 3 key mappings
2021-07-13 16:16:57 +05:30
Akianonymus
10ddd491c1 highlights.lua: fix comments not visible in visual selection mode 2021-07-13 16:06:31 +05:30
Akianonymus
605c9e0458 highlights.lua: set neovim bg colour 2021-07-13 14:16:27 +05:30
Oscar Forner Martinez
734562cc36
Remove quotes from jpeg icon color 2021-07-11 17:29:55 +02:00
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
9627b5e6b4 add highlights for packer.nvim 2021-07-10 11:53:47 +05:30
siduck76
f6ace73656 minor changes 2021-07-10 09:41:10 +05:30
siduck76
3a209318bb
rm duplicate mapping 2021-07-09 17:10:28 +05:30
Akianonymus
2988a22eb8 mappings.lua: Fix ctrl + q when vertical/horizontal split buffer is open
currently when a vertical or horizontal split buffer is open and ctrl + q is used, then it removes the buffer content but not the actual buffer, further it duplicates an existing buffer content.

This commit fixes that
2021-07-09 15:26:09 +05:30
siduck76
a75d59a2bf Merge branch 'main' of github.com:siduck76/NvChad 2021-07-09 10:26:27 +05:30
siduck76
0a55de407e add git clone_timeout for packer 2021-07-09 10:25:26 +05:30
Akianonymus
a5bd221680 telescope.lua: Use path_display instead of shorten_path
shorten_path is deprecated now

Reference: https://github.com/nvim-telescope/telescope.nvim/wiki/Path-Display-Configuration
2021-07-09 10:12:57 +05:30
siduck76
9f8ce72e55 add preload sizes for lua lsp (#143) 2021-07-09 09:19:24 +05:30
siduck76
c6084220de improve config structure 2021-07-09 09:14:04 +05:30
siduck76
e219b04e82 better colors 2021-07-07 22:19:51 +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
siduck76
7db1fb75b9 use better colors for tomorrow-night theme 2021-07-05 23:03:38 +05:30
siduck76
3ee8f9876c
Merge pull request #125 from alternateved/append-to-highlights
Add bg colors for all nvchad themes
2021-07-05 22:25:12 +05:30
siduck76
02b4194e1e
Update highlights.lua 2021-07-05 22:24:30 +05:30
siduck76
45f940f3fb
Merge pull request #123 from alternateved/add-theme
Add tomorrow-night theme
2021-07-05 22:18:19 +05:30
alternateved
20c3eca0b6
Make darker_black less dark 2021-07-05 18:41:37 +02:00
alternateved
07d3192f6f
Remove blue-ish tint from darker_black 2021-07-05 18:32:38 +02:00
ashincoder
c5703f2d03
Merge branch 'siduck76:main' into main 2021-07-05 18:38:28 +05:30
alternateved
8355a055d1 Rework TrueZen.nvim configuration file 2021-07-05 15:01:50 +02:00
alternateved
ac069fd543 Update TrueZen.nvim configuration file 2021-07-05 14:57:27 +02:00
ashincoder
7f6cf1bc4b seperate prefix for zen mappings and timeoutlen in settings 2021-07-05 17:19:12 +05:30
alternateved
d7729017c1
Merge branch 'siduck76:main' into append-to-highlights 2021-07-05 12:49:12 +02:00
alternateved
0e6f3c81b9
Merge branch 'siduck76:main' into add-theme 2021-07-05 12:49:04 +02:00
ashincoder
a3df1f4cc4
Update highlights.lua 2021-07-05 05:52:55 +05:30
alternateved
e8574170f5
Remove tomorrow-night theme 2021-07-04 20:14:12 +02:00
alternateved
6881fdfefb Add background colors in case of different terminal colors 2021-07-04 16:29:16 +02:00
alternateved
327c067fd2 Add tomorrow-night theme 2021-07-04 16:19:46 +02:00
ashincoder
57f9d0dbd3 fixed error #121 2021-07-04 19:25:37 +05:30
ashincoder
d50d11435d changed relative number format to current way 2021-07-04 14:38:08 +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
siduck76
dfe707d6db
Update telescope-nvim.lua 2021-07-01 21:38:46 +05:30
ashincoder
9dbc9e6880
Updated telescope config
fixes issue #115.
2021-07-01 21:30:03 +05:30
alternateved
f1662951d1 Update TrueZen.nvim after repository changed address 2021-07-01 13:44:56 +02:00
siduck76
9b2d36b767 update nvimtree config and highlights 2021-07-01 11:55:38 +05:30
siduck76
d073e01117 fix typo in mappings #109 2021-07-01 06:26:51 +05:30
kingavatar
4159c5370f Fix Check Git Workspace Condition 2021-06-29 10:50:37 +05:30
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
7d23b8c24e add some mappings 2021-06-27 18:15:58 +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
siduck76
fc76cb3f52 global theme option 2021-06-26 08:08:12 +05:30
siduck76
7758c086e2 clean up 2021-06-26 08:06:26 +05:30
siduck76
40a63f67c8 add gruvbox theme 2021-06-26 08:05:24 +05:30
siduck76
685044335b use fzf for telescope 2021-06-26 08:03:29 +05:30
siduck76
47e062eb73 rm lazy loading for colorizer 2021-06-26 08:01:09 +05:30
siduck76
900fb9e8f1 rm whichkey 2021-06-26 07:59:33 +05:30
siduck76
0e9b3832ae lazy load lspconfig :D 2021-06-26 07:57:09 +05:30
siduck76
2f238742d2 add vim-matchup , lazy load some plugins 2021-06-26 07:54:10 +05:30
siduck76
193a852335 lazy load truezen.nvim 2021-06-26 07:52:48 +05:30
siduck76
f900ecaed3 lazy load colorizer , nvim-commet 2021-06-26 07:50:10 +05:30
siduck76
247e6e06c5 lazy load gitsigns 2021-06-26 07:45:42 +05:30
siduck76
4c96c28c2d lazy load blankline 2021-06-26 07:43:35 +05:30
siduck76
b42f4778f9 lazy load dashboard 2021-06-26 07:40:23 +05:30
siduck76
dcc04837d4 disable some inbuilt plugins 2021-06-26 07:38:44 +05:30
siduck76
e2717401fe lazy load neoformat + lspkind ( run :PackerSync and :PackerCompile ) 2021-06-26 07:31:15 +05:30
siduck76
4e23587ca3 lazy loading : nvimtree and autopairs 2021-06-25 23:06:17 +05:30
siduck76
922089fc07 lazy loading : treesitter 2021-06-25 21:36:13 +05:30
siduck76
7464358bbf lazy loading : vsnip 2021-06-24 22:51:39 +05:30
siduck76
e771a32ab8 lazy loading : compe 2021-06-24 22:49:42 +05:30
siduck76
8f6780f09f
Update pluginList.lua 2021-06-19 19:24:24 +05:30
siduck76
18ff27d6b1 add dashboard footer & disable statusline in dashboard 2021-06-19 12:50:35 +05:30
siduck76
c995595509 rm unneeded spaces after nvimtree default icons 2021-06-19 07:08:22 +05:30
siduck76
6c272e7313 disable showmode 2021-06-18 08:41:14 +05:30
siduck76
a9816eed42 hide statusline in NvimTree and terminal buffers 2021-06-18 08:40:01 +05:30
siduck76
fdd32cfcab
Update highlights.lua 2021-06-16 18:56:12 +05:30
ashincoder
35343e8b96 cmd instead of vim.cmd 2021-06-16 18:53:16 +05:30
siduck76
a80de385f2
Update highlights.lua 2021-06-16 18:00:23 +05:30
ashincoder
20cc14e584
removed 2 repeated lines 2021-06-16 06:42:23 +05:30
ashincoder
c3a447a471 commented relative number setting and changed bookmark icon 2021-06-16 06:20:47 +05:30