diff --git a/init.lua b/init.lua index b98ffc6198a..05efa637c01 100644 --- a/init.lua +++ b/init.lua @@ -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', '', { 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' @@ -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 }, @@ -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, },