diff options
author | aktersnurra <gustaf.rydholm@gmail.com> | 2021-02-07 20:35:46 +0100 |
---|---|---|
committer | aktersnurra <gustaf.rydholm@gmail.com> | 2021-02-07 20:35:46 +0100 |
commit | a29fa44b3a0bd6f726ab2e8169dec35b697b04a0 (patch) | |
tree | 49e40e6e6b5b0378ea47638f77039bb4ae4c42b5 /.config/nvim/themes | |
parent | 251cde74e3bdfe70776aac644ee8858515fbc55c (diff) |
neovim config added
Diffstat (limited to '.config/nvim/themes')
-rw-r--r-- | .config/nvim/themes/airline.vim | 20 | ||||
-rw-r--r-- | .config/nvim/themes/anderson.vim | 13 | ||||
-rw-r--r-- | .config/nvim/themes/citylights.vim | 9 | ||||
-rw-r--r-- | .config/nvim/themes/deepspace.vim | 16 | ||||
-rw-r--r-- | .config/nvim/themes/dogrun.vim | 13 | ||||
-rw-r--r-- | .config/nvim/themes/githubsy.vim | 14 | ||||
-rw-r--r-- | .config/nvim/themes/onedark.vim | 23 | ||||
-rw-r--r-- | .config/nvim/themes/spaceline.vim | 2 |
8 files changed, 110 insertions, 0 deletions
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' |