summaryrefslogtreecommitdiff
path: root/pkgs/vim/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-05-19 21:13:01 +0200
committerAdrian Kummerlaender2018-05-19 21:13:01 +0200
commit672535fc61bd17be0a75a75fff5ed2f6245ab983 (patch)
tree664e1453179c99daead73446b6c5e82d501d6689 /pkgs/vim/conf
parentda32211e2be61f9d9818dfc03f510d847fab1c69 (diff)
downloadnixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.tar
nixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.tar.gz
nixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.tar.bz2
nixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.tar.lz
nixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.tar.xz
nixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.tar.zst
nixos_system-672535fc61bd17be0a75a75fff5ed2f6245ab983.zip
Replace undotree with mundo
Side note: vim configuration is now used to build neovim-qt in my user environment managed by home-manager.
Diffstat (limited to 'pkgs/vim/conf')
-rw-r--r--pkgs/vim/conf/rc.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/vim/conf/rc.vim b/pkgs/vim/conf/rc.vim
index fcd49b3..551c9a9 100644
--- a/pkgs/vim/conf/rc.vim
+++ b/pkgs/vim/conf/rc.vim
@@ -17,6 +17,9 @@ set sessionoptions-=options
set directory=~/.vim/swap//,.
+set undofile
+set undodir=~/.vim/undo
+
set wrap
set tabstop=4 shiftwidth=4
set backspace=indent,eol,start
@@ -102,7 +105,7 @@ let g:goyo_margin_top = 1
let g:goyo_margin_bottom = 0
nnoremap <F4> :call BufferList()<CR>
-nnoremap <F6> :UndotreeToggle<CR>
+nnoremap <F5> :MundoToggle<CR>
nnoremap <F6> :GitGutterToggle<CR>
nnoremap <F7> :TagbarToggle<CR>
nnoremap <F8> :Goyo<CR>