From 0b196375249a14309e1731e7b8dda263003c28e8 Mon Sep 17 00:00:00 2001 From: Jo Wroten Date: Sun, 4 Aug 2019 16:30:00 -0500 Subject: [PATCH] Vim expand selection --- nvim/init.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index 904bce0..3e2cad0 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -60,6 +60,7 @@ Plug 'dense-analysis/ale' Plug 'tpope/vim-surround' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-surround' +Plug 'terryma/vim-expand-region' "" Project/File Navigation Plugins Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' @@ -84,6 +85,9 @@ nnoremap m :GFiles? let g:buftabline_indicators=1 highlight BufTabLineFill ctermfg=11 highlight BufTabLineCurrent cterm=bold ctermfg=236 ctermbg=141 gui=bold guifg=#282A36 guibg=#BD93F9 +"" vim-expand-region +vmap v (expand_region_expand) +vmap (expand_region_shrink) "" vim-startify let g:startify_custom_header = [ \ ' Gaiety | 2019', @@ -103,6 +107,8 @@ let g:startify_custom_header = [ \ ' Previous buffer', \ 'k Move line up', \ 'j Move line down', + \ 'v Expand Selection', + \ 'S-v Un-expand Selection', \ '', \ ] let g:startify_change_to_dir = 0