aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-02-06 20:50:30 +0100
committerAdrian Kummerlaender2016-02-06 20:50:30 +0100
commit5ed49c533a43cc2ebf46070b2c873987415706b3 (patch)
tree9f025bb685f0d3092b3677ae7cc8ae4fdf76b9ae
parentbcf90f9c7893f2c711bd8a13bd4d78f9dd211db2 (diff)
downloaddotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.tar
dotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.tar.gz
dotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.tar.bz2
dotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.tar.lz
dotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.tar.xz
dotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.tar.zst
dotfiles-5ed49c533a43cc2ebf46070b2c873987415706b3.zip
Fix _vim_ refresh problem
-rw-r--r--vim/.vimrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index e34fb73..7aaaac7 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -42,11 +42,13 @@ set smartcase
map <leader>s :let @/=""<CR>
-autocmd InsertEnter * :setlocal nohlsearch
-autocmd InsertLeave * :setlocal hlsearch
+autocmd InsertEnter * :setlocal nohlsearch
+autocmd InsertLeave * :setlocal hlsearch
+
+" redraw wiki instance when managed via e.g. _i3wm scratch buffer_
+autocmd FocusGained *.wiki :redraw!
autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab
-autocmd FileType java setlocal shiftwidth=4 tabstop=4 expandtab
autocmd FileType vimwiki setlocal noswapfile
vnoremap cc "+y