mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-07 21:48:17 -08:00
Change theme + disable arrow keys + tab width
This commit is contained in:
parent
8e6e367f7a
commit
1a4acf33e8
3 changed files with 11 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue