Added:
- Auto case-sensitive & case-insensitive switch for searches
- Vim plugin
airblade/vim-gitgutter
to show Git diff in the sign column next to line numbers in editor windows. - Vim plugin
Xuyuanp/nerdtree-git-plugin
to show Git status flags on NERDTree. - Highlight on search result & custom highlight colour.
- Added global git config
credential.helper cache
for macOS user asosxkeychain
is not available on Linux.
Changed:
- Default shell for Vim to
bash
. - Backspace to allow backspcaing over everthing in insert mode like most usual editors.
cursorline
is now enabled by default.
Fixed:
- Heavy delay on shortcut
<<
while decreasing indent by reducing thetimeoutlen
to100
(0.1s). - Text being moved to new line automatically at position
72
as Vim settingtextwidth
has been overriden byftplugin
for filetypegitcomit. Implemented an
autocmdto override it back to
textwidth=0`. - 1st file opened will notshow line numbers and colour column if Vim is initialised with cmd
vi
/vim
due to theautocmd
set to hide those items onYouCompleteMe
preivew windo overrides the settings. Implemented a newautocmd
which fixed this issue.
Removed:
- Vim plugin
jiangmiao/auto-pairs
as it somehow messes with the indents for bracket closures.