diff --git a/vimrc b/vimrc index 13b570a..ec212b9 100644 --- a/vimrc +++ b/vimrc @@ -155,6 +155,9 @@ let g:EditorConfig_exclude_patterns = ['fugitive://.\*'] " Restore last known cursor position function! ResCur() + if &filetype == 'netrw' + return 0 + endif if line("'\"") <= line("$") normal! g`" return 1