set number syntax on set expandtab set smarttab set tabstop=4 set softtabstop=4 set shiftwidth=4 set foldcolumn=2 set mouse=a set encoding=utf8 set guifont=JetBrains\ Mono\ Nerd\ Font\ 11 "colorcolumn set colorcolumn=110 highlight ColorColumn ctermbg=darkgray "plugins call plug#begin() Plug 'preservim/nerdtree' Plug 'ryanoasis/vim-devicons' Plug 'ap/vim-css-color' Plug 'leshill/vim-json' Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'othree/html5-syntax.vim' Plug 'ale-cci/aqua-vim' Plug 'Eliot00/git-lens.vim' Plug 'pangloss/vim-javascript' Plug 'mxw/vim-jsx' Plug 'theRealCarneiro/hyprland-vim-syntax' Plug 'junegunn/fzf.vim' call plug#end() "keybinds nnoremap :NERDTreeToggle inoremap :NERDTreeToggle nnoremap :NERDTreeFocus inoremap :NERDTreeFocus nnoremap e :NERDTreeFocus inoremap e :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle inoremap :NERDTreeToggle nnoremap :NERDTreeRefresh inoremap :NERDTreeRefresh "tabs nnoremap [ :tabprevious inoremap [ :tabprevious nnoremap ] :tabnext inoremap ] :tabnexti nnoremap t :tabnew inoremap t :tabnew nnoremap w :tabclose inoremap w :tabclose "term nnoremap :term inoremap :term "Open terminal bottom with 15split size function! OpenTerminalBelow() belowright term resize 15 term endfunc nnoremap h :call OpenTerminalBelow() inoremap h :call OpenTerminalBelow() nnoremap l :resize +5 inoremap l :resize +5 nnoremap k :resize -5 inoremap k :resize -5 "gitlens nnoremap :call ToggleGitLens() inoremap :call ToggleGitLens() "save file nnoremap :w inoremap :w "quit nnoremap :q inoremap :q "vim-plug nnoremap :PlugInstall inoremap :PlugInstall "update vim config nnoremap :so% inoremap :so% "fzf nnoremap f :Files inoremap f :Files nnoremap g :Rg inoremap g :Rg nnoremap r :vimgrep // **/*