Skip to content

Commit

Permalink
add vim-yoink
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 14, 2019
1 parent 5140bd1 commit 3b28d00
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dotfiles/neovim.nix
Expand Up @@ -191,6 +191,13 @@ in {
nnoremap <leader>pp :Start<Space>
nnoremap <leader>pP :Spawn<Space>
"" YOINK
nmap <c-n> <plug>(YoinkPostPasteSwapBack)
nmap <c-p> <plug>(YoinkPostPasteSwapForward)
nmap p <plug>(YoinkPaste_p)
nmap P <plug>(YoinkPaste_P)
"" KEYBINDINGS
" Where possible, keybindings act like normal vim bindings. Leader
" keybindings are organized by action, then object (except for git,
Expand Down
7 changes: 7 additions & 0 deletions dotfiles/neovim/plugins.json
Expand Up @@ -125,6 +125,13 @@
"rev": "c76b7a1f496864315eea3ff2a9d02a53128bad50",
"sha256": "02vb7qkdprx3ksj4gwnj3j180kkdal8jky69dcjn8ivr0x8g26s8"
},
{
"type": "github",
"owner": "svermeulen",
"repo": "vim-yoink",
"rev": "e6748f69de44fb043d41237e57c1e3883e524aef",
"sha256": "1msf9iqm4hnqymkl5rm3ild2a2lpz7cwwjav8jqqv95jpz9pq5kn"
},
{
"type": "github",
"owner": "tommcdo",
Expand Down
11 changes: 11 additions & 0 deletions dotfiles/neovim/plugins.nix
Expand Up @@ -175,6 +175,16 @@ rec {
};
};

svermeulen.vim-yoink = pkgs.vimUtils.buildVimPlugin {
name = "vim-yoink";
src = pkgs.fetchFromGitHub {
owner = "svermeulen";
repo = "vim-yoink";
rev = "e6748f69de44fb043d41237e57c1e3883e524aef";
sha256 = "1msf9iqm4hnqymkl5rm3ild2a2lpz7cwwjav8jqqv95jpz9pq5kn";
};
};

tommcdo.vim-exchange = pkgs.vimUtils.buildVimPlugin {
name = "vim-exchange";
src = pkgs.fetchFromGitHub {
Expand Down Expand Up @@ -413,6 +423,7 @@ rec {
rakr.vim-one
sbdchd.neoformat
stefandtw."quickfix-reflector.vim"
svermeulen.vim-yoink
tommcdo.vim-exchange
tpope.vim-abolish
tpope.vim-bundler
Expand Down

0 comments on commit 3b28d00

Please sign in to comment.