diff --git a/.vimrc b/.vimrc index 4cbbab0..c76cefa 100644 --- a/.vimrc +++ b/.vimrc @@ -272,3 +272,11 @@ augroup END " polyglot " disable reindenting of the current line in insert mode autocmd BufEnter * set indentexpr= + +" center search +nnoremap n nzz +nnoremap N Nzz + +" ctrl+r for Replace +" add needed end of command: https://vim.fandom.com/wiki/Search_and_replace +nnoremap :%s//