Commit graph

1368 commits

Author SHA1 Message Date
siduck76
6d98a11dfe lazy load more plugins! 2021-07-18 16:06:33 +05:30
siduck76
cb3f7538e8
Merge pull request #162 from G-Rowell/dev-fixTerm
Fix terminal config issues
2021-07-18 11:45:12 +05:30
Galen Rowell
1bedbbe5c4 Fix terminal buffer format bug, & enable escape from terminal & visual mdoes 2021-07-18 15:42:54 +10:00
siduck76
cf8b2ce1cb
Merge pull request #161 from Akianonymus/main
Code style fixes | Some saner defaults
2021-07-18 09:46:09 +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
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
8be8d36474
Update README.md 2021-07-17 16:44:39 +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
75aa73762f
Update README.md 2021-07-16 23:55:40 +05:30
siduck76
2952f4d5c7 clean stuff 2021-07-16 23:22:36 +05:30
siduck76
6f2b358d3a
Merge pull request #156 from Akianonymus/main
Major perf improvements | Handle errors | Better configs | Misc
2021-07-16 23:34:57 +05:30
Akianonymus
35b210b46a install.sh: Don't ask for terminal shell when updating | Misc
Handle a edgecase for config copying

Remove an unnecessary print
2021-07-16 21:00:28 +05:30
Akianonymus
d1f23d1bc3 [4/4] Refactor: install.sh: Don't handle packer
use +":lua require 'pluginList' vim.cmd('PackerSync')"
only for update as PackerSync should trigger on fresh install automatically
2021-07-16 20:59:17 +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
siduck76
7658c3d978
Update README.md 2021-07-14 06:54:14 +05:30
siduck76
6d0150ab0b
Merge pull request #155 from Akianonymus/main
Use shallow clone for packer | set bg colour | Fix visual selection color | Misc improvements
2021-07-13 19:43:02 +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
Akianonymus
c38c4ec0cf install.sh: Do shallow clone for packer.nvim 2021-07-13 14:13:33 +05:30
siduck76
484751c422
Merge pull request #150 from maitesin/patch-1
Remove quotes from jpeg icon color
2021-07-11 21:09:36 +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
0bbb88f6db typo 2021-07-09 16:54:40 +05:30
siduck76
1aef7e9a97
Merge pull request #145 from Akianonymus/main
Refactor Install script
2021-07-09 17:11:08 +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
Akianonymus
e71b9bbece install.sh: Refactor install script, Add new flags
Giving either --install or --update flag is neccessary for the script to proceed

    -i | --install       => Install the config.

    -u | --update        => Update the existing config without removing existing stuff.

    -b | --backup 'path' => Custom config backup path.

    -nb | --no-backup    => Don't take existing config backup. Use with caution.

Update formatting using following command
    shfmt -i 2 -sr -p -bn -ci -w install.sh
2021-07-09 14:31:47 +05:30
siduck76
a75d59a2bf Merge branch 'main' of github.com:siduck76/NvChad 2021-07-09 10:26:27 +05:30
siduck76
61778b20f1
Merge pull request #144 from Akianonymus/main
telescope.lua: Use path_display instead of shorten_path
2021-07-09 10:38:40 +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