diff options
author | Yigit Sever | 2019-03-18 15:32:06 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-18 15:32:06 +0300 |
commit | b391e27a0f1ef954f5347ebdd1913b3bb953ad80 (patch) | |
tree | 47002bd610fe2b8271e67d746e1fee63e4fd4985 /.config/nvim | |
parent | e5a773282f293947761f072963bda38cbba07b23 (diff) | |
download | dotfiles-b391e27a0f1ef954f5347ebdd1913b3bb953ad80.tar.gz dotfiles-b391e27a0f1ef954f5347ebdd1913b3bb953ad80.tar.bz2 dotfiles-b391e27a0f1ef954f5347ebdd1913b3bb953ad80.zip |
Use persistent undo for vim
Diffstat (limited to '.config/nvim')
-rwxr-xr-x | .config/nvim/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index af2cedc..62d24cb 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -149,6 +149,10 @@ set linebreak " wrap using 'breakat' character | |||
149 | set splitbelow " new split panes will split to below and right | 149 | set splitbelow " new split panes will split to below and right |
150 | set splitright | 150 | set splitright |
151 | 151 | ||
152 | " persistent undo | ||
153 | set undodir=~/.vim/undodir | ||
154 | set undofile | ||
155 | |||
152 | " lower case searches ignore case, upper case searches do not | 156 | " lower case searches ignore case, upper case searches do not |
153 | set ignorecase | 157 | set ignorecase |
154 | set smartcase | 158 | set smartcase |