-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
54 lines (41 loc) · 810 Bytes
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
" FIX: ssh from wsl starting with REPLACE mode
" https://stackoverflow.com/a/11940894
if $TERM =~ 'xterm-256color'
set noek
endif
set number relativenumber
set linebreak
set showbreak=+++
set textwidth=100
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase
set incsearch
set autoindent
set shiftwidth=2
set smartindent
set smarttab
set softtabstop=0
" set nocompatible
syntax on
filetype on
set ruler
set rulerformat=%=%h%m%r%w\ %(%c%V%),%l/%L\ %P
set undolevels=1000
set backspace=indent,eol,start
set cursorline
set whichwrap=b,s,<,>,[,]
set noswapfile
set history=100
" set background=dark
set scrolloff=10
set showmode
set showcmd
" Cancel search highlight with Esc
nmap <Esc> :nohlsearch<CR>
" Clipboard Integration
set clipboard+=unnamed
" Leader Key
let mapleader=" "