-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
39 lines (33 loc) · 694 Bytes
/
Copy pathvimrc
File metadata and controls
39 lines (33 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
" ~/.vimrc -- minimal, sane defaults + vim-plug
" Plugins are installed by the dotfiles installer (vim +PlugInstall).
set nocompatible
syntax on
filetype plugin indent on
" UI
set number
set ruler
set showcmd
set laststatus=2
set wildmenu
" Editing
set expandtab
set shiftwidth=2
set softtabstop=2
set tabstop=2
set autoindent
set backspace=indent,eol,start
" Search
set hlsearch
set incsearch
set ignorecase
set smartcase
" Misc
set encoding=utf-8
set hidden
set mouse=a
set clipboard^=unnamed,unnamedplus
" --- vim-plug -------------------------------------------------------------
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary'
call plug#end()