Giter Site home page Giter Site logo

vim-gui-position's Introduction

Vim GUI Position

Vim plugin to remember and restore the GUI screen size and position. This was largely copied\adapted from http://vim.wikia.com/wiki/Restore_screen_size_and_position and placed into plugin form.

Please note that this only effects GUI versions of Vim (gVim, MacVim, etc.) and has no effect for terminal editions.

Configuration

There are three configuration items.

g:screen_size_restore_pos can be set to 0 to temporarily turn off the plugin, the default is 1 (on). Obviously, if you wish to permanently disable this functionality it would be better to just uninstall the plugin.

g:screen_size_by_vim_instance can be set to 0 to share the same size/position for all Vim Gui applications, the default is 1 (on) which means that sizes will be stored by application (Gvim will have different size\position than MacVim, should you use both).

g:gui_position_file_name can be set to a path and filename to override the file used to remember the settings. By default it places the file vimsize in the .vim folder within your home path for all OSes.

Installation

Using a plugin manager.

  • NeoBundle

    NeoBundle 'brennanfee/vim-gui-position'
  • Vundle

    Plugin 'brennanfee/vim-gui-position'
  • Pathogen

    git clone git://github.com/brennanfee/vim-gui-position.git ~/.vim/bundle/vim-gui-position
  • VimPlug

    Plug 'brennanfee/vim-gui-position'
  • Manual

    • Copy all of the files into your ~/.vim directory

License

MIT © 2019 Brennan Fee

vim-gui-position's People

Stargazers

Jimmy Yuan avatar

Watchers

Brennan Fee avatar James Cloos avatar

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.