From daf1aaf62d9485a2a5defaa884ed23559e76f75f Mon Sep 17 00:00:00 2001 From: sup39 Date: Mon, 1 Jun 2020 11:06:24 +0900 Subject: [PATCH] remove sensible; add syntax sync, exec nmap --- plug.vim | 3 --- vimrc | 10 +++++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/plug.vim b/plug.vim index aaa9459..eeb2ef7 100644 --- a/plug.vim +++ b/plug.vim @@ -8,9 +8,6 @@ endif " plugin call plug#begin('~/.vim/plugged') - " basic - Plug 'tpope/vim-sensible' - " markdown syntax Plug 'plasticboy/vim-markdown' let g:vim_markdown_new_list_item_indent = 0 diff --git a/vimrc b/vimrc index ac5f001..bb9a349 100644 --- a/vimrc +++ b/vimrc @@ -39,8 +39,11 @@ nnoremap dm :ALEGoToDefinition nnoremap dl :ALEDetail " external nnoremap m :w:make +" syntax +nnoremap S :syntax sync fromstart " debug -nnoremap X :exe getline('.') +nnoremap x :exe getline('.') +nnoremap X :exe join(getline('.', '$'), "\n") nnoremap H :echo synIDattr(synID(line("."),col("."),1),"name") " filetype-dependent @@ -90,3 +93,8 @@ let g:vim_indent_cont = 0 " completion set completeopt=menu,menuone,noselect,noinsert + +" status bar +set laststatus=2 +set ruler +set wildmenu