summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-12-07 08:48:27 +0000
committerUrbain Vaes <urbain@vaes.uk>2020-12-07 08:48:27 +0000
commitd95b1fe411836049d0fdf00487591888d987384b (patch)
tree6658f9c74a15c310c64c31b0f1498e898d7228f4 /vim/.vimrc
parentd4d8fdbc3996880e12920e1fdf500e91569c724e (diff)
[vim] Add easyalign mapping
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 3ae13d2..19bc647 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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>