Describe the bug
After setting g:cb_no_default_brackets to 1, backspace in insert mode moves the cursor to start of line.
To Reproduce
Steps to reproduce the behavior:
Put "let g:cb_no_default_brackets = 1" in vimrc, and reload
Open any text file and move cursor to any text
Press "i" to go to insert mode
Press "Backspace"
See error: the cursor goes to start of the line
Expected behavior
Backspace should remove a character.
Context
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jan 6 2019 22:28:49), Included patches: 1-700 macOS version, Compiled by Homebrew
NVIM v0.3.4
Additional context
vimrc:
if has('nvim')
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
endif
set nocompatible
filetype off
syntax on
filetype plugin indent on
set modelines=0
set number
set ruler
set backspace=eol,start,indent
call plug#begin('~/.vim/plugged')
Plug 'LucHermitte/lh-vim-lib' | Plug 'LucHermitte/lh-brackets'
call plug#end()
let g:cb_no_default_brackets = 1
Describe the bug After setting g:cb_no_default_brackets to 1, backspace in insert mode moves the cursor to start of line.
To Reproduce Steps to reproduce the behavior:
Expected behavior Backspace should remove a character.
Context
Additional context vimrc: