liango2 / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

Ctrl_W+Arrow doesn't work with g:ConqueTerm_CWInsert=1 #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
While <c-w>k will work correctly, <c-w>Up key won't.

Original issue reported on code.google.com by rr.ro...@gmail.com on 16 Feb 2011 at 12:36

GoogleCodeExporter commented 8 years ago
A fix has been checked into trunk and will go out with the next release.

Thanks.

Index: autoload/conque_term.vim
===================================================================
--- autoload/conque_term.vim    (revision 444)
+++ autoload/conque_term.vim    (working copy)
@@ -611,6 +611,11 @@
         inoremap <silent> <buffer> <C-w>k <Esc><C-w>k
         inoremap <silent> <buffer> <C-w>h <Esc><C-w>h
         inoremap <silent> <buffer> <C-w>l <Esc><C-w>l
+        inoremap <silent> <buffer> <C-w><Up> <Esc><C-w><Up>
+        inoremap <silent> <buffer> <C-w><Down> <Esc><C-w><Down>
+        inoremap <silent> <buffer> <C-w><Left> <Esc><C-w><Left>
+        inoremap <silent> <buffer> <C-w><Right> <Esc><C-w><Right>
+        inoremap <silent> <buffer> <C-w><C-w> <Esc><C-w><C-w>
         inoremap <silent> <buffer> <C-w>w <Esc><C-w>w
     endif
     " }}}

Original comment by nicora...@gmail.com on 17 Feb 2011 at 5:24

GoogleCodeExporter commented 8 years ago

Original comment by nicora...@gmail.com on 17 Feb 2011 at 5:25

GoogleCodeExporter commented 8 years ago
Thank you very much! I'm already following trunk

Original comment by rr.ro...@gmail.com on 17 Feb 2011 at 5:32