On Feb 17, 9:24 am, Andrey Zhidenkov <andrey.zhiden...@gmail.com> wrote: > Hello again. > > I've asked today about 'vim vs subversion'. So I decided to add a keybinding > definition into my ~/.vimrc: > > map <F12> :w<CR>:!svn commit -m "Update wifidb files from " . `hostname`<CR>
Andrey, As it stands, the dot operator is going to be processed by the shell, not Vim. I think what you really want is something like this: map <F12> :w<CR>:!svn commit -m "Update wifidb files from `hostname`"<CR> Brett Stahlman > > I want to print a hostname in svn log message, but I got only "Update wifidb > files from " > string. How can I concatenate the strings? > > And the second question. Can I use '<CR>' and other key definitions in > command description, not in keybindings? > > -- -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php