-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
49 lines (32 loc) · 1.21 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
:set hlsearch
autocmd BufRead,BufNewFile Jenkinsfile set filetype=groovy tabstop=4 softtabstop=4 shiftwidth=4 expandtab smarttab autoindent retab
autocmd BufRead,BufNewFile py set filetype=python tabstop=4 softtabstop=4 shiftwidth=4 expandtab smarttab autoindent retab
" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
" Enable plugins and load plugin for the detected file type.
filetype plugin on
" Load an indent file for the detected file type.
filetype indent on
" Turn syntax highlighting on.
syntax on
" Set shift width to 4 spaces.
:set shiftwidth=4
" Set tab width to 4 columns.
:set tabstop=4
" Use space characters instead of tabs.
:set expandtab smarttab
:set smartindent
:set relativenumber
" Delete trailing whitespace on all lines on write.
autocmd BufWritePre * :%s/\s\+$//e
" Make the backspace button work properly in INSERT mode.
:set backspace=indent,eol,start
" Enable auto completion menu after pressing TAB.
:set wildmenu
" Make wildmenu behave like similar to Bash completion.
:set wildmode=list:longest
:colorscheme zellner
call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
call plug#end()