diff options
author | Tharre <tharre3@gmail.com> | 2015-06-01 23:41:16 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2016-10-07 20:11:00 +0000 |
commit | c29db02c4549032d6132c91f5cb83aad65769cd9 (patch) | |
tree | 8c8169be84401b628708854de17f73dfab6baf94 | |
parent | e679b81eb49f71b28789a595ccd7f5ef7866b08c (diff) | |
download | dotfiles-c29db02c4549032d6132c91f5cb83aad65769cd9.tar.gz dotfiles-c29db02c4549032d6132c91f5cb83aad65769cd9.tar.xz dotfiles-c29db02c4549032d6132c91f5cb83aad65769cd9.zip |
vim: bind keys for vim-easy-align
-rw-r--r-- | shell/_vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/_vimrc b/shell/_vimrc index c106ad0..ba04334 100644 --- a/shell/_vimrc +++ b/shell/_vimrc @@ -119,6 +119,12 @@ let g:airline#extensions#syntastic#enabled = 0 " Unite nnoremap <C-p> :Unite file_rec/async<cr> +" Start interactive EasyAlign in visual mode (e.g. vip<Enter>) +vmap <Enter> <Plug>(EasyAlign) + +" Start interactive EasyAlign for a motion/text object (e.g. gaip) +nmap ga <Plug>(EasyAlign) + if !has('clipboard') echo "Clipboard not supported!" endif |