How to diff remote files interactively with vim and ssh

vimdiff /path/to/file scp://remotehost//path/to/file
![]() |
vimdiff /path/to/file scp://remotehost//path/to/file
:let html_use_css = 1 :let html_no_pre = 1 :let html_use_encoding = “utf-8” Use the “:TOhtml” user command. It is defined in a standard plugin. “:TOhtml” also works with a range and in a Visual area: > :10,40TOhtml After you save the resulting file, you can view it with any HTML viewer, such as Netscape. The […]
1 |
To convert DOS line breaks (^M) to UNIX in VIM: |
1 2 3 4 5 |
:%s/^M/\r/g -OR- :set fileformat=unix |
To ignore case in the searches, enter the following command: :set ignorecase This command can be abbreviated as: :set ic To turn off this feature, use: :set noignorecase This command can be abbreviated as: :set noic
To turn off Bracket Highlighting: Put let g:loaded_matchparen= 1 in your .vimrc.