Giter VIP home page Giter VIP logo

vim-paste-marker's Introduction

vim-paste-marker

Current state is alpha relase.

example

default keymap( fom me! mac key prefix)

put mark nnoremap :call Pm.put_mark()

peep target mark nnoremap :call Pm.next_target()

Yank visualy selected text and immediately Paste to marked target vnoremap :call Pm.next_target()gv

move target mark (useless if you use only one mark) vnoremap :call Pm.next_target()gv

Paste and clear all mark, don't return yanked position vnoremap y:call Pm.paste_next(1):call Pm.clear_all()

Paste and return yanked position. vnoremap y:call Pm.paste_next(0)

clear all mark nnoremap :call Pm.clear_all()

Useful Scenario

Gather source fragment scatterd to several file to marked target, then start modfying.

paste mark with <D-p> to your working file. ex) working.rb
then explore several file , each time you find useful code, you can use
<D-P> to paste selected text to working file.
And use <D-p> when you want to back to marked place.

Option

default number of mark is 1. but you can change number of mark to be used.

let g:PasteMarkerSize = 2

you can move target between marks with <D-M>.

vim-paste-marker's People

Contributors

t9md avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  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.