-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.ideavimrc
executable file
·49 lines (44 loc) · 1.53 KB
/
.ideavimrc
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
""""""""""""""'
" Misc stuff
set exrc "Make sure we run the vimrc
set nocompatible "all vim features!
set number "Show line numbers
set showmode "Show editing mode in status bar
set fmr={,} "Fold marker
set fdm=marker "Fold method
set nofen "But disable folding by default
set path=.
set ttyfast
set noruler
set laststatus=2
set whichwrap=b,s,h,l,<,>,[,]
set history=1000
set wildmode=longest,list,full
set wildmenu
set scrolljump=1
set scrolloff=3
set gdefault
""""""""""""""""""
" Text Formatting
""""""""""""""""""
set autoindent "Auto indenting
set cindent "auto un-indent close brackets
set cinoptions=>4 "one tab only
set tabstop=4 "Tab width
set softtabstop=4 "Soft tabstop
set shiftwidth=4 "how much to shift text when formatting
set backspace=2 "backspace over every thing
set textwidth=78 "Text width
set showmatch "Blink to show the {} and () matches
set matchtime=3 "make it a quick blink though
set formatoptions=crq2 "Do some neat comment stuff for us
set expandtab "Expand tabs to spaces
syntax on "Do Syntax hilighting
""""""""""""
"Searching stuff
set hlsearch "highlight search matches
set ignorecase "for pattern matching
set smartcase "if I use uppercase, match case sensitive
set incsearch "show us matches immeadiatly
"enable filetype detection
filetype plugin indent on