From a29fa44b3a0bd6f726ab2e8169dec35b697b04a0 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 7 Feb 2021 20:35:46 +0100 Subject: neovim config added --- .config/nvim/themes/airline.vim | 20 ++++++++++++++++++++ .config/nvim/themes/anderson.vim | 13 +++++++++++++ .config/nvim/themes/citylights.vim | 9 +++++++++ .config/nvim/themes/deepspace.vim | 16 ++++++++++++++++ .config/nvim/themes/dogrun.vim | 13 +++++++++++++ .config/nvim/themes/githubsy.vim | 14 ++++++++++++++ .config/nvim/themes/onedark.vim | 23 +++++++++++++++++++++++ .config/nvim/themes/spaceline.vim | 2 ++ 8 files changed, 110 insertions(+) create mode 100644 .config/nvim/themes/airline.vim create mode 100644 .config/nvim/themes/anderson.vim create mode 100644 .config/nvim/themes/citylights.vim create mode 100644 .config/nvim/themes/deepspace.vim create mode 100644 .config/nvim/themes/dogrun.vim create mode 100644 .config/nvim/themes/githubsy.vim create mode 100644 .config/nvim/themes/onedark.vim create mode 100644 .config/nvim/themes/spaceline.vim (limited to '.config/nvim/themes') diff --git a/.config/nvim/themes/airline.vim b/.config/nvim/themes/airline.vim new file mode 100644 index 0000000..14f9f22 --- /dev/null +++ b/.config/nvim/themes/airline.vim @@ -0,0 +1,20 @@ +" enable tabline +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#left_sep = '' +let g:airline#extensions#tabline#left_alt_sep = '' +let g:airline#extensions#tabline#right_sep = '' +let g:airline#extensions#tabline#right_alt_sep = '' + +" enable powerline fonts +let g:airline_powerline_fonts = 1 +let g:airline_left_sep = '' +let g:airline_right_sep = '' + +" Switch to your current theme +let g:airline_theme = 'onedark' + +" Always show tabs +set showtabline=2 + +" We don't need to see things like -- INSERT -- anymore +set noshowmode diff --git a/.config/nvim/themes/anderson.vim b/.config/nvim/themes/anderson.vim new file mode 100644 index 0000000..6c294e9 --- /dev/null +++ b/.config/nvim/themes/anderson.vim @@ -0,0 +1,13 @@ +" Prevents the colorscheme from loading a custom bg color. +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE + + +syntax on +colorscheme anderson + + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/citylights.vim b/.config/nvim/themes/citylights.vim new file mode 100644 index 0000000..a1c496f --- /dev/null +++ b/.config/nvim/themes/citylights.vim @@ -0,0 +1,9 @@ +syntax on +colorscheme citylights + + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/deepspace.vim b/.config/nvim/themes/deepspace.vim new file mode 100644 index 0000000..ad1c213 --- /dev/null +++ b/.config/nvim/themes/deepspace.vim @@ -0,0 +1,16 @@ + +" Prevents the colorscheme from loading a custom bg color. +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE + +set background=dark +set termguicolors +colorscheme deep-space + +syntax on + + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/dogrun.vim b/.config/nvim/themes/dogrun.vim new file mode 100644 index 0000000..a100cbd --- /dev/null +++ b/.config/nvim/themes/dogrun.vim @@ -0,0 +1,13 @@ + +" Prevents the colorscheme from loading a custom bg color. +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE + + +syntax on +colorscheme dogrun + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/githubsy.vim b/.config/nvim/themes/githubsy.vim new file mode 100644 index 0000000..7ad7015 --- /dev/null +++ b/.config/nvim/themes/githubsy.vim @@ -0,0 +1,14 @@ + + +" Prevents the colorscheme from loading a custom bg color. +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE + + +syntax on +colorscheme githubsy + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/onedark.vim b/.config/nvim/themes/onedark.vim new file mode 100644 index 0000000..99ad7bb --- /dev/null +++ b/.config/nvim/themes/onedark.vim @@ -0,0 +1,23 @@ +" onedark.vim override: Don't set a background color when running in a terminal; +if (has("autocmd") && !has("gui_running")) + augroup colorset + autocmd! + let s:white = { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" } + autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": s:white }) " `bg` will not be styled since there is no `bg` setting + augroup END +endif + +hi Comment cterm=italic +let g:onedark_hide_endofbuffer=1 +let g:onedark_terminal_italics=1 +let g:onedark_termcolors=256 + +syntax on +colorscheme onedark + + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/.config/nvim/themes/spaceline.vim b/.config/nvim/themes/spaceline.vim new file mode 100644 index 0000000..584ca36 --- /dev/null +++ b/.config/nvim/themes/spaceline.vim @@ -0,0 +1,2 @@ +let g:spaceline_seperate_style= 'none' +let g:spaceline_colorscheme = 'mach2' -- cgit v1.2.3-70-g09d2