notes:vim
Table of Contents
To show tabs and end of lines
- :set list
Convert tabs to spaces
Search highlighting
Removes highlighting from last search
- :nohlsearch (:noh)
Disables it for all searches
- :set nohlsearch
enables it for all searches
- :set hlsearch
Filetypes
- /usr/share/vim/vim72
To get vim to set the filetype to named on separate bind files I added the following text to /usr/share/vim/vim72/filetype.vim
au BufNewFile,BufRead named.conf.* setf named
Printing
to print 1)
:set pdev=printerName :ha :set printoptions=paper:letter http://vimdoc.sourceforge.net/htmldoc/print.html
notes/vim.txt · Last modified: by david
