aboutsummaryrefslogtreecommitdiff
path: root/conf/options.vim
diff options
context:
space:
mode:
authorOxbian <oxbian@mailbox.org>2024-09-18 17:27:06 -0400
committerOxbian <oxbian@mailbox.org>2024-09-18 17:27:06 -0400
commitd28a067a4d4b52a1eac7e1c62a46c4726713d29c (patch)
tree2e31d96762b1d88cc591020fb91993bacf1f5f79 /conf/options.vim
parenta91deb2867535e9a56662aaa5f5935662f2fdfc8 (diff)
downloadvimrc-d28a067a4d4b52a1eac7e1c62a46c4726713d29c.tar.gz
vimrc-d28a067a4d4b52a1eac7e1c62a46c4726713d29c.zip
CLEAN: removing .vim and .vimrc, using .config/vim instead
Diffstat (limited to 'conf/options.vim')
-rw-r--r--conf/options.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/options.vim b/conf/options.vim
index 5315c1f..8e84a25 100644
--- a/conf/options.vim
+++ b/conf/options.vim
@@ -9,6 +9,8 @@ syntax on " Show syntax color
set number " Show line number
colorscheme onedark " Set vim theme to onedark
set colorcolumn=80 " Add an indicator for 80 char limit
+set textwidth=80 " Set max text width
+autocmd BufNewFile,BufRead * setlocal formatoptions=cropt " Linebreak at 80 char
set relativenumber " Show relative line number
set cursorline " Select the current line
set showmatch " Show matching brackets when hovered
ArKa projects. All rights to me, and your next child right arm.