On 2008-10-22, SegFault <[EMAIL PROTECTED]> wrote: > Dear all, > > I use Vim on a daily basis but am confused by the fact that "every" > tutorial and book (including O'Reilly's "Learning the vi and Vim > Editors, 2008") > states, that Vim uses 'm' as the marker command followed by the marker > 'letter', > e.g. 'mx', where x is the marker...This is not true, is it? I have to > use 'ma x'...at > least with my "Windows gvim 7.2".
In 'normal' mode (see ":help vim-modes"), you set marker 'a' at the current cursor position by typing ma In 'command-line' or 'Ex' mode, on the other hand, the command to set marker 'a' at column 0 of the current line is :ma a or :mark a If you're already in 'Ex' mode, all you have to type is ma a followed by <Enter>. So which command you use depends on which mode you're in. Since vim defaults to 'normal' mode when it starts, and since most users stay in that mode most of the time, when they're not actually typing text, tutorials and books will assume that mode and not mention it explicitly every time they describe a command. HTH, Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
