-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdot_vimrc
62 lines (50 loc) · 933 Bytes
/
dot_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
" UI
filetype on
set termguicolors
set splitright
set splitbelow
colorscheme pablo
" Command line
set wildmenu
set wildmode="list:longest"
" Status line
set laststatus=2
set showcmd
set statusline=%F\ %=\ %Y\ %l:%c
" Coding
set expandtab
set smartindent
syntax enable
set clipboard=unnamedplus
set shiftwidth=2
set showmatch
set tabstop=2
set virtualedit=all
set cursorline cursorcolumn number relativenumber
set nowrap
" Cursor
autocmd InsertEnter * set nocursorline nocursorcolumn norelativenumber
autocmd InsertLeave * set cursorline cursorcolumn relativenumber
let &t_SI .= "\e[6 q" "steady bar
let &t_EI .= "\e[2 q" "steady block
" File
set autoread
set nobackup
set noswapfile
set fenc=utf-8
set hidden
" Search
set hlsearch
set incsearch
set ignorecase
set smartcase
set wrapscan
" Misc
set nocompatible
set visualbell
set t_vb=
" Keymap
noremap H ^
noremap L $
nnoremap Y y$
nnoremap <esc><esc> :nohlsearch<cr>