This repository was archived by the owner on Mar 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
94 lines (70 loc) · 2.08 KB
/
vimrc
File metadata and controls
94 lines (70 loc) · 2.08 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugins
" filetype plugin on
" filetype indent on
" Set to auto read when a file is changed from the outside
set autoread
" Ignore case when searching
set ignorecase
" When searching try to be smart about cases
set smartcase
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Don't redraw while executing macros (good performance config)
set lazyredraw
" For regular expressions turn magic on
set magic
" Show matching brackets when text indicator is over them
set showmatch
" Enable syntax highlighting
syntax enable
" Set utf8 as standard encoding and en_US as the standard language
set encoding=utf8
" Use Unix as the standard file type
set ffs=unix,dos,mac
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines
set paste
set number
" Always show current position
set ruler
" Pressing ,ss will toggle and untoggle spell checking
map <leader>ss :setlocal spell!<cr>
" Mostly taken from
" http://amix.dk/vim/vimrc.html
" Stop hideous mouse integration
autocmd BufEnter * set mouse=
" Backspace should delete more
set backspace=start,eol,indent
" Split more naturally
set splitbelow
set splitright
" Easier moving between splits
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
" Swapfile management
set swapfile
set dir=/var/tmp
" Don't send termcap initialization and deinitialization strings to the terminal
set t_ti= t_te=
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'mrk21/yaml-vim'
Plugin 'martinda/Jenkinsfile-vim-syntax'
Plugin 'modille/groovy.vim'
Plugin 'Vimjas/vim-python-pep8-indent'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on