-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
46 lines (42 loc) · 1.22 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
python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup
set encoding=utf-8
set guifont=DroidSansMono\ Nerd\ Font\ 11
set noshowmode "hide default bar
set laststatus=2 "always show bar
set mouse=a
set ttymouse=xterm2
call plug#begin('~/.vim/plugged')
Plug 'maralla/completor.vim'
Plug 'masawada/completor-dictionary'
"Plug 'davidhalter/jedi-vim'
"Plug 'airblade/vim-gitgutter.git'
"Plug 'junegunn/vim-github-dashboard.git'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
"Plug 'junegunn/limelight.vim'
Plug 'dylanaraps/wal.vim'
"Plug 'vim-scripts/AutoComplPop'
Plug 'ryanoasis/vim-devicons'
call plug#end()
try
colorscheme wal
catch /^Vim\%((\a\+)\)\=:E185/
" else wal.vim doesn't exist
endtry
if !has('gui_running')
set t_Co=256
endif
"let g:jedi#popup_select_first = 0 "select first autocomplete suggestion
"let g:jedi#popup_on_dot = 0 "autocompletion disabled with period .
" Only do this part when compiled with support for autocommands
if has("autocmd")
augroup redhat
autocmd!
" " When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal! g'\"" |
\ endif
augroup END
endif