Giter VIP home page Giter VIP logo

nvchad_dotfiles's Introduction

Nvim(Chad) configuration

Custom config for [email protected]:NvChad/NvChad

Lines of code Bloat GitHub code size in bytes GitHub Repo stars GitHub top language

prv-min


Introduction

I have been a VSCode user for years and I am slowly moving forward to NVIM, so this is my config that mimic VSCode keybinds and UI, with a goal from removing plugins as I am getting used to it and learning more about NVIM.

Instalation guide

  1. Same as NvChad
  2. Download and install CTAGS
  3. I am using Hack Nerd Font
  4. My terminal is WezTerm
  5. My neovim version is nightly
  6. I am using a M1, so some things may not work out of the box for you

Help

For questions feel free to open an issue or you can find me in the NvChad discord server.

Configured environments

CMP fully integrated with AI completion

cmp

You can navigate between the options with <Up> and <Down> and select with <CR>.

If copilot suggestion is active, you can use <Tab> to select the copilot option.

Code foldable in a VSCode style

Diagnostics in a VSCode style

Diagnostics tab

diagnostics

With Trouble

Diagnostics in the gutter

error

With Error Lens

Diagnostics with LSP Lines

scrollbar

With lsp-lines

LSP Lines is only enabled for Go, so it may need some tweaking for other languages.

Diagnostics in scrollbar

Winbar

navic

With LSPSaga or Dropbar

If you do not use neovim nightly, you should disable the plugin dropbar.lua and then enable the lspsaga winbar in lspsaga.lua.

Word highlight

word

With Illuminate

TODO Tracking

Context

context

With Biscuits

fcontext

With ts-context

Search and replace

Local Search

search

With SearchBox

Local Rename

rename

With IncRename

Global rename

muren

With Muren

Bookmarks

bookmark

With Bookmark

Telescope Integrations

Custom Statusline icons

status

From left to right:

  1. Github copilot status (it shows if copilot is active or not)
  2. Harpoon file navigation (it shows if harpoon is harpooned or not)
  3. Battery status (usefull when using in fullscreen)
  4. Session status (icon for Possession plugin)

Keybinds

All the keybinds are available in the mappings.lua file, and also described in the NVCheatSheet, you can access it with <leader>ch.

Formatting

I do not like format on save, so my config is set to format on <leader>fm only, but you can change it to whatever you want, to do it, just uncomment the autocmd in the autocmd.lua file.

For .go files, you can use <leader>fi to complete imports.

Improved GoToDefinition

I am using universal CTAGS to have a better GoToDefinition, the tags are generated automatically with guttentags. Keybind to use is <C-]>.

Github

LazyGit

With LazyGit

Theme

I have adapted the Evondev Dracula theme from VSCode to Neovim, you can find it in the theme folder.

theme

theme2

Neovide

Config ready for neovide, options are available in the neovide.lua file.

Other plugins

nvchad_dotfiles's People

Contributors

ratataque avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.