summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+justsaumit@users.noreply.github.com>2022-04-08 06:54:18 +0530
committerGitHub <noreply@github.com>2022-04-08 06:54:18 +0530
commit5936031adf9d2d6d623b2fee34d923a5c0cd7b29 (patch)
treeed72d9173e1254cd91be7d7a0df05255ae5a241c
parentd66b219ef401962f36f2242823e9686966c003e5 (diff)
Update init.vim
-rw-r--r--.config/nvim/init.vim53
1 files 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="\<Space>"
+let g:dashboard_default_executive ='telescope'
+
+ }
+nmap <Leader>ss :<C-u>SessionSave<CR>
+nmap <Leader>sl :<C-u>SessionLoad<CR>
+nnoremap <silent> <Leader>fh :DashboardFindHistory<CR>
+nnoremap <silent> <Leader>ff :DashboardFindFile<CR>
+nnoremap <silent> <Leader>tc :DashboardChangeColorscheme<CR>
+nnoremap <silent> <Leader>fa :DashboardFindWord<CR>
+nnoremap <silent> <Leader>fb :DashboardJumpMark<CR>
+nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
+
+
nnoremap <C-f> :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nmap <F8> :TagbarToggle<CR>
nnoremap <C-l> :call CocActionAsync('jumpDefinition')<CR>
+