-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
61 lines (58 loc) · 1.25 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
" This is only necessary for set termguicolors.
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set ignorecase
set mouse=a
set tabline=2
set smartcase
set smartindent
set splitbelow
set splitright
set noswapfile
set termguicolors
set tabstop=4
set shiftwidth=0
"set expandtab
set cursorline
set nu
set rnu
set showcmd
set scrolloff=999
set sidescrolloff=999
set backspace=indent,eol,start
set incsearch
set hlsearch
set showmatch
set termguicolors
set list
set listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:·
set virtualedit=all
noremap <space> <nop>
let mapleader = " "
noremap <leader><leader> :nohlsearch<cr>
noremap <leader>bf :buffers!<CR>:buffer<Space>
noremap <leader>w :update<CR>
noremap <leader>q :q<CR>
" noremap ; :
" noremap <c-h> <c-w>h
" noremap <c-j> <c-w>j
" noremap <c-k> <c-w>k
" noremap <c-l> <c-w>l
noremap L <c-d>
noremap H <c-u>
noremap <c-up> :resize -2<cr>
noremap <c-down> :resize +2<cr>
noremap <c-left> :vertical resize -2<cr>
noremap <c-right> :vertical resize +2<cr>
noremap <c-l> :bnext<cr>
noremap <c-h> :bprevious<cr>
noremap Q :bd<CR>
" noremap Q :bn\|bd #<CR>
vnoremap p "_dP
noremap gp "0p
noremap gP "0P
noremap! kj <esc>
syntax on
set pumheight=10
colorscheme slate
set wildmenu wildoptions=pum