Pesquisa incremental vim parar no final do arquivo
No Vim, quando estou fazendo uma pesquisa incremental por "x" inserindo/x
Eu então pressionon
para pular para a próxima ocorrência. Se acabei de combinar a última ocorrência no arquivo, quando pressionon
o cursor começará a procurar uma correspondência no início do arquivo - voltará ao início.Eu não quero que volte ao início. eu queron
simplesmente não encontrar mais correspondências depois que ele atinge a ocorrência final. A razão pela qual eu quero esse comportamento é para que eu possa ver facilmente quando pesquisei o arquivo inteiro.
Alguém sabe como efetuar esse comportamento?
FYI: Eu estou usando as seguintes opções .vimrc:
colorscheme zenburn " zenburn colorscheme
set nocompatible " prevent Vim from emulating Vi's bugs
set scrolloff=5 " keeps cursor away from top/bottom of screen
set nobackup " don't make automatic backups
set incsearch " incremental searching
set ignorecase " case insensitive matching
set smartcase " smart case matching
set showmatch " show matching bracket
set autoindent " indentation
set smartindent " indentation
set cindent " indenting for C code
set tabstop=4 " 4-space tabs
set shiftwidth=4 " 4-space tabs
syntax on " syntax highlighting
filetype on " behavior based on file type
filetype plugin on " behavior based on file type
filetype indent on " behavior based on file type
set visualbell " replace beeping with flashing screen
set gfn=Lucida_Sans_Typewriter:h10:cANSI