summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2023-11-25 22:10:13 -0600
committerTimmy Keller <tjk@tjkeller.xyz>2023-11-25 22:10:13 -0600
commit3e1eee8268d14ebe867bd1ebdae814ac3789a12d (patch)
tree989dcfa279940c8e0e5f5e232d984ccaabfe992c
parent89cc1438a33ca98563673b3805a6a90a0da82491 (diff)
downloaddotconfig-3e1eee8268d14ebe867bd1ebdae814ac3789a12d.tar.xz
dotconfig-3e1eee8268d14ebe867bd1ebdae814ac3789a12d.zip
set wrapping off
-rwxr-xr-xnvim/init.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 699fcb4..9e89eb6 100755
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -42,6 +42,7 @@ set smartcase " ...Unless the search term is capital
set splitbelow splitright " Open splits on bottom/right instead of top/left
set termguicolors " Enable GUI colors for the terminal to get truecolor
set wildmode=longest,list,full " Enable file auto-complete
+set wrap! " Disable word wrapping
syntax on " Enable syntax highlighting
" Get rid of the pointless .viminfo files that clutter the home directory
@@ -52,7 +53,7 @@ set viminfo=""
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
" Tabbing
-let tabwidth = 4
+"let tabwidth = 4
set tabstop=4 " Set width of tabs to 4 instead of default 8
set shiftwidth=4 " Tab key will only insert 1 tab
" Use tabs instead of spaces