Skip to content
Closed

1 #1779

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,18 @@ vim.g.have_nerd_font = false
-- NOTE: You can change these options as you wish!
-- For more options, you can see `:help option-list`

-- keymap for switching between normal and insert mode using kj
vim.keymap.set('i', 'kj', '<Esc>', { noremap = true, silent = true })

--kj

-- Make line numbers default
vim.o.number = true
vim.o.relativenumber = true
-- You can also add relative line numbers, to help with jumping.
-- Experiment for yourself to see if you like it!
-- vim.o.relativenumber = true
--

-- Enable mouse mode, can be useful for resizing splits for example!
vim.o.mouse = 'a'
Expand Down Expand Up @@ -881,11 +888,11 @@ require('lazy').setup({
-- change the command in the config to whatever the name of that colorscheme is.
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim',
'EdenEast/nightfox.nvim', -- 'folke/tokyonight.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
config = function()
---@diagnostic disable-next-line: missing-fields
require('tokyonight').setup {
require('nightfox').setup {
styles = {
comments = { italic = false }, -- Disable italics in comments
},
Expand All @@ -894,7 +901,7 @@ require('lazy').setup({
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
vim.cmd.colorscheme 'carbonfox'
end,
},

Expand Down