605 Commits (2293b16709250c56ec9b483a262553574283da84)

Author SHA1 Message Date
siduck76 146c0ed54f improve aquarium theme colors 3 years ago
Frenzy 1dacbeb462 Added Aquarium 3 years ago
siduck76 df9a780846 change mapping keys for nvimtreefocus 3 years ago
siduck76 5db010e870 mv luasnip config to others.lua 3 years ago
siduck76 d5f4c04424 add original gruvbox theme 3 years ago
siduck76 2efac1cd67 add original nord theme | rename norchad 3 years ago
Akianonymus e800122b45 plugins/configs/cmp: Enclose in pcall 3 years ago
Akianonymus d90747415f plugins/configs/statusline: Fix branch seperator 3 years ago
Akianonymus cdf9250636 Hide statusline in help too 3 years ago
siduck76 6b31861aeb remove custom area from bufferline 3 years ago
ashincoder b63e1502a5 fix: Fixing the luasnip error while tabbing 3 years ago
siduck76 0e09c3f471 rm extra space from statusline icons 3 years ago
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
3 years ago
Akianonymus a1c103b6a8 lsp: Reload current buffer after startup
so lsp aftually starts for the current buffer, rest buffers are fine
3 years ago
siduck76 97e155f3a2 use nerdfont glyphs for lsp progress spinners 3 years ago
siduck76 c87482f107 lazy load luasnip after cmp 3 years ago
siduck76 647c3730ae clean up 3 years ago
siduck76 253047747a remove lspkind 3 years ago
siduck76 475a4c5f38 replace compe with cmp 3 years ago
Prescott Murphy 59ec5a5fed Correct bufferline diagnostics alternate setting
Tiny change: the correct setting is `nvim_lsp` with an underscore, not a hyphen.

https://github.com/akinsho/bufferline.nvim#lsp-indicators
3 years ago
siduck76 3c7de7a890
keep chadreload on hold for now 3 years ago
siduck76 e107e1aaf7 add space between lsp text/icon in statusline 3 years ago
Akianonymus 4e645c3c9f mappings: Change reload_config function name
changed in nvchad/extensions repo
3 years ago
Akianonymus 780142b150 plugins/configs/bufferline: Use a more unique func name quit all, to avoid conflicts
format file
3 years ago
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
3 years ago
Akianonymus 66de975543 plugins/configs/statusline: Fix % icon for page position 3 years ago
Akianonymus af597372ec plugins/configs/statusline: Remove extra space in lsp indicator 3 years ago
Akianonymus ee981f4f4a plugins/configs/statusline: Fix git branch not appearing without opening files
* the default provider given by feline uses gitsigns which only updates when a file is opened

* code taken from: https://github.com/hoob3rt/lualine.nvim/blob/master/lua/lualine/components/branch.lua

* use gitsigns var when available

Co-authored-by: Famiu Haque <famiuhaque@gmail.com>
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
Co-authored-by: Shadman <shadmansaleh3@gmail.com>
3 years ago
siduck76 8a21e73cc5
avoid using q! for quitting vim 3 years ago
siduck76 8f733755e8 add clickable btn for exiting nvim 3 years ago
ashincoder 80b632ee95 feat: Added lsp radial progress 3 years ago
siduck76 2f2389a31b statusline add lsp status 3 years ago
siduck76 21b2680e56 Merge branch 'main' of github.com:NvChad/NvChad 3 years ago
ashincoder 7d8f6b85c7 feat: Load lspkind on insert event. 3 years ago
siduck76 80d36cca00 move to feline.nvim 3 years ago
siduck76 9635b45404 clean mappings conf 3 years ago
ashincoder c02b1a063f feat: Added cmd for ChadReload 3 years ago
Akianonymus 9b4b288d01 utils: load_config: Use filereadable to check if file exists 3 years ago
Akianonymus 753f144d3f packerInit: Print error on clone failed 3 years ago
Akianonymus 1b2ec94b75 feat: Add copy_del and copy_cut options to config 3 years ago
Akianonymus 49216a9c93 feat: Support for custom user mappings | Improve map function
move map function to utils

rearrange utils, was missed
3 years ago
siduck76 4828cfd282 add mapping for finding hidden files with telescope (#360) 3 years ago
siduck76 3dc1db884c disable some plugins by default 3 years ago
siduck76 c66fb4ff3d add diagnostics options to bufferline/nvimtree 3 years ago
siduck76 cd5433d24b fix incorrect bg in tokyonight theme 3 years ago
siduck76 bf3e9a323f make gitsigns plugin load on dir containing .git only 3 years ago
ashincoder 2f61dbfcd8 feat: Added border for lsp hover doc 3 years ago
siduck76 7d74ca4767 use default lspconfig 3 years ago
Galen Rowell a3dbef5872 fix statusline bug, handle all Vim modes 3 years ago
Cam Cope bce7e624e2 Add LSP code action mappings
Tested with rust-analyzer
3 years ago
Noah Lidell fba26a3a40 commands to load fugitive 3 years ago
Kévin Dunglas 09f6c4c067 fix: don't hide dot files by default 3 years ago
siduck76 6fbb503a16 use ascending sorting : telescope (#346) 3 years ago
siduck76 ac83f1d580 add mapping to focus nvimtree (349) 3 years ago
siduck76 b2ec48ef30 avoid using global function : lspconfig 3 years ago
Akianonymus bf3d4b31a6 Missed in previous commit 3 years ago
Akianonymus a28a838c06 NvChad/core -> Nvchad/extensions 3 years ago
Akianonymus a82f71334f telescope-media: Check if ueberzug is available before loading the extension 3 years ago
Akianonymus ef40dfcbc1 plugins: Properly lazy load telescope
from packer docs

module = string or list      -- Specifies Lua module names for require. When requiring a string which starts
                               -- with one of these module names, the plugin will be loaded.
3 years ago
Akianonymus 3ee3b0368a config: Seperate plugin and non-plugin configs 3 years ago
Akianonymus e08a460543 config: Expose tabstop option 3 years ago
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
3 years ago
Akianonymus 3719521d9a Disable statusline in dashboard
need here because out custom statusline hide function doesn't care about dashboard settings
3 years ago
Akianonymus e1d0678f6e mappings: Add PackerClean command 3 years ago
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
3 years ago
ashincoder 44ae0178f4 Change dest of bufferline since commit https://github.com/akinsho/bufferline.nvim/commit/720555e 3 years ago
siduck76 dceb6a70d4 rm mappings var from bufferline conf 3 years ago
siduck76 7a06fbb0be disable autocwd by default 3 years ago
siduck76 18705c4da4 fix plenary.nvim not installed (#307) 3 years ago
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.
3 years ago
siduck76 83992378a4 treesitter : keep only lua parser installed by default 3 years ago
siduck76 cbb0ddc0a5 clean lspconfig 3 years ago
siduck76 b5668a037a avoid setting root_dir for lspservers 3 years ago
siduck76 6206a9e27b rm popup.nvim 3 years ago
ashincoder b57cb6cdc0 fix: fixed error of statusline. 3 years ago
Akianonymus b817c55542 mappings: Close buffer -> leader+x | Resolve #6
move theme toggle to leader+tt
3 years ago
Akianonymus 4c04160b87 dashboard: Fix alignment 3 years ago
Akianonymus e15e79b519 options.lua: Merge the TermOpen autocommands 3 years ago
Akianonymus 1f6dbed26b Improve hiding/showing statusline via config 3 years ago
Galen Rowell dbf0b56059 quickfix for not properly closing unlisted buffers, should be revised again 3 years ago
Galen Rowell fd5d50f194 fix Dashboard docs, fix default_config issue 3 years ago
Akianonymus 3ccd804da9 utils/update_nvchad: Use --rebase instead of --ff-only 3 years ago
Akianonymus 5fab35f2e1 utils/load_config: Implement force reload of config 3 years ago
Akianonymus f7d2bacb51 Fix theme switcher statusline reload 3 years ago
siduck76 89c371397f better colors 3 years ago
siduck76 47ab9c28a1 add no buffer icon to statusline 3 years ago
ashincoder a49f62d3c6 feat: Added option for italic_comments 3 years ago
siduck76 112d3866a5 improve various theme colors 3 years ago
siduck76 5ae6fba20d make statusline more pretty 3 years ago
Akianonymus 7244492b36 utils/merge_table: Handle another edgecase 3 years ago
Akianonymus 224873b937 Missed in 67c6ec6 and 575dc10 3 years ago
siduck76 114d699fc5 change nvimtree rootfolder fg 3 years ago
siduck76 e75fbed322 disable transparency by default 3 years ago
siduck76 f10fb47637 add transparency option to user config 3 years ago
Akianonymus 880d4dc312 NvChadUpdater: Make update repo and url configurable | Improve logging 3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Akianonymus e3f0429a72 tree-wide: Format files
ugh why do people don't push formatted stuff
3 years ago
siduck76 6224ed6283 Revert "chore: update path_display (#285)"
This reverts commit 1d78add91e.
3 years ago
siduck76 32a6fd8d29 add statusline_style to chadrc 3 years ago
siduck76 aa8df57cae Revert "NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)"
This reverts commit 36cb57ecce.
3 years ago
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
3 years ago
siduck76 623a2a0d1a default_config : add statusline separators style 3 years ago
Tuan Nguyen 1d78add91e
chore: update path_display (#285) 3 years ago
Galen Rowell f82b390aba
make cheatsheet enabled by default (#281) 3 years ago
Galen Rowell fa965c9797
added relativenumber option & statusline option (#279) 3 years ago
siduck76 e663122638 add bg to Floating window 3 years ago
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!
3 years ago
siduck76 51760c21f5 Add important notes for user , default config 3 years ago
siduck76 056fcb51f5
User config works 3 years ago
siduck76 b571fd9d40
test user config xD 3 years ago
Pocco81 0d35b9ddac
feat: added default conf and deep extension capabilities (#269) 3 years ago
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
3 years ago
siduck76 e25f30899d rename mountaineer 3 years ago
siduck76 cf4e0a2c53 fix plenary.nvim not loading (#256) 3 years ago
siduck76 c62e94923a add mapping cheatsheet (#244) 3 years ago
siduck76 eaaefc236d add one-light (#243) 3 years ago
Galen Rowell 86903ab982
chore: stylua formatting update (#261)
* addded stylua config file

* chore: formatted with stylua
3 years ago
Aki 4abf43aa99
Fixes (#259)
* Missed in 154ba7d

* utils/change-theme: Check theme name for magic chars
3 years ago
siduck76 9c134872fb rename theme name 3 years ago
siduck76 aabc3e692f update tomorrow night theme name 3 years ago
siduck76 c251f88567 update nvim-base16 repo link 3 years ago
ashincoder 7b796294a4
refact: move false to true in plugins and change disable to 'not' so that the user does'nt be confused (#257) 3 years ago
siduck76 49120177ce
Update theme.lua 3 years ago
siduck76 154ba7d419 add theme toggler (#245) 3 years ago
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>
3 years ago
siduck76 ebdcd4cae1 fix luasnip creating statusline errors (#250) 3 years ago
siduck76 05e587cfc0
Clean up utils 3 years ago
siduck76 e0feea9407
cleanup ! 3 years ago
Aki c656d6a3bd
Fix theme switcher reload | Move reload_theme to utils (#252)
* rearrange functions in utils.lua alphabetically
3 years ago
Galen Rowell e80a6935d6
Now have 3 separate terms, window, vert & hori, renamed some variables (#251) 3 years ago
siduck76 c80d79a7cc set completeopt for compe 3 years ago
siduck76 fd2aa6095f improve nav_in insertmode (#240) 3 years ago
curtain 2b331e7fa1
add some useful keymap in insert/command mode with switch to toggle (#240)
Co-authored-by: curtain <kaleidoscope@163.com>
3 years ago
siduck76 f805cb1cbd user_config : add option to disable telescope media plugin 3 years ago
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
3 years ago
siduck76 3f44f0761a fix statusline missing after termclose (#236) 3 years ago
siduck76 c7fdd68072 statusline : add vimode colors 3 years ago
curtain f832195a81
fix luasnip complete and move it to reasonable place (#235)
Co-authored-by: curtain <kaleidoscope@163.com>
3 years ago
siduck76 f884caa606 everforest theme : better dark color 3 years ago
siduck76 2884254afe add everforest theme (#219) 3 years ago
siduck76 0df87e4e72 fix telescope commands not working! (#230) 3 years ago
siduck76 a21ef38dc5 fix comment toggle mapping (#233) 3 years ago
siduck76 0efa21c9c9 add user_config 3 years ago
siduck76 d5c64d335e add chadracula theme 3 years ago
Iorvethe ae30324ed4
Add theme: Dracula (#225)
* Add theme: Dracula

* Dracula theme: make black2 lighter
3 years ago
Aki 0423da189c
base16: Change syntax for new changes in base16 repo (#226) 3 years ago
siduck76 f22366eac9 truezen.nvim : update var 3 years ago
siduck76 98e2957234 add mountaineer theme 3 years ago
siduck76 b16e2bf29c
load signature.nvim after lspconfig only
https://github.com/siduck76/NvChad/pull/218#issuecomment-894633359
3 years ago
ashincoder 2795ed4fb3
Added .gitignore and lazy load lsp_signature more (#218) 3 years ago
siduck76 ea992308f1 disable tilde on end of buffer 3 years ago
siduck76 d390966b4d disable indentline in packer float window 3 years ago
siduck76 d4193727bd add lsp-signature.nvim (#142) 3 years ago
siduck76 232bb5fd7c add tokyonight theme (#215) 3 years ago
Akianonymus a25f4fca70 Just packer shenanigans 3 years ago
Akianonymus e0f1cb3687 theme_switcher: Handle some edgecases | Clear cmdline after default theme prompt 3 years ago
siduck76 f172cc8362 rm vim-startuptime 3 years ago
siduck76 021cf9c6f4
Merge pull request #201 from G-Rowell/dev-chadThemeSwitcher
Chad theme switcher
3 years ago
Akianonymus af783670e4 mappings: leader+th for Telescope themes 3 years ago
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>
3 years ago
Akianonymus 7affb8cbfb Move from utils.lua to their respective places | Format all files 3 years ago
siduck76 12085f495c replace bufread event with bufenter ( lspinstall/lspkind ) 3 years ago
siduck76 5236893e5e add permanent undo (#197) 3 years ago
siduck76 e9aa4b5234
Update user_config.lua 3 years ago
siduck76 bcbde0e1a2 add theme to user_config 3 years ago
siduck76 87f3415f6f
Update mappings.lua 3 years ago
siduck76 f27f7b1502 add hl to nvimtree_rootdir 3 years ago
Galen Rowell 462a20d66a fix mapping error 3 years ago
Akianonymus 3f1e9cf37a statusline: Show lsp icon only if client is active for current buffer 3 years ago
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
3 years ago
Akianonymus 268c37e52f mappings: Allow moving the cursor through wrapped lines normally
This doesn't affect any other stuff like 10j or 10k
3 years ago
siduck76 11d75cf597 better colors for javacafe theme 3 years ago
siduck76 33422b0f3a better colors for javacafe theme 3 years ago
gokul edbd88fdb7
Added javacafe color scheme
The javacafe color scheme is my custom smash of nord and pastel colors.
3 years ago
siduck76 9157cafb61
Update telescope.lua 3 years ago
siduck76 a31d8fb228 fix telescope media files mapping #183 3 years ago
siduck76 c98334ae08 lspconfig : update diagnostics in insert mode 3 years ago
Tavo Annus 021b5c07f5 Merge branch 'main' of github.com:siduck76/NvChad into vim-fugitive 3 years ago
Tavo Annus 472278f2e3 Add vim-fugitive plugin 3 years ago
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
3 years ago
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
3 years ago
Akianonymus 936f368036 Replace tweekmonster/startuptime.vim with dstein64/vim-startuptime
because it's broken now
3 years ago
Akianonymus bb04ba07cb mappings.lua: Code style fixes | Cleanup options.lua 3 years ago
Akianonymus fcfb814594 init: Move bufferline config to pluginList.lua
plugins.bufferline should be as config of nvim-bufferline

and pluginList for packer
3 years ago
siduck76 f8727f1659
Update utils.lua 3 years ago
Galen Rowell 0d69a528a8 Fix statusline issue 3 years ago
Galen Rowell 652f703767 Fix term crash bug, no auto-close finished term anymore 3 years ago
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.
3 years ago
siduck76 845ac0e615
Merge pull request #171 from Pocco81/dev-init
Securely call modules and disable all builtin plugin
3 years ago
siduck76 fec301504f clean stuff 3 years ago
siduck76 c1544dd020
Merge pull request #170 from Pocco81/dev-lsp
Lang servers error suppression and better "publish diagnostics" glyph
3 years ago
siduck76 08dfe17678 clean stuff | map new tab 3 years ago
Pocco81 5531edf8e4 fix: formatted code with luafmt 3 years ago
Pocco81 355178a7bb feat: secure calls + disabled all builtin plugins 3 years ago
Pocco81 1e2d299bf9 feat: suppressed error messages from lang servers and added better glyph for publish diagnostics 3 years ago
Galen Rowell f35aa3c604 automatically close a terminal buffer if it has exited/returned 3 years ago
Galen Rowell a6ea40d7ba open default shell terminal with proper neovim commands, fix buffer tabline issue 3 years ago
Galen Rowell ff14ba61f9 open new buffers, instead of tabs 3 years ago