Skip to content

Commit be53c96

Browse files
committed
configuring thinkpad
1 parent db4867a commit be53c96

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

init.lua

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,18 @@ vim.g.mapleader = ' '
9191
vim.g.maplocalleader = ' '
9292

9393
-- Set to true if you have a Nerd Font installed and selected in the terminal
94-
vim.g.have_nerd_font = false
94+
vim.g.have_nerd_font = true
9595

9696
-- [[ Setting options ]]
9797
-- See `:help vim.opt`
9898
-- NOTE: You can change these options as you wish!
9999
-- For more options, you can see `:help option-list`
100100

101101
-- Make line numbers default
102-
vim.opt.number = true
102+
--vim.opt.number = true
103103
-- You can also add relative line numbers, to help with jumping.
104104
-- Experiment for yourself to see if you like it!
105-
-- vim.opt.relativenumber = true
105+
vim.opt.relativenumber = true
106106

107107
-- Enable mouse mode, can be useful for resizing splits for example!
108108
vim.opt.mouse = 'a'
@@ -163,6 +163,8 @@ vim.opt.scrolloff = 10
163163
-- See `:help hlsearch`
164164
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
165165

166+
vim.keymap.set('i', 'kj', '<Esc>')
167+
166168
-- Diagnostic keymaps
167169
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
168170

@@ -845,13 +847,14 @@ require('lazy').setup({
845847
-- change the command in the config to whatever the name of that colorscheme is.
846848
--
847849
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
848-
'folke/tokyonight.nvim',
850+
'ellisonleao/gruvbox.nvim',
849851
priority = 1000, -- Make sure to load this before all the other start plugins.
852+
opts = { transparent_mode = false },
850853
init = function()
851854
-- Load the colorscheme here.
852855
-- Like many other themes, this one has different styles, and you could load
853856
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
854-
vim.cmd.colorscheme 'tokyonight-night'
857+
vim.cmd.colorscheme 'gruvbox'
855858

856859
-- You can configure highlights by doing something like:
857860
vim.cmd.hi 'Comment gui=none'

0 commit comments

Comments
 (0)