Questions tagged [nvchad]
NvChad is a Neovim distribution. It is pre-configured but user-extensible.
20
questions
1
vote
1
answer
42
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>"] = {...
0
votes
0
answers
71
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\...
1
vote
1
answer
465
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 ...
1
vote
1
answer
102
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 ...
0
votes
2
answers
129
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>.
...
0
votes
1
answer
1k
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....
1
vote
0
answers
2k
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 ...
1
vote
1
answer
415
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.
2
votes
2
answers
1k
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 ...
0
votes
1
answer
398
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.
0
votes
1
answer
51
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 ...
0
votes
1
answer
232
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&...
3
votes
2
answers
8k
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 ...
0
votes
0
answers
326
views
How can I enable glepnir/dashboard from nvchad/nvchad's config?
So this plugin is featured on nvchad.netlify.app but I have no idea how to use it like it never shows up. I have checked the config files of nvchad/nvchad and I cannot see any mention of glepnir/...
-1
votes
2
answers
5k
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 ...
1
vote
1
answer
96
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 ...
0
votes
2
answers
2k
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 {{ ...
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 ...
7
votes
1
answer
6k
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 ...
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 {'...