Skip to content

Instantly share code, notes, and snippets.

@EralpCelebi
Created May 23, 2022 12:57
Show Gist options
  • Save EralpCelebi/7f92f640e8fa6409c520526f1ff28d22 to your computer and use it in GitHub Desktop.
Save EralpCelebi/7f92f640e8fa6409c520526f1ff28d22 to your computer and use it in GitHub Desktop.
NVIM
{
"diagnostic.errorSign": "✘",
"diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "",
"diagnostic.hintSign": "",
"suggest.completionItemKindLabels": {
"keyword": "\uf1de", //  sliders
"variable": "\ue79b", //  isometric box
"value": "\uf89f", //  digits 123
"operator": "\u03a8", // Ψ greek letter psi
"constructor": "\uf0ad", //  wrench
"function": "\u0192", // ƒ latin small letter F
"reference": "\ufa46", // 渚 retweet symbol
"constant": "\uf8fe", //  greek letter pi
"method": "\uf09a", //  facebook "f"
"struct": "\ufb44", // פּ file tree
"class": "\uf0e8", //  hierarchy / site map
"interface": "\uf417", //  git commit / line interrupted by circle
"text": "\ue612", //  left-justified lines
"enum": "\uf02c", //  pair of tags
"enumMember": "\uf02b", //  tag
"module": "\uf40d", //  code file / page showing angle brackets
"color": "\ue22b", //  palette
"property": "\ue624", //  predator dots
"field": "\uf9be", // 料left-justified sorted lines
"unit": "\uf475", //  negative-space ellipsis
"event": "\ufacd", // 鬒clock alert / clock with exclamation mark
"file": "\uf15b", //  file / blank page
"folder": "\uf07b", //  folder
"snippet": "\ue60b", //  pair of curly braces
"typeParameter": "\uf728",//  file presentation box
"default": "\uf29c" //  question mark in circle
},
}
" Written by Eralp Çelebi <eralp.celebi.personal@gmail.com>
" Not living in the stone ages.
set encoding=utf-8
" Don't try to fit in.
set nocompatible
" Have a whole column to tell me I'm stupid.
set signcolumn=yes
" Try to figure out what file we are working on.
filetype on
" Get some colors. Love 'em.
syntax on
" Legit no clue what this does.
set hidden
" Can't love 'em, need this.
set termguicolors
" Line numbers are kind of necessary dude.
set number
" We are using Lightline bozo.
" set noshowmode
" Disable everything, I'ma chimp out.
set laststatus=0
" I don't need the entire screen to enter :q.
set cmdheight=1
" I have a touchpad and a touchscreen, why would you not?
set mouse=a
" Don't follow, lead. (When you type it out feels gay.)
let mapleader='l'
" My puny eyes can't rotate that far down.
set scrolloff=10
" Pluuuuug Yooooo.
call plug#begin()
" Languages & Syntax.
Plug 'sheerun/vim-polyglot'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'nvim-treesitter/nvim-treesitter'
" Tools.
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-fugitive'
" Quality of Life.
Plug 'honza/vim-snippets'
" Colorschemes.
Plug 'chriskempson/base16-vim'
Plug 'ajmwagar/vim-deus'
Plug 'sainnhe/everforest'
Plug 'sainnhe/sonokai'
" Aesthetics.
" Plug 'itchyny/lightline.vim'
Plug 'ryanoasis/vim-devicons'
call plug#end()
" Keybindings for my slender fingers.
nnoremap <C-Up> :tabnew<CR>
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
nnoremap <S-Left> :split<CR>
nnoremap <S-Right> :vsplit<CR>
nnoremap <Leader>ff :Files<CR>
nnoremap <Leader>fc :Commands<CR>
nnoremap <Leader>fr :Rg<CR>
" Colors, again.
function! ManipulateColors()
hi Normal ctermbg=NONE guibg=NONE
hi EndOfBuffer ctermbg=NONE guibg=NONE
hi LineNr ctermbg=NONE guibg=NONE
hi SignColumn ctermbg=NONE guibg=NONE
hi RedSign ctermbg=NONE guibg=NONE
hi BlueSign ctermbg=NONE guibg=NONE
hi YellowSign ctermbg=NONE guibg=NONE
hi AquaSign ctermbg=NONE guibg=NONE
hi link TSVariable Identifier
hi link TSProperty Identifier
hi link TSParameter Identifier
endfunction
autocmd colorscheme * call ManipulateColors()
autocmd BufNewFile,BufRead * TSEnable highlight
set background=dark
colorscheme sonokai
"colorscheme base16-helios
let g:lightline = {
\ 'colorscheme': 'apprentice',
\ 'separator': { 'left': '', 'right': '' },
\ 'subseparator': { 'left': '', 'right': '' }
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment