Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 59: | Line 59: | ||
exec dir . " " . orientation " " . currFname |
exec dir . " " . orientation " " . currFname |
||
endfunction |
endfunction |
||
β | noremap ^W^] ^W^]:silent call ToggleSplit ("d") |
+ | noremap ^W^] ^W^]:silent call ToggleSplit ("d")<CR> |
</pre> |
</pre> |
||
Line 66: | Line 66: | ||
In which case the above mapping becomes: |
In which case the above mapping becomes: |
||
β | noremap ^W^] :set splitbelow |
+ | noremap ^W^] :set splitbelow<CR>^W^]:silent call ToggleSplit ("u")<CR>:set nosplitbelow<CR> |
Or you could just |
Or you could just |
||
Line 72: | Line 72: | ||
Very elegant and almost perfect, but it screws up if you want to run a command with ranges |
Very elegant and almost perfect, but it screws up if you want to run a command with ranges |
||
β | noremap : :vertical |
+ | noremap : :vertical<Space> |
==Comments== |
==Comments== |