summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorYigit Sever2019-12-08 18:32:51 +0300
committerYigit Sever2019-12-08 18:32:51 +0300
commit702d0822b2a9b79602db02797b8ff4816a90c22a (patch)
treefc0f17d31319f2e91def048216a96fb43a356ca6 /.config/nvim
parent2c523ef1eb51ab9e0e9b1ba6bc30c117396bb331 (diff)
downloaddotfiles-702d0822b2a9b79602db02797b8ff4816a90c22a.tar.gz
dotfiles-702d0822b2a9b79602db02797b8ff4816a90c22a.tar.bz2
dotfiles-702d0822b2a9b79602db02797b8ff4816a90c22a.zip
vim sets spell for prose
Diffstat (limited to '.config/nvim')
-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