Appending a "\v" reduces the amount of backslashing the search expressions.
/codes\(\n\|\s\)*where : normal regexp
/\vcodes(\n|\s)*where : very magic
source :
http://vim.wikia.com/wiki/Best_Vim_Tips
Technical tid-bits and more ! Leave a comment if you found something useful.
Appending a "\v" reduces the amount of backslashing the search expressions.
/codes\(\n\|\s\)*where : normal regexp
/\vcodes(\n|\s)*where : very magic
map :silent !start cmd.exe /k pushd %:p:h
map :silent !start explorer.exe %:p:h
"http://vim.wikia.com/wiki/Open_the_folder_containing_the_currently_open_file"
source for tip2
A variant of tip 1 using windows trick of adding a registry for folders to open a command prompt
Note : % represents the file open in current buffer