Last active
April 30, 2020 11:21
-
-
Save riccardopersiani/11f40d606b8b33449b59666c622201fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'dracula/vim', { 'as': 'dracula' } | |
Plug 'elixir-editors/vim-elixir' | |
Plug 'fatih/vim-go', { 'tag': '*' } | |
Plug 'junegunn/vim-easy-align' | |
Plug 'leafgarland/typescript-vim' | |
Plug 'pangloss/vim-javascript' | |
Plug 'preservim/nerdtree' | |
Plug 'prettier/vim-prettier', { 'do': 'yarn install' } | |
Plug 'rust-lang/rust.vim' | |
Plug 'tomlion/vim-solidity' | |
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } | |
Plug 'leafgarland/typescript-vim' | |
call plug#end() | |
set autoindent | |
set encoding=utf-8 | |
set expandtab | |
set fileencoding=utf-8 | |
set fileencodings=utf-8 | |
set fileformats=unix,dos,mac | |
set hlsearch | |
set list | |
set number | |
set relativenumber | |
set shiftwidth=2 | |
set showcmd | |
set smarttab | |
set softtabstop=2 | |
set tabstop=2 | |
let mapleader = "," | |
autocmd BufWritePre * :%s/\s\+$//e | |
imap jk <Esc> | |
map <C-n> :NERDTreeToggle<CR> | |
nmap <leader>w :w!<cr> | |
nnoremap / /\v | |
nnoremap <leader><space> :noh<cr> | |
vnoremap / /\v | |
let g:prettier#config#semi = 'false' | |
let g:prettier#config#bracket_spacing = 'true' | |
let g:prettier#config#trailing_comma = 'none' | |
let g:dracula_colorterm = 0 | |
syntax on | |
set t_Co=256 | |
color dracula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment