Skip to content

Instantly share code, notes, and snippets.

@azyu
Created June 28, 2022 17:13
Show Gist options
  • Save azyu/200bfe088bb75add6d92d8046ca7cd71 to your computer and use it in GitHub Desktop.
Save azyu/200bfe088bb75add6d92d8046ca7cd71 to your computer and use it in GitHub Desktop.
neovim
call plug#begin('~/.config/nvim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdtree'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'kyazdani42/nvim-web-devicons'
Plug 'romgrk/barbar.nvim'
Plug 'Mofiqul/vscode.nvim'
call plug#end()
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
let g:vscode_style = "dark"
let g:vscode_transparency = 1
colorscheme vscode
let NERDTreeQuitOnOpen=1
set hlsearch " highlight all search results
set ignorecase " do case insensitive search
set incsearch " show incremental search results as you type
set number " display line number
set noswapfile " disable swap file
autocmd VimEnter * NERDTree
if has("syntax")
syntax on
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment