2022-01-22 22:55:38 +00:00
|
|
|
|
|
|
|
" ; '
|
|
|
|
" \\/\ \\ \\/\\/\\ ,._-_ _-_
|
|
|
|
" || | || || || || || ||
|
|
|
|
" || | || || || || || ||
|
|
|
|
" \\/ \\ \\ \\ \\ \\, \\,/
|
|
|
|
|
|
|
|
|
|
|
|
" Load plugins
|
|
|
|
call plug#begin('~/.vim/bundle')
|
|
|
|
|
|
|
|
Plug 'aliva/vim-fish'
|
|
|
|
Plug 'cocopon/iceberg.vim'
|
2022-02-16 00:17:42 +00:00
|
|
|
Plug 'dhruvasagar/vim-table-mode'
|
2022-01-22 22:55:38 +00:00
|
|
|
Plug 'fadein/vim-FIGlet'
|
|
|
|
Plug 'gkeep/iceberg-dark'
|
|
|
|
Plug 'itchyny/lightline.vim'
|
2022-04-09 11:40:38 +00:00
|
|
|
Plug 'karolbelina/uxntal.vim'
|
2022-01-22 22:55:38 +00:00
|
|
|
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
|
2022-04-09 16:34:56 +00:00
|
|
|
cmap W w !sudo tee > /dev/null %
|
|
|
|
nnoremap <C-n> :NERDTreeToggle<CR>
|
2022-01-22 22:55:38 +00:00
|
|
|
|
|
|
|
" 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
|
|
|
|
|
2022-04-09 16:34:56 +00:00
|
|
|
set whichwrap+=<,>,h,l
|
|
|
|
|
|
|
|
" let &t_SI = "\<Esc>[6 q"
|
|
|
|
" let &t_SR = "\<Esc>[4 q"
|
|
|
|
let &t_EI = "\<Esc>[2 q"
|
|
|
|
|
2022-01-22 22:55:38 +00:00
|
|
|
|
|
|
|
set clipboard=unnamedplus
|
2022-04-09 16:34:56 +00:00
|
|
|
nnoremap d "_d
|
|
|
|
vnoremap d "_d
|
|
|
|
|
2022-01-22 22:55:38 +00:00
|
|
|
set hlsearch
|
|
|
|
|
|
|
|
set encoding=utf-8
|
|
|
|
scriptencoding utf-8
|
|
|
|
setglobal fileencoding=utf-8
|