Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "
- " Brett's .vimrc
- " colorscheme: dracula
- "
- execute pathogen#infect()
- set nocompatible
- syntax on
- filetype plugin indent on
- color dracula
- set encoding=utf-8
- " autocomplete vim commands
- set wildmenu
- " ignore case in search patterns
- set ignorecase
- set smartcase
- " highlight search matches
- set hlsearch
- " highlight search matches while typing
- set incsearch
- " indentation stuff
- set tabstop=4
- set expandtab
- set shiftwidth=4
- set autoindent
- set smartindent
- " splitting
- set splitright
- " set line numbers or relative line numbers
- " set number
- " set cursorline
- set relativenumber
- set fillchars+=vert:\
- " cursor position saving
- set viminfo='10,\"100,:20,%,n~/.viminfo
- function! ResCur()
- if line("'\"") <= line("$")
- normal! g`"
- return 1
- endif
- endfunction
- augroup resCur
- autocmd!
- autocmd BufWinEnter * call ResCur()
- augroup END
- " stuff for lightline
- set noshowmode
- let g:lightline = {
- \ 'colorscheme': 'Dracula',
- \ }
- " fixes issue with tmux syntax highlighting within tmux
- set termguicolors
- set laststatus=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement