-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
34 lines (25 loc) · 855 Bytes
/
.vimrc
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
call plug#begin()
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
call plug#end()
" Use 'jf' to exit insert mode
inoremap jf <Esc>
" Use spaces instead of tabs
" tabstop: Width of tab character
" softtabstop: Fine tunes the amount of white space to be added
" shiftwidth Determines the amount of whitespace to add in normal mode
" expandtab: When this option is enabled, vi will use spaces instead of tabs
set tabstop =4
set softtabstop =4
set shiftwidth =4
set expandtab
set autoindent
" Display search match while typing
set incsearch
" Let searches be case agnostic
set ignorecase
" Override ignorecase when searching for uppercase
set smartcase
autocmd FileType text setlocal shiftwidth=2 tabstop=2 softtabstop=2