sponsor Vim development Vim logo Vim Book Ad

WinMove : Move your gVim

 script karma  Rating 23/8, Downloaded by 2163  Comments, bugs, improvements  Vim wiki

created by
tyru
 
script type
utility
 
description
Usage:
  MAPPING:
      <Up>        move your gVim up.
      <Right>    move your gVim right.
      <Down>   move your gVim down.
      <Left>      move your gVim left.

  GLOBAL VARIABLES:
      g:wm_move_up (default:'<Up>')
          if empty string, no mapping is defined.

      g:wm_move_right (default:'<Right>')
          if empty string, no mapping is defined.

      g:wm_move_down (default:'<Down>')
          if empty string, no mapping is defined.

      g:wm_move_left (default:'<Left>')
          if empty string, no mapping is defined.

      g:wm_move_x (default:20)
          gVim use this when move left or right.

      g:wm_move_y (default:15)
          gVim use this when move up or down.
 
install details
Just move this into your plugin's directory
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
winmove.zip 0.0.4 2010-12-27 7.0 tyru Fix bug: :winpos raised an error
because :winpos is not available at startup.
(the problem occurred on gVim Windows XP)
winmove.vim 0.0.3 2010-11-11 7.0 tyru Fix bug: gvim moves oppositely on MacVim. Thanks ujihisa for the patch.
winmove.vim 0.0.2 2009-11-17 7.0 tyru Allow range before mappings.
e.g.: '10<Up>' moves gVim window to the upper 10 times
winmove.vim 0.0.1 2009-04-09 6.0 tyru my e-mail address was wrong :p
winmove.vim 0.0.0 2009-03-09 7.0 tyru Initial upload
ip used for rating: 18.216.121.55

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github