You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
Hi,
I'm trying to create a mapping to maximize current window. But somehow
it only executed portion of my mapping.
My mapping is:
nmap <Esc>m <C-W>_<C-W>|
Looks like after I press <Esc>m , it only executes <C-W>_ .
And if we change it to:
nmap <Esc>m <C-W>|<C-W>
It give me the following error when I source .vimrc :
Error detected while processing /usr2/jianzhen/.vimrc:
line 500:
E488: Trailing characters: <C-W>_
-- --
Best Regards
Jerry Dai
Tony Mechelynck
unread,
Nov 1, 2019, 2:15:08 PM11/1/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
Used like that, the | charcter is seen as a separator between the :map
command and a following command. You should use <Bar> instead.
Best regards,
Tony.
Jerry Dai
unread,
Nov 1, 2019, 2:21:35 PM11/1/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message