summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/init.vim')
-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