Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. "
  2. " Brett's .vimrc
  3. " colorscheme: dracula
  4. "
  5. execute pathogen#infect()
  6.  
  7. set nocompatible
  8.  
  9. syntax on
  10. filetype plugin indent on
  11.  
  12. color dracula
  13. set encoding=utf-8
  14.  
  15. " autocomplete vim commands
  16. set wildmenu
  17.  
  18. " ignore case in search patterns
  19. set ignorecase
  20. set smartcase
  21.  
  22. " highlight search matches
  23. set hlsearch
  24.  
  25. " highlight search matches while typing
  26. set incsearch
  27.  
  28. " indentation stuff
  29. set tabstop=4
  30. set expandtab
  31. set shiftwidth=4
  32. set autoindent
  33. set smartindent
  34.  
  35. " splitting
  36. set splitright
  37.  
  38. " set line numbers or relative line numbers
  39. " set number
  40. " set cursorline
  41. set relativenumber
  42.  
  43. set fillchars+=vert:\
  44.  
  45. " cursor position saving
  46. set viminfo='10,\"100,:20,%,n~/.viminfo
  47. function! ResCur()
  48. if line("'\"") <= line("$")
  49. normal! g`"
  50. return 1
  51. endif
  52. endfunction
  53.  
  54. augroup resCur
  55. autocmd!
  56. autocmd BufWinEnter * call ResCur()
  57. augroup END
  58.  
  59. " stuff for lightline
  60. set noshowmode
  61. let g:lightline = {
  62. \ 'colorscheme': 'Dracula',
  63. \ }
  64.  
  65. " fixes issue with tmux syntax highlighting within tmux
  66. set termguicolors
  67. set laststatus=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement