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