Skip to content

Instantly share code, notes, and snippets.

@ianfabs
Last active March 7, 2020 03:48
Show Gist options
  • Select an option

  • Save ianfabs/7cb6ca89e00fb9082ec12153f97e4a43 to your computer and use it in GitHub Desktop.

Select an option

Save ianfabs/7cb6ca89e00fb9082ec12153f97e4a43 to your computer and use it in GitHub Desktop.
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/home/ianfabs/.config/nvim/bundle/repos/repos/github.com/Shougo/dein.vim
" Required:
if dein#load_state('/home/ianfabs/.config/nvim/bundle/repos')
call dein#begin('/home/ianfabs/.config/nvim/bundle/repos')
" Let dein manage dein
" Required:
call dein#add('/home/ianfabs/.config/nvim/bundle/repos/repos/github.com/Shougo/dein.vim')
" Add or remove your plugins here like this:
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('wellle/targets.vim')
call dein#add('tommcdo/vim-exchange')
call dein#add('tpope/vim-surround')
call dein#add('Shougo/deoplete.nvim')
call dein#add('sebastianmarkow/deoplete-rust')
call dein#add('scrooloose/nerdtree')
call dein#add('tpope/vim-commentary')
call dein#add('terryma/vim-multiple-cursors')
call dein#add('leafgarland/typescript-vim')
call dein#add('peitalin/vim-jsx-typescript')
call dein#add('pangloss/vim-javascript')
call dein#add('wakatime/vim-wakatime')
call dein#add('mattn/emmet-vim')
" Theming things
call dein#add('morhetz/gruvbox')
call dein#add('itchyny/lightline.vim')
" Required:
call dein#end()
call dein#save_state()
endif
" Required:
filetype plugin indent on
syntax enable
" If you want to install not installed plugins on startup.
if dein#check_install()
call dein#install()
endif
" Theme Config
let g:lightline = { 'colorscheme': 'seoul256', }
set termguicolors
set background=dark
colo gruvbox
set guicursor+=v:vCursor
" Regular Config
set number relativenumber
set expandtab
set tabstop=2
set softtabstop=2
set shiftwidth=2
" My special keybinds
nmap <C-o> o<Esc>O
map <C-d> :NERDTreeToggle<CR>
map <C-s> :w<CR>
" Auto start commands
" set filetypes as typescript.tsx
autocmd BufNewFile,BufRead *.tsx,*.jsx set filetype=typescript.tsx
autocmd FileType html,css,tsx,jsx EmmetInstall
" Highlighting config for tsx
hi tsxTagName guifg=#b16286
hi tsxCloseString guifg=#b16286
hi tsxCloseTag guifg=#83a598
hi tsxAttrib guifg=#d79921 cterm=italic
hi tsxAttributeBraces guifg=#458588
" hi tsxEqual guifg=#F99575
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment