From aa1b9a12010b29502cbec822d3a20c0c90b34e34 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 30 Mar 2023 16:45:31 +0400 Subject: Updated the theme Signed-off-by: Valentin Popov --- init.vim | 6 +++++- lua/init.lua | 2 +- lua/plugins.lua | 4 +++- lua/plugins/lualine.lua | 10 ++++++++++ lua/theme.lua | 3 --- 5 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 lua/plugins/lualine.lua delete mode 100644 lua/theme.lua diff --git a/init.vim b/init.vim index f8b71c1..be63bc5 100644 --- a/init.vim +++ b/init.vim @@ -6,9 +6,13 @@ augroup packer_user_config autocmd BufWritePost plugins.lua source | PackerCompile augroup end +" Setting up the theme +colorscheme carbonfox +set cursorline + " Automatic file trimming when saving autocmd BufWritePre * :%s/\s\+$//e " Enable line number display set number -set relativenumber \ No newline at end of file +set relativenumber diff --git a/lua/init.lua b/lua/init.lua index a334322..2d0ee2e 100644 --- a/lua/init.lua +++ b/lua/init.lua @@ -1,2 +1,2 @@ require('plugins') -require('theme') \ No newline at end of file +require('plugins/lualine') diff --git a/lua/plugins.lua b/lua/plugins.lua index 11cbd16..cfc4e08 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -6,5 +6,7 @@ vim.cmd [[packadd packer.nvim]] return require('packer').startup(function(use) use { 'wbthomason/packer.nvim', opt = true } - use { 'tanvirtin/monokai.nvim' } + use 'EdenEast/nightfox.nvim' + + use { 'nvim-lualine/lualine.nvim' } end) diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua new file mode 100644 index 0000000..39ed92f --- /dev/null +++ b/lua/plugins/lualine.lua @@ -0,0 +1,10 @@ +require('lualine').setup { + sections = { + lualine_a = { 'mode' }, + lualine_b = { 'branch', 'diff' }, + lualine_c = { 'filename' }, + lualine_x = { 'encoding', 'filetype', 'filesize' }, + lualine_y = { 'progress' }, + lualine_z = { 'location' }, + } +} diff --git a/lua/theme.lua b/lua/theme.lua deleted file mode 100644 index 1cef14d..0000000 --- a/lua/theme.lua +++ /dev/null @@ -1,3 +0,0 @@ -require('monokai').setup { - palette = require('monokai').pro -} -- cgit v1.2.3