Giter Site home page Giter Site logo

evil-unimpaired's Introduction

evil-unimpaired's People

Contributors

celeritascelery avatar zmaas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

evil-unimpaired's Issues

]p uses different register

MWE

line 1
line 2
line 3
  1. Go to top of file: gg.
  2. Delete the first two lines: V j d.
  3. Yank "line 3": yy.
  4. Paste from register 2: "2]p.

Problem

Step 4 doesn't work, but "2p does.

implement more pasting shortcuts from vim-unimpaired

vim-unimpaired contains some extra pasting shortcuts. What would it take to implement them as part of evil-unimpaired?

I especially got used to |]p|, |[p|, |[P|, and |]P| versions of those ...

>p Paste after linewise, increasing indent.
>P Paste before linewise, increasing indent.
<p Paste after linewise, decreasing indent.
<P Paste before linewise, decreasing indent.
=p Paste after linewise, reindenting.
=P Paste before linewise, reindenting.

|]p|, |[p|, |[P|, and |]P| have also been remapped to force linewise pasting,
while preserving their usual indent matching behavior.

Additional commands not working

I am trying to add the "]e" and "]q" commands like in the README. Here is my use-package declaration:

(use-package evil-unimpaired
  :load-path "site-lisp/evil-unimpaired"
  :config
  (use-package move-text :ensure t)
  (evil-unimpaired-define-pair "e" (move-text-up . move-text-down) '(normal visual))
  (evil-unimpaired-define-pair "q" (flycheck-previous-error . flycheck-next-error))
  (evil-unimpaired-mode))

When I restart Emacs, I get the following error
Error (use-package): evil-unimpaired/:config: Wrong type argument: listp, move-text-down

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.