> Are there better ways to do it than how I describe? Then comment on it
> :) I would REALLY like to know how to get most efficiency - - and
Your description is very complete for people using vim every day. ;)
I tried adding this as comment but the autoformatting feature i annoying when
trying to post vim commands.
I was to lazy to look for a description how to do pre formatting.. (That's the
downside on wikis.. You have to find out how to do something again and again)
-- comment --------
I've been doing the same but I've been using > instead of $
cmap >v ~/.vim/
cmap >ftp ~/.vim/ftplugin/
cmap >fn <c-r>=expand('%:p')<cr>
cmap >fd <c-r>=expand('%:p:h').'/'<cr>
>fn inserts filename
>fd inserts directory of current file. quite useful
I also think typing : is nice but it needs some time.
So I'v also but these mappings in my .vimrc
noremap <m-s-e> :e<space>**/*
noremap <m-e> :e<space>
noremap <m-s-n> :n<space>**/*
**/* is used to find a file using glob pattern thus in any subdir. :n is
opening all matches. you can cycle through the matches using tab.
If you want to edit files opened recently:
<c-o> opens the last file. There is a plugin most recent files
(http://vim.sourceforge.net/scripts/script.php?script_id=194)
Using a mapping for :MRU<cr>/ opens the most recent file dialog and starts
search so you sould be able to find the file you were looking for very fast
(either by remembering the directory or filename or extension.. or ... ;)
--- end ---
Marc Weber