Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scriptencoding utf8
- filetype plugin indent on
- " gui
- set guifont=Hack:h13
- set linespace=1
- " system
- set title
- set autochdir
- set autoread
- set autowrite
- set termguicolors
- set timeoutlen=50
- set clipboard=unnamedplus
- " editor
- set ruler
- set number
- set nowrap
- set modeline
- set showcmd
- set showmatch
- set splitright
- set splitbelow
- set mouse=a
- set encoding=utf8
- set ambiwidth=double
- set virtualedit+=block
- set cmdheight=1
- set laststatus=1
- set showtabline=1
- set scroll=0
- set scrolloff=0
- set scrolljump=1
- set sidescroll=1
- set sidescrolloff=1
- " indent
- set autoindent
- set smartindent
- set expandtab
- set shiftwidth=2
- set tabstop=2
- set softtabstop=2
- " search
- set hlsearch
- set ignorecase
- set smartcase
- " list
- set list
- set listchars=tab:▸\ ,eol:¬
- " default
- syntax on
- colorscheme elflord
- " plugin
- if filereadable(fnamemodify($MYVIMRC, ':h').'/autoload/plug.vim')
- call plug#begin('~/.config/nvim-plugin')
- Plug 'Raimondi/delimitMate' " auto close
- Plug 'vim-scripts/table_format.vim' " table spacing
- Plug 'scrooloose/nerdtree' " file manager
- Plug 'thinca/vim-localrc' " load local vimrc
- " Plug 'w0rp/ale' " linter
- Plug 'dracula/vim', { 'as': 'dracula' } " colorscheme
- Plug 'junegunn/fzf' " fzf
- call plug#end()
- " configure
- colorscheme dracula
- endif
- " alias
- command! -nargs=0 Reload so $MYVIMRC
- " auto
- autocmd VimResized * wincmd =
- " keymap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement