-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
56 lines (49 loc) · 1.58 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
"
" ██▒ █▓ ██▓ ███▄ ▄███▓ ██▀███ ▄████▄
" ▓██░ █▒▓██▒▓██▒▀█▀ ██▒▓██ ▒ ██▒▒██▀ ▀█
" ▓██ █▒░▒██▒▓██ ▓██░▓██ ░▄█ ▒▒▓█ ▄
" ▒██ █░░░██░▒██ ▒██ ▒██▀▀█▄ ▒▓▓▄ ▄██▒
" ▒▀█░ ░██░▒██▒ ░██▒░██▓ ▒██▒▒ ▓███▀ ░
" ░ ▐░ ░▓ ░ ▒░ ░ ░░ ▒▓ ░▒▓░░ ░▒ ▒ ░
" ░ ░░ ▒ ░░ ░ ░ ░▒ ░ ▒░ ░ ▒
" ░░ ▒ ░░ ░ ░░ ░ ░
" ░ ░ ░ ░ ░ ░
" ----- BASIC OPTIONS ---
syntax on
set nu
set ruler
set relativenumber
set wrap
set smartindent
set autoindent
set tabstop=8
set softtabstop=4
set shiftwidth=4
set noexpandtab
set backspace=indent,eol,start
" set cursorline
set showcmd
set lazyredraw
set showmatch
set incsearch
set hlsearch
set guifont=iosevka--12
" ----- KEYBINDINGS -----
map <SPACE> <leader>
map <SPACE><SPACE> <leader><leader>
nnoremap <leader>o o<ESC>
nnoremap <leader>ww <C-w><C-w>
nnoremap <leader>tr >>
nnoremap <leader>tl <<
vnoremap <leader>tr >gv
vnoremap <leader>tl <gv
nnoremap <leader>; $a;<ESC>
nnoremap <leader>bs <C-u>zz
nnoremap <leader>fs <C-d>zz
inoremap jk <ESC>
" ----- MISC -----
" fix cursor style/shape
let &t_ti.="\e[1 q"
let &t_SI.="\e[5 q"
let &t_EI.="\e[1 q"
let &t_te.="\e[0 q"