mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-15 18:25:55 -07: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 = {}
|
local M = {}
|
||||||
|
|
||||||
M.ui = {
|
M.ui = {
|
||||||
theme = "yoru",
|
theme = "gatekeeper",
|
||||||
|
|
||||||
hl_override = {
|
hl_override = {
|
||||||
Comment = { italic = true },
|
Comment = { italic = true },
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,12 @@ require "nvchad.mappings"
|
||||||
|
|
||||||
local map = vim.keymap.set
|
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("n", ";", ":", { desc = "CMD enter command mode" })
|
||||||
map("i", "jk", "<ESC>")
|
map("i", "jk", "<ESC>")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,10 @@ require "nvchad.options"
|
||||||
-- add yours here!
|
-- add yours here!
|
||||||
vim.opt.mouse = ""
|
vim.opt.mouse = ""
|
||||||
|
|
||||||
|
-- tabsize
|
||||||
|
vim.opt.shiftwidth = 4
|
||||||
|
vim.opt.tabstop = 4
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ "BufReadPost", "BufNewFile" }, {
|
vim.api.nvim_create_autocmd({ "BufReadPost", "BufNewFile" }, {
|
||||||
once = true,
|
once = true,
|
||||||
callback = function()
|
callback = function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue