commit fcacfbd40dceefea76db469f2c7178644cd897ec
parent 1283af544315b1e3a605edfad4873e465eed4e85
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 9 Mar 2020 12:07:08 +0100
vim: various vimrc changes
Former-commit-id: 9aee8d8e8b7a36fc6befd860c2c99b88eb830ef1
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -48,6 +48,7 @@ Plug 'tpope/vim-repeat'
" Distraction-free editing
Plug 'junegunn/goyo.vim'
+Plug 'junegunn/limelight.vim'
" Better CSV editing
Plug 'chrisbra/csv.vim'
@@ -602,7 +603,7 @@ filetype plugin indent on
syntax on
" Enable fenced code highlighting in markdown (tpope's plugin, ships with vim)
-let g:markdown_fenced_languages = ['html', 'python', 'ruby', 'bash=sh', 'map']
+let g:markdown_fenced_languages = ['html', 'python', 'ruby', 'bash=sh', 'map', 'vim', 'schemer']
" Enable markdown folding
let g:markdown_folding = 1
@@ -713,6 +714,11 @@ nnoremap j gj
nnoremap k gk
nnoremap gj j
nnoremap gk k
+vnoremap j gj
+vnoremap k gk
+vnoremap gj j
+vnoremap gk k
+
" Move visual block
xnoremap D :m '>+1<CR>gv=gv