From: Peng Li Date: Sat, 23 Jun 2018 12:09:34 +0000 (+0800) Subject: vim - fix backspace not work as expected in lower vim X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=301899c2fd4d566390d7bfe351e4510c599f1422;hp=965f5b3e702f12ec3a1b06c59d3a65cc58b474b6;p=dotfiles.git vim - fix backspace not work as expected in lower vim --- diff --git a/vim/vimrc b/vim/vimrc index 5c4c06a..dafbea7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -84,6 +84,7 @@ set confirm set nostartofline " don't jump to first character when paging set wrap set expandtab +set backspace=indent,eol,start "set textwidth, formatoptions for chinese set formatoptions+=m set colorcolumn=+1 @@ -119,6 +120,8 @@ endif " Mappings ---------------------------------------------------------------- {{{ let mapleader = ";" map Q gq +nnoremap Q +nnoremap gq " Normal mode ------------------------------------------------------------- {{{ nnoremap Y y$ nnoremap ' `