Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set number
- syntax on
- set showmatch
- set lazyredraw
- set tabstop=4
- set softtabstop=4
- set shiftwidth=4
- set incsearch
- set hlsearch
- set ignorecase
- set smartcase
- set termencoding=utf8
- set nocompatible
- set ruler
- set showcmd
- set ch=1
- set mousehide
- set autoindent
- set smartindent
- set whichwrap+=<,>,h,l,[,]
- function! SuperCleverTab()
- if strpart( getline('.'), 0, col('.')-1 ) =~ '^\s*$'
- return "\<Tab>"
- else
- return "\<C-p>"
- endif
- endfunction
- inoremap <Tab> <C-R>=SuperCleverTab()<cr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement