-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
executable file
·48 lines (42 loc) · 993 Bytes
/
vimrc
File metadata and controls
executable file
·48 lines (42 loc) · 993 Bytes
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
set nocompatible
call pathogen#infect()
if $TERM == "xterm-256color"
set t_Co=256
end
set autoindent
set backspace=indent,eol,start
set clipboard=unnamed
set expandtab
set hlsearch
set ignorecase
set incsearch
set laststatus=2
set modifiable
"set mouse=a
set nolist
set pastetoggle=<F3>
set shiftwidth=2
set smartindent
set splitbelow
set splitright
set tabstop=2
set virtualedit=onemore
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
"colorscheme monokai_pro
colorscheme cobalt2
filetype indent on
filetype plugin indent on
filetype plugin on
syntax on
let g:airline_powerline_fonts = 1
let g:airline_theme = 'bubblegum'
let g:NERDTreeWinPos = 'right'
let mapleader=","
let NERDTreeShowHidden=1
autocmd FileType gitcommit autocmd! BufEnter COMMIT_EDITMSG call setpos('.', [0, 1, 1, 0])
nnoremap <c-e> :NERDTreeToggle<CR>
nnoremap <c-h> :nohl<CR>
nnoremap <c-f> za
nnoremap <c-n> :set invrelativenumber invnumber<CR>
nnoremap <leader>e :NERDTreeFind<CR>