PsychoLlama / deja-view.vim

Buffers, just how you left them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deja View

Buffers, just how you left them.

Purpose Test status badge

This plugin remembers where you left off in a file, restoring your cursor and viewport.

Vim can kind of do this already, so if you're looking for something simple, just read :help last-position-jump. It'll get you 90% of the way there.

What it doesn't do is restore your scroll position, a detail which finally got annoying enough that I wrote my own plugin. It uses winsaveview() under the hood.

Installation

Deja View is compatible with vim & neovim.

packer

use 'PsychoLlama/deja-view.vim'

vim-plug

Plug 'PsychoLlama/deja-view.vim'

pathogen

git clone https://github.com/PsychoLlama/deja-view.vim ~/.vim/bundle/deja-view.vim

About

Buffers, just how you left them.


Languages

Language:Vim Script 80.1%Language:Nix 19.9%