SHARE
TWEET

Untitled

a guest Apr 20th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. scriptencoding utf8
  2. filetype plugin indent on
  3.  
  4. " gui
  5. set guifont=Hack:h13
  6. set linespace=1
  7.  
  8. " system
  9. set title
  10. set autochdir
  11. set autoread
  12. set autowrite
  13. set termguicolors
  14. set timeoutlen=50
  15. set clipboard=unnamedplus
  16.  
  17. " editor
  18. set ruler
  19. set number
  20. set nowrap
  21. set modeline
  22. set showcmd
  23. set showmatch
  24. set splitright
  25. set splitbelow
  26.  
  27. set mouse=a
  28. set encoding=utf8
  29. set ambiwidth=double
  30. set virtualedit+=block
  31. set cmdheight=1
  32. set laststatus=1
  33. set showtabline=1
  34. set scroll=0
  35. set scrolloff=0
  36. set scrolljump=1
  37. set sidescroll=1
  38. set sidescrolloff=1
  39.  
  40. " indent
  41. set autoindent
  42. set smartindent
  43. set expandtab
  44. set shiftwidth=2
  45. set tabstop=2
  46. set softtabstop=2
  47.  
  48. " search
  49. set hlsearch
  50. set ignorecase
  51. set smartcase
  52.  
  53. " list
  54. set list
  55. set listchars=tab:▸\ ,eol:¬
  56.  
  57. " default
  58. syntax on
  59. colorscheme elflord
  60.  
  61. " plugin
  62. if filereadable(fnamemodify($MYVIMRC, ':h').'/autoload/plug.vim')
  63.   call plug#begin('~/.config/nvim-plugin')
  64.   Plug 'Raimondi/delimitMate' " auto close
  65.   Plug 'vim-scripts/table_format.vim' " table spacing
  66.   Plug 'scrooloose/nerdtree' " file manager
  67.   Plug 'thinca/vim-localrc' " load local vimrc
  68.   " Plug 'w0rp/ale' " linter
  69.   Plug 'dracula/vim', { 'as': 'dracula' } " colorscheme
  70.   Plug 'junegunn/fzf' " fzf
  71.   call plug#end()
  72.   " configure
  73.   colorscheme dracula
  74. endif
  75.  
  76. " alias
  77. command! -nargs=0 Reload so $MYVIMRC
  78.  
  79. " auto
  80. autocmd VimResized * wincmd =
  81.  
  82. " keymap
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top