forked from paulirish/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.vimrc
More file actions
32 lines (30 loc) · 1.12 KB
/
.vimrc
File metadata and controls
32 lines (30 loc) · 1.12 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
" Syntax highlighting {{{
set t_Co=256
set background=dark
syntax on
colorscheme slate
" }}}
" Map jk to Espace {{{
inoremap jk <Esc>
" }}}
" Set some junk {{{
set autoindent " Copy indent from last line when starting new line
set clipboard=unnamed " Share clipboard between OS and vim
set clipboard=unnamedplus " Share clipboard between OS and vim
set cursorline " Highlight current line
set foldcolumn=0 " Column to show folds
set foldenable " Enable folding
set foldlevel=0 " Close all folds by default
set foldmethod=syntax " Syntax are used to specify folds
set foldminlines=0 " Allow folding single lines
set foldnestmax=5 " Set max fold nesting level
set mouse=a " Enable mouse in all modes
set nu " Enable line numbers
set relativenumber " Use relative line numbers. Current line is still in status bar.
set ruler " Show the cursor position
set shiftwidth=2 " The # of spaces for indenting
set showtabline=2 " Always show tab bar
set smarttab " At start of line, <Tab> inserts shiftwidth spaces, <Bs> deletes shiftwidth spaces
set softtabstop=2 " Tab key results in 2 spaces
set title " Show the filename in the window titlebar
" }}}