diff options
author | Chris <[email protected]> | 2021-03-13 01:40:17 -0500 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-13 01:40:17 -0500 |
commit | 4433ad011a0ac06d48262f02a67efd05144b9ad8 (patch) | |
tree | 1be61debdf9b6b377df7372d4933f0182d276b14 /general | |
parent | aae481ce96cefb7fd9d459877054f38c4ae27920 (diff) |
simplifying things
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 |