Giter Site home page Giter Site logo

gedim's Introduction

gedim

My portable computer is my primary workstation. I either use an external, high resolution monitor or its built-in screen, depending on where I am. I often use also someone else's monitors, when I'm working remotely. This forces me to change the graphical Vim editor dimensions for every location where I happen to be. Though not complicated, it's annoying. That's why I wrote this script/Vim auto-command that does the job instead. Just define the desired editor columns and lines for a given resolution, and MacVim will open at that size every time that the same resolution is detected.

Features:

  • User configurable: add as many output device resolutions and editor sizes as desired or needed
  • MacVim and gVim compatible
  • Works on OS X, Linux/Gnome, Linux/KDE, and Windows
  • Unobtrusive; set it up once and forget about it

No more dragging the window corners to resize. No more :set columns=128. Just open Vim and get to work!

Installation

UNIX-like systems:

cd ~/.vim

unzip /path/to/gedim.zip

vi
:helptags ~/.vim/doc

Windows systems:

Unpack the .zip file and copy the files to your gvim or vim configuration directory, then:

vi
:helptags /path/to/doc

Caveat Fenestrae emptor:

Unfortunately the developers or testers had only limited access to a Windows machine. Please let me know if you had issues using the URL in the next section.

Update 30.Sep.2014: a user reported bugs in Windows Vista - users are advised to use gVim (or equivalent) for Windows only on versions 7 and older (Window 8.1 is best at the time of this report).

Comments, questions, bug reports:

Eugene Ciurana, http://eugeneciurana.com/contact or http://ciurana.eu/contact for your questions.

Project page: http://github.com/pr3d4t0r/gedim

Installation page: http://www.vim.org/scripts/script.php?script_id=3196

Contributors, license, other information:

Use the Force. See the Source.

License: 3-clause BSD.

The gedim.vim source file features the contributors list, license and version history.

gedim's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

framallo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.