-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
57 lines (41 loc) · 906 Bytes
/
.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
" Global
set nocompatible
set encoding=utf-8
" Mouse/cursor
set mouse=a
set cursorline
":highlight Cursorline cterm=bold
" Number line
set number
" Syntax (color)
syntax on
" Status bar
set laststatus=2
" Search
set smartcase
set ignorecase
set hlsearch
set incsearch
" Keymaps
" open new tab
nnoremap <C-Up> :tabnew<CR>
" switching between tabs
nnoremap <C-Right> :tabn<CR>
nnoremap <C-Left> :tabp<CR>
" split wthe window
nnoremap <C-s> :sp
nnoremap <C-x> :vsp
" Call the plugin
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'altercation/vim-colors-solarized'
call plug#end()
" Set the airline plugin theme
"let g:airline_theme='powerlineish'
let g:airline_theme='simple'
" Enable the powerline font
let g:airline_powerline_fonts = 1
" Enable solarized color theme
let g:solarized_termcolors=256
colorscheme solarized