clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nerdtree, switch to fzf and gruvboox

sspaeti 045e8b7e 15022ad0

+34 -15
+34 -15
nvim/init.vim
··· 28 28 Plug 'tpope/vim-surround' " Surrounding ysw) 29 29 Plug 'ambv/black' 30 30 Plug 'tpope/vim-fugitive' 31 - " telescope requirements... 32 - Plug 'nvim-lua/popup.nvim' 33 - Plug 'nvim-lua/plenary.nvim' 34 - Plug 'nvim-telescope/telescope.nvim' 35 - Plug 'nvim-telescope/telescope-fzy-native.nvim' 31 + " " telescope requirements... 32 + " Plug 'nvim-lua/popup.nvim' 33 + " Plug 'nvim-lua/plenary.nvim' 34 + " Plug 'nvim-telescope/telescope.nvim' 35 + " Plug 'nvim-telescope/telescope-fzy-native.nvim' 36 36 37 37 " search 38 38 Plug 'dyng/ctrlsf.vim' ··· 41 41 42 42 "File Navigation 43 43 Plug 'francoiscabrol/ranger.vim' 44 + Plug 'preservim/nerdtree' 45 + Plug 'Xuyuanp/nerdtree-git-plugin' "git status in nerdtree 46 + Plug 'ryanoasis/vim-devicons' "add file-icons to nerdtree 44 47 45 48 "fast async search 46 49 Plug 'dyng/ctrlsf.vim' ··· 129 132 \| autocmd BufLeave <buffer> set laststatus=2 noshowmode ruler 130 133 131 134 " Single mappings 132 - let g:which_key_map['ff'] = [ 'Telescope' , 'find files' ] 133 - let g:which_key_map['fb'] = [ 'Telescope' , 'find buffer' ] 135 + " let g:which_key_map['ff'] = [ 'Telescope' , 'find files' ] 136 + " let g:which_key_map['fb'] = [ 'Telescope' , 'find buffer' ] 134 137 let g:which_key_map['h'] = [ '<C-W>' , 'split below'] 135 138 let g:which_key_map['j'] = [ ':m .+1<CR>==' , 'move current line one down'] 136 139 let g:which_key_map['v'] = [ '<C-W>v' , 'split right'] ··· 202 205 nmap <leader>7 :bfirst<CR>:6bn<CR> 203 206 nmap <leader>8 :bfirst<CR>:7bn<CR> 204 207 208 + "NerdTree 209 + nnoremap <leader>n :NERDTreeFocus<CR> 210 + nnoremap <C-n> :NERDTree<CR> 211 + nnoremap <C-t> :NERDTreeToggle<CR> 212 + " nnoremap <C-f> :NERDTreeFind<CR> 213 + 214 + " fzf: ctrl f for find files 215 + nnoremap <C-p> :Files<CR> 216 + " this will quick search content of files 217 + nnoremap <C-f> :CtrlSF 218 + 205 219 " Split window 206 220 nmap ss :split<Return> 207 221 nmap sv :vsplit<Return> ··· 214 228 nmap <S-Tab> :tabprev<Return> 215 229 nmap <Tab> :tabnext<Return> 216 230 217 - " Find files using Telescope command-line sugar. 218 - nnoremap <leader>ff <cmd>Telescope find_files<cr> 219 - nnoremap <leader>fg <cmd>Telescope live_grep<cr> 220 - nnoremap <leader>fb <cmd>Telescope buffers<cr> 221 - nnoremap <leader>fh <cmd>Telescope help_tags<cr> 222 - nnoremap <C-p> <cmd>Telescope find_files<cr> 231 + " Find files using Telescope command-line sugar. --> replaced by fzf as faster and more options such as search :Lines :Buffer and .gitignore integration 232 + " nnoremap <leader>ff <cmd>Telescope find_files<cr> 233 + " nnoremap <leader>fg <cmd>Telescope live_grep<cr> 234 + " nnoremap <leader>fb <cmd>Telescope buffers<cr> 235 + " nnoremap <leader>fh <cmd>Telescope help_tags<cr> 236 + " nnoremap <C-p> <cmd>Telescope find_files<cr> 237 + " 223 238 nnoremap Y y$ 224 239 " keeping it centered 225 240 nnoremap n nzzzv ··· 272 287 source $HOME/.config/nvim/themes/airline.vim 273 288 source $HOME/.config/nvim/themes/onedark.vim 274 289 "syntax on 290 + 275 291 ""Gruvbox: 276 - "colorscheme gruvbox 292 + colorscheme gruvbox 293 + let g:airline_theme = 'gruvbox' "'one' 294 + 295 + 277 296 "set bg=dark 278 - ""let g:gruvbox_contrast_dark = 'hard' 297 + "let g:gruvbox_contrast_dark = 'hard' 279 298 280 299 281 300 au! BufWritePost $MYVIMRC source % " auto source when writing to init.vm alternatively you can run :source $MYVIMRC