aboutsummaryrefslogtreecommitdiff
path: root/conf/options.vim
diff options
context:
space:
mode:
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.