Created
October 16, 2024 03:34
-
-
Save thevillagehacker/1a3d0fa80c9721cd2abfa4bc4e3a87a7 to your computer and use it in GitHub Desktop.
Nvim cofig
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
" Plugins | |
call plug#begin() | |
Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) | |
Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc | |
Plug 'https://github.com/preservim/nerdtree' ", {'on': 'NERDTreeToggle'} | |
Plug 'https://github.com/vim-airline/vim-airline' " Status bar | |
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons | |
Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal | |
Plug 'https://github.com/scottmckendry/cyberdream.nvim' " Color Schemes | |
Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme | |
Plug 'https://github.com/preservim/tagbar', {'on': 'TagbarToggle'} " Tagbar for code navigation | |
Plug 'https://github.com/dkarter/bullets.vim' | |
Plug 'https://github.com/junegunn/fzf.vim' " Fuzzy Finder, Needs Silversearcher-ag for :Ag | |
Plug 'https://github.com/junegunn/fzf' | |
Plug 'https://github.com/glepnir/dashboard-nvim' | |
Plug 'https://github.com/davidhalter/jedi-vim' | |
Plug 'github/copilot.vim' | |
Plug 'https://github.com/mbbill/undotree' | |
" Plug 'https://github.com/numirias/semshi' " Commenting out semshi as it's causing errors | |
Plug 'https://github.com/tpope/vim-fugitive' | |
Plug 'https://github.com/catppuccin/nvim' "colorscheme plugin ++ | |
Plug 'https://github.com/RRethy/base16-nvim' "base-16 colorscheme | |
" Treesitter plugin for syntax highlighting | |
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} | |
call plug#end() | |
" General Configuration | |
set number | |
set mouse=a | |
set autoindent | |
set smarttab | |
set encoding=UTF-8 | |
:colorscheme cyberdream | |
let g:airline_theme='onedark' | |
" NERDTree Configuration | |
let g:NERDTreeDirArrowExpandable="+" | |
let g:NERDTreeDirArrowCollapsible="~" | |
let g:python_highlight_all = 1 | |
nnoremap <C-f> :NERDTreeFocus<CR> | |
nnoremap <C-n> :NERDTree<CR> | |
nnoremap <C-t> :NERDTreeToggle<CR> | |
nnoremap <C-l> :UndotreeToggle<CR> | |
" VIM AIRLINE CONFIGURATION | |
let g:airline_powerline_fonts = 1 | |
if !exists('g:airline_symbols') | |
let g:airline_symbols = {} | |
endif | |
let g:bullets_enabled_file_types = [ | |
\ 'markdown', | |
\ 'text' | |
\] | |
let g:airline_left_sep = '' | |
let g:airline_left_alt_sep = '' | |
let g:airline_right_sep = '' | |
let g:airline_right_alt_sep = '' | |
let g:airline_symbols.branch = '' | |
let g:airline_symbols.readonly = '' | |
let g:airline_symbols.linenr = '' | |
" Tagbar | |
nmap <F8> :TagbarToggle<CR> | |
" Dashboard | |
let g:dashboard_default_executive ='fzf' | |
" Treesitter Configuration | |
lua <<EOF | |
require'nvim-treesitter.configs'.setup { | |
ensure_installed = { "python", "lua", "javascript" }, -- Add other languages if needed | |
highlight = { | |
enable = true, -- false will disable the whole extension | |
additional_vim_regex_highlighting = false, | |
}, | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment