Configuration files for my GNU/Linux installation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/vimrc

79 lines
2.1 KiB

5 years ago
" ##############..... ##############
" ##############......##############
" ##########..........##########
" ##########........##########
" ##########.......##########
" ##########.....##########..
" ##########....##########.....
" ..##########..##########.........
" ....##########.#########.............
" ..################JJJ............
" ################.............
" ##############.JJJ.JJJJJJJJJJ
" ############...JJ...JJ..JJ JJ
" ##########....JJ...JJ..JJ JJ
" ########......JJJ..JJJ JJJ JJJ
" ###### .........
" .....
" .
set mouse=a
set wrap
set noet
4 years ago
set autoindent
4 years ago
set noexpandtab
set tabstop=8
set shiftwidth=8
4 years ago
vmap <Tab> >gv
vmap <S-Tab> <gv
5 years ago
syntax on
4 years ago
set nu
5 years ago
set ruler
" Vim-Plug
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/hugolgst/vimsence.git' " Discord Presence
Plug 'sheerun/vim-polyglot' " Syntax highlightning
Plug 'preservim/nerdtree' " Tree navigation
Plug 'rafi/awesome-vim-colorschemes' " Theme collection
Plug 'chriskempson/base16-vim' " Theme
4 years ago
Plug 'vim-airline/vim-airline' " Airline
Plug 'vim-airline/vim-airline-themes' " Airline themes
Plug 'ajh17/vimcompletesme' " YCM but Vim
Plug 'sonph/onehalf', { 'rtp': 'vim' } " theme
5 years ago
call plug#end()
4 years ago
5 years ago
" Mapping
nmap <silent> <C-D> :NERDTreeToggle<CR>
4 years ago
vnoremap <C-r> "hy:%s/<C-r>h//gc<left><left><left>
5 years ago
" Theme
set t_Co=256
4 years ago
colors default
4 years ago
let g:airline_theme='minimalist'
5 years ago
let &showbreak = '↳ '
4 years ago
hi Normal guibg=NONE ctermbg=NONE
highlight clear LineNr
highlight LineNr ctermfg=grey ctermbg=NONE
4 years ago
" YCM
set completeopt-=preview
4 years ago
let g:ycm_show_diagnostics_ui = 0
4 years ago
highlight Pmenu ctermfg=15 ctermbg=0 guifg=#ffffff guibg=#000000
4 years ago
" Tabs
nnoremap <silent> <C-Left> :tabprevious<CR>
nnoremap <silent> <C-Right> :tabnext<CR>
nnoremap <silent> <C-j> :tabprevious<CR>
nnoremap <silent> <C-k> :tabnext<CR>
4 years ago
" Airline
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1