Thanks much Hari, 

I added a space before the <Esc> and your method works nicely.

map <F1> i<C-R>=comment_char<CR> <Esc>hj

Jim
-- 
View this message in context: 
http://www.nabble.com/Mapping-using-Let-in-Autocmd-tf1938850.html#a5318140
Sent from the Vim - General forum at Nabble.com.

Reply via email to