diff options
author | Urbain Vaes <urbain@vaes.uk> | 2020-12-07 08:48:27 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2020-12-07 08:48:27 +0000 |
commit | d95b1fe411836049d0fdf00487591888d987384b (patch) | |
tree | 6658f9c74a15c310c64c31b0f1498e898d7228f4 | |
parent | d4d8fdbc3996880e12920e1fdf500e91569c724e (diff) |
[vim] Add easyalign mapping
-rw-r--r-- | vim/.vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,7 +24,7 @@ Plug 'junegunn/goyo.vim' Plug 'junegunn/gv.vim' Plug 'junegunn/heytmux' Plug 'junegunn/vim-easy-align' -" Plug 'junegunn/vim-peekaboo' +Plug 'junegunn/vim-peekaboo' Plug 'junegunn/vim-slash' Plug 'justinmk/vim-dirvish' Plug 'justinmk/vim-sneak' @@ -320,6 +320,9 @@ cnoremap <down> <c-n> nnoremap <bs> nnoremap + :Buffers<cr> +" Align +nnoremap <F2> vip:EasyAlign * <bar><cr>:w<cr> + " Source current file nnoremap ,s :source %<cr> |