Results 1 to 3 of 3

Thread: Unix SSH Secure Shell shift and alt in vim

  1. #1
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default Unix SSH Secure Shell shift and alt in vim

    http://vimdoc.sourceforge.net/htmldo...pecial-special
    Why most of the hotkeys (in insert mode) specified with <> do not work in SSH?
    eg.
    Code:
    <S-Right>	cursor one word forward (like "w" command)   *i_<S-Right>*
    <C-Right>	cursor one word forward (like "w" command)   *i_<C-Right>*
    
    <LeftMouse>	cursor to position of mouse click	     *i_<LeftMouse>*
    
    <Home>		cursor to first char in the line	     *i_<Home>*
    <PageUp>	move window one page up			     *i_<PageUp>*
    1. S/C-Right is behaving the same as <Right>, using inoremap to map <c-right> to <s-right> doesnt work too, though mapping something like <c-b> works

    2. left clicking with the mouse simply highlights the text (see pic below -- t highlighted, but cursor didnt move)

    3. Home,End,PageUp/Down are even more peculiar, it changes the case of the character at cursor then exits the insert mode!

    Also the alt key controls the toolbar in SSH, is there any way to change it so that i can use alt for key mapping instead? (cannot use plugins etc as i cant download them during practical tests)


  2. #2
    Join Date
    May 2007
    Posts
    526
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Try PuTTY instead

  3. #3
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by superuser View Post
    Try PuTTY instead
    SSH+Vim is the only thing permitted during my current module's practical tests, so i have to get used to this (i even have to set the vimrc configuration during the tests as a new acct with fresh settings is provided every time)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •