summaryrefslogtreecommitdiffstats
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.vim')
-rwxr-xr-x.config/nvim/init.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index fab8f58..dfa8a76 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -112,6 +112,9 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT
112" Resize all windows proportionally when the terminal is resized 112" Resize all windows proportionally when the terminal is resized
113" let terminal resize scale the internal windows 113" let terminal resize scale the internal windows
114autocmd VimResized * :wincmd = 114autocmd VimResized * :wincmd =
115
116" Set spell for prose
117autocmd FileType markdown,tex setlocal spell
115"}}} 118"}}}
116 119
117"{{{Misc Settings 120"{{{Misc Settings
@@ -152,6 +155,8 @@ set splitbelow " new split panes will split to below and right
152set splitright 155set splitright
153set cursorline 156set cursorline
154 157
158set thesaurus+=~/.local/share/thesaurus.txt
159
155" persistent undo 160" persistent undo
156set undodir=~/.vim/undodir 161set undodir=~/.vim/undodir
157set undofile 162set undofile