commit 8116bbe0a97d0750383a5ff524ae5498f0fdb695
parent 5f8c533276ca8921bafff59b01ec25b2b02fde97
Author: jacob@nzxt <jacobouno@protonmail.com>
Date: Sun, 12 Jul 2020 00:46:03 -0700
Reconfigure vim and nvim
put options into sections
disable syntax highlighting and line numbers
change color scheme
Diffstat:
2 files changed, 26 insertions(+), 13 deletions(-)
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
@@ -1,14 +1,19 @@
-colo default
+" colors
+colo torte
+syntax off
-set nu
+" search
set hlsearch
set incsearch
set smartcase
-set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
-set shiftwidth=4
+
+" horizontal
set nowrap
set sidescroll=16
-let g:html_indent_inctags = "address,article,aside,blockquote,dd,div,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,nav,ol,output,p,pre,section,table,tfoot,ul"
-
-nnoremap <esc> :noh<CR><esc>
+" indenting
+set tabstop=4
+set softtabstop=0
+set shiftwidth=4
+set expandtab
+set smarttab
diff --git a/vim/.vimrc b/vim/.vimrc
@@ -1,11 +1,19 @@
-colo peachpuff
-
-set nu
-set relativenumber
+" colors
+colo torte
+syntax off
+" search
set hlsearch
set incsearch
+set smartcase
-set tabstop=2
-set shiftwidth=2
+" horizontal
set nowrap
+set sidescroll=16
+
+" indenting
+set tabstop=4
+set softtabstop=0
+set shiftwidth=4
+set expandtab
+set smarttab