Skip to content

Instantly share code, notes, and snippets.

@zant
Created December 2, 2019 21:44
Show Gist options
  • Select an option

  • Save zant/480b5b32ef459afe3b0a596eb95942cc to your computer and use it in GitHub Desktop.

Select an option

Save zant/480b5b32ef459afe3b0a596eb95942cc to your computer and use it in GitHub Desktop.
ma nvim settings yo yo yo
inoremap jk <esc>
inoremap kj <esc>
call plug#begin()
Plug 'ayu-theme/ayu-vim'
Plug 'scrooloose/nerdtree'
Plug 'HerringtonDarkholme/yats.vim' " TS Syntax
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'christoomey/vim-tmux-navigator'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()
"nedtree
let g:NERDTreeIgnore = ['^node_modules$']
nmap <C-n> :NERDTreeToggle<CR>
let g:NERDTreeDirArrowExpandable = 'λ'
let g:NERDTreeDirArrowCollapsible = 'λ'
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
" hide tiles
set fcs=eob:\
command! -nargs=0 Prettier :CocCommand prettier.formatFile
nnoremap <silent> <leader>fs :Prettier <CR>
inoremap <silent> <leader>fs <esc>:Prettier<CR>
let NERDTreeShowHidden=1
let g:coc_global_extensions = [
\ 'coc-snippets',
\ 'coc-pairs',
\ 'coc-tsserver',
\ 'coc-json',
\ ]
" linespaces
set linespace=10
set noshowcmd
set smarttab
set cindent
set expandtab
set termguicolors
set number
let ayucolor="dark"
colorscheme ayu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment