- use
ga
to get character code http://vim.wikia.com/wiki/Showing_the_ASCII_value_of_the_current_character - use
%u
or%x
in substitute with that code http://stackoverflow.com/questions/2798398/how-to-search-and-replace-an-unprintable-character
- :mksession
- vim -S
https://bocoup.com/weblog/sessions-the-vim-feature-you-probably-arent-using
- add
source regexlist.vim
toinit.vim
- edit
regexlist
and add followingolet MyRegExName = 'something'
- do a search:
/<C-R>=MyRegExName<CR><CR>
http://stackoverflow.com/questions/2201174/save-commonly-used-regex-patterns-in-vim
- vim scp://user@host/path/to/file