-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_vimrc
50 lines (44 loc) · 867 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
let mapleader=" "
set clipboard=unnamedplus
set showmode
set hlsearch
set number
set relativenumber
set smartcase
set ignorecase
set incsearch
set scrolloff=5
set notimeout
set timeoutlen=1000
set splitbelow
set splitright
set laststatus=2
set expandtab
set smarttab
set shiftwidth=2
set tabstop=2
set termguicolors
colorscheme sorbet
imap jk <ESC>
nmap <leader>qq :qa<CR>
nmap <silent> <ESC> :nohlsearch<CR>
map U <C-R>
" buffer
nmap <S-H> :bp<CR>
nmap <S-L> :bn<CR>
map <leader>bd :bd<CR>
nmap <C-j> <C-w>j
nmap <C-k> <C-w>k
nmap <C-h> <C-w>h
nmap <C-l> <C-w>l
map <leader>- :split<CR>
map <leader>\ :vsplit<CR>
" Netrw config
let g:netrw_keepdir = 0
let g:netrw_winsize = 30
let g:netrw_banner = 0
let g:netrw_liststyle = 3
let g:netrw_browse_split = 4
let g:netrw_altv = 1
let g:netrw_localcopydircmd = "cp -r"
let g:netrw_list_hide= '\(^\|\s\s\)\zs\.\S\+'