From d78b602efc5b525f178b8e1b265b89f6dfda1580 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 9 Apr 2022 18:46:47 +0200 Subject: Better keyrepeat rate settings, added nvim live grep shortcut --- config/nvim/lua/plugins.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'config/nvim/lua/plugins.lua') diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 71498e9..a5cd5ce 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -181,6 +181,7 @@ return require('packer').startup(function() map('n', '', 'Telescope git_files', {}) map('n', 'H', 'Telescope help_tags', {}) map('n', ';', 'Telescope commands', {}) + map('n', 'g', 'Telescope live_grep', {}) end } -- cgit From 51a15d298c69fb50c39913877d6933a4885cb1f7 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 13 Aug 2022 16:22:56 +0200 Subject: Updated nvim theme to gruvbox --- config/nvim/lua/plugins.lua | 53 +++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 24 deletions(-) (limited to 'config/nvim/lua/plugins.lua') diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index ddfd50f..6eae912 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -257,7 +257,6 @@ return require("packer").startup(function() end } - -- comment text objects use { "numToStr/Comment.nvim", @@ -265,34 +264,37 @@ return require("packer").startup(function() require("Comment").setup() end } + -- gruvbox color scheme - -- use { - -- "ellisonleao/gruvbox.nvim", - -- requires = {"rktjmp/lush.nvim"}, - -- config = function() - -- vim.opt.termguicolors = true - -- vim.opt.background = "dark" - -- -- vim.cmd [[ colorscheme gruvbox ]] - -- vim.g.gruvbox_italic = 1 - -- vim.g.gruvbox_bold = 1 - -- vim.g.gruvbox_termcolors = 256 - -- vim.g.gruvbox_contrast_dark = "medium" - -- vim.g.gruvbox_contrast_light = "hard" - -- vim.g.gruvbox_invert_selection = 0 - -- end - -- } - -- nord color scheme use { - "shaunsingh/nord.nvim", + "ellisonleao/gruvbox.nvim", + requires = {"rktjmp/lush.nvim"}, config = function() vim.opt.termguicolors = true vim.opt.background = "dark" - vim.cmd [[ colorscheme nord ]] - vim.g.nord_contrast = true - vim.g.nord_borders = true - vim.g.nord_italic = true + vim.cmd [[ colorscheme gruvbox ]] + vim.g.gruvbox_italic = 1 + vim.g.gruvbox_bold = 1 + vim.g.gruvbox_termcolors = 256 + vim.g.gruvbox_contrast_dark = "medium" + vim.g.gruvbox_contrast_light = "hard" + vim.g.gruvbox_invert_selection = 0 end } + + -- nord color scheme + -- use { + -- "shaunsingh/nord.nvim", + -- config = function() + -- vim.opt.termguicolors = true + -- vim.opt.background = "dark" + -- vim.cmd [[ colorscheme nord ]] + -- vim.g.nord_contrast = true + -- vim.g.nord_borders = true + -- vim.g.nord_italic = true + -- end + -- } + -- status line use { "nvim-lualine/lualine.nvim", @@ -300,8 +302,8 @@ return require("packer").startup(function() config = function() require("lualine").setup { options = { - -- theme = "gruvbox", - theme = "nord", + theme = "gruvbox", + -- theme = "nord", icons_enabled = true, section_separators = '', component_separators = '', @@ -309,6 +311,7 @@ return require("packer").startup(function() } end } + -- better syntax highlight for everything use { "nvim-treesitter/nvim-treesitter", @@ -333,6 +336,7 @@ return require("packer").startup(function() vim.cmd [[ highlight link pythonTSKeywordOperator Keyword ]] end } + -- fuzzy finder (replace fzf.vim or ctrlp.vim) use { "nvim-telescope/telescope.nvim", @@ -369,6 +373,7 @@ return require("packer").startup(function() end } + -- todos,fix,etc.. highlight and list use { "folke/todo-comments.nvim", -- cgit