Created
May 9, 2024 21:20
-
-
Save jha-adrs/a3330e249a75beb201141173b2d5983e to your computer and use it in GitHub Desktop.
My neovim Config
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
:set number | |
:set autoindent | |
:set mouse=a | |
:set smarttab | |
:set tabstop=4 | |
:set clipboard=unnamedplus | |
call plug#begin('~/.config/nvim/plugged') | |
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/rafi/awesome-vim-colorschemes' " Retro Scheme | |
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons | |
Plug 'https://github.com/tc50cal/vim-terminal' | |
Plug 'https://github.com/neoclide/coc.nvim' , {'branch' : 'release'} | |
Plug 'jiangmiao/auto-pairs' | |
set encoding=UTF-8 | |
call plug#end() | |
nnoremap <C-f> :NERDTreeFocus<CR> | |
nnoremap <C-n> :NERDTree<CR> | |
nnoremap <C-b> :NERDTreeToggle<CR> | |
nnoremap <C-t> :TerminalSplit bash<CR> | |
vnoremap <C-c> "+y | |
vnoremap <C-v> "+P | |
set background=dark | |
set termguicolors | |
colorscheme deep-space | |
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm() : "\<CR>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment