-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
41 lines (33 loc) · 1.43 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
"" General
set number " Show line numbers
set linebreak " Break lines at word (requires Wrap lines)
set showbreak=+++ " Wrap-broken line prefix
"set textwidth=100 " Line wrap (number of cols)
set showmatch " Highlight matching brace
set visualbell " Use visual bell (no beeping)
set hlsearch " Highlight all search results
set smartcase " Enable smart-case search
set incsearch " Searches for strings incrementally
set autoindent " Auto-indent new lines
set expandtab " Use spaces instead of tabs
set shiftwidth=4 " Number of auto-indent spaces
set smartindent " Enable smart-indent
set smarttab " Enable smart-tabs
set softtabstop=4 " Number of spaces per Tab
syntax on " Enable syntax highlighting
"" Advanced
set ruler " Show row and column ruler information
set autochdir " Change working directory to open buffer
set undolevels=1000 " Number of undo levels
set backspace=indent,eol,start " Backspace behaviour
filetype plugin indent on
"" Generated by VimConfig.com
colorscheme default
" Gherkin syntax highlight
au Bufread,BufNewFile *.feature set filetype=gherkin
au! Syntax gherkin source ~/.vim/syntax/cucumber.vim
" Typescript syntax highlight
au Bufread,BufNewFile *.ts set filetype=typescript
au! Syntax typescript source ~/.vim/syntax/typescript.vim
" Ctrl-P plugin
set runtimepath^=~/.vim/bundle/ctrlp.vim