Author Topic: Splitting and switching windows using keyboard  (Read 2670 times)


  • Community Member
  • Posts: 15
  • Hero Points: 2
Splitting and switching windows using keyboard
« on: April 30, 2007, 09:18:56 pm »
I would like to be able to split a window to display two different files at the same time and switch between the split windows using the keyboard only.  I don't want to have to use the mouse.

For example, I would like to press Ctrl-H to split the window, Ctrl-B to show a buffer list to select another file to display in the split window, and then Ctrl-T to toggle between the two windows.  Everytime I press Ctrl-T it should switch to the other window.  I shouldn't have to tell it to go to the window above or below, just go to the other window.

Could someone recommend what keystroke commands can be used to do this? 

Thank you.


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2555
  • Hero Points: 380
Re: Splitting and switching windows using keyboard
« Reply #1 on: April 30, 2007, 10:11:40 pm »
Scott W has a good web article about how to get from menu items to command names:  I just mention that so that you can learn how to fish.  For this instance, the specific commands you need are:

hsplit-window     -- Split Horizontally  (in CUA, this is Ctrl+H)
list-buffers         -- list open files (in CUA, Ctrl+Shift+B)
next-window      -- next window (in CUA, Ctrl+F6)

And as a bonus, a couple other commands you may want to learn are one-window and zoom-window, both of which do pretty much what you would imagine they should do.