-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
61 lines (53 loc) · 863 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
55
56
57
58
59
60
61
noremap <space> <nop>
let mapleader = " "
syntax on
filetype plugin indent on
set ignorecase
set undofile
set swapfile
set hidden
set splitright
set splitbelow
set tabstop=8
set shiftwidth=8
set softtabstop=8
set noexpandtab
set cursorline
set scrolloff=12
set exrc
set smartindent
set showcmd
set showmode
set nowrap
set breakindent
set linebreak
set lazyredraw
set list
set ruler
set laststatus=0
set mouse=a
set termguicolors
set background=dark
set number
set relativenumber
set shortmess+=c
set clipboard+=unnamedplus
set updatetime=300
nnoremap E $
nnoremap B ^
nnoremap Y y$
nnoremap n nzzzv
nnoremap N Nzzzv
nnoremap J mzJ`z
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
vmap < <gv
vmap > >gv
vmap E $h
vmap B ^h
inoremap , ,<c-g>u
inoremap . .<c-g>u
inoremap ! !<c-g>u
inoremap ? ?<c-g>u