95 lines
2.1 KiB
VimL
95 lines
2.1 KiB
VimL
|
|
" ; '
|
|
" \\/\ \\ \\/\\/\\ ,._-_ _-_
|
|
" || | || || || || || ||
|
|
" || | || || || || || ||
|
|
" \\/ \\ \\ \\ \\ \\, \\,/
|
|
|
|
|
|
" Load plugins
|
|
call plug#begin('~/.vim/bundle')
|
|
|
|
Plug 'aliva/vim-fish'
|
|
Plug 'cocopon/iceberg.vim'
|
|
Plug 'dhruvasagar/vim-table-mode'
|
|
Plug 'fadein/vim-FIGlet'
|
|
Plug 'gkeep/iceberg-dark'
|
|
Plug 'itchyny/lightline.vim'
|
|
Plug 'karolbelina/uxntal.vim'
|
|
Plug 'lambdalisue/fern-renderer-nerdfont.vim'
|
|
Plug 'lambdalisue/fern.vim'
|
|
Plug 'lambdalisue/nerdfont.vim'
|
|
Plug 'lilydjwg/colorizer'
|
|
Plug 'owickstrom/vim-colors-paramount'
|
|
Plug 'tpope/vim-commentary'
|
|
Plug 'vim-scripts/nginx.vim'
|
|
Plug 'yuttie/comfortable-motion.vim'
|
|
|
|
call plug#end()
|
|
|
|
|
|
" Lightline config
|
|
let g:lightline = {
|
|
\ 'colorscheme': 'icebergDark',
|
|
\ }
|
|
|
|
|
|
" Fern config
|
|
let g:fern#renderer = "nerdfont"
|
|
|
|
|
|
" Comfortable Motion config
|
|
noremap <silent> <ScrollWheelDown> :call comfortable_motion#flick(20)<CR>
|
|
noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-20)<CR>
|
|
|
|
|
|
" Aliases
|
|
command Header FIGlet -f Gothic
|
|
cmap W w !sudo tee > /dev/null %
|
|
nnoremap <C-n> :NERDTreeToggle<CR>
|
|
|
|
" Colorscheme
|
|
set background=dark
|
|
set termguicolors
|
|
colorscheme paramount
|
|
|
|
let bgcolor = synIDattr(hlID("Normal"), "bg")
|
|
let fgcolor = synIDattr(hlID("Identifier"), "fg")
|
|
|
|
if has('gui_running') || has('nvim')
|
|
hi Normal guifg=fgcolor guibg=bgcolor
|
|
else
|
|
" Set the terminal default background and foreground colors, thereby
|
|
" improving performance by not needing to set these colors on empty cells.
|
|
hi Normal guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE
|
|
let &t_ti = &t_ti . "\033]10;" . fgcolor . "\007\033]11;" . bgcolor . "\007"
|
|
let &t_te = &t_te . "\033]110\007\033]111\007"
|
|
endif
|
|
|
|
|
|
" Vanilla config
|
|
syntax on
|
|
filetype plugin indent on
|
|
|
|
set number
|
|
set wrap
|
|
set mouse=a
|
|
set softtabstop=4 noexpandtab
|
|
|
|
set whichwrap+=<,>,h,l
|
|
|
|
" let &t_SI = "\<Esc>[6 q"
|
|
" let &t_SR = "\<Esc>[4 q"
|
|
let &t_EI = "\<Esc>[2 q"
|
|
|
|
|
|
set clipboard=unnamedplus
|
|
nnoremap d "_d
|
|
vnoremap d "_d
|
|
|
|
set hlsearch
|
|
|
|
set encoding=utf-8
|
|
scriptencoding utf-8
|
|
setglobal fileencoding=utf-8
|