Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set clipboard+=unnamedplus " use the clipboards of vim and win
- set paste " Paste from a windows or from vim
- set go+=a " Visual selection automatically copied to the clipboard
- set mouse=a
- set nocompatible
- filetype indent plugin on
- set autoindent
- syntax on
- set number
- set relativenumber
- set tabstop=4
- set softtabstop=4
- set shiftwidth=4
- set expandtab
- set smarttab
- set backspace=indent,eol,start
- set ignorecase
- set smartcase
- set incsearch
- set laststatus=2
- set statusline= " clear the statusline for when vimrc is reloaded
- set statusline+=%-3.3n\ " buffer number
- set statusline+=%f\ " file name
- set statusline+=%h%m%r%w " flags
- set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype
- set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
- set statusline+=%{&fileformat}] " file format
- set statusline+=%= " right align
- set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight
- set statusline+=%b,0x%-8B\ " current char
- set statusline+=%-14.(%l,%c%V%)\ %<%P " offset
Add Comment
Please, Sign In to add comment