From c3f4fc8d60818d3e8b6a9e55a4cee86bd20d7ba0 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Mon, 16 May 2022 12:13:43 +0200 Subject: [PATCH] updates --- nvim/init.lua | 45 ++++++++++++++++++++------------------------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 12b89ca..2fe567d 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -18,7 +18,7 @@ vim.g.python3_host_prog = "/usr/bin/python3.10" -- looks opt.termguicolors = true opt.cmdheight = 1 -opt.background = "dark" +-- opt.background = "dark" opt.listchars = "tab:→ ,trail:·,extends:↷,precedes:↶,nbsp:+,eol:↵" opt.list = true -- Show listchars opt.showtabline = 2 @@ -267,29 +267,19 @@ require("packer").startup { end } - -- theme - use { - "folke/tokyonight.nvim", - config = function() vim.g.tokyonight_style = "night" end - } - - use {"sonph/onehalf", rtp = "vim"} - use {"tomasr/molokai"} - use {"morhetz/gruvbox"} - use {"jnurmine/Zenburn"} - use {"nanotech/jellybeans.vim"} - use {"mhartington/oceanic-next"} + -- theme dark and light use {"NLKNguyen/papercolor-theme"} - use {"drewtempelmeyer/palenight.vim"} - use {"altercation/vim-colors-solarized"} - use {"rakr/vim-one", config = function() vim.g.one_allow_italics = 1 end} + use {"folke/tokyonight.nvim"} + use {"junegunn/seoul256.vim"} + use {"mhartington/oceanic-next"} + use {"morhetz/gruvbox"} + use {"sonph/onehalf", rtp = "vim/"} use { - "ayu-theme/ayu-vim", + "Shatur/neovim-ayu", config = function() - -- vim.g.ayucolor = "light" - -- vim.g.ayucolor = "mirage" - vim.g.ayucolor = "dark" + require('ayu').setup {mirage = true} + vim.g.ayu_extended_palette = 1 end } @@ -298,10 +288,13 @@ require("packer").startup { config = function() vim.g.embark_terminal_italics = 1 end } - use {"arcticicestudio/nord-vim", config = function() end} + -- theme dark only + use {"arcticicestudio/nord-vim"} + use {"tomasr/molokai"} + use {"jnurmine/Zenburn"} + use {"nanotech/jellybeans.vim"} - use {"junegunn/seoul256.vim"} - vim.cmd "colorscheme seoul256" + vim.cmd "colorscheme ayu-mirage" -- coloring of colornames use { @@ -474,7 +467,9 @@ require("packer").startup { opts) map("n", "", "Telescope buffers", opts) map("n", "", "Telescope filetypes", opts) - map("n", "", "Telescope colorscheme", opts) + map("n", "", + "lua require('telescope.builtin').colorscheme({enable_preview=1})", + opts) map("n", "la", "Telescope lsp_code_actions", opts) map("v", "la", "Telescope lsp_range_code_actions", opts) map("n", "ld", "Telescope document_diagnostics", opts) @@ -556,7 +551,7 @@ require("packer").startup { mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), - [''] = cmp.mapping.complete(), + [''] = cmp.mapping.complete() }) }) cmp.setup.cmdline('/', {