Guest User

Untitled

a guest
Nov 19th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. set clipboard+=unnamedplus " use the clipboards of vim and win
  2. set paste " Paste from a windows or from vim
  3. set go+=a " Visual selection automatically copied to the clipboard
  4.  
  5. set mouse=a
  6.  
  7. set nocompatible
  8.  
  9. filetype indent plugin on
  10. set autoindent
  11. syntax on
  12.  
  13. set number
  14. set relativenumber
  15.  
  16. set tabstop=4
  17. set softtabstop=4
  18. set shiftwidth=4
  19. set expandtab
  20. set smarttab
  21.  
  22. set backspace=indent,eol,start
  23.  
  24. set ignorecase
  25. set smartcase
  26. set incsearch
  27.  
  28. set laststatus=2
  29. set statusline= " clear the statusline for when vimrc is reloaded
  30. set statusline+=%-3.3n\ " buffer number
  31. set statusline+=%f\ " file name
  32. set statusline+=%h%m%r%w " flags
  33. set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype
  34. set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
  35. set statusline+=%{&fileformat}] " file format
  36. set statusline+=%= " right align
  37. set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight
  38. set statusline+=%b,0x%-8B\ " current char
  39. set statusline+=%-14.(%l,%c%V%)\ %<%P " offset
Add Comment
Please, Sign In to add comment