From 301899c2fd4d566390d7bfe351e4510c599f1422 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sat, 23 Jun 2018 20:09:34 +0800 Subject: [PATCH] vim - fix backspace not work as expected in lower vim --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) 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 ' ` -- 2.11.0