meins:vim
Inhaltsverzeichnis
vim
Suche Hervorheben hlsearch
map <F11> :set hls!<Bar>set hls?<CR> map <F10> :set paste!<Bar>set paste?<CR> map <F9> :set wrap!<Bar>set wrap?<CR>
Scrollen Zeile bleibt stehen
:set scrolloff=10
:set scrolloff=0
:set scrolloff=999
Suchen
https://vim.fandom.com/wiki/Searching
When ignorecase
and smartcase
are both on, if a pattern contains an uppercase letter, it is case sensitive, otherwise, it is not. For example, /The
would find only „The“, while /the
would find „the“ or „The“ etc.
The smartcase
option only applies to search patterns that you type; it does not apply to *
or #
or gd
. If you press *
to search for a word, you can make smartcase
apply by pressing /
then up arrow then Enter (to repeat the search from history).
/www/htdocs/v033852/vor/data/pages/meins/vim.txt · Zuletzt geändert: Thursday, 14. May 2020 11:07 von Ivo Schwalbe