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
未讀,
2019年11月1日 下午2:15:082019/11/1
回覆作者
登入以回覆作者
轉寄
登入以轉寄訊息
刪除
你的權限不足,無法在這個群組刪除訊息
複製連結
檢舉訊息
顯示原始貼文
該群組的電子郵件地址為匿名,或你需要檢視成員電子郵件地址的權限才能查看原始貼文
收件者: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.