Skip to content

Commit

Permalink
Updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Aug 18, 2021
1 parent e1d50f7 commit 0d7b334
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 48 deletions.
9 changes: 6 additions & 3 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ endif
source $HOME/.config/nvim/plug-config/vim-commentary.vim
source $HOME/.config/nvim/plug-config/rnvimr.vim
source $HOME/.config/nvim/plug-config/better-whitespace.vim
source $HOME/.config/nvim/plug-config/bettergrep.vim
source $HOME/.config/nvim/plug-config/fzf.vim
source $HOME/.config/nvim/plug-config/codi.vim
source $HOME/.config/nvim/plug-config/vim-wiki.vim
Expand Down Expand Up @@ -63,7 +64,8 @@ endif
source $HOME/.config/nvim/plug-config/quickscope.vim
source $HOME/.config/nvim/plug-config/fern.vim
source $HOME/.config/nvim/plug-config/suda.vim
source $HOME/.config/nvim/plug-config/rainbow.vim
source $HOME/.config/nvim/plug-config/rainbow.vim
" source $HOME/.config/nvim/plug-config/dashboard.vim


" Add paths to node and python here
Expand All @@ -75,7 +77,7 @@ endif
" inoremap <expr> <c-j> ("\<C-n>")
" inoremap <expr> <c-k> ("\<C-p>")

let g:vimspector_base_dir='/Users/sanskar/.config/nvim/vimspector-config'
" let g:vimspector_base_dir='/Users/bruhh/.config/nvim/vimspector-config'

let g:is_nvim = has('nvim')
let g:is_vim8 = v:version >= 800 ? 1 : 0
Expand All @@ -89,4 +91,5 @@ if !g:is_nvim && g:is_vim8
let &packpath = &runtimepath
endif

let g:python3_host_prog='/usr/local/bin/python3'
let g:python3_host_prog='/Users/bruhh/.pyenv/versions/macsimus/bin/python3'
let g:python_host_prog='/Users/bruhh/.pyenv/versions/macsimus/bin/python'
1 change: 1 addition & 0 deletions lua/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ require'nvim-treesitter.configs'.setup {
}
}


-- require'nvim-treesitter.configs'.setup {
-- refactor = {
-- highlight_current_scope = { enable = false },
Expand Down
3 changes: 3 additions & 0 deletions plug-config/bettergrep.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
let g:bettergrepprg = "rg --vimgrep"
let g:bettergrep_no_abbrev = 1

3 changes: 2 additions & 1 deletion plug-config/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ let g:fzf_buffers_jump = 1

let g:fzf_tags_command = 'ctags -R'
" Border color
let g:fzf_layout = {'up':'~90%', 'window': { 'width': 0.8, 'height': 0.8,'yoffset':0.5,'xoffset': 0.5, 'highlight': 'Todo', 'border': 'sharp' } }
let g:fzf_layout = {'down':'10' }
" , 'window': { 'width': 1, 'height': 1,'yoffset':0.5,'xoffset': 0.5, 'highlight': 'Todo', 'border': 'sharp' } }

let $FZF_DEFAULT_OPTS = '--layout=reverse --inline-info'
let $FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git/**'"
Expand Down
4 changes: 0 additions & 4 deletions plug-config/start-screen.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@




let g:startify_custom_header = [
\' __ __ _ ',
\' | \/ | (_) ',
Expand Down
48 changes: 8 additions & 40 deletions vim-plug/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ endif

call plug#begin('~/.config/nvim/autoload/plugged')

" Better Syntax
" Plug 'haishanh/night-owl.vim'
" Better Syntax
Plug 'haishanh/night-owl.vim'
Plug 'bluz71/vim-nightfly-guicolors'
Plug 'itchyny/lightline.vim'
Plug 'tpope/vim-surround'
Plug 'wellle/targets.vim'
" Auto gen code
Plug 'kkoomen/vim-doge', { 'do': { -> doge#install() } }
" Better Comments
Plug 'tpope/vim-commentary'
" Change dates fast
Expand All @@ -38,6 +40,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'sheerun/vim-polyglot'
" Treesitter
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-treesitter/nvim-tree-docs'
Plug 'nvim-treesitter/playground'
" Cool Icons
Plug 'kyazdani42/nvim-web-devicons'
Expand Down Expand Up @@ -127,6 +130,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'sansyrox/vim-python-virtualenv'
" Better Grepping
Plug 'qalshidi/vim-bettergrep'
Plug 'mhinz/vim-grepper'
" Better Indent
Plug 'lukas-reineke/indent-blankline.nvim'
"" Multiple Cursors
Expand All @@ -152,50 +156,14 @@ call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'vim-scripts/LargeFile'
" Rainbow brackets
Plug 'p00f/nvim-ts-rainbow'
" Debug
" Plug 'mfussenegger/nvim-dap'
" Plug 'nvim-dap-virtual-text'
" Sneak
" Plug 'justinmk/vim-sneak'
" Plug 'nvim-treesitter/nvim-treesitter-refactor'
" Plug 'nvim-treesitter/nvim-treesitter-textobjects'
" Plug 'romgrk/nvim-treesitter-context'
" Minimap
" Plug 'wfxr/minimap.vim'
" jsx syntax support
" Typescript syntax
" Plug 'HerringtonDarkholme/yats.vim'
" Multiple Cursors
" Plug 'terryma/vim-multiple-cursors'
" Plug 'kaicataldo/material.vim'
" Plug 'tomasiser/vim-code-dark'
" Plug 'mg979/vim-xtabline'
" HomePage
" Plug 'glepnir/dashboard-nvim'
" Files
Plug 'tpope/vim-eunuch'
Plug 'zefei/vim-wintabs'
Plug 'zefei/vim-wintabs-powerline'

" Vim Wiki
" Plug 'https://github.com/vimwiki/vimwiki.git'
" Better Comments
" Plug 'jbgutierrez/vim-better-comments'
" Echo doc
" Plug 'Shougo/echodoc.vim'
" Plug 'hardcoreplayers/spaceline.vim'
" Plug 'vim-airline/vim-airline'
" Plug 'vim-airline/vim-airline-themes'
" Ranger
" Plug 'francoiscabrol/ranger.vim'
" Plug 'rbgrouleff/bclose.vim'
" Making stuff
" Plug 'neomake/neomake'
" Plug 'mhinz/vim-signify'
Plug 'preservim/nerdcommenter'
" Plug 'brooth/far.vim'
" Plug 'atishay/far.vim'
" Plug 'romgrk/lib.kom'
" Plug 'brooth/far.vim'
" Debugging

call plug#end()

Expand Down

0 comments on commit 0d7b334

Please sign in to comment.