Change theme + disable arrow keys + tab width

This commit is contained in:
Gabe Farrell 2024-04-08 15:21:06 -04:00
parent 8e6e367f7a
commit 1a4acf33e8
3 changed files with 11 additions and 1 deletions

View file

@ -5,7 +5,7 @@
local M = {}
M.ui = {
theme = "yoru",
theme = "gatekeeper",
hl_override = {
Comment = { italic = true },

View file

@ -4,6 +4,12 @@ require "nvchad.mappings"
local map = vim.keymap.set
-- disable arrow keys
map("n", "<Up>", "<nop>")
map("n", "<Down>", "<nop>")
map("n", "<Left>", "<nop>")
map("n", "<Right>", "<nop>")
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")

View file

@ -3,6 +3,10 @@ require "nvchad.options"
-- add yours here!
vim.opt.mouse = ""
-- tabsize
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.api.nvim_create_autocmd({ "BufReadPost", "BufNewFile" }, {
once = true,
callback = function()