-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
48 lines (37 loc) · 819 Bytes
/
init.vim
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
call plug#begin()
Plug 'joshdick/onedark.vim'
Plug 'vim-airline/vim-airline'
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-surround'
Plug 'mg979/vim-visual-multi'
call plug#end()
set guicursor=
set background=dark
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline_theme='onedark'
syntax on
colorscheme onedark
set confirm
set cursorline
set expandtab
set ignorecase smartcase
set list
set nowrap
set scrolloff=1
set shiftwidth=4 tabstop=4
set showbreak=…
set showmatch
set undofile
set visualbell
nmap <silent> <F12> :e $MYVIMRC<CR>
nmap <silent> <Leader>p :set invpaste<CR>
imap <M-Left> <C-o>b
imap <M-Right> <C-o>w
imap <M-C-Left> <C-o>B
imap <M-C-Right> <C-o>W
imap <M-Del> <C-o>de
imap <M-BS> <C-w>
nmap <silent> - :let @/=''<CR>
vnoremap < <gv
vnoremap > >gv