Created
September 14, 2011 02:00
-
-
Save bootleq/1215683 to your computer and use it in GitHub Desktop.
Test example for indent adjustment when leaving insert mode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def | |
# vim: ft=ruby expandtab sts=2 sw=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set all& | |
set nocompatible | |
set modeline | |
filetype indent on | |
set rtp-=~/.vim | |
set rtp+=~/.vim/bundle/neocomplcache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim -u ~/test-neocomplcache.vimrc indent.rb -c NeoComplCacheEnable
o
(open a new line and start insert)<Esc>
(leave insert)u
(undo, discard line 2)o
<Esc>
Should be empty line.
However, with my environment, it's 2 white spaces, this happens after commit:
Shougo/neocomplcache.vim@a5a612b