From 5936031adf9d2d6d623b2fee34d923a5c0cd7b29 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+justsaumit@users.noreply.github.com> Date: Fri, 8 Apr 2022 06:54:18 +0530 Subject: Update init.vim --- .config/nvim/init.vim | 53 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 1558b64..fd5cb35 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,6 +1,6 @@ set number set relativenumber -set tabstop=4 +set tabstop=4 set softtabstop=4 set shiftwidth=4 set expandtab @@ -18,28 +18,49 @@ set splitbelow splitright call plug#begin() -Plug 'https://github.com/vim-airline/vim-airline' " Vim-Airline -Plug 'https://github.com/preservim/nerdtree' " NerdTree -Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons -Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation -Plug 'https://github.com/joshdick/onedark.vim' " One Dark theme -Plug 'https://github.com/morhetz/gruvbox' " gruvbox theme -Plug 'https://github.com/prettier/vim-prettier' " -Plug 'https://github.com/jiangmiao/auto-pairs' " Autodoublebrackets like vscode -Plug 'https://github.com/alvan/vim-closetag' " Auto close HTML tags -Plug 'https://github.com/akinsho/bufferline.nvim' " Upper Bufferline -Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview -Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal -Plug 'https://github.com/norcalli/nvim-colorizer.lua' " hexcode bgcolor -Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion +Plug 'glepnir/dashboard-nvim' "Dashboard +Plug 'nvim-lua/telescope.nvim' "fuzzy finding +Plug 'nvim-lua/plenary.nvim' "dependency + +Plug 'vim-airline/vim-airline' " Vim-Airline +Plug 'preservim/nerdtree' " NerdTree +Plug 'ryanoasis/vim-devicons' " Developer Icons +Plug 'preservim/tagbar' " Tagbar for code navigation +Plug 'joshdick/onedark.vim' " One Dark theme +Plug 'morhetz/gruvbox' " gruvbox theme +Plug 'prettier/vim-prettier' " +Plug 'jiangmiao/auto-pairs' " Autodoublebrackets like vscode +Plug 'alvan/vim-closetag' " Auto close HTML tags +Plug 'akinsho/bufferline.nvim' " Upper Bufferline +Plug 'ap/vim-css-color' " CSS Color Preview +Plug 'tc50cal/vim-terminal' " Vim Terminal +Plug 'norcalli/nvim-colorizer.lua' " hexcode bgcolor +Plug 'ap/vim-css-color' " vim css color +Plug 'neoclide/coc.nvim' " Auto Completion +Plug 'blindFS/vim-taskwarrior' call plug#end() -"colorscheme onedark +"colorscheme onedark "using colorscheme toggle now "colorscheme gruvbox +let g:mapleader="\" +let g:dashboard_default_executive ='telescope' + + } +nmap ss :SessionSave +nmap sl :SessionLoad +nnoremap fh :DashboardFindHistory +nnoremap ff :DashboardFindFile +nnoremap tc :DashboardChangeColorscheme +nnoremap fa :DashboardFindWord +nnoremap fb :DashboardJumpMark +nnoremap cn :DashboardNewFile + + nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle nnoremap :call CocActionAsync('jumpDefinition') + -- cgit v1.2.3