Change theme + disable arrow keys + tab width

main
Gabe Farrell 2 years ago
parent 8e6e367f7a
commit 1a4acf33e8

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

@ -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>")

@ -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()

Loading…
Cancel
Save