diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-10 14:02:49 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-10 14:02:49 +0200 |
| commit | 1b1369ce79dcb6e1dcb8ba1bc21cf22220ef52fe (patch) | |
| tree | 6f463a123ab5591ed3191a107924c34d7aa4a395 | |
| parent | 77be9de6b82ee30fe1a6a3724952dac13a63a495 (diff) | |
| download | dotfiles-1b1369ce79dcb6e1dcb8ba1bc21cf22220ef52fe.tar.gz dotfiles-1b1369ce79dcb6e1dcb8ba1bc21cf22220ef52fe.tar.bz2 dotfiles-1b1369ce79dcb6e1dcb8ba1bc21cf22220ef52fe.zip | |
Added eazy-align vim plugin
| -rw-r--r-- | .pluggins.vim | 1 | ||||
| -rw-r--r-- | .vimrc | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.pluggins.vim b/.pluggins.vim index f178860..b49b906 100644 --- a/.pluggins.vim +++ b/.pluggins.vim @@ -10,6 +10,7 @@ call plug#begin() Plug 'HappyTramp/vim-syntax-extra' " syntax highlight of C operators Plug 'romainl/vim-cool' " disable highlight after search Plug 'tpope/vim-fugitive' " git wrapper + Plug 'junegunn/vim-easy-align' " align " markdown preview in browser Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} @@ -241,6 +241,8 @@ autocmd Filetype cpp nnoremap <leader>cout istd::cout << << std::endl;<ESC>2F<h autocmd Filetype vim setlocal foldmethod=marker autocmd FileType haskell set formatprg=stylish-haskell + +autocmd FileType lisp set shiftwidth=2 " }}} """""""""""" @@ -270,3 +272,8 @@ let g:ctrlp_working_path_mode = 'rw' " let g:ctrlp_funky_syntax_highlight = 1 " nnoremap <C-f> :CtrlPFunky<CR> " }}} + +" eazy-align {{{ +xmap ga <Plug>(EasyAlign) +nmap ga <Plug>(EasyAlign) +" }}} |
