Skip to content

Instantly share code, notes, and snippets.

@csgeeek
Last active September 27, 2022 19:05
Show Gist options
  • Save csgeeek/80764f48df3895ed4f3f3ff317269ea5 to your computer and use it in GitHub Desktop.
Save csgeeek/80764f48df3895ed4f3f3ff317269ea5 to your computer and use it in GitHub Desktop.
My simple NeoVim Config
:set number
:set relativenumber
:set autoindent
:set tabstop=4
:set shiftwidth=4
:set smarttab
:set softtabstop=4
:set mouse=a
call plug#begin()
Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw)
Plug 'https://github.com/preservim/nerdtree' " NerdTree
Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc
Plug 'https://github.com/vim-airline/vim-airline' " Status bar
Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons
Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal
Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors
Plug 'https://github.com/jiangmiao/auto-pairs' " Auto-pairs
Plug 'navarasu/onedark.nvim' " Atom One Dark Theme
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " Nvim Treesitter
call plug#end()
nnoremap <C-f> :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
" Color schemes
" style: dark, darker, cool, deep, warm, warmer, light
let g:onedark_config = {
\ 'style': 'dark',
\}
:colorscheme onedark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment