Loading ...
Sorry, an error occurred while loading the content.

108157Re: :vertical causes Vim to shift "extended" monitors

Expand Messages
  • David Fishburn
    Oct 1, 2009
      > Any suggestions?

      I should mention I created these maps:

      " Reposition gvim when using the windows extended monitor
      " Top and bottom
      nnoremap <Leader>fx :exec 'winpos '.(getwinposx()<0 ? '15' :
      '-15').' '.(getwinposy()<0 ? '17' : '-1183')<CR>
      nnoremap <Leader>fx <C-O>:exec 'winpos '.(getwinposx()<0 ? '15' :
      '-15').' '.(getwinposy()<0 ? '17' : '-1183')<CR>
      " Left and right
      " nnoremap <Leader>fx :exec 'winpos '.(getwinposx()<1900 ? '2055'
      : '276').' 14'<CR>
      " nnoremap <Leader>fx <C-O>:exec 'winpos '.(getwinposx()<1900 ?
      '2055' : '276').' 14'<CR>


      They let me toggle which extended monitor my Vim is in, so switching
      back and forth is quick and efficient, it is just a pain that I want
      this bug fixed or explained.

      Dave

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 2 messages in this topic