diff options
author | Adrian Kummerlaender | 2016-02-06 20:50:30 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2016-02-06 20:50:30 +0100 |
commit | 5ed49c533a43cc2ebf46070b2c873987415706b3 (patch) | |
tree | 9f025bb685f0d3092b3677ae7cc8ae4fdf76b9ae | |
parent | bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2 (diff) | |
download | dotfiles-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/.vimrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |