-
Notifications
You must be signed in to change notification settings - Fork 5
/
vimrc
39 lines (27 loc) · 1.35 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
"""""""""""""""
""" Setting """
"""""""""""""""
set nocompatible " Changes other options.
syntax enable " Turn on syntax highlighting.
filetype plugin indent on " Turn on file type detection.
set showcmd " Display incomplete commands.
set showmode " Display the mode you're in.
set ruler " Show cursor position.
set backspace=indent,eol,start " Intuitive backspacing.
set hidden " Handle multiple buffers better.
set wildmenu " Enhanced command line completion.
set wildmode=list:longest " Complete files like a shell.
set ignorecase " Case-insensitive searching.
set smartcase " Case-sensitive if it contains a capital.
set incsearch " Highlight matches as you type.
set hlsearch " Highlight matches.
set nobackup " Don't backup before overwriting a file.
set nowritebackup " And again.
set directory=$HOME/.vim/tmp//,. " Keep swap files in one location.
set tabstop=2 " Global tab width.
set shiftwidth=2 " And again, related.
set expandtab " Use spaces instead of tabs.
""""""""""""
""" Keys """
""""""""""""
let mapleader=","