Questions tagged [nvchad]

NvChad is a Neovim distribution. It is pre-configured but user-extensible.

Filter by
Sorted by
Tagged with
8 votes
1 answer
10k views

How do I use github copilot in NvChad?

I've written the following in my custom folder, and I've run :PackerSync followed by :Copilot setup, but I get an error: E492: Not an editor command: Copilot setup. Do I need to clone github/copilot ...
stackexchange.com-upvm25mz's user avatar
7 votes
2 answers
13k views

How can I change the root of my nvim-tree?

I have checked this screenshot (list of nvim-tree commands): But there seems to be no command to change the root of my tree. Also I am hoping to setup a convenient startup location but could not find ...
samuelnihoul's user avatar
4 votes
4 answers
2k views

Is there a way to have some kind of virtual environment for Neovim?

I would like to try out some fancy plugins, debug my own configuration and plugins, try out new Neovim versions. But I do want to keep my daily used Neovim stable (with fixed set of settings and ...
Wang's user avatar
  • 141
3 votes
2 answers
3k views

How can I close only one tab in tabufline?

I'm using NvChad. It uses the tabufline to show the tab buffers (tablet) All the commands I try (:q, :close, :bd) close the whole tab not the tablet. What command to close only one tablet? What is ...
samuelnihoul's user avatar
1 vote
1 answer
682 views

Nvchad: Is it possible to reuse existing .vimrc file?

I checked the documentation but couldn't find an answer to this basic question: Is it possible to reuse my existing .vimrc file in Nvchad? Currently, nvchad ignores my settings in .vimrc file.
Mert Nuhoglu's user avatar
1 vote
1 answer
159 views

Does NvChad hijack the ; key?

I installed the NvChad kit a few hours ago just to try it out. In this setup, I appear unable to jump forward to the next occurrence of a character using the semicolon after the first character match ...
parisminton's user avatar
1 vote
1 answer
250 views

How to fix RGB / RGBA colors not being shown as colors in neovim nvChad lazy.nvim colorizer plugin?

I can see color on those: #000000 red But not on those: rgb(0,45,65); rgba(2,45,23,1); Here is C:\Users\user\AppData\Local\nvim\lua\plugins\init.lua file colorizer code that comes preinstalled with ...
over-heaven's user avatar
1 vote
1 answer
143 views

Weird command characters when I press k or j after running `:source $MYVIMRC` / Neovim [closed]

This is what I get: What does it mean and why is it here? I am on Windows11, Neovim. :verbose map j: and k: If I am not mistaken, it happens every time I run :source $MYVIMRC. Restarting Neovim ...
samuelnihoul's user avatar
1 vote
1 answer
131 views

Disable Alt-h terminal mode key combination

I would like to disable the Alt-h key combination that brings up the horizontal terminal in Neovim. I see the original mapping in ~/.config/nvim/lua/core/mappings.lua: ["<A-h>"] = {...
Alex D.'s user avatar
  • 13
1 vote
1 answer
935 views

How to install nvim-html-css neovim plugin in NvChad

Neovim plugin: nvim-html-css I don't know lua but I need this plugin installed for bootstrap classes. I have Neovim NvChad lazy.nvim setup. Copy pasting didn't worked so I tried to cut out maybe ...
over-heaven's user avatar
1 vote
0 answers
3k views

NvChad: How to add a theme into the builtin list of `nvchad themes`?

I have installed a new theme called "rigel" in NvChad. I can switch to this theme from commandline using the command :colorscheme rigel. Is it possible to add this theme to the builtin list ...
Mert Nuhoglu's user avatar
0 votes
1 answer
1k views

How to use tzachar/cmp-tabnine in NvChad?

This are the installation instructions for tzachar/cmp-tabnine using Packer: return require("packer").startup( function(use) use "hrsh7th/nvim-cmp" --completion use {'...
user avatar
0 votes
1 answer
68 views

Invalid search string \{

I am new to Neovim regex and nothing seems to be working. \b is intepreted litterally and \{ acts like if there's no \. However \. works. What may be wrong? I have noticed that in my browser \ gets ...
samuelnihoul's user avatar
0 votes
1 answer
80 views

Conditional Key Mapping in Neovim Based on File Type

How can I do in nvim if the file type is js do this: vim.api.nvim_set_keymap('n', '<A-1>', [[:w | split term://node % <CR>]], { noremap = true, silent = true}) else if file type is lua do ...
user50451's user avatar
0 votes
1 answer
582 views

What plugin provides the subtab feature in NvChad?

There are the normal Neovim tabs but also some small tabs but I have hard time configuring the behavior of those.
samuelnihoul's user avatar
0 votes
1 answer
384 views

Trailing character error with vim.api.nvim_command

I have hard times figuring out what is wrong with these lines I am writing in my init.lua file in Neovim: vim.cmd "cd C:/Users/samue/Desktop/" vim.api.nvim_command "<Space>e&...
samuelnihoul's user avatar
0 votes
2 answers
6k views

How can I enable all NvChad features?

I am struggling to enable the features advertised on https://nvchad.netlify.app/features. Upon installation, we only get basic features such as tabs and command bar, as per my experience and what I ...
samuelnihoul's user avatar
0 votes
0 answers
284 views

packer error "module 'packer.luarocks' not found:"

I am trying to install packer.nvim to my NvChad configuration. I installed packer using git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\...
ori raisfeld's user avatar
0 votes
2 answers
174 views

How would I bind a keybind that uses Rubber to compile the current file on NvChad?

I'm new to NvChad and would like to learn how to bind <leader>t to execute rubber on the current file. My previous nvim setup had the code nnoremap <leader>t :!rubber --pdf %<CR>. ...
user avatar
0 votes
1 answer
2k views

How to run current python file in floating terminal? Using neovim and NvChad

FYI noob here. I want to run current file in floating terminal. I'm using NvChad and when I execute ALT+i I get the following: I already played with some key binds, but I haven't achieved what I need....
indochina's user avatar
0 votes
2 answers
3k views

Configuring VimTeX in NvChad config

I've been trying to configure vim-tex working on the NvChad configs. I got the :VimtexCompile working and giving me output pdf. But the usual <leader>ll is giving me these errors. Also in vim {{ ...
codehumor's user avatar
  • 101