diff options
Diffstat (limited to 'general')
-rw-r--r-- | general/settings.vim | 2 | ||||
-rw-r--r-- | general/theme.vim | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/general/settings.vim b/general/settings.vim index 7f0a0b5b..022e9ec8 100644 --- a/general/settings.vim +++ b/general/settings.vim @@ -53,6 +53,8 @@ set guifont=JetBrainsMono\ Nerd\ Font\ Mono:h18 " au! BufWritePost $MYVIMRC source % " auto source when writing to init.vm alternatively you can run :source $MYVIMRC autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o +autocmd FileType markdown set wrap + " You can't stop me cmap w!! w !sudo tee % diff --git a/general/theme.vim b/general/theme.vim new file mode 100644 index 00000000..5a738f8a --- /dev/null +++ b/general/theme.vim @@ -0,0 +1,22 @@ +hi Comment cterm=italic +let g:nvcode_termcolors=256 + +syntax on +" colorscheme nord +colorscheme nvcode +" colorscheme onedark +" colorscheme TSnazzy +" colorscheme aurora + + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif + +" Change this when you know where i3 will be +aug i3config_ft_detection + au! + au BufNewFile,BufRead ~/.config/i3/config set filetype=i3config +aug end |