summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2024-01-17 18:04:50 -0600
committerTimmy Keller <tjk@tjkeller.xyz>2024-01-17 18:04:50 -0600
commit00500daa0d8b0824f15a72e9741e2f81686e60db (patch)
tree52c16f3730d9f21e8edb44f30588e4dd2a3c34e2 /nvim
parentaa7b92eb281d229386a298998586ef9687b9af1c (diff)
parentff6286e5e4e6dc1828576ad9ef3aae6cf4c7c06f (diff)
downloaddotconfig-00500daa0d8b0824f15a72e9741e2f81686e60db.tar.xz
dotconfig-00500daa0d8b0824f15a72e9741e2f81686e60db.zip
Merge branch 'master' of localgit:dotconfig
Diffstat (limited to 'nvim')
-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