call plug#begin() Plug 'preservim/nerdtree' Plug 'vimwiki/vimwiki' Plug 'ryanoasis/vim-devicons' "Plug 'mhinz/vim-startify' Plug 'tribela/vim-transparent' Plug 'theRealCarneiro/hyprland-vim-syntax' "Plug 'itchyny/lightline.vim' Plug 'vim-airline/vim-airline' Plug 'catppuccin/vim', { 'as': 'catppuccin' } call plug#end() set termguicolors syntax on set background=dark set ttyfast set cursorline set autoindent set smartindent "set smartcase "set hlsearch set incsearch set ignorecase set clipboard=unnamedplus "set wildmode=longest,list set noswapfile "autocmd SwapExists * let v:swapchoice = "e" set clipboard=unnamedplus set number relativenumber colorscheme catppuccin_mocha if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif endif nnoremap nn :NERDTreeToggle " Start NERDTree when Vim is started without file arguments. autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif " Exit Vim if NERDTree is the only window remaining in the only tab. autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif let g:startify_lists = [ \ { 'type': 'files', 'header': [' Files'] }, \ { 'type': 'dir', 'header': [' Files '. getcwd()] }, \ ] let g:startify_custom_header = [ \ ' ', \ ' __ ', \ ' __ __ /\_\ ___ ___ ', \ ' /\ \/\ \\/\ \ /'' __` __`\ ', \ ' \ \ \_/ |\ \ \/\ \/\ \/\ \ ', \ ' \ \___/ \ \_\ \_\ \_\ \_\ ', \ ' \/__/ \/_/\/_/\/_/\/_/ ', \ ] < "AirLine Things let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif let g:airline_left_sep = '' let g:airline_right_sep = '' let g:airline_section_z = airline#section#create(['linenr','%3v', ]) let g:airline_skip_empty_sections = 1 let g:airline_extensions = [] let g:airline_section_x = '' let g:airline_symbols.maxlinenr = 'll' let g:airline_symbols.linenr = 'L/S:' "LightLine Things "set laststatus=2 "if !has('gui_running') " set t_Co=256 "endif "let g:lightline = { " \ 'colorscheme': 'catppuccin_mocha', " \ }